cURL
curl --request POST \ --url https://user.pmock.com/api/open/api/phone/getRemoteToken \ --header 'Content-Type: application/json' \ --data ' { "phoneIds": [ 123 ], "forceKick": true } '
{ "traceId": "", "code": 0, "msg": "", "data": [ { "phoneId": 0, "teamId": 0, "status": 0, "token": {}, "errorMsg": "", "chargeType": 0, "nextPayTime": "" } ], "status": "" }
get remote connection token
List of phone IDs,obtain the id through Get phone list api
Get phone list
1
Whether to force kick out
Request link ID
code
Request return message
Status, representing whether this is an instant completion or waiting state, finish or pending
Request return data
Show child attributes