GET /callbacks?accountName={account}
Receive the registered callback information of an existing Diagnostics subscription.
The user will be provided with the following callback information for their existing Diagnostics subscriptions:
GET https://thingspace.verizon.com/api/diagnostics/v1/callbacks?accountName={account}
The account name must be included in the path.
Parameter Name | Data Type | Description |
---|---|---|
accountName required |
string | The name of the billing account from which you want to delete callback messages. An account name is usually numeric, and must include any leading zeros. |
The request header must contain a current ThingSpace authorization bearer token and a valid VZ-M2M session token, and must set the content-type to JSON.
Parameter Name | Data Type | Description |
---|---|---|
Authorization required |
string | HTTP Authorization bearer token. |
VZ-M2M-Token required |
string | A valid session token returned by POST /api/m2m/v1/session/login. |
Content-Type required |
string | Must be application/json . |
None.
Status 200
A success response contains the current status of the report.
Parameter Name | Data Type | Description |
---|---|---|
accountName | string | The name of the billing account for which callback messages will be sent. |
serviceName | string | The name of the callback service, which identifies the type and format of messages that will be sent to the registered URL. |
endpoint | string | The URL for your web server. |
httpHeaders | string | Your http headers. |
createdOn | string($date-time) | The date and time of when this request was created. |
{
"accountName": "TestQAAccount",
"serviceName": "string",
"endpoint": "https://yourwebsite.com",
"httpHeaders": {},
"createdOn": "2019-09-07T23:57:53.292Z"
}
Status 400
All error messages are returned in this format:
{
"errorCode": "error code string",
"errorMessage": "error message string"
}
Error codes and messages are listed on the Error Codes page, along with explanations and suggestions for corrective actions.