Creating a ticket №12 (acceptance of the COMDOC repeal request)

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

New:

Important

It is not possible to confirm (accept) the request to repeal a COMDOC document if the document:

  • repealed (the document has ticket №12)

  • has no request of repeal (the document is missing ticket №11)

The USREOU must comply with the signature [КодКонтрагента] or [ІПН] in one of the blocks [ЕлектроннийДокумент/Сторони/Контрагент]

URL

Method

POST

URL query

/api/v2/eds/comdoc/repeal/accept?gln=9864065702429&doc_uuid=c1f6a1d0-5aaf-4a06-b78d-71c238f70986

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 COMDOC

Headers

Authorization

SID - token obtained during authorization

Content-Type

application/pkcs7-signature

REQUEST

JSON Body

The body of the request method transmit signed p7s data in binary form

RESPONSE

Response transmits

chain_uuid - the identifier of the chain in which the document is located

doc_uuid - document ID with a ticket

ticket_uuid - ticket ID

Example (JSON):

{
  "chain_uuid": "7b6aef20-9f42-460e-9031-bb81c91e3b03",
  "doc_uuid": "e013510a-4267-4553-80f0-eb5ebabdfd05",
  "ticket_uuid": "1003706c-3656-497b-9438-c6f33e27c36d"
}

Deprecated:

URL

Method

POST

URL query

/api/v2/eds/comdoc/repeal/accept?gln=9864065702429&doc_uuid=c1f6a1d0-5aaf-4a06-b78d-71c238f70986

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 COMDOC

Headers

Authorization

SID - token obtained during authorization

Content-Type

application/json

REQUEST

JSON Body

The body of the request method transmit data to accept the repeal request COMDOC

RESPONSE

Server code 200 (ok).