Sending document status

To work with this method, the user must be authorized.

URL

Method

POST

URL query

/api/eds/doc/statuses?gln=9864232319979&doc_uuid=c1f6a1d0-5aaf-4a06-b78d-71c238f70986&type=1

URL parameters

gln - string (13); the GLN number of the organization that is associated with the authorized user of the EDIN 2.0 platform at the account level; OR guid - string; unique identifier of the organization at EDIN 2.0 platform

doc_uuid - string; document UUID

type - numeric; document status

  • 0 - positive (accepted)

  • 1 - negative (rejected)

Headers

Authorization

SID - token obtained during authorization

Content-Type

application/json

REQUEST

JSON Body

The body of the method request may contain free text (the reason for refusal / cancellation)

RESPONSE

Server code 200 (ok).