Query Async Method Result
GET
/sims/async_result/{request_id}Last modified: 1 年前
Description
Version
v4
Scene
- Query SIM action result.
Business rules
- Current support: Suspend、Resume result
Action | Code | API Doc Link |
---|---|---|
Suspend | 20 | Suspend v2 (Async) |
Resume | 12 | Resume (Async) |
Activate (Pending) | 11 | Activate (Async) |
Reset (Pending) | 30 | Reset (Async) |
请求参数
Path Params
request_id
string
required
The request ID of the SIM card operation, present in the header that returns the response
Example:
1588465458187866112
示例代码
Responses
Success(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
data
object
required
sim_id
string
required
request_id
string
required
action_code
string
required
Action code: 20- Suspend, 12-Resume
result
string
required
10-success,11-processing,12-failed
status
object
required
code
string
required
message
string
required
detail
string | null
required
Example
{
"data": {
"sim_id": "89852325665458755",
"requeset_id": "1588465458187866112",
"action_code": 20,
"result": 10
},
"status": {
"code": "CB-00-0000",
"message": "Success",
"detail": null
}
}
Last modified: 1 年前