GET | /TaxRates/{TaxID} | Retrieves a tax rate. |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
TaxID | path | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
RecID | form | string | No | |
TaxID | form | string | No | |
Description | form | string | No | |
GSTTaxGroup | form | TaxRateTypes? | No | |
Rate | form | decimal? | No | |
IsDefaultRate | form | bool? | No | |
BASCode | form | decimal? | No | |
IsDefaultRateInGroup | form | bool? | No | |
IsEnabled | form | bool? | No | |
LedgerAccount | form | Account | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
LedgerID | form | string | No | |
AccountNo | form | string | No | |
Description | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /TaxRates/{TaxID} HTTP/1.1 Host: api.jiwa.com.au Accept: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"RecID":"String","TaxID":"String","Description":"String","GSTTaxGroup":"WST","Rate":0,"IsDefaultRate":false,"BASCode":0,"IsDefaultRateInGroup":false,"IsEnabled":false,"LedgerAccount":{"LedgerID":"String","AccountNo":"String","Description":"String"}}