Drafts sending
To work with this method, the user must be authorized.
Using the method /api/eds/doc/send it is possible to send a draft (with additional features of sending).
Note
The presence of a retailer in the document flow is automatically determined by the platform (ie if the Sender or Recipient is a retailer, the created chain will be marked by a specific retailer)
Attention
The body of the request and all its parameters are optional!
URL |
|
Method |
PATCH |
URL query |
/api/eds/doc/send?gln=9864065702429&doc_uuid=8c8a70e7-81c6-4382-8b58-7d60c3bc6ffd |
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 doc_uuid - string; document UUID doc_hash (optional) - string; document hash chain_hash (optional) - string; chain hash chain_uuid (optional) - string; chain ID partner_id (optional) - numeric; retail network id (can be obtained from the directory of retail networks) chain_type (optional) - numeric; document chain type; 0 - ordinary, 1 - special (TM Fozzy) |
Headers |
|
Authorization |
SID - token obtained during authorization |
Content-Type |
application/json |
REQUEST |
|
JSON Body |
In the request body of the method are transmitted additional fields |
RESPONSE
Server code 200 (ok).