thingspace_oauth vz-m2m-session_token This is where the ThingSpace token, from Getting Started is used
In: header
The VZ-M2M session token from Getting Started
In: header
application/json
Get the sensor's onboarding status
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/dm/v1/devices/sensors/onboard/status/actions/query" \ -H "Content-Type: application/json" \ -d '{ "accountname": "0000123456-00001", "gatewayidentifier": { "deviceid": "00000000-0000-0000-0000-000000000255" }, "onboarding": { "sensoridentifiers": { "deveui": "The unique EUI64 address of the device" } } }'{ "events": [ { "createdon": "2023-10-02T15:46:34.562Z", "errmsg": "provider_service_error", "fields": { "additionalProp1": "string", "additionalProp2": "string", "additionalProp3": "string" }, "state": "success", "transactionid": "afbcc00d-eeee-ffff-gggg-38b4333fcf06" } ]}{ "error": "bad_request", "error_description": "The request is missing content.", "cause": "Request is missing required body content"}{ "error": "Error name or code", "error_description": "A longer error description.", "cause": "A cause for the error"}{ "error": "forbidden", "error_description": "The data does not belong to the provided billing account.", "cause": "Requested service is forbidden"}{ "error": "not_found", "error_description": "Requested information is not registered.", "cause": "Requested service not found"}{ "error": "Error name or code", "error_description": "A longer error description.", "cause": "A cause for the error"}{ "error": "Error name or code", "error_description": "A longer error description.", "cause": "A cause for the error"}{ "error": "Error name or code", "error_description": "A longer error description.", "cause": "A cause for the error"}{ "error": "internal_server_error", "error_description": "Failed to create record.", "cause": "Requested service failed due to internal error"}{ "error": "Error name or code", "error_description": "A longer error description.", "cause": "A cause for the error"}The numeric account name, which must include leading zeros