Delete Recommendation

Create delete recommendation

Changed on

Create a new delete recommendation object.

post/api/v1/delete_recommendations

Request

Request body

idinteger

ID of the delete recommendation

enabledboolean

Whether the associated triggers' rules should be active

urlstring uri

URL of the delete recommendation

organizationstring uri

Organization URL.

queuestring uri

Queue URL.

triggersstring[]

URLs of the associated triggers

Example request

{
  "id": 1244,
  "enabled": true,
  "url": "https://example.rossum.app/api/v1/delete_recommendations/1244",
  "organization": "https://example.rossum.app/api/v1/organizations/406",
  "queue": "https://example.rossum.app/api/v1/queues/8198",
  "triggers": [
    "https://example.rossum.app/api/v1/triggers/500"
  ]
}

Response

Created

idinteger required

ID of the delete recommendation

enabledboolean required

Whether the associated triggers' rules should be active

urlstring uri required

URL of the delete recommendation

organizationstring uri required

Organization URL.

queuestring uri required

Queue URL.

triggersstring[] required

URLs of the associated triggers

Example response

{
  "id": 1244,
  "enabled": true,
  "url": "https://example.rossum.app/api/v1/delete_recommendations/1244",
  "organization": "https://example.rossum.app/api/v1/organizations/406",
  "queue": "https://example.rossum.app/api/v1/queues/8198",
  "triggers": [
    "https://example.rossum.app/api/v1/triggers/500"
  ]
}

Changes

    • breaking

      the response's body type changed from object to no type for status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added subschema #2 to the response body allOf list for the response status