Financials | Cash Flow Item
Service to manage entities of type 'CashFlowItem'.
Overview
URL | api/{tenantKey}/{orgKey}/financialCore/cashFlowItems |
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:
All Enumerations
This service uses the following enumerations:
GET CashFlowItems (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 CashFlowItemResource. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
GET CashFlowItem 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 CashFlowItemResource. |
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 CashFlowItem by key
Returns the entity record that matches the specified key.
The following elements are required:
cashFlowItemKey | (string) The cashflow item's key. |
Response:
When successful, the response body contains the entity record. See CashFlowItemResource. |
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 CashFlowItems
Creates a new entity record.
The following elements are required:
cashFlowItemResource | (ApiCashFlowItemResource) The request body should contain the entity record that should be created. See ApiCashFlowItemResource. |
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 ApiCashFlowItemResource. |
Response status codes:
201 | Created. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set CashFlowItemKey CashFlowItem
Updates the value of attribute 'CashFlowItemKey' in the specified entity record.
The following elements are required:
cashFlowItemKey | (string) The cashflow item's 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 Description CashFlowItem
Updates the value of attribute 'Description' in the specified entity record.
The following elements are required:
cashFlowItemKey | (string) The cashflow item's 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 CashFlowItem
Updates the value of attribute 'IsActive' in the specified entity record.
The following elements are required:
cashFlowItemKey | (string) The cashflow item's 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:
PUT Set ItemTaxSchema CashFlowItem
Updates the value of attribute 'ItemTaxSchema' in the specified entity record.
The following elements are required:
cashFlowItemKey | (string) The cashflow item's 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 ItemWithholdingTaxSchema CashFlowItem
Updates the value of attribute 'ItemWithholdingTaxSchema' in the specified entity record.
The following elements are required:
cashFlowItemKey | (string) The cashflow item's 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 Nature CashFlowItem
Updates the value of attribute 'Nature' in the specified entity record.
The following elements are required:
cashFlowItemKey | (string) The cashflow item's key. |
value | (enum Nature) The request body should contain the new value for the attribute. See Nature. |
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 ValidFrom CashFlowItem
Updates the value of attribute 'ValidFrom' in the specified entity record.
The following elements are required:
cashFlowItemKey | (string) The cashflow item's key. |
value | (DateTime) 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 ValidTo CashFlowItem
Updates the value of attribute 'ValidTo' in the specified entity record.
The following elements are required:
cashFlowItemKey | (string) The cashflow item's key. |
value | (DateTime) 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:
DELETE CashFlowItem 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 CashFlowItem by key
Deletes the entity record that matches the specified key.
The following elements are required:
cashFlowItemKey | (string) The cashflow item's 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
ApiCashFlowItemResource
The following elements are required:
cashFlowItemKey | (string) The cashflow item's key. |
nature | (enum Nature) The cashflow item's natural which indicates if it is credit or debit.
See Nature. |
The following elements are optional:
description | (string) The cashflow item's description. |
validFrom | (DateTime) The start date for validity period. |
validTo | (DateTime) The end date for validity period. |
itemWithholdingTaxSchema | (string) The associated item withholding tax schema. |
itemTaxSchema | (string) The associated item tax schema. |
CashFlowItemResource
The following elements are required:
cashFlowItemKey | (string) The cashflow item's key. |
nature | (enum Nature) The cashflow item's natural which indicates if it is credit or debit.
See Nature. |
The following elements are optional:
description | (string) The cashflow item's description. |
validFrom | (DateTime) The start date for validity period. |
validTo | (DateTime) The end date for validity period. |
itemWithholdingTaxSchema | (string) The associated item withholding tax schema.
(fk) Allowed value: the natural key of a record of type ItemWithholdingTaxSchema. These records are accessibly through the ItemWithholdingTaxSchemas service. |
itemTaxSchema | (string) The associated item tax schema.
(fk) Allowed value: the natural key of a record of type ItemTaxSchema. These records are accessibly through the ItemTaxSchemas service. |