GET api/VatRate/{id}?countryCode={countryCode}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| countryCode | string |
Required |
|
| id | string |
None. |
Body Parameters
None.
Response Information
Resource Description
VATRate| Name | Description | Type | Additional information |
|---|---|---|---|
| countryCode | string |
None. |
|
| stateCode | string |
None. |
|
| rate | decimal number |
None. |
|
| ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"countryCode": "sample string 1",
"stateCode": "sample string 2",
"rate": 3.1,
"ErrorMessage": "sample string 4"
}
text/html
Sample:
{"countryCode":"sample string 1","stateCode":"sample string 2","rate":3.1,"ErrorMessage":"sample string 4"}
application/xml, text/xml
Sample:
<VATRate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TptGolfApi.Models"> <ErrorMessage>sample string 4</ErrorMessage> <countryCode>sample string 1</countryCode> <rate>3.1</rate> <stateCode>sample string 2</stateCode> </VATRate>