...
Http Method | POST |
---|---|
Request URL | https://secure.ubki.ua/b2_api_xml/ubki/xml |
Request JSON
|
Response JSON
|
<?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 -->
|
|
|
<!-- Parameters describing search criteria-->
<i reqlng="Search criteria language (code from ref.23)">
<!-- Subject identification parameters-->
<ident okpo="EGPROU of the legal entity" />
<additionaldata date="Scoring date. Not filled in if the scoring is currently calculated" />
</i>
</request>
</req_xml>
</req_envelope>
</ubki>
</doc>
Response XML
Expand | ||
---|---|---|
| ||
<?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" /> </billing> </tech> <!-- FinancialReport--> <comp id="62" descr="FinancialReport"> <financialReport okpo="EGPROU of the legal entity" date="Scoring date. Not filled in if the scoring is currently calculated"> <finrepData rhId="Financial Report Id" rhStaff="Number of employees in a legal entity for a specific period" rhYear="Year of a financial report" rhQuarter="Quarter number of a financial report" rhEndDate="The еnd date of the relevant period" formKind="Type of a legal entity" rvCode="Code number of a financial report" rvValue="Money in thousands UAH" rvFormNo="Form number" /> <!--This block has to consist of the 1..* elements--> </financialReport> </comp> </ubkidata> |
Example
Request JSON
|
Request XML
|
Response XML
|
Example |
---|
Request JSON |
|
Response JSON |
|
Request XML |
|
...