GET Taxes/{id}
Gets a tax by it's ID, represented as TaxDto.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The ID of the tax. |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
The tax data.
TaxDtoName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
NetworkId | globally unique identifier |
None. |
|
Code | string |
None. |
|
Description | string |
None. |
|
Type | integer |
None. |
|
Mode | integer |
None. |
|
UseMode | integer |
None. |
|
Active | boolean |
None. |
|
Included | boolean |
None. |
|
TaxValidities | Collection of TaxesValidityDto |
None. |
|
TaxBillingConfiguration | TaxesBillingConfigurationDto |
None. |
|
CodeDescription | string |
None. |
|
TypeDescription | string |
None. |
|
CurrentValueString | string |
None. |
|
ModeDescription | string |
None. |
|
UseModeDescription | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": "91b28c4a-2eea-4d34-8851-86ef3b82de25", "NetworkId": "c403b5e9-5774-49bc-a978-6ec7d9eba832", "Code": "sample string 3", "Description": "sample string 4", "Type": 1, "Mode": 1, "UseMode": 1, "Active": true, "Included": true, "TaxValidities": [ { "Id": "3202347c-bfdb-4290-b8a1-dc4080f8a1b3", "NetworkId": "57eb95a8-1518-44af-a2bc-adbf6f16dc03", "TaxId": "04b60f5f-177d-4e21-8b1f-bad065a47a36", "Amount": 4.0, "DateFrom": "2025-04-25T16:54:41.1925343Z", "DateTo": "2025-04-25T16:54:41.1925343Z", "DisplayDateFrom": "2025/04/25 16:54:41", "DisplayDateTo": "2025/04/25 16:54:41" }, { "Id": "3202347c-bfdb-4290-b8a1-dc4080f8a1b3", "NetworkId": "57eb95a8-1518-44af-a2bc-adbf6f16dc03", "TaxId": "04b60f5f-177d-4e21-8b1f-bad065a47a36", "Amount": 4.0, "DateFrom": "2025-04-25T16:54:41.1925343Z", "DateTo": "2025-04-25T16:54:41.1925343Z", "DisplayDateFrom": "2025/04/25 16:54:41", "DisplayDateTo": "2025/04/25 16:54:41" } ], "TaxBillingConfiguration": { "Id": "a21d2fb7-1515-4efe-84b3-9eb35282bf6b", "TaxId": "69169e92-6b5e-4a08-a121-e4b5cf284743", "BillingType": 64, "Factor": 64, "Code": "sample string 2", "Description": "sample string 3" }, "CodeDescription": "sample string 3 - sample string 4", "TypeDescription": "Fixed Tax", "CurrentValueString": "", "ModeDescription": "Perceptions", "UseModeDescription": "Merchant" }
application/xml, text/xml
Sample:
<TaxDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model"> <Active>true</Active> <Code>sample string 3</Code> <Description>sample string 4</Description> <Id>91b28c4a-2eea-4d34-8851-86ef3b82de25</Id> <Included>true</Included> <Mode>1</Mode> <NetworkId>c403b5e9-5774-49bc-a978-6ec7d9eba832</NetworkId> <TaxBillingConfiguration> <BillingType>64</BillingType> <Code>sample string 2</Code> <Description>sample string 3</Description> <Factor>64</Factor> <Id>a21d2fb7-1515-4efe-84b3-9eb35282bf6b</Id> <TaxId>69169e92-6b5e-4a08-a121-e4b5cf284743</TaxId> </TaxBillingConfiguration> <TaxValidities> <TaxesValidityDto> <Amount>4</Amount> <DateFrom>2025-04-25T16:54:41.1925343Z</DateFrom> <DateTo>2025-04-25T16:54:41.1925343Z</DateTo> <Id>3202347c-bfdb-4290-b8a1-dc4080f8a1b3</Id> <NetworkId>57eb95a8-1518-44af-a2bc-adbf6f16dc03</NetworkId> <TaxId>04b60f5f-177d-4e21-8b1f-bad065a47a36</TaxId> </TaxesValidityDto> <TaxesValidityDto> <Amount>4</Amount> <DateFrom>2025-04-25T16:54:41.1925343Z</DateFrom> <DateTo>2025-04-25T16:54:41.1925343Z</DateTo> <Id>3202347c-bfdb-4290-b8a1-dc4080f8a1b3</Id> <NetworkId>57eb95a8-1518-44af-a2bc-adbf6f16dc03</NetworkId> <TaxId>04b60f5f-177d-4e21-8b1f-bad065a47a36</TaxId> </TaxesValidityDto> </TaxValidities> <Type>1</Type> <UseMode>1</UseMode> </TaxDto>