(Quick Reference)
Service: Show
Description: This web service return an existing tax type of the specified id in JSON format
URL:
https://BASE_URL/api/VERSION/taxTypes/{id}
Method: GET
Parameters:
Name | Description | Type | Required | Example values |
---|
id | id of the wanted tax type | Long | Yes | 777 |
Success Output
Success case: response.status=200
{
"id": 17,
"name": "Percentage %",
"organization": "Lyon",
"dateCreated": "2016-08-15T08:12:28Z",
"lastUpdated": "2016-08-15T08:12:28Z"
}
Failure Output
Failure case:response.status = 404
{
"error": "not_found",
"error_description": "The tax type with the id 999 doesn't exist."
}
Failure case:response.status = 400
{
"error": "invalid_param_type",
"error_description": "The type of parameter id you provided is not valid for this request."
}