Versions Compared

Key

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

...

Request JSON

Expand
title body:

{

"doc": {

"ubki": {

"req_envelope": {

"req_xml": {

"request": {

"i": {

"docs": {

"doc": {

"dtype": "Document type (code from ref.7)",

"dser": "Document series",

"dnom": "Document number"

}

},

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

},

"version": "1.0",

"reqtype": "Template code (code from ref.49): 'Identification by passport' – 32",

"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-29 10:24:23.353",
					"ftm": "2022-08-29 10:24:24.523"
				}
			},
			"reqinfo": {
				"reqid": "req2#000002461377"
			}
		},
		"comp": [
			{
				"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"
			},
			{
				"identdoc": {
					"ident": {
						"csexref": "woman",
						"csex": "2",
						"bdate": "1989-10-05",
						"mname": "ВАСИЛІВНА",
						"fname": "ІРІНА",
						"lname": "ГАРНА",
						"inn": "3278508288",
						"lngref": "Ukrainian",
						"lng": "1",
						"vdate": "2022-02-25"
					},
					"found": "1",
					"foundref": "Found",
					"dtype": "1",
					"dtyperef": "Ukrainian citizen passport",
					"dser": "АМ",
					"dnom": "578072",
					"dwdt": ""
				},
				"identdocmvd": {
					"foundsource": [
						{
							"name": "MVS",
							"found": "1",
							"foundref": "Found",
							"sourcedate": "2022-10-16"
						},
						{
							"name": "DMS",
							"found": "0",
							"foundref": "Not found",
							"sourcedate": "2022-10-16"
						},
						{
							"name": "UBKI",
							"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",
					"dtype": "1",
					"dtyperef": "Ukrainian citizen passport"
				},
				"id": "39",
				"descr": "Identification of CHS by passport"
			}
		]
	}
}

...

Response XML

Code Block
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ubkidata>
    <tech>
        <trace>
            <step name="build report" stm="2022-11-29 10:24:23.353" ftm="2022-08-29 10:24:24.523"/>
        </trace>
        <reqinfo reqid="req2#000002461377"/>
    </tech>
    <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="39" descr="Identification of CHS by passport">
        <identdoc found="1" foundref="Found" dtype="1" dtyperef="Ukrainian citizen passport" dser="АМ" dnom="578072" dwdt="">
            <ident csexref="woman" csex="2" bdate="1989-10-05" mname="ВАСИЛІВНА" fname="ІРІНА" lname="ГАРНА" inn="3278508288" lngref="Ukrainian" lng="1" vdate="2022-02-25"/>
        </identdoc>
        <identdocmvd found="1" foundref="Found" foundtitle="Ukrainian citizen passportPassport АМ-578072 is found in the list of invalid passports" pser="АМ" pnom="578072" dtype="1" dtyperef="Ukrainian citizen passport">
            <foundsource name="MVS" found="1" foundref="Found" sourcedate="2022-10-16"/>
            <foundsource name="DMS" found="0" foundref="Not found" sourcedate="2022-10-16"/>
            <foundsource name="UBKI" found="0" foundref="Not found" sourcedate="2022-10-16"/>
        </identdocmvd>
    </comp>
</ubkidata>

...