Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 944 Bytes

File metadata and controls

30 lines (19 loc) · 944 Bytes

Credentials

Note

| This section contains available actions for next roles: | Monitoring owner | Tender owner

In order to get rights for future monitoring editing as a broker, we need to use this view PATCH: /monitorings/{id}/credentials with the API key of the eMall (broker), where tender was generated.

You can pass access token in the following ways:

  1. acc_token URL query string parameter
  2. X-Access-Token HTTP request header
  3. access.token in the body of request

In the PATCH: /monitorings/{id}/credentials?acc_token={tender_token}:

  • id stands for monitoring id,
  • tender_token is tender's token (is used for monitoring token generation).

Response will contain access.token for the contract that can be used for further monitoring modification.