getContractPaymentStructures
getContractPaymentStructures
Overview
This method returns the payment structures for a contract, optionally filtered by payment type and status.
By default only active payment structures are returned.
This method requires the ContractPaymentStructures:Get permission to be associated with your role.
Permissions
The permission for this api is stored in [gb_api_permissions]permission as 'ContractPaymentStructures:Get'.
Only roles with a stored link to this permission in [gb_role_api_permissions] can run this api.
HTTP Method
Use the HTTP Method 'GET' for consuming this web service.
URL Examples
https://api.demo.catch-e.com/fm/contract/payment-structures?contract_id=5678 https://api.{{environment}}.catch-e.com/fm/contract/payment-structures?contract_id=5678 https://api.test.catch-e.com/fm/contract/payment-structures?contract_id=5678 Query Parameters
Response Details
Success
200 - OK
Each record in _embedded.fm_contract_payment_structures contains:
{ "_links": { "self": { "href": "https://api.catch-e.loc/fm/contract/payment-structures?contract_id=5678&page=1" } }, "_embedded": { "fm_contract_payment_structures": [ { "contract_payment_structure_id": "456", "contract_id": "5678", "supplier_id": "78", "payee_payment_method_id": "9", "driver_bank_account_id": "", "supplier_reference": "[SUPPLIER-REFERENCE]", "payment_type": "finance", "payment_interval": "monthly", "due_day": 15, "total_payments": 48, "periods_deferred": 0, "first_payment_due": "2026-03-15", "final_payment_due": "2030-02-15", "payment_stop_date_flag": "no", "payment_stop_date": "", "payment_on_hold_date_flag": "no", "payment_on_hold_date": "", "status_flag": "active" } ] }, "page_count": 1, "page_size": 25, "total_items": 1, "page": 1 } 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 Found", "status": 404, "detail": "Not Found" } { "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "title": "Not Acceptable", "status": 406, "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": "string", "status": 599, "detail": "string" } { "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "title": "string", "status": 599, "detail": "string" }