Register callbacks (custom headers)
This endpoint allows user update the callback HTTPS address of an existing diagnostics subscription.
Authorization
thingspace_oauth VZ-M2M-Token This is the ThingSpace token, from Credentials and Tokens is used
In: header
M2M Session Token (How to generate an M2M session token?)
In: header
Request Body
*/*
Callback URL registration request.
Callback URL registration request.
The name of the billing account for which callback messages will be sent. Format: "##########-#####".
The name of the callback service, which identifies the type and format of messages that will be sent to the registered URL.
The URL for your web server.
Your HTTP headers.
Response Body
application/json
application/json
curl -X POST "https://example.com/diagnostics/v1/callbacks" \ -H "Content-Type: */*" \ -d '<accountName>TestQAAccount</accountName> <serviceName>Diagnostics</serviceName> <endpoint>https://yourwebsite.com</endpoint> <httpHeaders/>'{ "accountName": "TestQAAccount", "serviceName": "string", "endpoint": "https://yourwebsite.com", "httpHeaders": {}, "createdOn": "2019-09-07T23:57:53.292Z"}Get the registered callback information of diagnostics subscription GET
This endpoint allows user to get the registered callback information of an existing diagnostics subscription.
Delete a previously registered Callback DELETE
This endpoint allows user to delete a registered callback URL and credential.

