deleteContractBudgets
deleteContractBudgets
Overview
This method deletes a pending adjustment or credit contract budget line.
Every budget row sharing the same contract_id, billing_period and billing_period_item_no (across all posting and budget classes) is deleted as one unit.
This method requires the ContractBudgets:Delete permission to be associated with your role.
Permissions
The permission for this api is stored in [gb_api_permissions]permission as 'ContractBudgets:Delete'.
Only roles with a stored link to this permission in [gb_role_api_permissions] can run this api.
HTTP Method
Use the HTTP Method 'POST' for consuming this web service.
URL Examples
https://api.demo.catch-e.com/fm/contract/budgets/delete https://api.{{environment}}.catch-e.com/fm/contract/budgets/delete https://api.test.catch-e.com/fm/contract/budgets/delete Input Fields (Header)
Input Fields (JSON)
Example
{ "contract_id": "5678", "billing_period": 3, "billing_period_item_no": 2 } Response Details
Success
204 - No Content
The budget line was deleted successfully. No response body is returned.
Error Response Details
{ "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "title": "Unauthorized", "status": 401, "detail": "Unauthorized" } { "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "title": "Forbidden", "status": 403, "detail": "Forbidden" } { "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "title": "Not Acceptable", "status": 406, "detail": "Not Acceptable" } { "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "title": "Unsupported Media Type", "status": 415, "detail": "Not Acceptable" } { "warning_messages": {}, "validation_messages": { "fieldName": { "validationExceptionCode": "A textual description of the validation exception" } }, "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "title": "Unprocessable Entity", "status": 422, "detail": "Failed Validation" } { "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "title": "Locked", "status": 423, "detail": "Locked" } { "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "title": "string", "status": 599, "detail": "string" } { "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "title": "string", "status": 599, "detail": "string" }