Trigger
Partial update trigger
Update part of a trigger object.
patch/api/v1/triggers/{triggerID}
Path parameters
triggerIDinteger required
Trigger ID
Request body
Example request
{
"id": 234,
"url": "https://example.rossum.app/api/v1/triggers/234",
"queue": "https://example.rossum.app/api/v1/queues/8198",
"event": "annotation_imported",
"condition": {},
"email_templates": [
"https://example.rossum.app/api/v1/email_templates/123",
"https://example.rossum.app/api/v1/email_templates/321"
],
"delete_recommendations": [
"https://example.rossum.app/api/v1/delete_recommendations/123",
"https://example.rossum.app/api/v1/delete_recommendations/321"
],
"modified_by": "https://example.rossum.app/api/v1/users/10775",
"modified_at": "2021-04-26T10:08:03.856648Z"
}Response
OK
Example response
{
"id": 234,
"url": "https://example.rossum.app/api/v1/triggers/234",
"queue": "https://example.rossum.app/api/v1/queues/8198",
"event": "annotation_imported",
"condition": {},
"email_templates": [
"https://example.rossum.app/api/v1/email_templates/123",
"https://example.rossum.app/api/v1/email_templates/321"
],
"delete_recommendations": [
"https://example.rossum.app/api/v1/delete_recommendations/123",
"https://example.rossum.app/api/v1/delete_recommendations/321"
],
"modified_by": "https://example.rossum.app/api/v1/users/10775",
"modified_at": "2021-04-26T10:08:03.856648Z"
}