OneNET IoT Platform Platform Introduction Introduction Manual Guidline for Device Development Guideline for Application Development
API
API Usage API List SDK MQTT LwM2M EDP Modbus TCP
HTTP Push

Cancel Cache Command

Request Method: PUT

URL: http://iot.zong.com.pk:8000/nbiot/offline/cancel/uuid

uuid: cache command ID

http Header

Parameter Name Format Required Description
api-key string yes must be masterkey or apikey with access authority of the device

url Parameter

Parameter Name Format Required Description
imei string yes identity code of nbiot device

Return Parameter

Parameter Name Format Description
errno int code for call error , 0 indicates call is successful
error string error description, "succ" indicates call is successful
Description
Cancel  can be executed only if the command is in the wait status, that is, before the command valid_time is reached.

Example of Request

PUT http://iot.zong.com.pk:8000/nbiot/offline/cancle/10018?imei=86582003*** HTTP/1.1
api-key: WhI*************v1c=
Host: iot.zong.com.pk:8000

Example of Return

{
    "errno": 0,
    "error": "succ"
}

results matching ""

    No results matching ""