Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Додано поле код ролі

...

...

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

...

Info

The report contains the following components:

Request JSON
( **

параметри передаються опціонально

the parameters are transferred optionally)

Expand
title 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": "Сесійний ключ (отримуємо із API авторизаціїSession key (obtained from the authorization API)"

}

}

}

Response JSON

Expand
titlebody:

{

"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": "Точність знайденого зв'язку, від 0 до The accuracy of the relationship found, from 0 to 1",

"role": "Опис зв'язку між суб'єктом пошуку та знайденою особоюDescription of the relationship between the search subject and the found person",

"source": "Джерело в якому було знайдено зв'язок (Код із довroleCode": "Code describing the relationship between the search subject and the person found (Code from ref.73)",

"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)

Expand
title body:

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

<doc>

<ubki sessid="Сесійний ключ (отримуємо із API авторизації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

Expand
titlebody:

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

<!-- Блок trace містить метрики таймінгу кроків формування компонентів 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="Точність знайденого зв'язку, від 0 до The accuracy of the relationship found, from 0 to 1"

role="Опис зв'язку між суб'єктом пошуку та знайденою особою" source="Джерело в якому було знайдено зв'язок (Код із довDescription of the relationship between the search subject and the found person"

roleCode="Code describing the relationship between the search subject and the person found (Code from ref.73)"

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

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

Response JSON

Code Block
{
	"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": "",
                    "fname": "",
                    "lname": "",
                    "mname": "",
                    "subjectCode": "1234567890",
                    "related": [
                        {
                            "code": "",
                            "name": "НИКОЛАЕВ ВАДИМ ПЕТРОВИЧ",
                            "relations": [
                                {
                                    "accuracy": 1.0,
        ":  [
                    {
					"name": "build report",
					"stm": "2022-11-09 19:22:31.946",
					"roleftm": "керівник",
    2022-01-09 19:22:32.021"
				}
			 ]
            },
            "error": [],
			"reqinfo":    "source{
				"reqid": "EDR_mainreq2#000002007864"
			}
		},
		"comp": [
            {
               }
     "id": "79",
                "descr": "Пов'язані особи",
    ]            "relatedPersons": {
           },         "bdate": "1974-08-20",
              {        "fname": "БОГДАН",
                    "codelname": "БОГДАНОВ",
        
                   "name": "КОМПАНІЯ \mname"РОМАШКА: ІНКОРПОРЕЙТЕД\"БОГДАНОВИЧ",
                       "subjectCode": "2726020593",
    "relations": [               "related": [
                {        {
                            "accuracycode": 1.0"44011074",
                            "name": "ТОВАРИСТВО З ОБМЕЖЕНОЮ ВІДПОВІДАЛЬНІСТЮ    "role": "засновник\"ЛИМАК ГРУП\"",
                            "relations":  [
     "source": "EDR_main"                           {
       }                             ]
"accuracy": 1.0,
                       },             "role": "суб'єкт є керівником особи",
       {                             "coderoleCode": "12345632203",
                                    "namesource": "ТОВАРИСТВО З ОБМЕЖЕНОЮ ВІДПОВІДАЛЬНІСТЮ \"ВАСИЛЬКІ\"","EDR_links"
                               "relations": [ },
                                {
                                    "accuracy": 1.0,
                                    "role": "засновниксуб'єкт є засновником особи",
                                    "sourceroleCode": "EDR_links202",
                               }                             ]
  "source": "EDR_links"
                     }           }
         ]                 }  ]
          }         ]     }
}

Request XML

Code Block<?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="1234567890"
 
/>
 }
}

Request XML

Code Block
<?xml version="1.0" encoding="UTF-8"?>
<doc>
  <ubki sessid="7BD7E136E3BF470EAA2CFE2E8700000D">
 </i>   <req_envelope descr="Конверт запиту">
   </request>   <req_xml descr="Об'єкт запиту">
 </req_xml>     </req_envelope>
  </ubki>
</doc>

Response XML

Code Block<?xml
  <request version="1.0" 
encoding
reqtype="
UTF-8
53" 
standalone
reqreason="
yes
2"
?
>
     
<ubkidata>
   
<tech>
  <i reqlng="1">
 
<trace>
       
<step
 
name="build
 
report"
 
stm="2022-11-09 19:22:31.946" ftm="2022-01-09 19:22:32.021
 <ident okpo="2726020593" />
          </
trace>
i>
   
<reqinfo
 
reqid="req2#000002007864"
 
/>
   </
tech>
request>
   
<comp
 
id="79"
 
descr="Пов'язані особи">
 </req_xml>
    </req_envelope>
  
<relatedPersons bdate="" fname="" lname="" mname="" subjectCode="1234567890">
</ubki>
</doc>

Response XML

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