Hyper Precise Location Callbacks

Register a Callback Listener URL

POST
/hyper-precise/v1/callbacks

Registers a URL at which an account receives asynchronous responses and other messages from a ThingSpace Platform callback service. The messages are REST messages. You are responsible for creating and running a listening process on your server at that URL to receive and parse the messages.

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

Query Parameters

accountNumber*string

A unique identifier for an account.

Request Body

application/json

Callback registration request.

name*string

The name of the callback service that you want to subscribe to.

url*string

The address on your server where you have enabled a listening service for the specific type of callback messages. Specify a URL that is reachable from the Verizon data centers. If your service is running on HTTPS, you should use a one-way authentication certificate with a white-listed IP address.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/hyper-precise/v1/callbacks?accountNumber=0000123456-00001" \  -H "Content-Type: application/json" \  -d '{    "name": "BullseyeReporting",    "url": "https://tsustgtests.mocklab.io/notifications/bullseye"  }'
{  "accountName": "0000123456-00001",  "name": "BullseyeReporting"}