Exclusions
Create the consent record for an account
Create a consent record to use location services as an asynchronous request.
Authorization
thingspace_oauth VZ-M2M-Token AuthorizationBearer <token>
This is the ThingSpace token, from Credentials and Tokens is used
In: header
VZ-M2M-Token<token>
M2M Session Token (How to generate an M2M session token?)
In: header
Request Body
application/json
Account details to create a consent record.
Account details to create a consent record.
deviceList?array<unknown>
An array of device identifiers
accountName?string
The numeric name of the account, including leading zeros.
Response Body
application/json
application/json
curl -X POST "https://example.com/loc/v1/devicelocations/action/consents" \ -H "Content-Type: application/json" \ -d '{}'{ "transactionId": "2c90bd28-eeee-ffff-gggg-7e3bd4fbff33", "status": "QUEUED"}
