Document search (filtering), the selection list of documents

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

With api/eds/docs/search method, you can quickly search for specified criteria, such as getting a list of documents with a specific status, or over a period of time.

URL

Method

POST

URL query

/api/eds/docs/search?gln=9864065702429

URL parameters

gln (required) String - GLN of your own Company; OR guid (required) String - unique identifier of your own Company

status_id (optonal) int - document folder id:

  • 0 - All

  • 1 - Inbox;

  • 2 - Outbox;

  • 3 - Archive;

  • 4 - Drafts;

  • 5 - Important.

family (опціонально) String - назва сімейства документів:

  • edi

  • uzd

  • certificats

  • ats

  • ettn

  • distribex

  • simple-doc (Vilnyi)

  • tender

  • agreement

  • openprice (Have Product)

Headers

Authorization

SID - token obtained during authorization

Content-Type

application/json

REQUEST

JSON Body

In the body of the request method transmitted required and optional search/filtering criterias

RESPONSE

Response transmits an array of documents.