PUT Taxes/{id}
Updates the tax.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The ID of the tax. |
globally unique identifier |
Required |
Body Parameters
The new data of the tax.
TaxDto| Name | 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. |
Request Formats
application/json, text/json
Sample:
{
"Id": "a1d09a64-58d5-4e02-8290-595d18bec549",
"NetworkId": "c6af5028-0986-427b-9af4-68171b8e1bc7",
"Code": "sample string 3",
"Description": "sample string 4",
"Type": 1,
"Mode": 1,
"UseMode": 1,
"Active": true,
"Included": true,
"TaxValidities": [
{
"Id": "30e1b639-9936-468f-8d31-1ee5e66b8794",
"NetworkId": "4a72e7c0-a1c5-4c15-82df-6d4c35542acb",
"TaxId": "4531ad35-73a8-45dd-992a-fd79fdea0218",
"Amount": 4.0,
"DateFrom": "2026-08-03T19:02:23.7286357Z",
"DateTo": "2026-08-03T19:02:23.7286357Z",
"DisplayDateFrom": "2026/08/03 19:02:23",
"DisplayDateTo": "2026/08/03 19:02:23"
},
{
"Id": "30e1b639-9936-468f-8d31-1ee5e66b8794",
"NetworkId": "4a72e7c0-a1c5-4c15-82df-6d4c35542acb",
"TaxId": "4531ad35-73a8-45dd-992a-fd79fdea0218",
"Amount": 4.0,
"DateFrom": "2026-08-03T19:02:23.7286357Z",
"DateTo": "2026-08-03T19:02:23.7286357Z",
"DisplayDateFrom": "2026/08/03 19:02:23",
"DisplayDateTo": "2026/08/03 19:02:23"
}
],
"TaxBillingConfiguration": {
"Id": "ba84d47f-48d0-48a3-b953-4fa3bba1f726",
"TaxId": "b5e09a77-6af9-4550-a98d-22e98a082ad4",
"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>a1d09a64-58d5-4e02-8290-595d18bec549</Id>
<Included>true</Included>
<Mode>1</Mode>
<NetworkId>c6af5028-0986-427b-9af4-68171b8e1bc7</NetworkId>
<TaxBillingConfiguration>
<BillingType>64</BillingType>
<Code>sample string 2</Code>
<Description>sample string 3</Description>
<Factor>64</Factor>
<Id>ba84d47f-48d0-48a3-b953-4fa3bba1f726</Id>
<TaxId>b5e09a77-6af9-4550-a98d-22e98a082ad4</TaxId>
</TaxBillingConfiguration>
<TaxValidities>
<TaxesValidityDto>
<Amount>4</Amount>
<DateFrom>2026-08-03T19:02:23.7286357Z</DateFrom>
<DateTo>2026-08-03T19:02:23.7286357Z</DateTo>
<Id>30e1b639-9936-468f-8d31-1ee5e66b8794</Id>
<NetworkId>4a72e7c0-a1c5-4c15-82df-6d4c35542acb</NetworkId>
<TaxId>4531ad35-73a8-45dd-992a-fd79fdea0218</TaxId>
</TaxesValidityDto>
<TaxesValidityDto>
<Amount>4</Amount>
<DateFrom>2026-08-03T19:02:23.7286357Z</DateFrom>
<DateTo>2026-08-03T19:02:23.7286357Z</DateTo>
<Id>30e1b639-9936-468f-8d31-1ee5e66b8794</Id>
<NetworkId>4a72e7c0-a1c5-4c15-82df-6d4c35542acb</NetworkId>
<TaxId>4531ad35-73a8-45dd-992a-fd79fdea0218</TaxId>
</TaxesValidityDto>
</TaxValidities>
<Type>1</Type>
<UseMode>1</UseMode>
</TaxDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
State of the action.
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.