Веб үйлчилгээний WSDL ба схемууд энд байрлаж байна.:
https://wsdfn.infoproff.com/v4/
Postman цуглуулга (API v4) — ашиглахад бэлэн:
https://www.postman.com/infoproff/infoproff-webservices/documentation/9kweer5/soap-api-v4
Postman код бичилгүйгээр манай API-г турших тохиромжтой арга өгдөг. Мөн хамгийн түгээмэл програмчлалын хэлнүүдийн ихэнхэд жишээ HTTP хүсэлтийг автоматаар үүсгэж чадна.
Postman-ийн үүсгэсэн хүсэлтүүд нь манай SOAP API-тай нийцтэй энгийн HTTP дуудлагууд юм. Гэсэн хэдий ч үйлдвэрлэлийн түвшний интеграцийн хувьд ихэнх програмчлалын хэлэнд байдаг бүрэн боломжит SOAP үйлчлүүлэгчдийг ашиглахыг зөвлөж байна. Эдгээр үйлчлүүлэгчид WSDL болон XSD-тэй шууд ажиллаж, схем, өгөгдлийн төрөл, мессежийн бүтцийг автоматаар боловсруулж чадна.
Зориулалтын SOAP үйлчлүүлэгч ашиглах нь илүү найдвартай, бат бөх интеграцийг хангаж, SOAP мессеж бүтээх, задлахад алдаа гарах магадлалыг бууруулна.
Баталгаажуулалтын дэлгэрэнгүй
Үндсэн баталгаажуулалтын арга нь HTTP Basic Auth юм. Кодлогдсон нэвтрэх мэдээлэлтэй Authorization толгойг ашиглах нь илүүд үздэг, зөвлөдөг арга юм.
username нь App ID-тай тохирч, password нь холбогдох Secret Key юм. Эдгээр утгууд нь хэрэглэгчийн самбарын API Tokens хэсэгт үүсгэгдэх бөгөөд портал руу нэвтрэх нэвтрэх мэдээлэлтэй холбоогүй.
Өмнөх API хувилбаруудад ашиглагдаж байсан authentication_block механизмыг хойш нийцтэй байдлын үүднээс одоо ч дэмжиж байгаа боловч хуучирсан гэж үзэж, шинэ интеграцид ашиглахгүй байх ёстой.
Вэб үйлчилгээний функцууд:
API нь хэд хэдэн үйлчилгээг санал болгодог:
Компанийн хайлт нь 2 сонголттой:
Бусад орнуудын хайлтыг зөвхөн архивлагдсан тайлангийн мэдээллийн санд хийнэ. Хүссэн компаниа олохгүй бол компанийн мэдээллийг гараар оруулна уу.
search_result_id-г delivery_term = "o" эсвэл delivery_term = "a" захиалгын хувьд эндээс авч болно.
Дараах улсуудад хайлтын хүсэлтэд хариулах нь 20 секунд хүртэл үргэлжилж болно: Их Британи, Ирланд, Франц, Испани, Португал, Герман, Итали, Австри, Швейцарь, Турк.
Норвегийн бүртгэл нь устгасан компаниудыг нэрээр хайх боломж олгодоггүй. Тиймээс бид Норвегийн устгасан компаниудын дунд нэрээр энгийн хайлт хийх боломжгүй.
Туркийн бүртгэл нь " SimpleSearch "-ийг зөвхөн компанийн нэрээр дэмждэг — бүртгэлийн кодоор хайх боломжгүй. Хайлтын асуулга дор хаяж 5 тэмдэгт агуулах ёстой. Зөвхөн компанийн нэрийн эхний хэсэг таарна.
Доор жишээг олох боломжтой.:
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:SimpleSearch>
<SimpleSearchRequest>
<search_block>
<company_name>biz group</company_name>
<country>SWE</country>
</search_block>
</SimpleSearchRequest>
</ns0:SimpleSearch>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/">
<SOAP-ENV:Body>
<ns1:SimpleSearchResponse>
<SimpleSearchResponse>
<search_result>
<item>
<search_result_id>7b459516-a36b-4f4a-83d9-7a1a864494df</search_result_id>
<name>ABČ Биз Sweden Groūp Āktiebolāg</name>
<name_transliteration>ABC Biz Sweden Group Aktiebolag</name_transliteration>
<historical_names>
<item>
<name>Groupama Asslcurazioni</name>
</item>
<item>
<name>Asslcurazioni</name>
</item>
</historical_names>
<reg_code>5592027779</reg_code>
<vat_code>TAX1125867</vat_code>
<static_code>6523456</static_code>
<legal_status>Active</legal_status>
<legal_form>Aktiebolag</legal_form>
<unified_legal_form>Limited liability company</unified_legal_form>
<legal_address>KLUBBSTIGEN 8, 17961, STENHAMRA, SVERIGE</legal_address>
<parent_company_code>3386027979</parent_company_code>
<archived_reports>
<item>
<product>kyc_report</product>
<revision_date>2023-04-20</revision_date>
<archived_report_cost>10</archived_report_cost>
<archived_report_cost_currency>EUR</archived_report_cost_currency>
</item>
<item>
<product>basic_report</product>
<revision_date>2023-06-29</revision_date>
<archived_report_cost>15.2</archived_report_cost>
<archived_report_cost_currency>EUR</archived_report_cost_currency>
<last_fin_report>
<fin_report_year>2022</fin_report_year>
<period_start>2022-01-01</period_start>
<period_end>2022-12-31</period_end>
<fin_period_duration_in_months>12</fin_period_duration_in_months>
</last_fin_report>
</item>
<item>
<product>full_report</product>
<revision_date>2022-04-13</revision_date>
<archived_report_cost>25.75</archived_report_cost>
<archived_report_cost_currency>EUR</archived_report_cost_currency>
<last_fin_report>
<fin_report_year>2021</fin_report_year>
<fin_period_start>2021-01-01</fin_period_start>
<fin_period_end>2021-12-31</fin_period_end>
<fin_period_duration_in_months>12</fin_period_duration_in_months>
</last_fin_report>
</item>
</archived_reports>
</item>
<item>
<search_result_id>fc8cec2a-5b59-4b30-b65c-ba2900669cd7</search_result_id>
<name>АДД Caprīccīo Groūp AB</name>
<name_transliteration>ADD Capriccio Group AB</name_transliteration>
<historical_names/>
<reg_code>5567769961</reg_code>
<vat_code/>
<static_code/>
<legal_status/>
<legal_form>Landsting</legal_form>
<unified_legal_form>State institution</unified_legal_form>
<legal_address>STUDENTBACKEN 1 12 TR, 11557, STOCKHOLM,
SVERIGE</legal_address>
<parent_company_code xsi:nil="true"/>
</item>
<item>
<search_result_id>4b9c5da2-3aac-4b9a-a308-f9c1e2ee8f32</search_result_id>
<name>AEE Good Group AB</name>
<name_transliteration>AEE Good Group AB</name_transliteration>
<historical_names/>
<reg_code>5591756685</reg_code>
<vat_code/>
<static_code/>
<legal_status>Active</legal_status>
<legal_form>Ömsesidigt försäkringsbolag</legal_form>
<unified_legal_form>Enterprise</unified_legal_form>
<legal_address>BOX 1, 18173, LIDINGÖ, SVERIGE</legal_address>
<parent_company_code xsi:nil="true"/>
</item>
...
</search_result>
</SimpleSearchResponse>
</ns1:SimpleSearchResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:SimpleSearch>
<SimpleSearchRequest>
<search_block>
<company_code>5592027779</company_code>
<country>SWE</country>
</search_block>
</SimpleSearchRequest>
</ns0:SimpleSearch>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/">
<SOAP-ENV:Body>
<ns1:SimpleSearchResponse>
<SimpleSearchResponse>
<item>
<search_result_id>7b459516-a36b-4f4a-83d9-7a1a864494df</search_result_id>
<name>ABČ Биз Sweden Groūp Āktiebolāg</name>
<name_transliteration>ABC Biz Sweden Group Aktiebolag</name_transliteration>
<historical_names>
<item>
<name>Groupama Asslcurazioni</name>
</item>
<item>
<name>Asslcurazioni</name>
</item>
</historical_names>
<reg_code>5592027779</reg_code>
<vat_code>TAX1125867</vat_code>
<static_code>6523456</static_code>
<legal_status>Active</legal_status>
<legal_form>Aktiebolag</legal_form>
<unified_legal_form>Limited liability company</unified_legal_form>
<legal_address>KLUBBSTIGEN 8, 17961, STENHAMRA, SVERIGE</legal_address>
<parent_company_code>3386027979</parent_company_code>
</item>
</SimpleSearchResponse>
</ns1:SimpleSearchResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:SimpleSearch>
<SimpleSearchRequest>
<search_block>
<search_query>group</search_query>
<country>SWE</country>
</search_block>
</SimpleSearchRequest>
</ns0:SimpleSearch>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/">
<SOAP-ENV:Body>
<ns1:SimpleSearchResponse>
<SimpleSearchResponse>
<item>
<search_result_id>7b459516-a36b-4f4a-83d9-7a1a864494df</search_result_id>
<name>ABČ Биз Sweden Groūp Āktiebolāg</name>
<name_transliteration>ABC Biz Sweden Group Aktiebolag</name_transliteration>
<historical_names>
<item>
<name>Groupama Asslcurazioni</name>
</item>
<item>
<name>Asslcurazioni</name>
</item>
</historical_names>
<reg_code>5592027779</reg_code>
<vat_code>TAX1125867</vat_code>
<static_code>6523456</static_code>
<legal_status>Active</legal_status>
<legal_form>Aktiebolag</legal_form>
<unified_legal_form>Limited liability company</unified_legal_form>
<legal_address>KLUBBSTIGEN 8, 17961, STENHAMRA, SVERIGE</legal_address>
<parent_company_code>3386027979</parent_company_code>
</item>
<item>
<search_result_id>4b9c5da2-3aac-4b9a-a308-f9c1e2ee8f32</search_result_id>
<name>AEE Good Group AB</name>
<name_transliteration>AEE Good Group AB</name_transliteration>
<historical_names/>
<reg_code>5591756685</reg_code>
<vat_code/>
<static_code/>
<legal_status>Active</legal_status>
<legal_form>Ömsesidigt försäkringsbolag</legal_form>
<unified_legal_form>Enterprise</unified_legal_form>
<legal_address>BOX 1, 18173, LIDINGÖ, SVERIGE</legal_address>
<parent_company_code xsi:nil="true"/>
</item>
</SimpleSearchResponse>
</ns1:SimpleSearchResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Доор тайлан захиалж, татаж авах жишээг харна уу:
Online/Offline with identification тайлан захиалахын тулд "<search_result_id>" хүлээн авах шаардлагатай.
Үүний тулд холбоосыг дагана уу: Компанийг хэрхэн хайх вэ?
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:Order>
<OrderReportRequest>
<order_details_by_id>
<country>FIN</country>
<product>full_report</product>
<delivery_term>o</delivery_term>
<notification_of_completion>true</notification_of_completion>
<confirm_order>false</confirm_order>
<copy_notifiaction_to_other_emails>
<item>mail1@mail.com</item>
<item>mail2@mail.com</item>
</copy_notifiaction_to_other_emails>
<company_details>
<search_result_id>60751300-4b72-451f-bf96-2a1a7cbe71c6</search_result_id>
<address>Company address</address>
<phone>Company phone</phone>
<email>Company email</email>
<additional_info>Additional information regarding company</additional_info>
<ref_code>YOUR REF CODE</ref_code> <!-- if you need it -->
</company_details>
</order_details_by_id>
</OrderReportRequest>
</ns0:Order>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/">
<SOAP-ENV:Body>
<ns1:OrderResponse>
<OrderReportResponse>
<order_data>
<order_id>90000055</order_id>
<order_hash>TE6PIomXrMIinvhD1DwgcdRbUS_hFrqZDX3t1eY_9N03fjazTF3OewkDCt6BczGL</order_hash>
<order_deadline>2019-09-09</order_deadline>
<price>25</price>
<currency>EUR</currency>
<request_time>2019-09-09 13:13:43</request_time>
<order_details>
<country>FIN</country>
<product>full_report</product>
<delivery_term>o</delivery_term>
<notification_of_completion>false</notification_of_completion>
<company_details>
<business_name>Company LLC</business_name>
<reg_code>08481566</reg_code>
<vat_code>000000001</vat_code>
<address>Company address</address>
<phone>Company phone</phone>
<email>Company email</email>
<additional_info>Additional information regarding company</additional_info>
<ref_code>ref_code</ref_code>
</company_details>
</order_details>
<order_status>Awaiting Confirmation</order_status>
</order_data>
<last_duplicates>
<order_data>
<order_id>90000054</order_id>
<order_hash>ZJHhHYIbpUp2xtZM1Jqg5QQYmnrLo2E7p-J8uP7BUF5_G7BNu5J0-nNVxKOeIxun</order_hash>
<order_deadline>2019-09-09 </order_deadline>
<price>25</price>
<currency>EUR</currency>
<request_time>2019-09-09 13:02:32</request_time>
<order_details>
<country>FIN</country>
<product>full_report</product>
<delivery_term>o</delivery_term>
<notification_of_completion>false</notification_of_completion>
<company_details>
<reg_code>08481566</reg_code>
<ref_code>ref_code</ref_code>
</company_details>
</order_details>
<order_status>Awaiting Confirmation</order_status>
</order_data>
<order_data>
<order_id>90000053</order_id>
<order_hash>X4Z6VL9KZd5bWsnWQ_NjdlfN2ix7M1jdwW_FrJ_IyIVKwkDipsx73dW3RMgVE8y0</order_hash>
<order_deadline>2019-08-02</order_deadline>
<price>25</price>
<currency>EUR</currency>
<request_time>2019-08-02 16:34:12</request_time>
<order_details>
<country>FIN</country>
<product>full_report</product>
<delivery_term>s</delivery_term>
<notification_of_completion>false</notification_of_completion>
<company_details>
<reg_code>08481566</reg_code>
<vat_code>000000001</vat_code>
<ref_code>ref_code</ref_code>
</company_details>
</order_details>
<order_status>Finished</order_status>
</order_data>
</last_duplicates>
</OrderReportResponse>
</ns1:OrderResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:OrderCancellation>
<OrderCancellationRequest>
<order_id>90000055</order_id>
</OrderCancellationRequest>
</ns0:OrderCancellation>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/">
<SOAP-ENV:Body>
<ns1:OrderCancellationResponse>
<OrderCancellationResponse>
<order_data>
<order_id>90000055</order_id>
<order_hash>TE6PIomXrMIinvhD1DwgcdRbUS_hFrqZDX3t1eY_9N03fjazTF3OewkDCt6BczGL</order_hash>
<order_deadline>2019-09-09</order_deadline>
<price>25</price>
<currency>EUR</currency>
<request_time>2019-09-09 13:13:43</request_time>
<order_details>
<country>FIN</country>
<product>full_report</product>
<delivery_term>o</delivery_term>
<notification_of_completion>false</notification_of_completion>
<company_details>
<business_name>Company LLC</business_name>
<reg_code>08481566</reg_code>
<vat_code>000000001</vat_code>
<address>Company address</address>
<phone>Company phone</phone>
<email>Company email</email>
<additional_info>Additional information regarding company</additional_info>
<ref_code>ref_code</ref_code>
</company_details>
</order_details>
<order_status>Canceled</order_status>
</order_data>
</OrderCancellationResponse>
</ns1:OrderCancellationResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:OrderConfirmation>
<OrderConfirmationRequest>
<order_id>90000055</order_id>
</OrderConfirmationRequest>
</ns0:OrderConfirmation>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/">
<SOAP-EN>
<ns1:OrderConfirmationResponse>
<OrderConfirmationResponse>
<order_data>
<order_id>90000055</order_id>
<order_hash>TE6PIomXrMIinvhD1DwgcdRbUS_hFrqZDX3t1eY_9N03fjazTF3OewkDCt6BczGL</order_hash>
<order_deadline>2019-09-09</order_deadline>
<price>25</price>
<currency>EUR</currency>
<request_time>2019-09-09 13:13:43</request_time>
<order_details>
<country>FIN</country>
<product>full_report</product>
<delivery_term>o</delivery_term>
<notification_of_completion>false</notification_of_completion>
<company_details>
<business_name>Company LLC</business_name>
<reg_code>08481566</reg_code>
<vat_code>000000001</vat_code>
<address>Company address</address>
<phone>Company phone</phone>
<email>Company email</email>
<additional_info>Additional information regarding company</additional_info>
<ref_code>ref_code</ref_code>
</company_details>
</order_details>
<order_status>In progress</order_status>
</order_data>
</OrderConfirmationResponse>
</ns1:OrderConfirmationResponse>
</SOAP-EN</div>V:Body>
</SOAP-ENV:Envelope>
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:ChkStatus>
<ChkStatusRequest>
<order_id>90000055</order_id>
</ChkStatusRequest>
</ns0:ChkStatus>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/">
<SOAP-ENV:Body>
<ns1:ChkStatusResponse>
<ChkStatusResponse>
<order_data>
<order_id>90000055</order_id>
<order_hash>TE6PIomXrMIinvhD1DwgcdRbUS_hFrqZDX3t1eY_9N03fjazTF3OewkDCt6BczGL</order_hash>
<order_deadline>2019-09-09</order_deadline>
<price>25</price>
<currency>EUR</currency>
<request_time>2019-09-09 13:13:43</request_time>
<order_details>
<country>FIN</country>
<product>full_report</product>
<delivery_term>o</delivery_term>
<notification_of_completion>false</notification_of_completion>
<company_details>
<business_name>Company LLC</business_name>
<reg_code>08481566</reg_code>
<vat_code>000000001</vat_code>
<address>Company address</address>
<phone>Company phone</phone>
<email>Company email</email>
<additional_info>Additional information regarding company</additional_info>
<ref_code>ref_code</ref_code>
</company_details>
</order_details>
<order_status>Finished</order_status>
</order_data>
</ChkStatusResponse>
</ns1:ChkStatusResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Дараах статусууд тайлангуудад ашиглагддаг:
Хэрэв гүйцэтгэлийн статус {дууссан} эсвэл {шинэчлэгдсэн} бол та захиалгыг авч болно.
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:GetReport>
<GetReportRequest>
<order_id>90000055</order_id>
<lang>en</lang>
</GetReportRequest>
</ns0:GetReport>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<ns1:GetReportResponse>
<GetReportResponse>
<order_data>
<order_id>90000055</order_id>
<order_hash>TE6PIomXrMIinvhD1DwgcdRbUS_hFrqZDX3t1eY_9N03fjazTF3OewkDCt6BczGL</order_hash>
<order_deadline>2019-09-09</order_deadline>
<price>25</price>
<currency>EUR</currency>
<request_time>2019-09-09 13:13:43</request_time>
<order_details>
<country>FIN</country>
<product>full_report</product>
<delivery_term>o</delivery_term>
<notification_of_completion>false</notification_of_completion>
<company_details>
<business_name>Company LLC</business_name>
<reg_code>08481566</reg_code>
<vat_code>000000001</vat_code>
<address>Company address</address>
<phone>Company phone</phone>
<email>Company email</email>
<additional_info>Additional information regarding company</additional_info>
<ref_code>ref_code</ref_code>
</company_details>
</order_details>
<order_status>Finished</order_status>
</order_data>
<report>
<language>en</language>
<revision_date>2019-01-28</revision_date>
<identification>
<person_type key="101741" lang="en">company</person_type>
<name>Company LLC</name>
<code>0848156-6</code>
<code_origin>FIN</code_origin>
</identification>
<summary>
<name_in_the_register>Company LLC</name_in_the_register>
<name_in_english>Company name in English</name_in_english>
<registration_code>...</registration_code>
<taxpayer_code>...</taxpayer_code>
<legal_form>...</legal_form>
<unified_legal_form>...</unified_legal_form>
<legal_address>...</legal_address>
<office_address>...</office_address>
<telephone>...</telephone>
<fax>...</fax>
<email>...</email>
<www>...</www>
<legal_status>...</legal_status>
<capital>...</capital>
<capital_currency>...</capital_currency>
<foundation_date>...</foundation_date>
<deletion_date xsi:nil="..."/>
<remarks_on_payments>...</remarks_on_payments>
<export>...</export>
<import>...</import>
<litigations>...</litigations>
<main_activities>...</main_activities>
<latest_turnovers>...</latest_turnovers>
<credit_rating>...</credit_rating>
<credit_rating_description>...</credit_rating_description>
<credit_rating_limit>...</credit_rating_limit>
</summary>
<credit_opinions>...</credit_opinions>
<general_data>
<business_names_data>...</business_names_data>
<registration_data>...</registration_data>
<trade_names_data>...</trade_names_data>
<addresses_data>...</addresses_data>
<contacts_data>...</contacts_data>
<important_notifications_data>...</important_notifications_data>
<statuses_data>...</statuses_data>
<activities_data>...</activities_data>
<legal_form_data>...</legal_form_data>
<capital_data>...</capital_data>
<employees_data>...</employees_data>
</general_data>
<shareholders>...</shareholders>
<managers>...</managers>
<the_normal_regulations_of_the_representation_rights>...</the_normal_regulations_of_the_representation_rights>
<relations_of_persons>...</relations_of_persons>
<branches_data>...</branches_data>
<export_import_data>...</export_import_data>
<publications_data>...</publications_data>
<negative_information>...</negative_information>
<financial_statements_data>...</financial_statements_data>
</report>
</GetReportResponse>
</ns1:GetReportResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:Order>
<OrderReportRequest>
<order_details>
<country>RUS</country>
<product>full_report</product>
<delivery_term>n</delivery_term> <!-- available delivery_term: "n", "f" and "s" -->
<notification_of_completion>true</notification_of_completion>
<confirm_order>false</confirm_order>
<copy_notifiaction_to_other_emails>
<item>mail1@mail.com</item>
<item>mail2@mail.com</item>
</copy_notifiaction_to_other_emails>
<company_details>
<business_name>Company LLC</business_name> <!-- business_name or reg_code is required -->
<reg_code>123456789</reg_code> <!-- business_name or reg_code is required -->
<vat_code>000000001</vat_code>
<address>Company address</address>
<phone>Company phone</phone>
<email>Company email</email>
<additional_info>Additional information regarding company</additional_info>
<ref_code>YOUR REF CODE</ref_code> <!-- if you need it -->
</company_details>
</order_details>
</OrderReportRequest>
</ns0:Order>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/">
<SOAP-ENV:Body>
<ns1:OrderResponse>
<OrderReportResponse>
<order_data>
<order_id>1000000040</order_id>
<order_hash>pP0lMzDIsPgEClO0nHk5Lo_fsGLhqADVNzx3RPFJj5DOTHm-Z5vA_PMUgMJm84Di</order_hash>
<order_deadline>2019-09-09</order_deadline>
<price>25</price>
<currency>EUR</currency>
<request_time>2019-09-09 13:11:32</request_time>
<order_details>
<country>FIN</country>
<product>full_report</product>
<delivery_term>n</delivery_term>
<notification_of_completion>false</notification_of_completion>
<company_details>
<business_name>Company LLC</business_name>
<reg_code>123456789</reg_code>
<vat_code>000000001</vat_code>
<address>Company address</address>
<phone>Company phone</phone>
<email>Company email</email>
<additional_info>Additional information regarding company</additional_info>
<ref_code>YOUR REF CODE</ref_code>
</company_details>
</order_details>
<order_status>Awaiting Confirmation</order_status>
</order_data>
<last_duplicates>
<order_data>
<order_id>1000000035</order_id>
<order_hash>ZJHhHYIbpUp2xtZM1Jqg5QQYmnrLo2E7p-J8uP7BUF5_G7BNu5J0-nNVxKOeIxun</order_hash>
<order_deadline>2019-08-01 </order_deadline>
<price>25</price>
<currency>EUR</currency>
<request_time>2019-08-01 13:02:32</request_time>
<order_details>
<country>FIN</country>
<product>full_report</product>
<delivery_term>f</delivery_term>
<notification_of_completion>false</notification_of_completion>
<company_details>
<reg_code>123456789</reg_code>
<ref_code>ref_code</ref_code>
</company_details>
</order_details>
<order_status>Awaiting Confirmation</order_status>
</order_data>
<order_data>
<order_id>1000000036</order_id>
<order_hash>X4Z6VL9KZd5bWsnWQ_NjdlfN2ix7M1jdwW_FrJ_IyIVKwkDipsx73dW3RMgVE8y0</order_hash>
<order_deadline>2019-06-02</order_deadline>
<price>25</price>
<currency>EUR</currency>
<request_time>2019-06-02 16:34:12</request_time>
<order_details>
<country>FIN</country>
<product>full_report</product>
<delivery_term>o</delivery_term>
<notification_of_completion>false</notification_of_completion>
<company_details>
<reg_code>123456789</reg_code>
<ref_code>ref_code</ref_code>
</company_details>
</order_details>
<order_status>Finished</order_status>
</order_data>
</last_duplicates>
</OrderReportResponse>
</ns1:OrderResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:OrderCancellation>
<OrderCancellationRequest>
<order_id>1000000040</order_id>
</OrderCancellationRequest>
</ns0:OrderCancellation>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/">
<SOAP-ENV:Body>
<ns1:OrderCancellationResponse>
<OrderCancellationResponse>
<order_data>
<order_id>1000000040</order_id>
<order_hash>pP0lMzDIsPgEClO0nHk5Lo_fsGLhqADVNzx3RPFJj5DOTHm-Z5vA_PMUgMJm84Di</order_hash>
<order_deadline>2019-09-09</order_deadline>
<price>25</price>
<currency>EUR</currency>
<request_time>2019-09-09 13:11:32</request_time>
<order_details>
<country>FIN</country>
<product>full_report</product>
<delivery_term>n</delivery_term>
<notification_of_completion>false</notification_of_completion>
<company_details>
<business_name>Company LLC</business_name>
<reg_code>123456789</reg_code>
<vat_code>000000001</vat_code>
<address>Company address</address>
<phone>Company phone</phone>
<email>Company email</email>
<additional_info>Additional information regarding company</additional_info>
<ref_code>YOUR REF CODE</ref_code>
</company_details>
</order_details>
<order_status>Canceled</order_status>
</order_data>
</OrderCancellationResponse>
</ns1:OrderCancellationResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:OrderConfirmation>
<OrderConfirmationRequest>
<order_id>1000000040</order_id>
</OrderConfirmationRequest>
</ns0:OrderConfirmation>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/">
<SOAP-EN>
<ns1:OrderConfirmationResponse>
<OrderConfirmationResponse>
<order_data>
<order_id>1000000040</order_id>
<order_hash>pP0lMzDIsPgEClO0nHk5Lo_fsGLhqADVNzx3RPFJj5DOTHm-Z5vA_PMUgMJm84Di</order_hash>
<order_deadline>2019-09-09</order_deadline>
<price>25</price>
<currency>EUR</currency>
<request_time>2019-09-09 13:11:32</request_time>
<order_details>
<country>FIN</country>
<product>full_report</product>
<delivery_term>n</delivery_term>
<notification_of_completion>false</notification_of_completion>
<company_details>
<business_name>Company LLC</business_name>
<reg_code>123456789</reg_code>
<vat_code>000000001</vat_code>
<address>Company address</address>
<phone>Company phone</phone>
<email>Company email</email>
<additional_info>Additional information regarding company</additional_info>
<ref_code>YOUR REF CODE</ref_code>
</company_details>
</order_details>
<order_status>In progress</order_status>
</order_data>
</OrderConfirmationResponse>
</ns1:OrderConfirmationResponse>
</SOAP-EN</div>V:Body>
</SOAP-ENV:Envelope>
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:ChkStatus>
<ChkStatusRequest>
<order_id>1000000040</order_id>
</ChkStatusRequest>
</ns0:ChkStatus>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/">
<SOAP-ENV:Body>
<ns1:ChkStatusResponse>
<ChkStatusResponse>
<order_data>
<order_id>1000000040</order_id>
<order_hash>pP0lMzDIsPgEClO0nHk5Lo_fsGLhqADVNzx3RPFJj5DOTHm-Z5vA_PMUgMJm84Di</order_hash>
<order_deadline>2019-09-09</order_deadline>
<price>25</price>
<currency>EUR</currency>
<request_time>2019-09-09 13:11:32</request_time>
<order_details>
<country>FIN</country>
<product>full_report</product>
<delivery_term>n</delivery_term>
<notification_of_completion>false</notification_of_completion>
<company_details>
<business_name>Company LLC</business_name>
<reg_code>123456789</reg_code>
<vat_code>000000001</vat_code>
<address>Company address</address>
<phone>Company phone</phone>
<email>Company email</email>
<additional_info>Additional information regarding company</additional_info>
<ref_code>YOUR REF CODE</ref_code>
</company_details>
</order_details>
<order_status>Finished</order_status>
</order_data>
</ChkStatusResponse>
</ns1:ChkStatusResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Дараах статусууд тайлангуудад ашиглагддаг:
Хэрэв гүйцэтгэлийн статус {дууссан} эсвэл {шинэчлэгдсэн} бол та захиалгыг авч болно.
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:GetReport>
<GetReportRequest>
<order_id>1000000040</order_id>
<lang>en</lang>
</GetReportRequest>
</ns0:GetReport>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<ns1:GetReportResponse>
<GetReportResponse>
<order_data>
<order_id>1000000040</order_id>
<order_hash>pP0lMzDIsPgEClO0nHk5Lo_fsGLhqADVNzx3RPFJj5DOTHm-Z5vA_PMUgMJm84Di</order_hash>
<order_deadline>2019-09-09</order_deadline>
<price>25</price>
<currency>EUR</currency>
<request_time>2019-09-09 13:11:32</request_time>
<order_details>
<country>FIN</country>
<product>full_report</product>
<delivery_term>n</delivery_term>
<notification_of_completion>false</notification_of_completion>
<company_details>
<business_name>Company LLC</business_name>
<reg_code>123456789</reg_code>
<vat_code>000000001</vat_code>
<address>Company address</address>
<phone>Company phone</phone>
<email>Company email</email>
<additional_info>Additional information regarding company</additional_info>
<ref_code>YOUR REF CODE</ref_code>
</company_details>
</order_details>
<order_status>Finished</order_status>
</order_data>
<report>
<language>en</language>
<revision_date>2019-01-28</revision_date>
<identification>
<person_type key="101741" lang="en">company</person_type>
<name>Company LLC</name>
<code>12345678-9</code>
<code_origin>FIN</code_origin>
</identification>
<summary>
<name_in_the_register>Company LLC</name_in_the_register>
<name_in_english>Company name in English</name_in_english>
<registration_code>...</registration_code>
<taxpayer_code>...</taxpayer_code>
<legal_form>...</legal_form>
<unified_legal_form>...</unified_legal_form>
<legal_address>...</legal_address>
<office_address>...</office_address>
<telephone>...</telephone>
<fax>...</fax>
<email>...</email>
<www>...</www>
<legal_status>...</legal_status>
<capital>...</capital>
<capital_currency>...</capital_currency>
<foundation_date>...</foundation_date>
<deletion_date xsi:nil="..."/>
<remarks_on_payments>...</remarks_on_payments>
<export>...</export>
<import>...</import>
<litigations>...</litigations>
<main_activities>...</main_activities>
<latest_turnovers>...</latest_turnovers>
<credit_rating>...</credit_rating>
<credit_rating_description>...</credit_rating_description>
<credit_rating_limit>...</credit_rating_limit>
</summary>
<credit_opinions>...</credit_opinions>
<general_data>
<business_names_data>...</business_names_data>
<registration_data>...</registration_data>
<trade_names_data>...</trade_names_data>
<addresses_data>...</addresses_data>
<contacts_data>...</contacts_data>
<important_notifications_data>...</important_notifications_data>
<statuses_data>...</statuses_data>
<activities_data>...</activities_data>
<legal_form_data>...</legal_form_data>
<capital_data>...</capital_data>
<employees_data>...</employees_data>
</general_data>
<shareholders>...</shareholders>
<managers>...</managers>
<the_normal_regulations_of_the_representation_rights>...</the_normal_regulations_of_the_representation_rights>
<relations_of_persons>...</relations_of_persons>
<branches_data>...</branches_data>
<export_import_data>...</export_import_data>
<publications_data>...</publications_data>
<negative_information>...</negative_information>
<financial_statements_data>...</financial_statements_data>
</report>
</GetReportResponse>
</ns1:GetReportResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Доор архивын тайлан захиалж, татаж авах жишээг харна уу:
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/">
<SOAP-ENV:Body>
<ns1:SimpleSearchResponse>
<SimpleSearchResponse>
<search_result>
<item>
<search_result_id>7b459516-a36b-4f4a-83d9-7a1a864494df</search_result_id>
<name>Example Company Name</name>
<reg_code>00000000</reg_code>
...
<archived_reports> <!-- <?= t('docs', 'Section with available archived reports on this company') ?>-->
...
<item>
<product>full_report</product>
<revision_date>2022-04-13</revision_date>
<archived_report_cost>15.75</archived_report_cost>
<archived_report_cost_currency>EUR</archived_report_cost_currency>
<last_fin_report>
<fin_report_year>2021</fin_report_year>
<fin_period_start>2021-01-01</fin_period_start>
<fin_period_end>2021-12-31</fin_period_end>
<fin_period_duration_in_months>12</fin_period_duration_in_months>
</last_fin_report>
</item>
...
</archived_reports>
</item>
...
</search_result>
</SimpleSearchResponse>
</ns1:SimpleSearchResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Архивлагдсан тайлан захиалахын тулд шаардлагатай бүтээгдэхүүнтэй "<archived_reports>" хэсэгтэй "<search_result_id>" хүлээн авах шаардлагатай.
Үүний тулд холбоосыг дагана уу: Компанийг хэрхэн хайх вэ?
Архивын тайлантай жишээ компаниуд:
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:Order>
<OrderReportRequest>
<order_details_by_id>
<country>FIN</country>
<product>full_report</product><!-- <?= t('docs', "Selected archived product for this company") ?> -->
<delivery_term>a</delivery_term> <!-- <?= t('docs', "Core difference, always 'a' = archive") ?> -->
<notification_of_completion>true</notification_of_completion>
<confirm_order>true</confirm_order>
<copy_notifiaction_to_other_emails>
<item>mail1@mail.com</item>
<item>mail2@mail.com</item>
</copy_notifiaction_to_other_emails>
<company_details>
<search_result_id>7b459516-a36b-4f4a-83d9-7a1a864494df</search_result_id> <!-- <?= t('docs', 'Always required') ?> -->
<ref_code>YOUR REF CODE</ref_code> <!-- <?= t('docs', 'If you need it') ?> -->
</company_details>
</order_details_by_id>
</OrderReportRequest>
</ns0:Order>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Онлайн/офлайн тайлантай адил.
Онлайн/офлайн тайлантай адил.
Онлайн/офлайн тайлантай адил.
Онлайн/офлайн тайлантай адил.
Онлайн санхүүгийн тайлан захиалахын тулд "<search_result_id>" хүлээн авах шаардлагатай.
Үүний тулд холбоосыг дагана уу: Компанийг хэрхэн хайх вэ?
Энэ функц зөвхөн бүтээгдэхүүн: finances (Financial statements) -ийг delivery_term = 'o' нөхцөлтэйгээр захиалах үед шаардлагатай.
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:ChkFinance>
<ChkFinanceRequest>
<finance_check_block>
<search_result_id>0f6b91f8-3d1b-4901-9d1f-6920afca0667</search_result_id>
<country>EST</country>
</finance_check_block>
</ChkFinanceRequest>
</ns0:ChkFinance>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<ns1:ChkFinanceResponse>
<ChkFinanceResponse>
<finance_check_result>
<search_result_id>0f6b91f8-3d1b-4901-9d1f-6920afca0667</search_result_id>
<name>00000000 EHITUS</name>
<reg_code>00000000</reg_code>
<vat_code xsi:nil="true"/>
<legal_status>Entered into the register</legal_status>
<legal_form>Aktsiaselts</legal_form>
<legal_address>Järvevana tee 9g, Kesklinna linnaosa, Tallinn, Harju maakond,
11314, Eesti</legal_address>
<financial_statements>
<item>
<available_year>2021</available_year>
</item>
<item>
<available_year>2020</available_year>
</item>
<item>
<available_year>2019</available_year>
</item>
<item>
<available_year>2018</available_year>
</item>
<item>
<available_year>2017</available_year>
</item>
<item>
<available_year>2016</available_year>
</item>
<item>
<available_year>2015</available_year>
</item>
<item>
<available_year>2014</available_year>
</item>
<item>
<available_year>2013</available_year>
</item>
</financial_statements>
</finance_check_result>
</ChkFinanceResponse>
</ns1:ChkFinanceResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:Order>
<OrderReportRequest>
<order_details_by_id>
<country>EST</country>
<product>finances</product>
<delivery_term>o</delivery_term>
<preferable_finances> <!-- only neccasery for product: 'finances' -->
<item>2021</item>
<item>2020</item>
</preferable_finances>
<notification_of_completion>true</notification_of_completion>
<confirm_order>false</confirm_order>
<copy_notifiaction_to_other_emails>
<item>mail1@mail.com</item>
<item>mail2@mail.com</item>
</copy_notifiaction_to_other_emails>
<company_details>
<search_result_id>60751300-4b72-451f-bf96-2a1a7cbe71c6</search_result_id>
<ref_code>YOUR REF CODE</ref_code> <!-- if you need it -->
</company_details>
</order_details_by_id>
</OrderReportRequest>
</ns0:Order>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/">
<SOAP-ENV:Body>
<ns1:OrderResponse>
<OrderReportResponse>
<order_data>
<order_id>90000055</order_id>
<order_hash>TE6PIomXrMIinvhD1DwgcdRbUS_hFrqZDX3t1eY_9N03fjazTF3OewkDCt6BczGL</order_hash>
<order_deadline>2019-09-09</order_deadline>
<price>25</price>
<currency>EUR</currency>
<request_time>2019-09-09 13:13:43</request_time>
<order_details>
<country>EST</country>
<product>finances</product>
<delivery_term>o</delivery_term>
<preferable_finances>
<item>2021</item>
<item>2020</item>
</preferable_finances>
<notification_of_completion>false</notification_of_completion>
<company_details>
<business_name>00000000 EHITUS</business_name>
<reg_code>00000000</reg_code>
<ref_code>YOUR REF CODE</ref_code>
</company_details>
</order_details>
<order_status>Awaiting Confirmation</order_status>
</order_data>
<last_duplicates>
<order_data>
<order_id>90000054</order_id>
<order_hash>ZJHhHYIbpUp2xtZM1Jqg5QQYmnrLo2E7p-J8uP7BUF5_G7BNu5J0-nNVxKOeIxun</order_hash>
<order_deadline>2019-09-09 </order_deadline>
<price>25</price>
<currency>EUR</currency>
<request_time>2019-09-09 13:02:32</request_time>
<order_details>
<country>EST</country>
<product>finances</product>
<delivery_term>o</delivery_term>
<preferable_finances>
<item>2020</item>
<item>2019</item>
</preferable_finances>
<notification_of_completion>false</notification_of_completion>
<company_details>
<business_name>00000000 EHITUS</business_name>
<reg_code>00000000</reg_code>
<ref_code>YOUR REF CODE</ref_code>
</company_details>
</order_details>
<order_status>Awaiting Confirmation</order_status>
</order_data>
<order_data>
<order_id>90000053</order_id>
<order_hash>X4Z6VL9KZd5bWsnWQ_NjdlfN2ix7M1jdwW_FrJ_IyIVKwkDipsx73dW3RMgVE8y0</order_hash>
<order_deadline>2019-08-02</order_deadline>
<price>25</price>
<currency>EUR</currency>
<request_time>2019-08-02 16:34:12</request_time>
<order_details>
<country>EST</country>
<product>finances</product>
<delivery_term>o</delivery_term>
<preferable_finances>
<item>2018</item>
</preferable_finances>
<notification_of_completion>false</notification_of_completion>
<company_details>
<business_name>00000000 EHITUS</business_name>
<reg_code>00000000</reg_code>
<ref_code>YOUR REF CODE</ref_code>
</company_details>
</order_details>
<order_status>Finished</order_status>
</order_data>
</last_duplicates>
</OrderReportResponse>
</ns1:OrderResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Дараах статусууд тайлангуудад ашиглагддаг:
Гүйцэтгэлийн төлөв Finished эсвэл Updated бол захиалгыг авч болно.
Хүсэлт нь 3 хэсгээс бүрдэнэ:
<order_hash>
/report?&lang=en&doc_type=pdf¤cy_position=left&preferred_currency=EUR
https://www.infoproff.com/en/orders/files/<order_hash>/report?&lang=en&doc_type=pdf¤cy_position=left&preferred_currency=EUR
Хүсэлт нь 3 хэсгээс бүрдэнэ:
<order_hash>
https://www.infoproff.com/en/orders/files/<order_hash>/download
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header />
<SOAP-ENV:Body>
<ns0:CreditOpinionCalculator>
<CreditOpinionCalculatorRequest>
<order_details>
<country>XXX</country>
<product>credit_opinion_calculator</product>
<delivery_term>o</delivery_term>
<lang>en</lang>
<ref_code>test1</ref_code>
<initial_data>
<general_data>
<status>REG</status>
<foundation>1996-11-13</foundation>
<nace2code>22.21</nace2code>
<employees>
<item>
<number_of_employees>236</number_of_employees>
<year>2018</year>
<period_end_date>2018-12-31</period_end_date>
</item>
<item>
<number_of_employees>216</number_of_employees>
<year>2017</year>
<period_end_date>2017-12-31</period_end_date>
</item>
<item>
<number_of_employees>210</number_of_employees>
<year>2016</year>
<period_end_date>2016-12-31</period_end_date>
</item>
</employees>
</general_data>
<debts>
<unpaid_debts>
<total_amount>100000000</total_amount>
<currency_name>EUR</currency_name>
<currency_exchange_rate_to_eur>1</currency_exchange_rate_to_eur>
</unpaid_debts>
<last_registered_debt>2020-01-15</last_registered_debt>
</debts>
<financial_elements>
<item>
<year>2018</year>
<period>12</period>
<currency>EUR</currency>
<scale>1</scale>
<currency_exchange_rate_to_eur>1</currency_exchange_rate_to_eur>
<period_start_date>2018-01-01</period_start_date>
<period_end_date>2018-12-31</period_end_date>
<positions>
<position>
<position_code>1000</position_code>
<value>29089411</value>
</position>
<position>
<position_code>1010</position_code>
<value>6556256</value>
</position>
<position>
<position_code>1020</position_code>
<value>20895813</value>
</position>
<position>
<position_code>1100</position_code>
<value>26347731</value>
</position>
<position>
<position_code>1110</position_code>
<value>6422249</value>
</position>
</position>
<position>
<position_code>1130</position_code>
<value>315255</value>
</position>
<position>
<position_code>1200</position_code>
<value>55437150</value>
</position>
<position>
<position_code>1300</position_code>
<value>13563874</value>
</position>
<position>
<position_code>1310</position_code>
<value>2141431</value>
</position>
<position>
<position_code>1400</position_code>
<value>41542005</value>
</position>
<position>
<position_code>1410</position_code>
<value>10780537</value>
</position>
<position>
<position_code>1420</position_code>
<value>30761468</value>
</position>
<position>
<position_code>1500</position_code>
<value>55437150</value>
</position>
<position>
<position_code>1600</position_code>
<value>32763727</value>
</position>
<position>
<position_code>1700</position_code>
<value>-11583299</value>
</position>
<position>
<position_code>1800</position_code>
<value>1852455</value>
</position>
<position>
<position_code>1900</position_code>
<value>4604983</value>
</position>
<position>
<position_code>2000</position_code>
<value>3876811</value>
</position>
</positions>
</item>
<item>
<year>2017</year>
<period>12</period>
<currency>EUR</currency>
<scale>1</scale>
<currency_exchange_rate_to_eur>1</currency_exchange_rate_to_eur>
<period_start_date>2017-01-01</period_start_date>
<period_end_date>2017-12-31</period_end_date>
<positions>
<position>
<position_code>1000</position_code>
<value>27956649</value>
</position>
<position>
<position_code>1010</position_code>
<value>6699710</value>
</position>
<position>
<position_code>1020</position_code>
<value>20784951</value>
</position>
<position>
<position_code>1100</position_code>
<value>13530424</value>
</position>
<position>
<position_code>1110</position_code>
<value>5848610</value>
</position>
<position>
<position_code>1120</position_code>
<value>7350656</value>
</position>
<position>
<position_code>1130</position_code>
<value>331158</value>
</position>
<position>
<position_code>1200</position_code>
<value>41487080</value>
</position>
<position>
<position_code>1300</position_code>
<value>13233015</value>
</position>
<position>
<position_code>1310</position_code>
<value>2141431</value>
</position>
<position>
<position_code>1400</position_code>
<value>28234892</value>
</position>
<position>
<position_code>1410</position_code>
<value>4000000</value>
</position>
<position>
<position_code>1420</position_code>
<value>24234892</value>
</position>
<position>
<position_code>1500</position_code>
<value>41487080</value>
</position>
<position>
<position_code>1600</position_code>
<value>38508619</value>
</position>
<position>
<position_code>1700</position_code>
<value>-13380841</value>
</position>
<position>
<position_code>1800</position_code>
<value>4020449</value>
</position>
<position>
<position_code>1900</position_code>
<value>3071074</value>
</position>
<position>
<position_code>2000</position_code>
<value>2211543</value>
</position>
</positions>
</item>
<item>
<year>2016</year>
<period>12</period>
<currency>EUR</currency>
<scale>1</scale>
<currency_exchange_rate_to_eur>1</currency_exchange_rate_to_eur>
<period_start_date>2016-01-01</period_start_date>
<period_end_date>2016-12-31</period_end_date>
<positions>
<position>
<position_code>1000</position_code>
<value>23098292</value>
</position>
<position>
<position_code>1010</position_code>
<value>6251447</value>
</position>
<position>
<position_code>1020</position_code>
<value>16338678</value>
</position>
<position>
<position_code>1100</position_code>
<value>11104261</value>
</position>
<position>
<position_code>1110</position_code>
<value>5111604</value>
</position>
<position>
<position_code>1120</position_code>
<value>4657457</value>
</position>
<position>
<position_code>1130</position_code>
<value>1335200</value>
</position>
<position>
<position_code>1200</position_code>
<value>34202560</value>
</position>
<position>
<position_code>1300</position_code>
<value>12554095</value>
</position>
<position>
<position_code>1310</position_code>
<value>2141431</value>
</position>
<position>
<position_code>1400</position_code>
<value>21617540</value>
</position>
<position>
<position_code>1410</position_code>
<value>2000000</value>
</position>
<position>
<position_code>1420</position_code>
<value>19617540</value>
</position>
<position>
<position_code>1500</position_code>
<value>34202560</value>
</position>
<position>
<position_code>1600</position_code>
<value>34392412</value>
</position>
<position>
<position_code>1700</position_code>
<value>-12182016</value>
</position>
<position>
<position_code>1800</position_code>
<value>2520984</value>
</position>
<position>
<position_code>1900</position_code>
<value>-335799</value>
</position>
<position>
<position_code>2000</position_code>
<value>-764980</value>
</position>
</positions>
</item>
</financial_elements>
</initial_data>
</order_details>
</CreditOpinionCalculatorRequest>
</ns0:CreditOpinionCalculator>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://infoproff.com/">
<SOAP-ENV:Body>
<ns1:CreditOpinionCalculatorResponse>
<CreditOpinionCalculatorResponse>
<order_data>
<order_id>1444</order_id>
<order_hash>MpfreVp7EFZ7piIMQykCnfevRjyDOKNuAi5uAvy3XHBVAKpMXsLD99URoYppb7Ry</order_hash>
<order_deadline>2020-01-27</order_deadline>
<price>1.5</price>
<currency>EUR</currency>
<request_time>2020-01-27 14:09:27</request_time>
<order_status>Finished</order_status>
</order_data>
<credit_opinion>
<language>en</language>
<ref_code>test1</ref_code>
<credit_opinion>
<item>
<credit_rating>CCC</credit_rating>
<rating_description>Risk above normal. Short term credit only.</rating_description>
<credit_limit>154000</credit_limit>
<credit_limit_currency>EUR</credit_limit_currency>
<latest_turnover_type>R12</latest_turnover_type>
<latest_turnover_range>20 000 001 - 50 000 000</latest_turnover_range>
<rating_explanation>
<explanation>Long-established company.</explanation>
<explanation>Latest turnover range 20 000 001 - 50 000 000 EUR.</explanation>
<explanation>The company had downfall in turnover during the known financial periods (at least once).</explanation>
<explanation>Within last years company's turnover had a slight decrease (growth rate).</explanation>
<explanation>Equity of the company is at a normal level.</explanation>
<explanation>Current ratio of the company is at a low level.</explanation>
<explanation>Quick ratio of the company is at a very low level.</explanation>
<explanation>Profitability of the company is at a very high level (in relation to equity).</explanation>
</rating_explanation>
</item>
</credit_opinion>
</credit_opinion>
</CreditOpinionCalculatorResponse>
</ns1:CreditOpinionCalculatorResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:GetClassifiersFinancialStatements>
<GetClassifiersFinancialStatementsRequest/>
</ns0:GetClassifiersFinancialStatements>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/">
<SOAP-ENV:Body>
<ns1:GetClassifiersFinancialStatementsResponse>
<GetClassifiersFinancialStatementsResponse>
<financial_statements>
<item>
<subtype_id>97</subtype_id>
<subtype_description>Income statement format 2</subtype_description>
<row_number>333100</row_number>
<row_formated_description>basic earnings (loss) per
share</row_formated_description>
<row_lang_key>6886</row_lang_key>
<row_order>340</row_order>
</item>
<item>
<subtype_id>97</subtype_id>
<subtype_description>Income statement format 2</subtype_description>
<row_number>323600</row_number>
<row_formated_description>interest income</row_formated_description>
<row_lang_key>3686</row_lang_key>
<row_order>170</row_order>
</item>
...
<item>
<subtype_id>89</subtype_id>
<subtype_description>Financial key ratios</subtype_description>
<row_number>3080</row_number>
<row_formated_description>Quick ratio</row_formated_description>
<row_lang_key>7644</row_lang_key>
<row_order>80</row_order>
</item>
<item>
<subtype_id>89</subtype_id>
<subtype_description>Financial key ratios</subtype_description>
<row_number>3060</row_number>
<row_formated_description>Leverage</row_formated_description>
<row_lang_key>7541</row_lang_key>
<row_order>60</row_order>
</item>
</financial_statements>
</GetClassifiersFinancialStatementsResponse>
</ns1:GetClassifiersFinancialStatementsResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:GetLegalForms>
<GetLegalFormsRequest/>
</ns0:GetLegalForms>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<ns1:GetLegalFormsResponse>
<GetLegalFormsResponse>
<legal_forms>
<item>
<country>BLR</country>
<language>RUS</language>
<legal_form>Крестьянское (фермерское) хозяйство</legal_form>
<lang_key>268</lang_key>
</item>
<item>
<country>BLR</country>
<language>RUS</language>
<legal_form>Крестьянское хозяйство</legal_form>
<lang_key>268</lang_key>
</item>
<item>
<country>UKR</country>
<language>UKR</language>
<legal_form>Споживчий кооператив</legal_form>
<lang_key>264</lang_key>
</item>
<item>
<country>RUS</country>
<language>RUS</language>
<legal_form>АКЦИОНЕРНОЕ ОБЩЕСТВО</legal_form>
<lang_key>263</lang_key>
</item>
</legal_forms>
</GetLegalFormsResponse>
</ns1:GetLegalFormsResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:GetActivityClassificators>
<GetActivityClassificatorsRequest>
<classificator_type>CLASSIFICATOR_TYPE</classificator_type>
</GetActivityClassificatorsRequest>
</ns0:GetActivityClassificators>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
CLASSIFICATOR_TYPE:
"EMTAK 2008"
"NACE Rev.2"
"КВЕД 2005"
"КВЕД 2010"
"ОКВЭД 2"
"ОКВЭД 2007"
"SBI"
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/">
<SOAP-ENV:Body>
<ns1:GetActivityClassificatorsResponse>
<GetActivityClassificatorsResponse>
<classificator_type>NACE Rev.2</classificator_type>
<activities>
<item>
<activity_description>ACCOMMODATION AND FOOD SERVICE ACTIVITIES</activity_description>
<activity_code>I</activity_code>
<activity_language>ENG</activity_language>
<activity_lang_key>10673</activity_lang_key>
</item>
...
<item>
<activity_description>HUMAN HEALTH AND SOCIAL WORK
ACTIVITIES</activity_description>
<activity_code>Q</activity_code>
<activity_language>ENG</activity_language>
<activity_lang_key>10858</activity_lang_key>
</item>
</activities>
</GetActivityClassificatorsResponse>
</ns1:GetActivityClassificatorsResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:GetDictionaryStandardPhrases>
<GetDictionaryStandardPhrasesRequest/>
</ns0:GetDictionaryStandardPhrases>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/">
<SOAP-ENV:Body>
<ns1:GetDictionaryStandardPhrasesResponse>
<GetDictionaryStandardPhrasesResponse>
<dictionary_standard_phrases>
<item>
<dictionary_lang_key>6612</dictionary_lang_key>
<dictionary_category>opinion_comment</dictionary_category>
<dictionary_language>ENG</dictionary_language>
<dictionary_value>Company was in a merger process and financial statements
after merger are not available.</dictionary_value>
</item>
<item>
<dictionary_lang_key>101806</dictionary_lang_key>
<dictionary_category>asset_subtype</dictionary_category>
<dictionary_language>ENG</dictionary_language>
<dictionary_value>Property intended for varied purposes</dictionary_value>
</item>
...
<item>
<dictionary_lang_key>252</dictionary_lang_key>
<dictionary_category>town_settlement_village_type</dictionary_category>
<dictionary_language>ENG</dictionary_language>
<dictionary_value>district</dictionary_value>
</item>
<item>
<dictionary_lang_key>254</dictionary_lang_key>
<dictionary_category>town_settlement_village_type</dictionary_category>
<dictionary_language>ENG</dictionary_language>
<dictionary_value>county</dictionary_value>
</item>
</dictionary_standard_phrases>
</GetDictionaryStandardPhrasesResponse>
</ns1:GetDictionaryStandardPhrasesResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
delivery_term:
<!-- Request -->
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns0="http://infoproff.com/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns0:GetAvailableProducts>
<GetAvailableProductsRequest/>
</ns0:GetAvailableProducts>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<!-- Response -->
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://infoproff.com/">
<SOAP-ENV:Body>
<ns1:GetAvailableProductsResponse>
<GetAvailableProductsResponse>
<available_products>
<item>
<country>RUS</country>
<product>full_report</product>
<delivery_term>n</delivery_term>
<full_description>Full Report (Normal)</full_description>
<maximum_delivery_working_days>7</maximum_delivery_working_days>
<price>28.00</price>
</item>
<item>
<country>SWE</country>
<product>full_report</product>
<delivery_term>o</delivery_term>
<full_description>Full Report (Normal)</full_description>
<maximum_delivery_working_days>0</maximum_delivery_working_days>
<price>25.00</price>
</item>
<item>
<country>FIN</country>
<product>full_report</product>
<delivery_term>o</delivery_term>
<full_description>Full Report (Normal)</full_description>
<maximum_delivery_working_days>0</maximum_delivery_working_days>
<price>25.00</price>
</item>
</available_products>
</GetAvailableProductsResponse>
</ns1:GetAvailableProductsResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Эдгээр алдаанууд манай вэб үйлчилгээнд хүсэлт илгээх үед гарч болно..
country_economic_overview — дараах дэд хэсгүүдээс бүрдэнэ: data_transparency_index, country_development_indicators, economic_forecast.paid_taxes — төлсөн татварын мэдээлэл.tenders — тендеруудийн талаарх мэдээлэл.sanctions — negative_information хэсэгт нэмж оруулсан. beneficiaries, shareholders, managers болон employees_data хэсгүүдэд дараах элементийг нэмж оруулсан:source_type — өгөгдлийн эх сурвалжийн төрөл (жишээ нь, official, mass_media, company_admin гэх мэт). relations_of_persons хэсэгт шинэ элемент нэмэгдсэн:match_typecapital хэсгийг дахин зохион байгуулсан:capital_amount элементийг issued_capital гэж нэрлэсэн. number_of_sharesshare_valueauthorized_capitalemployees_data хэсэгт:group_figure элемент нь өгөгдөлд бүлгийн түвшний нэгтгэсэн тоон үзүүлэлтүүд (true) багтсан эсэхийг заана. source_type элемент нь өгөгдлийн эх сурвалжийн төрлийг заана.is_estimated элементийг одоо зөвхөн утга нь true байх тохиолдолд л оруулна. assets_data хэсэг — өмнө оршиж байсан хэсгүүдийг нэгтгэнэ:real_estate_data (өмнө нь property_data гэж нэрлэгдэж байсан), vehicles, machinery_and_equipment (өмнө нь assets гэж нэрлэгдэж байсан). patents ба biological_assets. vehicles хэсэгт шинэ талбар нэмэгдсэн:valuelitigations хэсэгт дараах элементийн нэмэлт хийгдсэн:content, instance, process, authorityfinancial_statement/positions болон summary/latest_turnovers хэсэгт шинэ элемент нэмэгдсэн:value_origin — утгын гарал үүслийг тодорхойлдог; жишээлбэл, estimated - энэ утгыг боломжит өгөгдөлд тулгуурлан логик эсвэл хиймэл оюун ухааны аргаар тооцоолж, үнэлсэн.branches_data хэсэгт дараах талбарууд нэмэгдсэн:registration_numberdirector_nameАнхаар: Тогтворжилт явцад жижиг сайжруулалт, тохируулга хийгдэж болно.
Вебхук нь програм хангамжид бусад програм хангамжид бодит цагийн мэдээлэл дамжуулах арга юм. Манай вебхук функц нь URL-ээр тохируулсан HTTP буцаан дуудлагыг хэрэгжүүлдэг. Тодорхой үйл явдал тохиолдох бүрт HTTP POST ачаалал JSON форматаар энэ URL-д илгээгддэг. Манай төслийн хүрээнд бид вебхук функцийг тодорхой үйл явдлуудыг өдөөх байдлаар зохион бүтээсэн.
Таны програмын webhook-ийг тохируулахын тулд програмын тохиргооны хуудас руу орж, 'Webhooks Settings' хэсгийг хайж олно. Дараах мэдээллийг өгнө үү:
Эдгээр мэдээллийг оруулсны дараа 'Хадгалах' товчийг дарна уу.
Үйл явдал тохиолдох үед бид үйл явдлын талаарх мэдээллийг агуулсан JSON биетэй HTTP POST хүсэлтийг payload URL хаягаар илгээнэ.
{
"event_type": "new_status",
"order_id": 12345,
"client_ref_number": "98765",
"new_status": "Finished"
"reason": "..." # Optional, an example here could be the reason for the "Rejected" status
}
Payload URL-д илгээсэн POST хүсэлтүүд манай програмаас ирж байгааг баталгаажуулах нь чухал. Үүнд туслахын тулд бүх webhook хүсэлт X-Signature толгой мэдээллийг агуулдаг.
Гарын үсэг зурхад бид SHA512 алгоритмтай HMAC-ийг ашигладаг.
Нууц нь вэбхук тохиргооноос авсан App ID болон Нууц түлхүүрийн нийлбэр юм.
#!/bin/bash
payload='{"key1": "value1","key2": "value2"}'
secret='$app_id$secret_key'
# Generate HMAC SHA512 signature
signature=$(echo -n "$payload" | openssl dgst -sha512 -hmac "$secret" | awk '{print $2}')
# Send request
curl -X POST \
-H "Content-Type: application/json" \
-H "X-Signature: $signature" \
-d "$payload" \
https://example.com/api/endpoint
Шаардлагатай бол илгээгчийг тодорхойлохын тулд endpoint-д өөрийн get param-уудыг нэмэх боломжтой.
https://example.com/api/endpoint?custom_token=c3606e43c40d4556b64a4ad8c72f554e
Сервер 10 секундын дотор хариу өгч, 2XX HTTP код буцаах ёстой; эс бөгөөс webhook илгээлт амжилтгүйд тооцогдоно. Амжилтгүй болсон тохиолдолд уг функц дахин илгээх бодлогын дагуу хүсэлтийг дахин илгээх оролдлого хийнэ.