Application Response Object

Every successful (200) HTTP request to our API will respond with an Application Response object. This object is used to provide a consistent format for responses to ensure that information returned in the requests is provided in an easy to consume form.

Application Response Object

PropertyTypeDescription
applicationEventsAn array of ApplicationEvent objectsSee table below for more information.
payloadA generic object or array of objectsThe information being returned by the request.
hasErrorsbooleanA flag used to inform whether or not our API found any issues with the request.

ApplicationEvent Object

PropertyTypeDescription
typestringThe type of the event. It will either be Info or Error.
codestringThe status code for the success or error. Each request will have its own set of possible error codes. Generic status codes and error codes can be found here.
messagestringA more detailed explanation of the success or error.
parameterstringA parameter related to the event.