เว็บเซอร์วิส wsdl และสคีมาอยู่ที่นี่:
http://wsdfn.infoproff.com/v3/
Web service functions:
API ให้บริการหลายอย่าง:
การค้นหาบริษัทประกอบด้วย 2 ตัวเลือก:
The search for other countries is performed only in the database of archived reports. If you do not find the desired company, enter the company details manually.
search_result_id can be acquired here for orders with delivery_term = "o" or delivery_term = "a".
It may take up to 20 seconds to respond to a search request in the following countries: United Kingdom, Ireland, France, Spain, Portugal, Germany, Italy, Austria, Switzerland.
ทะเบียนของนอร์เวย์ไม่อนุญาตให้ค้นหาบริษัทที่ถูกยกเลิกแล้วโดยใช้ชื่อ ดังนั้นเราจึงไม่สามารถให้บริการSimpleSearchโดยใช้ชื่อภายในบริษัทที่ถูกยกเลิกในนอร์เวย์ได้
ด้านล่างนี้คุณสามารถดูตัวอย่างได้:
Below you can find the example of how to order and download reports:
To order an Online/Offline with identification report you need to receive "<search_result_id>".
To do so, please follow the link: วิธีค้นหาบริษัท?
สถานะต่อไปนี้ใช้สำหรับรายงาน:
หากสถานะการดำเนินการคือ{เสร็จสิ้น}หรือ{อัปเดต} คุณสามารถรับคำสั่งซื้อได้
สถานะต่อไปนี้ใช้สำหรับรายงาน:
หากสถานะการดำเนินการคือ{เสร็จสิ้น}หรือ{อัปเดต} คุณสามารถรับคำสั่งซื้อได้
Below you can find the example of how to order and download archived reports:
To order an archived report you need to receive "<search_result_id>" which has an "<archived_reports>" section that contains a product you need.
To do so, please follow the link: วิธีค้นหาบริษัท?
Example companies with archived reports:
Just like the online/offline reports.
Just like the online/offline reports.
Just like the online/offline reports.
Just like the online/offline reports.
To order an online financial statements, you need to receive "<search_result_id>".
To do so, please follow the link: วิธีค้นหาบริษัท?
ฟังก์ชันนี้จำเป็นเฉพาะเมื่อสั่งซื้อสินค้า:finances(Financial statements) พร้อมdelivery_term = 'o'.
สถานะต่อไปนี้ใช้สำหรับรายงาน:
If the execution status is Finished or Updated, then you can get an order.
คำขอประกอบด้วย 3 ส่วน:
/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 ส่วน:
delivery_term:
ข้อผิดพลาดเหล่านี้อาจเกิดขึ้นในขณะทำการร้องขอไปยังบริการเว็บของเรา.
Allows you to search for available financial statements.
Currently available only in EST (Estonia), SWE (Sweden)
- Changes in list of available countries: กรีซ (GRC), กรีนแลนด์ (GRL), กวาเดอลูป (GLP), กายอานา (GUY), การกลับมาพบกันอีกครั้ง (REU), กินี (GIN), คองโก (COG), คาซัคสถาน (KAZ), คีร์กีซ (KGZ), จอร์เจีย (GEO), จีน (CHN), จีน (TWN), ชิลี (CHL), ซานมารีโน (SMR), ซามัว (WSM), ซิมบับเว (ZWE), ญี่ปุ่น (JPN), ทาจิกิสถาน (TJK), นอร์เวย์ (NOR), นามิเบีย (NAM), นิวซีแลนด์ (NZL), บราซิล (BRA), บอตสวานา (BWA), บอสเนียและเฮอร์เซโกวีนา (BIH), บัลแกเรีย (BGR), ปารากวัย (PRY), ฝรั่งเศส (FRA), ฟินแลนด์ (FIN), ฟิลิปปินส์ (PHL), มองโกเลีย (MNG), มอริเชียส (MUS), มอลตา (MLT), มอลโดวา (MDA), มัลดีฟส์ (MDV), มาดากัสการ์ (MDG), มายอต (MYT), มาร์ตินีก (MTQ), รวันดา (RWA), รัสเซีย (RUS), ลักเซมเบิร์ก (LUX), ลัตเวีย (LVA), ลิกเตนสไตน์ (LIE), ลิทัวเนีย (LTU), ศรีลังกา (LKA), สวิตเซอร์แลนด์ (CHE), สวีเดน (SWE), สหราชอาณาจักร (GBR), สิงคโปร์ (SGP), สเปน (ESP), สโลวาเกีย (SVK), สโลวีเนีย (SVN), ออสเตรีย (AUT), ออสเตรเลีย (AUS), อาร์เจนตินา (ARG), อาเซอร์ไบจาน (AZE), อิตาลี (ITA), อิสราเอล (ISR), อุซเบกิสถาน (UZB), อุรุกวัย (URY), ฮังการี (HUN), ฮ่องกง (HKG), เกาะแมน (IMN), เคนยา (KEN), เจอร์ซีย์ (JEY), เช็ก (CZE), เซนต์มาร์ติน (MAF), เซอร์เบีย (SRB), เซเชลส์ (SYC), เดนมาร์ก (DNK), เนเธอร์แลนด์ (NLD), เบนิน (BEN), เบลารุส (BLR), เบลเยียม (BEL), เปรู (PER), เฟรนช์เกียนา (GUF), เยอรมนี (DEU), เวเนซุเอลา (VEN), เอกวาดอร์ (ECU), เอธิโอเปีย (ETH), เอสโตเนีย (EST), แกมเบีย (GMB), แคนาดา (CAN), แซมเบีย (ZMB), แทนซาเนีย (TZA), แองโกลา (AGO), แอฟริกาใต้ (ZAF), แอลจีเรีย (DZA), แอลเบเนีย (ALB), โครเอเชีย (HRV), โคโซโว (XXK), โตโก (TGO), โบลิเวีย (BOL), โปรตุเกส (PRT), โปแลนด์ (POL), โมนาโก (MCO), โมร็อกโก (MAR), โรมาเนีย (ROU), ไซปรัส (CYP), ไทย (THA), ไนจีเรีย (NGA), ไอซ์แลนด์ (ISL), ไอร์แลนด์ (IRL), ไอวอรีโคสต์ (CIV)
- Each time you place an request we asaign a new 'search_result_id' for each company. You need to use this 'search_result_id' to place online orders.
Also you can place offline (delivery_term = 'n', 'f' or 's') orders with 'search_result_id', if you desire.
To place an online order, you need to recieve 'search_result_id' from function 'SimpleSearch', and only after that you can place an online (delivery_term = 'o') order.
- Changes in list of available countries for online credit reports: กรีซ (GRC), คาซัคสถาน (KAZ), คีร์กีซ (KGZ), จีน (CHN), นอร์เวย์ (NOR), บัลแกเรีย (BGR), ฝรั่งเศส (FRA), ฟินแลนด์ (FIN), มองโกเลีย (MNG), มอลตา (MLT), มอลโดวา (MDA), รัสเซีย (RUS), ลักเซมเบิร์ก (LUX), ลัตเวีย (LVA), สวิตเซอร์แลนด์ (CHE), สวีเดน (SWE), สหราชอาณาจักร (GBR), สเปน (ESP), สโลวาเกีย (SVK), สโลวีเนีย (SVN), ออสเตรีย (AUT), อาเซอร์ไบจาน (AZE), อิตาลี (ITA), ฮังการี (HUN), เช็ก (CZE), เดนมาร์ก (DNK), เนเธอร์แลนด์ (NLD), เบลเยียม (BEL), เยอรมนี (DEU), เอสโตเนีย (EST), โครเอเชีย (HRV), โปรตุเกส (PRT), โปแลนด์ (POL), ไอร์แลนด์ (IRL)
- Available to download financial statements (using product: finances) in online mode: Estonia (EST), Sweden (SWE)
- Changes in of available languages: ar (Arabic), az (Azerbaijani), bg (บัลแกเรีย), cs (เช็ก), da (เดนิช), de (เยอรมัน), el (กรีก), en (อังกฤษ, ภาษาอังกฤษ), es (สเปน), et (เอสโตเนีย), fi (ฟินแลนด์), fr (ฝรั่งเศส), he (Hebrew), hi (Hindi), hu (ฮังการี), hy (Armenian), id (อินโดนีเซีย), it (อิตาลี), ja (ญี่ปุ่น), ka (Georgian), kk (Kazakh), ko (เกาหลี), lt (ลิทัวเนีย), lv (ลัตเวีย), mn (Mongolian), ms (Malay), nb (นอร์เวย์ บ็อกมัล), nl (ดัตช์), pl (การขัดเงา), pt (โปรตุเกส), ro (โรมาเนียน), ru (รัสเซีย), sk (สโลวัก), sl (สโลวีเนีย), sr (Српски), sv (สวีเดน), th (Thai), tr (ตุรกี), uk (ยูเครน), uz (Uzbek), vi (Vietnamese), zh (จีน)
New elements:
- report/negative_information/debts/item/remainder_range
- report/negative_information/debts/item/remainder_non_standard_range
New function:
- ChkFinance
Function that allows you to search for available financial statements.
1) OrderReportRequest has a choice:
- order_details:
Using general information: business_name, reg_code, vat_code, address, phone, email, additional_info
- order_details_by_id:
Using 'search_result_id'
2) order_details
New element:
- preferable_finances
3) SimpleSearchRequest
Removed element:
search_block.reg_code
New element:
search_block->company_code
4) SimpleSearchResponse
Removed elements
- code
องค์ประกอบใหม่:
เว็บฮุค (Webhook) คือวิธีการที่แอปพลิเคชันหนึ่งสามารถส่งข้อมูลแบบเรียลไทม์ไปยังแอปพลิเคชันอื่น ๆ ได้ ฟีเจอร์เว็บฮุคของเราใช้การเรียกกลับ HTTP (HTTP callbacks) ที่กำหนดค่าด้วย URL โดยจะมีการส่งข้อมูลในรูปแบบ JSON ผ่าน HTTP POST ไปยัง URL ดังกล่าวทุกครั้งที่มีเหตุการณ์ที่กำหนดเกิดขึ้น ในบริบทของโครงการของเรา เราได้ออกแบบฟังก์ชันเว็บฮุคให้สามารถกระตุ้นเหตุการณ์เฉพาะเจาะจงได้
เพื่อตั้งค่าเว็บฮุคสำหรับแอปพลิเคชันของคุณ ให้ไปที่หน้าการตั้งค่าแอปพลิเคชัน และค้นหาส่วน 'การตั้งค่าเว็บฮุค' จากนั้นให้ข้อมูลต่อไปนี้:
หลังจากให้รายละเอียดเหล่านี้แล้ว ให้คลิกที่ 'บันทึก'
เมื่อเกิดเหตุการณ์ขึ้น เราจะส่งคำขอ HTTP POST ไปยัง URL ของ payload พร้อมกับข้อมูลในตัว JSON ที่มีข้อมูลเกี่ยวกับเหตุการณ์นั้น
สิ่งสำคัญคือต้องตรวจสอบว่าคำขอ POST ที่ส่งไปยัง URL ของ payload มาจากแอปพลิเคชันของเรา เพื่อช่วยในเรื่องนี้ คำขอ webhook ทุกครั้งจะมีส่วนหัว X-Signature รวมอยู่ด้วย
สำหรับการลงนาม เราใช้ HMAC ร่วมกับอัลกอริทึม SHA512
Secretคือการเชื่อมต่อของApp IDและSecret Keyจากตั้งค่า webhooks
สามารถเพิ่มพารามิเตอร์ get ของคุณเองที่ส่วนท้ายของเอนด์พอยต์เพื่อระบุผู้ส่งได้หากจำเป็น
เซิร์ฟเวอร์ต้องตอบกลับภายใน 10 วินาทีและส่งคืนรหัส HTTP 2XX มิฉะนั้น การส่งเว็บฮุกจะถือว่าล้มเหลว ในกรณีที่ล้มเหลว ฟีเจอร์จะพยายามส่งคำขอใหม่อีกครั้งตามนโยบายการส่งมอบ