Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Request JSON/Search for documents by the declarant
( ** parameters are transmitted optionally)

Expand
title body:

{

"doc": {

"ubki": {

"req_envelope": {

"req_xml": {

"request": {

"i": {

"ident": {

"okpo": "**RNOKPP (TIN) of the declarant",

"lname": "Last name",

"fname": "Name",

"mname": "Middle Name",

"bdate": "**Date of birth"

},

"reqlng": "Search criteria language (code from ref.23)"

},

"version": "1.0",

"reqtype": "Template code (code from ref.49): 'Information from the Unified State Register of Declarations' - 49",

"reqreason": "Request objective (code from ref.24)"

},

"descr": "Request object"

},

"descr": "Request envelope"

},

"sessid": "Session key (obtained from the authorization API)"

}

}

}

...

Test URL

https://test.ubki.ua/b2_api_xml/ubki/xml

Test data

Search for documents by the declarant -

  • lname="КОВАЛЕНКО" fname="ОЛЕКСАНДР" mname="МИКОЛАЙОВИЧ"

Declaration`s detail info -

  • documentId="1e247e60-a659-48dc-9ec5-68a0a8a59e9a"

  • documentId="8e41790b-f450-4244-b7f5-40b8f66a8130"