Versions Compared

Key

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

...

Request JSON
( **parameters are passed optionally)

Expand
title body:

{

"doc": {

"ubki": {

"req_envelope": {

"req_xml": {

"request": {

"i": {

"ident": {

"okpo": "Tax/Taxpayer Identification Number (INN-RNUKPN, for individuals)",

"lname": "**Last name",

"fname": "**First name",

"mname": "**Middle name",

"bdate": "**Date of birth"

},

"mvd": {

"dtype": "Sought-for document type (code 1, 3, 17 from дов.7)",

"pser": "Series of the required passport",

"pnom": "Number of required passport or ID-card number",

"plname": "Surname of the required passport",

"pfname": "Name of the required passport",

"pmname": "Patronymic of the required passport",

"pbdate": "Date of birth of the required passport"

},

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

},

"version": "1.0",

"reqtype": "Template code (code from ref.49): 'Verification ' – 21",

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

},

"descr": "Request object"

},

"descr": "Request envelope"

},

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

}

}

}

...

Response JSON

Code Block
{
	"ubkidata": {
		"tech": {
			"trace": {
				"step": {
					"name": "build report",
					"stm": "2022-11-26 09:26:44.35",
					"ftm": "2022-08-26 09:26:44.44"
				}
			},
			"reqinfo": {
				"reqid": "req2#000002460341"
			}
		},
		"comp": [
			{
				"mvd": {
					"foundsource": [
						{
							"name": "UBKI",
							"found": "0",
							"foundref": "Not found",
							"sourcedate": "2022-10-16"
						},
						{
							"name": "MVS",
							"found": "1",
							"foundref": "Found",
							"sourcedate": "2022-10-16"
						},
						{
							"name": "DMS",
							"found": "0",
							"foundref": "Not found",
							"sourcedate": "2022-10-16"
						}
					],
					"found": "1",
					"foundref": "Found",
					"foundtitle": "Ukrainian citizen passportPassport АМ-578072 is found in the list of invalid passports",
					"pser": "АМ",
					"pnom": "578072",
					"plname": "HARNA",
					"pfname": "IRINA",
					"pmname": "VASYLIVNA",
					"pbdate": "1989-10-05",
					"dtype": "1",
					"dtyperef": "Ukrainian citizen passport"
				},
				"id": "5",
				"descr": "Checking according to the databases of the invalid documents"
			},
			{
				"pret": {
					"inn": "3278508288",
					"nonewdeal": "0",
					"nonewdealref": "No",
					"nonewdealcomment": "",
					"freezedate":""
				},
				"fcert": {
					"inn": "3278508288",
					"cert": "0",
					"certref": "No",
					"certid": "",
					"certurl": ""
				},
				"maybegone": {
					"inn": "3278508288",
					"vdate": "2022-12-01",
					"dldonor": "BNK"
				},
				"id": "18",
				"descr": "Alert"
			},
			{
				"passportverif": {
					"coincide": "1",
					"coincideref": "Yes",
					"existident": "1",
					"existidentref": "Yes",
					"mname": "ВАСИЛІВНА",
					"fname": "ІРІНА",
					"lname": "ГАРНА",
					"bdate": "1989-10-05",
					"ser": "АМ",
					"nom": "578072"
				},
				"id": "22",
				"descr": "Result of verification of Full Name-Passport-DOB"
			}
		]
	}
}

...

Response XML

Code Block
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ubkidata>
    <tech>
        <trace>
            <step name="build report" stm="2022-11-26 09:26:44.35" ftm="2022-08-26 09:26:44.44"/>
        </trace>
        <reqinfo reqid="req2#000002460341"/>
    </tech>
    <comp id="5" descr="Checking according to the databases of the invalid documents">
        <mvd found="1" foundref="Found" foundtitle="Ukrainian citizen passportPassport АМ-578072 is found in the list of invalid passports" pser="АМ" pnom="578072" plname="HARNA" pfname="IRINA" pmname="VASYLIVNA" pbdate="1989-10-05" dtype="1" dtyperef="Ukrainian citizen passport">
            <foundsource name="UBKI" found="0" foundref="Not found" sourcedate="2022-10-16"/>
            <foundsource name="MVS" found="1" foundref="Found" sourcedate="2022-10-16"/>
            <foundsource name="DMS" found="0" foundref="Not found" sourcedate="2022-10-16"/>
        </mvd>
    </comp>
    <comp id="18" descr="Alert">
        <pret inn="3278508288" nonewdeal="0" nonewdealref="No" nonewdealcomment="" freezedate="" />
        <fcert inn="3278508288" cert="0" certref="No" certid="" certurl="" />
        <maybegone inn="3278508288" vdate="2022-12-01" dldonor="BNK" />
    </comp>
    <comp id="22" descr="Result of verification of Full Name-Passport-DOB">
        <passportverif coincide="1" coincideref="Yes" existident="1" existidentref="Yes" mname="ВАСИЛІВНА" fname="ІРІНА" lname="ГАРНА" bdate="1989-10-05" ser="АМ" nom="578072"/>
    </comp>
</ubkidata>

...