Skip to main content

Register Customer Request

Register a customer request for service using the Event API with the bearerAuth token

Summary

Using the JWT token received from the Connect API call, call the Event API.

Use the following authorization header for the Event API

Authorization: Bearer <token>

Prepare the event payload to be submitted. See the Advanced Section for more details

Prepare the encrypted payload to be submitted. See the Advanced Section for more details

Prepare the request object for the event api call. You may add a UUID trackid parameter in the body to track your request

e.g.

{
"pincode": "123456",
"reference": "BDR0012501001",
"event": "jsyyhejc7rw4egrhser64qkbcecesjehssgj6c44aw3arvfkashdc83chdg3deajy534er46sk464",
"extrainfo": "{\"locid\":10}",
"notes": "Testing",
"trackid": "d290f1ee-6c54-4b01-90e6-d701748f0851"
}

This request, if successful, will return registration information on the service requests. A unique reference for the service request is required.

Note:

Use the same approach to test the Event API after you have completed a registration.

Done!