File signing (for CONDRA)

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

URL

Method

POST

URL query

/api/eds/doc/body?body_type=content&content_type=hash_sign&doc_uuid=37c753a5-7746-4e3f-8485-332c16b63f83&gln=9864067620417&family=edi

URL parameters

gln (mandatory) 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 (mandatory) String - unique identifier of the organization on the EDIN 2.0 platform

doc_uuid (mandatory) UUID - document ID

family (optional) int - service; possible values:

  • edi

  • uzd

content_type (mandatory) String – content body type; possible values: hash_sign (constant)

body_type (mandatory) String - document body type; possible values:

  • content - base64 content without signatures / seals;

  • json - json of the document;

  • sign - base64 signature body;

  • xml - document body in xml format;

Headers

Authorization

SID - token obtained during authorization

Content-Type

text/plain

REQUEST

Body

The body of the request method transfers p7s signature file in binary form.

RESPONSE

Server code 200 (ok).