createChannelQuoteDefaults
createChannelQuoteDefaults
Overview
This method creates a new set of quote defaults for a channel.
This method requires the ChannelQuoteDefaults:Create permission to be associated with your role.
Permissions
The permission for this api is stored in [gb_api_permissions]permission as 'ChannelQuoteDefaults:Create'.
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/qt/channel/defaults https://api.{{environment}}.catch-e.com/qt/channel/defaults https://api.test.catch-e.com/qt/channel/defaults Input Fields (JSON)
Fields not supplied are set to their default values.
Example
{ "channel_id": "56", "novated_management_fee": 150.0, "operating_management_fee": 120.0, "supplier_id_financier": "78", "novated_commission_rate": 1.25 } Response Details
Success
201 - Created
Returns the new channel quote defaults.
{ "_links": { "self": { "href": "https://api.catch-e.loc/qt/channel/defaults/1234" }, "channel": { "href": "https://api.catch-e.loc/fm/channels/56" } }, "channel_default_id": "1234", "channel_id": "56", "novated_management_fee": 150.0, "operating_management_fee": 120.0, "supplier_id_financier": "78", "novated_commission_rate": 1.25, "contract_pay_cycle_from_quote_flag": "no", "finance_budget_term_deferred_flag": "no", "periods_deferred": 0, "report_finance_payments_flag": "no" } 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": "string", "status": 599, "detail": "string" } { "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "title": "string", "status": 599, "detail": "string" }