Contract Desk

Undo a decision at its source

Changed on

Runs the source app's own reverse call (a key date or step marked open again, a contract outcome back to active), marks the decision undone and puts the item back with its id; the next build makes it exact. It reverses only what the decision set: Contracts must still hold that state, set no later than the decision. Only the latest decision of an item, not undone, while the item is not open again; a value decision has no undo (a later decision replaces it in Contract Check). Requires scope write and a person with the edit permission.

post/v1/contract-desk/decisions/{id}/undo

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Path parameters

id, string uuid required

The decision id (ContractDeskDecision.id).

Response

The decision, undone.

ContractDeskDecision required
id, string uuid
at, string date-time
by_name, string nullable

The person; over the API the OAuth person's name, or api:<key id> for a key.

mine, boolean
kind, 'value' | 'deadline' | 'step'
action, 'set' | 'crm_add' | 'handled' | 'notice_sent' | 'renewal_declined' | 'terminated' | 'dismiss' | 'accept'
value, string nullable
note, string nullable
status, 'decided' | 'suggested'
item, ContractDeskItem
contract, object
undoable, boolean

The latest decision of its item (for a contract outcome also of its contract), not undone, the source has an undo (a handled key date or step, a contract outcome), and the item is not open again. Read from the desk's log only: a state set in Contracts since then shows at the undo, which answers 409 not_undoable.

undone_at, string date-time nullable
undone_by_name, string nullable

Changes

    • warning

      added the new dismiss enum value to the action response property for the response status

    • warning

      added the new issue enum value to the item/kind response property for the response status

    • warning

      added the new behind enum value to the item/urgency response property for the response status