Versions Compared

Key

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

...

  • Verify the validity of access token

    • Return (401, 'unauthorized') in case of validation fails

  • Verify that token is not expired

    • in case of error - return (401, 'unauthorized')

  • Check user scopes in order to perform this action (scope = 'care_plan:read')

    • Return (403, 'invalid scopes') in case of invalid scope(s)

Headers

Наприклад:

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

Request data validation

API paragraph not foundNo

Processing

Service logic

Service returns all Care plans with specified requisition number filtered by status if submitted:

...

Page Properties

HTTP status code

Message

What caused the error

200

 200 Response

  

401

  • unauthorized

Invalid access token

403

  • invalid scopes

Invalid scope(s)