Activate (Async)
POST
/sims/{sim_id}/activateLast modified: 2 年前
Discription
Activate SIM to use bundle
Vision:
v1.0
Notes
- If the SIM has multiple bundles, the earliest bundle will start first (FIFO).
- It is an asynchronous processing.
- Use api /status to query if the SIM has been successfully activated.
Attentions
- OTA SIM cannot be activated via this API.
- SIM must have at lease 1 valid and not yet started bundle for this api to have effect.
- SIM can be only be activated when its status is Pre-activated (Inactive, Active-reday, Active-test). For more info: SIM Lifecycle
请求参数
Path Params
sim_id
string
required
SIM ICCID
Example:
89852123456789098765
Cookie Params
token
string
optional
Example:
undefined
Body Params application/json
timestamp
string
required
epoc time UTC
nonce
integer
optional
nonce
Example
{
"timestamp": "1640749507",
"nonce": 66
}
示例代码
Responses
Success(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
data
object
required
status
object
required
code
string
required
message
string
required
detail
string
required
Example
{
"data": null,
"status": {
"code": "CB-00-0000",
"message": "Success",
"detail": null
}
}
Last modified: 2 年前