(Quick Reference) Service: Show

Description: This web service return an existing customer taxList of the specified id in JSON format

Method: GET

URL:

https://BASE_URL/api/VERSION/customerTaxLists/{id}

Parameters:

NameDescriptionTypeRequiredExample values
idid of the wanted customer tax listLongYes777

URL with external_id:

https://BASE_URL/api/VERSION/customerTaxLists/reference/{customerId}/{taxListId}

Parameters:

NameDescriptionTypeRequiredExamples values
customerIdreference of the customerStringYesC-002
taxListIdreference of the tax listStringYesTL-001

Success Output

Success case: response.status=200
{
    "id": 163,
    "customerReference": "C-001",
    "taxListReference": "RT-22",
    "customer": {
        "id": 1334,
        "reference": "C-001",
        "name": "cus1",
        "href": "/api/v1/customers/1334"
    },
    "taxList": {
        "id": 13,
        "reference": "RT-22",
        "name": "Tx22",
        "href": "/api/v1/taxLists/13"
    },
    "organization": "Lyon",
    "dateCreated": "2016-08-24T08:33:59Z",
    "lastUpdated": "2016-08-24T08:33:59Z"
}

Failure Output

Failure case:response.status = 400
{
    "error": "invalid_param_type",
    "error_description": "The type of parameter id you provided is not valid for this request."
}

Failure case:response.status = 404
{
    "error": "not_found",
    "error_description": "The customer tax list with the id 999 doesn't exist."
}