50 - Information from the Register of persons who have restricted access to gambling establishments and/or participation in gambling (using credit funds)
Report based on information from the Register of persons who are restricted from access to gambling establishments and/or participation in gambling, which is held by the сommission for the regulation of gambling and lotteries
The report contains the following components:
Http Method | POST |
---|---|
Request URL | https://secure.ubki.ua/b2_api_xml/ubki/xml |
Request JSON{ "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" }, "reqlng": "Search criteria language (Code from ref.23)" }, "version": "1.0", "reqtype": "Template code (Code from the ref.49): 'Information from the Register of persons who have restricted access to gambling establishments and/or participation in gambling (using credit funds)' - 50", "reqreason": "Purpose of the request (Code from the ref.24)" }, "descr": "Request object" }, "descr": "Request envelope" }, "sessid": "Session key (we receive it from the API authorization)" } } } |
Response JSON{ "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" } } }, "comp": { "ludomans":{ "found": "Numerical indication of whether a person is found in the register - 0/1", "foundref": "Textual definition of whether a person is found in the register: Not found (0)/Found (1)", "information": { "searchType": "Search type - 0/1/2/3", "searchTypeRef": "Text definition of search type: No matches found (0)/Found by TIN (1)/Found by name and date of birth (2)/Found by last name, first name and date of birth (3)", "lastName": "Last name", "firstName": "Name", "middleName": "Middle name", "dateOfBirth": "Date of birth", "inn": "TIN", "documentSeries": "Document series", "documentNumber": "Document number", "documentIssuedDate": "Document issue date", "documentIssuedBy": "Issuer", "documentOtherData": "Other information about the document", "passport": "Passport", "gender": "Sex", "address": "Address", "communication": "Contacts", "stateCode": "Country code", "rDateFrom": "Period start date", "rDateTill": "Period end date", "reason": "Reason" } }, "id": "76", "descr": "Information from the Register of persons who have restricted access to gambling establishments and/or participation in gambling (using credit funds)" } } } |
Request XML<?xml version="1.0" encoding="utf-8"?> <doc> <ubki sessid="Session key (we receive it from the API authorization)"> <req_envelope descr="Request envelope"> <req_xml descr="Request object"> <!-- Request Parameters --> <request version="1.0" reqtype="Template code (Code from the ref.49): 'Information from the Register of persons who have restricted access to gambling establishments and/or participation in gambling (using credit funds)' - 50" reqreason="Purpose of the request (Code from the ref.24)"> <!-- Parameters, which describe the search criteria--> <i reqlng="Search criteria language (Code from ref.23)"> <!-- Identification parameters of the subject--> <ident okpo="Tax/Taxpayer Identification Number (INN-RNUKPN, for individuals)" lname="**Last name" fname="**First name" mname="**Middle name" bdate="**Date of birth"> </i> </request> </req_xml> </req_envelope> </ubki> </doc> |
Response XML<?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> <!-- Information from the Register of persons who have restricted access to gambling establishments and/or participation in gambling (using credit funds) --> <comp id="76" descr="The name of the component"> <ludomans found="Numerical indication of whether a person is found in the register - 0/1" foundref="Textual definition of whether a person is found in the register:Not found (0)/Found (1)" > <information searchType="Search type - 0/1/2/3" searchTypeRef="Text definition of search type: No matches found (0)/Found by TIN (1)/Found by name and date of birth (2)/Found by last name, first name and date of birth (3)" lastName="Last name" firstName="Name" middleName="Middle name" dateOfBirth="Date of birth" inn="TIN" documentSeries="Document series" documentNumber="Document number" documentIssuedDate="Document issue date" documentIssuedBy="Issuer" documentOtherData="Other information about the document" passport="Passport" gender="Sex" address="Address" communication="Contacts" stateCode="Country code" rDateFrom="Period start date" rDateTill="Period end date" reason="Reason" /> <!--This block must consist of 0 .. * elements--> </ludomans> </comp> </ubkidata> |
Example |
---|
Request JSON | {
"doc": {
"ubki": {
"req_envelope": {
"req_xml": {
"request": {
"i": {
"ident": {
"bdate": "1989-10-05",
"mname": "ВАСИЛІВНА",
"fname": "ІРІНА",
"lname": "ГАРНА",
"okpo": "3278508288"
},
"reqlng": "1"
},
"version": "1.0",
"reqtype": "50",
"reqreason": "2"
},
"descr": "Request object"
},
"descr": "Request envelope"
},
"sessid": "7BD7E136E3BF470EAA2CFE2E8700000D"
}
}
} |
Response JSON | {
"ubkidata": {
"tech": {
"trace": {
"step": {
"name": "build report",
"stm": "2022-11-09 19:08:22.647",
"ftm": "2022-01-09 19:08:22.734"
}
},
"reqinfo": {
"reqid": "req2#000002007797"
}
},
"comp": {
"ludomans":{
"found": 0,
"foundref":"Not found in the registry of ludomaniacs",
"information": []
},
"id": "76",
"descr": "Information from the Register of persons who have restricted access to gambling establishments and/or participation in gambling (using credit funds)"
}
}
} |
Request XML | <?xml version="1.0" encoding="UTF-8"?>
<doc>
<ubki sessid="7BD7E136E3BF470EAA2CFE2E8700000D">
<req_envelope>
<req_xml descr>
<request version="1.0" reqtype="50" reqreason="2">
<i reqlng="1">
<ident bdate="1989-10-05" mname="ВАСИЛІВНА" fname="ІРІНА" lname="ГАРНА" okpo="3278508288" />
</i>
</request>
</req_xml>
</req_envelope>
</ubki>
</doc> |
Response XML |
XSD Schema request | |
---|---|
XSD Schema response | https://secure.ubki.ua/b2/js/xsd/response50.xsd |
Test URL | |
---|---|
Test data |
|