Skip to main content

Basic Structure of API Response

Response Object

When the data comes as a single result set.

In API V2, all Waiker responses have the following response format.

The actual data is contained within the data object, and the API documentation only describes the data portion.

FieldTypeDescriptionExample Value
codeStringResponse CodeOK
statusIntegerhttp status code200, 404, etc
messageStringResponse MessageSUCCESS, FAIL
timestampStringMessage Response Time2024-09-11 06:36:58.373705 +00:00
dataObjectActual Informationdata object

Pagination Response Object

When the data comes in the form of a list.

FieldTypeDescriptionExample Value
codeStringResponse CodeOK
statusIntegerhttp Status Code200, 404, etc.
messageStringResponse MessageSUCCESS, FAIL
timestampStringMessage Response Time2024-09-11 06:36:58.373705 +00:00
pageIntegerRequested Page1
sizeIntegerNumber of Results Requested10
totalPageIntegerTotal Pages10
totalCountIntegerTotal Number of Results1000
dataObjectActual Informationdata object