API Responses
statusCode, statusMessage, info
Last updated
Was this helpful?
statusCode, statusMessage, info
Last updated
Was this helpful?
When calling BWS API, you can get an layer , that is, an error that has occurred before our code is executed (for example, 503 - Service Unavailable), or a controlled error, meaning an error that is related to the parameters' values you send (404 - not found, when no data is found for your query for example).
When no transport layer error is returned, you will get a JSON message including the following parameters in the BODY part of the response:
statusCode
number
The api call result code (200 if there is no error).
statusMessage
string
The status code related message (optional).
info
object
The requested information.