Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel3

...

Request to process the request using a token in the headers

Headers

Наприклад:

Content-Type:application/json
Authorization:Bearer {{access_token}}
API-key:{{mis_client_secret}}

...

  • Get activity by id

  • Check activity.detail.status: activity status should be changed according to activity status model.

    • Return 409 (Invalid activity status) in case of error

  • Check activity.detail.status in (in_progress, scheduled)

    • in case of error - return 409 ('Activity can be cancelled only if it has in_progress or scheduled status')

Validate status reason

Validate value in the field $.detail.status_reason, required

...