GET Response
The table below lists all the HTTP Response Codes that can be returned, together with a description of the result of the API call and the Response-type that defines the Model that is used for the returned data. The Response Models are described in detail in chapter 8.
Response Code | Description | Response Model |
---|---|---|
200 | Success. The Response contains the data on the Business Entity and all the VAT number validation records for this Business Entity. | vatNumberSuccessResponse (see paragraph 8.8) |
400 | Bad Request. The response will provide information on why the call failed. | vatNumberFailResponse (see paragraph 8.10) |
401 | The caller is Unauthorized. No OAuth 2.0 access-token was provided or the access-token was invalid or has expired. See paragraph 6.2 for information on Authorization | JSend Fail-response (see paragraph 6.6.1) |
404 | A Business Entity with the provided VAT number could not be found. | vatNumberFailResponse (see paragraph 8.10) |
429 | You have exceeded your daily Requests quota. See paragraph 6.4 for more information on the rate limiting used by the API | JSend Fail-response (see paragraph 6.6.1) |
500 | A server error has occurred. The response will contain additional information on the error | JSend Error-response (see paragraph 6.6.3) |
Table 4: GET Operation Responses