Taxes | Fiscal Witholding Tax Type
Service to manage entities of type 'FiscalWitholdingTaxType'.
Overview
URL | api/{tenantKey}/{orgKey}/taxesCore/fiscalWitholdingTaxTypes |
Methods Supported | GET, POST, PUT, DELETE |
All Operations
This service includes the following operations:
- GET:
- POST:
- PUT:
- DELETE:
All Resources
This service uses the following resources:
GET FiscalWitholdingTaxTypes (odata)
Returns a page of the list of all the entity records available.
The following elements are optional:
opts | (ODataQueryOptions) OData query option. |
Response:
When successful, the response body contains the list of records available. See FiscalWitholdingTaxTypeResource. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
GET FiscalWitholdingTaxType by identifier
Returns the entity record that matches the specified identifier.
The following elements are required:
id | (string) The record identifier. |
Response:
When successful, the response body contains the entity record. See FiscalWitholdingTaxTypeResource. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
GET FiscalWitholdingTaxType by key
Returns the entity record that matches the specified key.
The following elements are required:
fiscalKey | (string) The fiscal's withholding tax type key. |
Response:
When successful, the response body contains the entity record. See FiscalWitholdingTaxTypeResource. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
POST FiscalWitholdingTaxTypes
Creates a new entity record.
The following elements are required:
fiscalWitholdingTaxTypeResource | (ApiFiscalWitholdingTaxTypeResource) The request body should contain the entity record that should be created. See ApiFiscalWitholdingTaxTypeResource. |
Response:
When successful, the response body contains the new entity record identifier. The resource header location property contains the URL for the new entity record. See ApiFiscalWitholdingTaxTypeResource. |
Response status codes:
201 | Created. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Description FiscalWitholdingTaxType
Updates the value of attribute 'Description' in the specified entity record.
The following elements are required:
fiscalKey | (string) The fiscal's withholding tax type key. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set FiscalKey FiscalWitholdingTaxType
Updates the value of attribute 'FiscalKey' in the specified entity record.
The following elements are required:
fiscalKey | (string) The fiscal's withholding tax type key. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set IsActive FiscalWitholdingTaxType
Updates the value of attribute 'IsActive' in the specified entity record.
The following elements are required:
fiscalKey | (string) The fiscal's withholding tax type key. |
value | (bool) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
DELETE FiscalWitholdingTaxType by identifier
Deletes the entity record that matches the specified identifier.
The following elements are required:
id | (string) The record identifier. |
Response:
When successful, the response body is empty. |
Response status codes:
204 | Deleted. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
DELETE FiscalWitholdingTaxType by key
Deletes the entity record that matches the specified key.
The following elements are required:
fiscalKey | (string) The fiscal's withholding tax type key. |
Response:
When successful, the response body is empty. |
Response status codes:
204 | Deleted. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
Resources
ApiFiscalWitholdingTaxTypeResource
The following elements are required:
fiscalKey | (string) The fiscal's withholding tax type key. |
The following elements are optional:
description | (string) The fiscal's withholding tax type description. |
FiscalWitholdingTaxTypeResource
The following elements are required:
fiscalKey | (string) The fiscal's withholding tax type key. |
The following elements are optional:
description | (string) The fiscal's withholding tax type description. |