Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 4 Current »


Search of the subject's connections with other persons according to open sources


The report contains the following components:

Request JSON
( ** the parameters are transferred optionally)

  body:

{

"doc": {

"ubki": {

"req_envelope": {

"req_xml": {

"request": {

"i": {

"ident": {

"okpo": "**Tax/Taxpayer Identification Number (INN-RNUKPN)/EDRPOU",

"lname": "**Last name",

"fname": "**First 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): Related persons' - 53",

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

},

"descr": "Request object"

},

"descr": "Request envelope"

},

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

}

}

}

Response JSON

 body:

{

"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": {

"relatedPersons": {

"related": {

"relations": {

"accuracy": "The accuracy of the relationship found, from 0 to 1",

"role": "Description of the relationship between the search subject and the found person",

"source": "The source in which the relation was found (Code from ref.72)"

},

"code": "EDRPOU code of a person, if it is a legal entity",

"name": "The name of the legal entity or the full name of the natural person related to the subject"

},

"bdate": "Date of birth",

"lname": "Last name",

"fname": "First name",

"mname": "Middle name",

"subjectCode": "TIN/EDRPOU of the subject"

},

"id": "79",

"descr": "Related persons"

}

}

}

Request XML
( ** the parameters are transferred optionally)

  body:

<?xml version="1.0" encoding="utf-8"?>

<doc>

<ubki sessid="Session key (obtained from the authorization API)">

<req_envelope descr="Request envelope">

<req_xml descr="Request object">

<!-- Request parameters -->

<request version="1.0"

reqtype="Template code (code from ref.49): Related persons' - 53"

reqreason="Request objective (code from ref.24)">

<!-- Parameters describing search criteria-->

<i reqlng="Search criteria language (code from ref.23)">

<!-- Subject identification parameters-->

<ident okpo="**Tax/Taxpayer Identification Number (INN-RNUKPN)/EDRPOU" 

                     lname="**Last name" 

                     fname="**First name" 

                     mname="**Middle name"

bdate="**Date of birth"/>

</i>

</request>

</req_xml>

</req_envelope>

</ubki>

</doc>

Response XML

 body:

<?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>

<!-- Related persons-->

<comp id="79" descr="Related persons">

<relatedPersons bdate="Date of birth"

lname="Last name"

fname="First name"

mname="Middle name"

subjectCode="TIN/EDRPOU of the subject" >

<related code="EDRPOU code of a person, if it is a legal entity"

name="The name of the legal entity or the full name of the natural person related to the subject" >

<!--This part must contain 0..* items-->

<relations accuracy="The accuracy of the relationship found, from 0 to 1"

role="Description of the relationship between the search subject and the found person"

source="The source in which the relation was found (Code from ref.72)" />

<!--This part must contain 0..* items-->

</related>

</relatedPersons>

</comp>

</ubkidata>

Example

Request JSON

{
	"doc": {
		"ubki": {
			"req_envelope": {
				"req_xml": {
					"request": {
						"i": {
							"ident": {
								"okpo": "2726020593"
							},
							"reqlng": "1"
						},
						"version": "1.0",
						"reqtype": "53",
						"reqreason": "2"
					},
					"descr": "Об'єкт запиту"
				},
				"descr": "Конверт запиту"
			},
			"sessid": "7BD7E136E3BF470EAA2CFE2E8700000D"
		}
	}
}

Response JSON

{
	"ubkidata": {
		"tech": {
			"trace": {
				"step":  [
                    {
					"name": "build report",
					"stm": "2022-11-09 19:22:31.946",
					"ftm": "2022-01-09 19:22:32.021"
				}
			 ]
            },
            "error": [],
			"reqinfo": {
				"reqid": "req2#000002007864"
			}
		},
		"comp": [
            {
                "id": "79",
                "descr": "Пов'язані особи",
                "relatedPersons": {
                    "bdate": "1974-08-20",
                    "fname": "БОГДАН",
                    "lname": "БОГДАНОВ",
                    "mname": "БОГДАНОВИЧ",
                    "subjectCode": "2726020593",
                    "related": [
                        {
                            "code": "44011074",
                            "name": "ТОВАРИСТВО З ОБМЕЖЕНОЮ ВІДПОВІДАЛЬНІСТЮ \"ЛИМАК ГРУП\"",
                            "relations": [
                                {
                                    "accuracy": 1.0,
                                    "role": "представник юридичної особи",
                                    "source": "EDR_links"
                                },
                                {
                                    "accuracy": 1.0,
                                    "role": "є засновником",
                                    "source": "EDR_links"
                                }
                            ]
                        }
                    ]
                }
            }
        ]
    }
}

Request XML

<?xml version="1.0" encoding="UTF-8"?>
<doc>
  <ubki sessid="7BD7E136E3BF470EAA2CFE2E8700000D">
    <req_envelope descr="Конверт запиту">
      <req_xml descr="Об'єкт запиту">
        <request version="1.0" reqtype="53" reqreason="2">
          <i reqlng="1">
            <ident okpo="2726020593" />
          </i>
        </request>
      </req_xml>
    </req_envelope>
  </ubki>
</doc>

Response XML

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ubkidata>
  <tech>
    <trace>
      <step name="build report" stm="2022-11-09 19:22:31.946" ftm="2022-01-09 19:22:32.021" />
    </trace>
    <reqinfo reqid="req2#000002007864" />
  </tech>
   <comp id="79" descr="Пов'язані особи">
        <relatedPersons bdate="1974-08-20" fname="БОГДАН" lname="БОГДАНОВ" mname="БОГДАНОВИЧ" subjectCode="2726020593">
            <related code="44011074" name="ТОВАРИСТВО З ОБМЕЖЕНОЮ ВІДПОВІДАЛЬНІСТЮ &quot;ЛИМАК ГРУП&quot;">
                <relations accuracy="1.0" role="представник юридичної особи" source="EDR_links"/>
                <relations accuracy="1.0" role="є засновником" source="EDR_links"/>
            </related>
        </relatedPersons>
    </comp>
</ubkidata>

Test URL

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

Test data

  • okpo="3332643095"

  • okpo="2726020593"

  • okpo= "12345632"

  • No labels