Upload a device record
thingspace_oauth VZ-M2M-Token In: header
M2M Session Token (How to generate an M2M session token?)
In: header
application/json
Device Upload Query
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
curl -X POST "https://example.com/m2m/v1/devices/actions/upload" \ -H "Content-Type: application/json" \ -d '{ "accountName": "1223334444-00001", "emailAddress": "bob@mycompany.com", "deviceSku": "VZW123456", "uploadType": "IMEI", "devices": [ { "deviceIds": [ { "kind": "IMEI", "id": "15-digit IMEI" } ] }, { "deviceIds": [ { "kind": "IMEI", "id": "15-digit IMEI" } ] }, { "deviceIds": [ { "kind": "IMEI", "id": "15-digit IMEI" } ] } ] }'{ "requestId": "595f5c44-eeee-ffff-gggg-020a1545a84d"}{ "errorCode": "400", "errorMessage": "a description of the error"}