POST TaxType/Save
Saves the specified Tax Type based on the object sent through.
Request Information
URI Parameters
None.
Body Parameters
The Tax Type object.
Tax TypeName | Type | Additional information | Description |
---|---|---|---|
ID | integer |
None. |
|
Name | string |
None. |
|
Percentage | decimal |
None. |
|
IsDefault | bool |
None. |
|
HasActivity | bool |
Read Only / System Generated |
|
IsManualTax | bool |
None. |
|
Active | bool |
None. |
|
Created | date |
Read Only / System Generated |
|
Modified | nullable date |
Read Only / System Generated |
|
TaxTypeDefaultUID | globally unique identifier |
Read Only / System Generated |
|
CompanyId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "Name": "sample string 2", "Percentage": 3.1, "IsDefault": true, "HasActivity": true, "IsManualTax": true, "Active": true, "Created": "2024-11-15", "Modified": "2024-11-15", "TaxTypeDefaultUID": "65b706a6-44c7-4510-96eb-00c509d4a103", "CompanyId": 9 }
Response Information
Resource Description
Returns a response status message based on the success.
Tax TypeName | Type | Additional information | Description |
---|---|---|---|
ID | integer |
None. |
|
Name | string |
None. |
|
Percentage | decimal |
None. |
|
IsDefault | bool |
None. |
|
HasActivity | bool |
Read Only / System Generated |
|
IsManualTax | bool |
None. |
|
Active | bool |
None. |
|
Created | date |
Read Only / System Generated |
|
Modified | nullable date |
Read Only / System Generated |
|
TaxTypeDefaultUID | globally unique identifier |
Read Only / System Generated |
|
CompanyId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "ID": 1, "Name": "sample string 2", "Percentage": 3.1, "IsDefault": true, "HasActivity": true, "IsManualTax": true, "Active": true, "Created": "2024-11-15", "Modified": "2024-11-15", "TaxTypeDefaultUID": "afe00498-0317-4a9f-abee-a41db5769763", "CompanyId": 9 }