49 - Information from the Unified State Register of Declarations
Service for obtaining information from the Unified State Register of Declarations of Persons Authorized to Perform State or Local Self-Government Functions (Register of Declarations). The register is maintained by the National Agency for the Prevention of Corruption.
Звіт містить такі компоненти:
Http Method | POST |
---|---|
Request URL | https://secure.ubki.ua/b2_api_xml/ubki/xml |
Request JSON/Search for documents by the declarant |
Response JSON{ "ubkidata": { "tech": { "trace": { "step": { "name": "Step name", "stm": "Step start stamp date", "ftm": "Step finish stamp date" } }, "error": { "errtype": "Error code (code from ref.0)", "errtext": "Error text (value from ref.0)" }, "reqinfo": { "reqid": "Outgoing request ID generated by UBKI" }, "billing": { "balance": { "value": "Total assets", "date": "Date", "time": "Time" }, "billdetails": { "freemon": "Sign of free of charge according to the request type "Monitoring the client of the organization" (reqreason=1), code (0 - No, 1 - Yes)", "freemonref": "Sign of free of charge according to the request type "Monitoring the client of the organization" (reqreason=1), value (0 - No, 1 - Yes)" } } }, "comp": [ { "id": "Component Number", "descr": "", "declaration": { "found": "Search parameter (1-found, 0-not)", "foundref": "Text message of the search result", "persons": [ { "identId": "Unique number of the declarant", "names": [ { "lname": "Last name", "fname": "Name", "mname": "Middle Name", "personName": "Full name" } ], "docs": [ { "documentId": "Document Number", "year": "Year of the document", "typeId": "Document Type", "docType": "Type of declaration", "docDate": "Date of declaration submission" } ] } ] } } ] } }
|
Request XML/Search for documents by the declarant |
Response XML<?xml version="1.0" encoding="utf-8"?> <ubkidata> <!-- System information part --> <tech> <trace> <step name="Step name" stm="Step start stamp date" ftm="Step finish stamp date"> <!-- The trace part contains timing metrics of components generation steps --> </step> </trace> <error errtype="Error code (code from ref.0)" errtext="Error text (value from ref.0)"> </error> <reqinfo reqid="Outgoing request ID generated by UBKI"> </reqinfo> <!-- Information about the current status of the prepaid account part--> <billing> <balance value="Total assets" date="Date" time="Time" /> <billdetails freemon="Sign of free of charge according to the request type "Monitoring the client of the organization" (reqreason=1), code (0 - No, 1 - Yes)" freemonref="Sign of free of charge according to the request type "Monitoring the client of the organization" (reqreason=1), value (0 - No, 1 - Yes)"/> </billing> </tech> <!-- List of declarations --> <comp id="74" descr="List of declarations"> <declaration found="Search parameter (1-found, 0-not)" foundref="Text message of the search result"> <persons identId="Unique number of the declarant"> <names lname="Last name" fname="Name" mname="Middle Name" personName="Full name"/> <docs documentId="Document Number" year="Year of the document" typeId="Document Type" docType="Type of declaration" docDate="Date of declaration submission"/> </persons> </declaration> </comp> </ubkidata> |
Request JSON/Declaration`s detail info |
Response JSON |
Request XML/Declaration`s detail info |
Response XML |
An example of obtaining a list of documents for the declarant |
---|
Request JSON | {
"doc": {
"ubki": {
"req_envelope": {
"req_xml": {
"request": {
"i": {
"ident": {
"okpo": "2318602577",
"lname": "КОВАЛЕНКО",
"fname": "ОЛЕКСАНДР",
"mname": "МИКОЛАЙОВИЧ",
"bdate": "1963-06-25"
},
"reqlng": "1"
},
"version": "1.0",
"reqtype": "49",
"reqreason": "2"
},
"descr": "Request object"
},
"descr": "Request envelope"
},
"sessid": "31B27621126C485BA907065C8F000000"
}
}
} |
Response JSON | {
"ubkidata": {
"tech": {
"trace": {
"step": [
{
"name": "build report",
"stm": "2024-04-19 15:40:37.370",
"ftm": "2024-04-19 15:40:38.160"
}
]
},
"error": [],
"reqinfo": {
"reqid": "req2#000919938111"
}
},
"comp": [
{
"id": "74",
"descr": "List of declarations",
"declaration": {
"found": "1",
"foundref": "Found information",
"persons": [
{
"identId": 14464,
"names": [
{
"lname": "КОВАЛЕНКО",
"fname": "ОЛЕКСАНДР",
"mname": "МИКОЛАЙОВИЧ",
"personName": "КОВАЛЕНКО ОЛЕКСАНДР МИКОЛАЙОВИЧ"
}
],
"docs": [
{
"documentId": "1e247e60-a659-48dc-9ec5-68a0a8a59e9a",
"year": 2015,
"typeId": 3,
"docType": "Щорічна",
"docDate": "2016-10-25"
},
{
"documentId": "fd16d8e4-d28a-49e6-91dd-4116b727e1a3",
"year": 2015,
"typeId": 1,
"docType": "Щорічна",
"docDate": "2016-10-19"
}
]
},
{
"identId": 1313367,
"names": [
{
"lname": "КОВАЛЕНКО",
"fname": "ОЛЕКСАНДР",
"mname": "МИКОЛАЙОВИЧ",
"personName": "КОВАЛЕНКО ОЛЕКСАНДР МИКОЛАЙОВИЧ"
}
],
"docs": [
{
"documentId": "7fa6904c-d402-4a25-903d-7f25d502c78b",
"year": 2019,
"typeId": 1,
"docType": "Щорічна",
"docDate": "2020-05-31"
},
{
"documentId": "83288f05-e600-4c39-bb81-d5d6556dfbc2",
"year": 2017,
"typeId": 3,
"docType": "Щорічна",
"docDate": "2018-04-06"
},
{
"documentId": "8e41790b-f450-4244-b7f5-40b8f66a8130",
"year": 2017,
"typeId": 1,
"docType": "Щорічна",
"docDate": "2018-03-30"
},
{
"documentId": "9e56c52b-b19a-41c7-92d0-603acab29b23",
"year": 2018,
"typeId": 1,
"docType": "Щорічна",
"docDate": "2019-03-30"
},
{
"documentId": "a98cef79-69bc-42a4-8dac-72e6c25ff3ed",
"year": 2017,
"typeId": 1,
"docType": "Кандидата на посаду",
"docDate": "2018-05-17"
},
{
"documentId": "bcaf7a39-979a-46fc-8fb6-a3d665feee21",
"year": 2020,
"typeId": 1,
"docType": "Щорічна",
"docDate": "2021-03-31"
}
]
}
]
}
}
]
}
} |
Request XML | <doc>
<ubki sessid="31B27621126C485BA907065C8F000000">
<req_envelope descr="">
<req_xml descr="">
<request version="1.0" reqtype="49" reqreason="2" reqdate="2024-04-18" reqidout="" reqsource="1">
<i reqlng="1">
<ident okpo="2318602577" lname="КОВАЛЕНКО" fname="ОЛЕКСАНДР" mname="МИКОЛАЙОВИЧ" bdate="1963-06-25" />
</i>
</request>
</req_xml>
</req_envelope>
</ubki>
</doc> |
Response XML |
An example of obtaining the details of the declaration document |
---|
Request JSON |
Response JSON |
Request XML |
Response XML |
XSD Schema request | |
---|---|
XSD Schema response | https://secure.ubki.ua/b2/js/xsd/response49.xsd |
Test URL | |
---|---|
Test data | Search for documents by the declarant -
Declaration`s detail info -
|