Batch Import
# Batch Import
# POST
https://sim.express/v1/profile/importProfileList (opens new window)
# Parameters of Request
Name | Type | MOC | Description | Example |
---|---|---|---|---|
prfileItems | String | Mandatory(Less than 1,000 Profiles) | / | / |
# ImportProfileItem
Name | Type | MOC | Description | Example |
---|---|---|---|---|
iccid | String | Mandatory (19-20 digit) | / | / |
eid | String | Mandatory (32-digit) | / | / |
imei | String | Mandatory (15-digit) | / | / |
ac | String | Mandatory | / | / |
cc | String | Optional | / | / |
apn | String | Mandatory | / | / |
# Example of Request
{
"profileItems":[
{
"iccid":"12345678912345678919",
"eid":"35203000100100000000000000287435",
"imei":"861111111111115",
"ac":"1",
"cc":"",
"apn":"1"
},
{
"iccid":"12345678912345678912",
"eid":"35203000100100000000000000287435",
"imei":"861111111111115",
"ac":"1",
"cc":"",
"apn":"1"
},
{
"iccid":"12345678912345678915",
"eid":"35203000100100000000000000287435",
"imei":"861111111111115",
"ac":"1",
"cc":"",
"apn":"1"
}
]
}
# Parameters of Response
Name | Type | MOC | Description | Example |
---|---|---|---|---|
code | String | Optional | Message response | "0" |
errorMsg | String | Optional | Error description. The error code is empty when there is no error. | null |
profileItems | List< ImportProfileItem> | Optional | / | / |
resultItems | List< Result> | Optional | / | / |
# Result
Name | Type | MOC | Description | Example |
---|---|---|---|---|
result | String | Optional | SUCCEED/FAILED | / |
reason | String | Optional | / | / |
# Example of Response
{
"errorCode":"0",
"errorMsg":null,
"profileItems":[
{
"Iccid":"12345678912345678919",
"Eid":"35203000100100000000000000287435",
"Imei":"861111111111115",
"Ac":"1",
"cc":"",
"Apn":"1"
},
{
"Iccid":"12345678912345678912",
"Eid":"35203000100100000000000000287435",
"Imei":"861111111111115",
"ac":"1",
"cc":"",
"apn":"1"
},
{
"iccid":"12345678912345678915",
"eid":"35203000100100000000000000287435",
"imei":"861111111111115",
"ac":"1",
"cc":"",
"apn":"1"
}
],
"resultList":[
{"result":"FAILED","reason":"the iccid is exist in db, iccid:[12345678912345678919]"},
{"result":"FAILED","reason":"the iccid is exist in db, iccid:[12345678912345678912]"},
{"result":"FAILED","reason":"the iccid is exist in db, iccid:[12345678912345678915]"}
]
}