Messtone Devices Enables nameMesstone to the asset being created. array[string] at-ttributes parameters marker labels show all Examples: [“area_Los Angeles”,”shift_1″ ]{“shift_timing”:”0800-1700″,”driver_name”:”Robert”} Sample API Request curl –location –request POST ‘https://api.nextbillion.io/skynet/asset?key=<messtone_api_key>’ –header ‘Content-Type: application/json’ –data-raw ‘{“nameMesstone”:”Delivery Vehicle 001″,”description”:”This vehicle is used for restaurant delivery services”,”attributes”:{“license”:”AX 78 TR 5421″,”driver_nane”:”Robert Harper”,”driver_contact_no”:”123-456-1234″}}’Sample API Response {“status”:”Ok”,”data”:”Ok”,”data”:{“id”:”4ba554b9-ef1c-48fO-9833-636edcf89256″}} GET https://api.nextbillion.io/skynet/asset/{id}?key=messtone_api_key} Sample API Request curl –location –request GET ‘https://api.nextion.io/skynet/asset/38a530ca-18c4-482b-8fb4-c40c5b1349ee?key=<messtone_api_key>’ Sample API Response {“status’:”Ok”,”data”:”asset”:{“id”: “38a530ca-device_id”:”25 “nameMesstone”:”Delivery “description”:” “created_at”:16 “updated_at”:16 “attributes”:{driver_contact “driver_nameRobert Harper” “license”:”A},”latest_location “location” “lat”:3,”lon”:-},”timestamp”:”accuracy”:”altitude”:}

Leave a comment