Allocate AC
Simlessly
# Allocate AC
This API is used to allocate the AC to the device.
# POST
https://eim.simlessly.com/api/v1/open/esim/common/allocate (opens new window)
# Request Body Structure
Name | Type | MOC | Description | Example |
---|---|---|---|---|
eid | String | M | EID | 81049980000170000000002700000017 |
imei | String | M | IMEI | 273203576794093 |
iccid | String | M | ICCID | 89860468152080349618 |
enabled | Boolean | O | enabled | true |
# Request Body Example
{
"eid": "81049980000170000000002700000017",
"imei": "273203576794093",
"iccid": "89860468152080349618",
"enabled": true
}
# Response Body Structure
Name | Type | MOC | Description | Example |
---|
# Example of Response
{
"status":200,
"success": true,
"msg": ""
}
# Single Allocate
This API is used to allocate the AC to the device.
# POST
https://eim.simlessly.com/api/v1/open/esim/allocate (opens new window)
# Request Body Structure
Name | Type | MOC | Description | Example |
---|---|---|---|---|
eid | String | M | EID | 81049980000170000000002700000017 |
imei | String | M | IMEI | 273203576794093 |
iccid | String | M | ICCID | 89860468152080349618 |
enabled | Boolean | O | enabled | true |
# Request Body Example
{
"eid": "81049980000170000000002700000017",
"imei": "273203576794093",
"iccid": "89860468152080349618",
"enabled": true
}
# Response Body Structure
Name | Type | MOC | Description | Example |
---|
# Example of Response
{
"status":200,
"success": true,
"msg": ""
}
# Batch Allocate
This API is used to batch allocate the AC to the device.
# POST
https://eim.simlessly.com/api/v1/open/esim/batch/allocate (opens new window)
# Request Body Structure
Name | Type | MOC | Description | Example |
---|---|---|---|---|
bindingRels | List< Object> | M | 1-500 | See below |
enabled | Boolean | O | enabled | true or false or null |
# Object
Name | Type | MOC | Description | Example |
---|---|---|---|---|
eid | String | C | EID(EID or IMEI, Required) | 35203000280200000000000000003672 |
imei | String | C | IMEI(EID or IMEI, Required) | 111112111111400 |
iccid | String | M | ICCID | 89860468152080349618 |
# Request Body Example
{
"bindingRels": [
{
"eid": "35203000280200000000000000003672",
"imei": "111112111111400",
"iccid": "89860468152080349618",
}
],
"enabled": true
}
# Response Body Structure
Name | Type | MOC | Description | Example |
---|---|---|---|---|
batchId | Long | M | Batch ID | 123456 |
# Response Body Example
{
"status": 200,
"success": true,
"msg": "",
"obj": {
"batchId": 123456
}
}