Batch Generate AC
Simlessly
# Batch Generate AC
Simlessly API (v1.0.0): Batch Generate AC
# POST
https://rsp.simlessly.com/api/v1/ac/generateByBatch (opens new window)
# Parameters of Request
Name | Type | MOC | Description | Example |
---|---|---|---|---|
metaDatas | List(Metadata) | Mandatory | Batch generate metadata(size: 1-200) | / |
configName | String | Mandatory | Configuration name in Simlessly platform | templateRegualr01 |
encryptionMode | Integer | Optional | Default value is 1 (plaintext) when not filed | / |
needAcLink | Boolean | Optional | Whether to return Ac Link. Defaults to false. | true |
# Metadata
Name | Type | MOC | Description | Example |
---|---|---|---|---|
iccid | String | Mandatory | ICCID (length: 19-20) | 89860468152080349618 |
imsi | String | Mandatory | IMSI (length: 15) | 460048867619618 |
ki | String | Mandatory | KI (32 bits, HEX) | 6BE2053E8580B135CD43443380DB7111 |
opc | String | Optional | OPC(32 bits, HEX) | eg: 85304194B0D2A2F92847F1594529F6AA, Can be null when the configuration type is Conformance Test |
msidn | String | Optional | MSIDN(15HEX) | 8613912345678 |
impi | String | Optional | IMS Param | 260036614799000@ims.mnc006.mcc260.3gppnetwork.org |
impu | List(String) | Optional | IMS Param | ["sip:260036614799000@ims.mnc006.mcc260.3gppnetwork.org"] |
c9 | String | Optional | Applet Param | 0C3C0302984D3E05212B9A81FC07992113329595FF0400080520 |
cc | String | Optional | Confirm Code | 1234 |
expireTime | String | Optional | Applet Param, The format: yyyy-MM-dd HH:mm:ss | 2023-03-07 12:00:00 |
# Example of Request
{
"configName": " templateRegualr01",
"encryptionMode": 1,
"metaDatas": [
{
"iccid": " 89860468152080349618",
"imsi": " 460048867619618",
"ki": " 6BE2053E8580B135CD43443380DB7111",
"opc": " 85304194B0D2A2F92847F1594529F6AA",
"msidn": " 8613912345678",
"impi": " 260036614799000@ims.mnc006.mcc260.3gppnetwork.org",
"impu": ["sip:260036614799000@ims.mnc006.mcc260.3gppnetwork.org"],
"c9": " 0C3C0302984D3E05212B9A81FC07992113329595FF0400080520",
"cc": " 1234",
"expireTime": " 2023-03-07 12:00:00"
}
]
}
# Parameters of Response
Name | Type | MOC | Description | Example |
---|---|---|---|---|
batchCode | String | Optional | Batch code | B202303071234223 |
# Example of Response
{
"obj":{
"batchCode": "B202303071234223"
},
"success": true,
" msg": " ",
" code": " "
}