Update Quote Endpoints: PatchQuoteEventList
API endpoints for patching and updating quotes
PatchQuoteEventList
This API permits you to edit multiple Quote Events.
Permissions
To run this API, the nominated 'web-services' role needs to be given permission.
If you are not actively using the API, leave the permission off for better security.
Go to Roles / Apis and check on QuoteEvents:Update.
Authentication
Authenticate with the API before running this API.
HTTP Method
Use the HTTP Method 'PATCH' for consuming this web service.
URL Examples
https://api.catch-e.com/qt/quote-events/Body (JSON)
JSON Sample
[ { "quote_event_id": "100096", "quote_id": "132580", "quote_event_code_id": "100001", "event_date": "2022-11-09", "description": "Re-Test#2: Event Code: Notes (API)", "event_amount": "1.02", "quote_event_action_id": "100001", "due_date": "2022-11-11", "completed_flag": "yes", //"attachment_id": "0", "status_flag": "active" }, { "quote_event_id": "100097", "quote_id": "132580", "quote_event_code_id": "100000", "event_date": "2022-11-08", "description": "Re-Test#3: Event Code: Dealer Pricing (API)", "event_amount": "1.01", "quote_event_action_id": "100000", "due_date": "2022-11-10", "completed_flag": "no", //"attachment_id": "0", "status_flag": "active" }]Response Details
{ "_links": { "self": { "href": "https://api.test.catch-e.com/qt/quote-events/" } }, "_embedded": { "qt_quote_events": [ { "quote_event_id": "100096", "quote_id": "132580", "quote_event_code_id": "100001", "event_date": "2022-11-09", "description": "Re-Test#2: Event Code: Notes (API)", "event_amount": 1.02, "quote_event_action_id": "100001", "due_date": "2022-11-11", "completed_flag": "yes", "attachment_id": null, "user_id_edit": "11212", "last_edit": "2022-11-13 23:28:59", "status_flag": "active", "_links": { "self": { "href": "https://api.test.catch-e.com/qt/quote-events/100096" } }, "_embedded": { "quote_event_code": { "quote_event_code_id": "100001", "quote_event_code": "Notes", "name": "Notes", "description": "Quote Note", "template_id": "0", "status_flag": "active" }, "quote_event_action": { "quote_event_action_id": "100001", "name": "Request Docs" } } }, { "quote_event_id": "100097", "quote_id": "132580", "quote_event_code_id": "100000", "event_date": "2022-11-08", "description": "Re-Test#3: Event Code: Dealer Pricing (API)", "event_amount": 1.01, "quote_event_action_id": "100000", "due_date": "2022-11-10", "completed_flag": "no", "attachment_id": null, "user_id_edit": "11212", "last_edit": "2022-11-13 23:28:59", "status_flag": "active", "_links": { "self": { "href": "https://api.test.catch-e.com/qt/quote-events/100097" } }, "_embedded": { "quote_event_code": { "quote_event_code_id": "100000", "quote_event_code": "Dealer", "name": "Dealer Pricing", "description": "Dealer Pricing Attached", "template_id": "0", "status_flag": "active" }, "quote_event_action": { "quote_event_action_id": "100000", "name": "Follow Up" } } } ] }, "total_items": 2}| The request was successful request. |
| 401 - Unauthorized | | |
{ "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "title": "Unauthorized", "status": 401, "detail": "Unauthorized"}| You have not authenticated before running this API or The token_timeout of the current session has passed. You need to authenticate again. |
| 403 - Forbidden | | |
{ "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "title": "Forbidden", "status": 403, "detail": "Forbidden"}| You do not have permissions for this request. Go to System Roles and enter 'web_services' Navigate to the Roles / APIs tab to make sure the permission you need to run this API is checked. |
| 422 - Unprocessable Content | | |
{ "validation_messages": [ { "attachment_id": { "noRecordFound": "No record matching the input was found" } } ], "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "title": "Unprocessable Entity", "status": 422, "detail": "Failed Validation"}| Attachment ID not found/valid. |
PatchQuoteEvents
This API permits you to edit a Quote Event.
Permissions
To run this API, the nominated 'web-services' role needs to be given permission.
If you are not actively using the API, leave the permission off for better security.
Go to Roles / Apis and check on QuoteEvents:Update.
Authentication
Authenticate with the API before running this API.
HTTP Method
Use the HTTP Method 'PATCH' for consuming this web service.
URL Examples
https://api.catch-e.com/qt/quote-events/{quote_event_id}Body (JSON)
JSON Sample
{ "quote_id": "132580", "quote_event_code_id": "100000", "event_date": "2022-11-08", "description": "Event Code: Dealer Pricing (API)", "event_amount": "1.01", "quote_event_action_id": "100000", "due_date": "2022-11-10", "completed_flag": "no", "status_flag": "active" }Response Details
{ "quote_event_id": "100095", "quote_id": "132580", "quote_event_code_id": "100000", "event_date": "2022-11-08", "description": "Re-Test#1: Event Code: Dealer Pricing (API) Edited via patchQuoteEvent", "event_amount": 1.03, "quote_event_action_id": "100000", "due_date": "2022-11-10", "completed_flag": "yes", "attachment_id": null, "user_id_edit": "11212", "last_edit": "2022-11-14 01:10:43", "status_flag": "active", "_links": { "self": { "href": "https://api.test.catch-e.com/qt/quote-events/100095" } }, "_embedded": { "quote_event_code": { "quote_event_code_id": "100000", "quote_event_code": "Dealer", "name": "Dealer Pricing", "description": "Dealer Pricing Attached", "template_id": "0", "status_flag": "active" }, "quote_event_action": { "quote_event_action_id": "100000", "name": "Follow Up" } }}| The request was successful request. |
| 401 - Unauthorized | | |
{ "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "title": "Unauthorized", "status": 401, "detail": "Unauthorized"}| You have not authenticated before running this API or The token_timeout of the current session has passed. You need to authenticate again. |
| 403 - Forbidden | | |
{ "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "title": "Forbidden", "status": 403, "detail": "Forbidden"}| You do not have permissions for this request. Go to System Roles and enter 'web_services' Navigate to the Roles / APIs tab to make sure the permission you need to run this API is checked. |
| 422 - Unprocessable Content | | |
{ "validation_messages": [ { "attachment_id": { "noRecordFound": "No record matching the input was found" } } ], "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "title": "Unprocessable Entity", "status": 422, "detail": "Failed Validation"}| Attachment ID not found/valid. |
PatchQuote - Contract tab
The fields listed on this page are all found primarily on the Quotes / Contract tab.
Note: Not all fields are supported yet. If a field is listed below it is supported.
Refer to main page for full details of patchQuote functionality.
Supplementary SWAGGER documentation is available here: api.catch-e.com/docs/#/Quotes/patchQuote
Body - JSON
Validations and Alerts
PatchQuote - Events tab
The fields listed on this page are all found primarily on the Quotes:Events tab.
Note: Not all fields are supported yet. If a field is listed below it is supported.
Refer to main page for full details of patchQuote functionality.
Supplementary SWAGGER documentation is available here: api.catch-e.com/docs/#/Quotes/patchQuote
Body - JSON
PatchQuote - Finance tab
The fields listed on this page are all found on the Quotes:Finance tab.
Note: Not all fields are supported yet. If a field is listed below it is supported.
Refer to main page for full details of patchQuote functionality.
Supplementary SWAGGER documentation is available here: api.catch-e.com/docs/#/Quotes/patchQuote