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": "48c2d00d-8c28-41be-b507-36391422f4ae",
"NetworkId": "d4dd302d-4c53-461c-89ad-98dcbdc6ed0f",
"Code": "sample string 3",
"Description": "sample string 4",
"Type": 1,
"Mode": 1,
"UseMode": 1,
"Active": true,
"Included": true,
"TaxValidities": [
{
"Id": "1227f04b-8d47-4977-a87d-58278b68ea0a",
"NetworkId": "edac243c-0d8b-4490-82ee-0a214c40e3d3",
"TaxId": "a130d50b-edf9-4b74-8c8e-190537d12967",
"Amount": 4.0,
"DateFrom": "2026-10-25T15:51:08.3086347Z",
"DateTo": "2026-10-25T15:51:08.3086347Z",
"DisplayDateFrom": "2026/10/25 15:51:08",
"DisplayDateTo": "2026/10/25 15:51:08"
},
{
"Id": "1227f04b-8d47-4977-a87d-58278b68ea0a",
"NetworkId": "edac243c-0d8b-4490-82ee-0a214c40e3d3",
"TaxId": "a130d50b-edf9-4b74-8c8e-190537d12967",
"Amount": 4.0,
"DateFrom": "2026-10-25T15:51:08.3086347Z",
"DateTo": "2026-10-25T15:51:08.3086347Z",
"DisplayDateFrom": "2026/10/25 15:51:08",
"DisplayDateTo": "2026/10/25 15:51:08"
}
],
"TaxBillingConfiguration": {
"Id": "caec1c36-8dd3-4116-88b0-2cb292429d0d",
"TaxId": "ffa509cf-bf29-40fe-ac5f-9e8e8beecaa9",
"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>48c2d00d-8c28-41be-b507-36391422f4ae</Id>
<Included>true</Included>
<Mode>1</Mode>
<NetworkId>d4dd302d-4c53-461c-89ad-98dcbdc6ed0f</NetworkId>
<TaxBillingConfiguration>
<BillingType>64</BillingType>
<Code>sample string 2</Code>
<Description>sample string 3</Description>
<Factor>64</Factor>
<Id>caec1c36-8dd3-4116-88b0-2cb292429d0d</Id>
<TaxId>ffa509cf-bf29-40fe-ac5f-9e8e8beecaa9</TaxId>
</TaxBillingConfiguration>
<TaxValidities>
<TaxesValidityDto>
<Amount>4</Amount>
<DateFrom>2026-10-25T15:51:08.3086347Z</DateFrom>
<DateTo>2026-10-25T15:51:08.3086347Z</DateTo>
<Id>1227f04b-8d47-4977-a87d-58278b68ea0a</Id>
<NetworkId>edac243c-0d8b-4490-82ee-0a214c40e3d3</NetworkId>
<TaxId>a130d50b-edf9-4b74-8c8e-190537d12967</TaxId>
</TaxesValidityDto>
<TaxesValidityDto>
<Amount>4</Amount>
<DateFrom>2026-10-25T15:51:08.3086347Z</DateFrom>
<DateTo>2026-10-25T15:51:08.3086347Z</DateTo>
<Id>1227f04b-8d47-4977-a87d-58278b68ea0a</Id>
<NetworkId>edac243c-0d8b-4490-82ee-0a214c40e3d3</NetworkId>
<TaxId>a130d50b-edf9-4b74-8c8e-190537d12967</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.