שירות האינטרנט 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.
המרשם הנורבגי אינו מאפשר חיפוש חברות שנמחקו לפי שמות. לכן, איננו יכולים לספק {חיפוש פשוט} לפי שמות בתוך חברות שנמחקו בנורבגיה.
להלן דוגמה:
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: איך לחפש חברה?
הסטטוסים הבאים משמשים לדוחות:
אם מצב הביצוע הוא Finished או Updated, תוכל לקבל הזמנה.
הסטטוסים הבאים משמשים לדוחות:
אם מצב הביצוע הוא Finished או Updated, תוכל לקבל הזמנה.
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.
הבקשה מורכבת משלושה חלקים:
/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
הבקשה מורכבת משלושה חלקים:
delivery_term:
שגיאות אלה עשויות להתרחש בעת ביצוע בקשה לשירות האינטרנט שלנו..
Allows you to search for available financial statements.
Currently available only in EST (Estonia), SWE (Sweden)
- Changes in list of available countries: אוזבקיסטן (UZB), אוסטריה (AUT), אוסטרליה (AUS), אורוגוואי (URY), אזרבייג'ן (AZE), איחוד מחדש (REU), איטליה (ITA), איסלנד (ISL), אירלנד (IRL), אלבניה (ALB), אלג'יריה (DZA), אנגולה (AGO), אסטוניה (EST), אקוודור (ECU), ארגנטינה (ARG), אתיופיה (ETH), בולגריה (BGR), בוליביה (BOL), בוסניה והרצגובינה (BIH), בוצואנה (BWA), בלארוס (BLR), בלגיה (BEL), בנין (BEN), ברזיל (BRA), ג'רזי (JEY), גאורגיה (GEO), גואדלופ (GLP), גיאנה (GUY), גיאנה הצרפתית (GUF), גינאה (GIN), גמביה (GMB), גרינלנד (GRL), גרמניה (DEU), דנמרק (DNK), דרום אפריקה (ZAF), האי מאן (IMN), האיים המלדיביים (MDV), הולנד (NLD), הונג קונג (HKG), הונגריה (HUN), הממלכה המאוחדת (GBR), הפיליפינים (PHL), ונצואלה (VEN), זימבבואה (ZWE), זמביה (ZMB), חוף השנהב (CIV), טג'יקיסטן (TJK), טוגו (TGO), טנזניה (TZA), יוון (GRC), יפן (JPN), ישראל (ISR), לוקסמבורג (LUX), לטביה (LVA), ליטא (LTU), ליכטנשטיין (LIE), מאוריציוס (MUS), מאיוט (MYT), מדגסקר (MDG), מולדובה (MDA), מונגוליה (MNG), מונקו (MCO), מלטה (MLT), מרוקו (MAR), מרטיניק (MTQ), נורבגיה (NOR), ניגריה (NGA), ניו זילנד (NZL), נמיביה (NAM), סיישל (SYC), סין (CHN), סין (TWN), סינגפור (SGP), סלובניה (SVN), סלובקיה (SVK), סמואה (WSM), סן מרטן (MAF), סן מרינו (SMR), ספרד (ESP), סרביה (SRB), סרי לנקה (LKA), פולין (POL), פורטוגל (PRT), פינלנד (FIN), פרגוואי (PRY), פרו (PER), צ'ילה (CHL), צ'כיה (CZE), צרפת (FRA), קונגו (COG), קוסובו (XXK), קזחסטן (KAZ), קירגיזסטן (KGZ), קנדה (CAN), קניה (KEN), קפריסין (CYP), קרואטיה (HRV), רואנדה (RWA), רומניה (ROU), רוסיה (RUS), שבדיה (SWE), שווייץ (CHE), תאילנד (THA)
- 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: אוסטריה (AUT), אזרבייג'ן (AZE), איטליה (ITA), אירלנד (IRL), אסטוניה (EST), בולגריה (BGR), בלגיה (BEL), גרמניה (DEU), דנמרק (DNK), הולנד (NLD), הונגריה (HUN), הממלכה המאוחדת (GBR), יוון (GRC), לוקסמבורג (LUX), לטביה (LVA), מולדובה (MDA), מונגוליה (MNG), מלטה (MLT), נורבגיה (NOR), סין (CHN), סלובניה (SVN), סלובקיה (SVK), ספרד (ESP), פולין (POL), פורטוגל (PRT), פינלנד (FIN), צ'כיה (CZE), צרפת (FRA), קזחסטן (KAZ), קירגיזסטן (KGZ), קרואטיה (HRV), רוסיה (RUS), שבדיה (SWE), שווייץ (CHE)
- 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 הוא אמצעי המאפשר ליישום לספק ליישומים אחרים מידע בזמן אמת. תכונת ה-webhook שלנו מיישמת קריאות חוזרות HTTP המוגדרות עם כתובת URL. בכל פעם שמתרחש אירוע מסוים, נשלחת מטען HTTP POST בפורמט JSON לכתובת URL זו. בהקשר של הפרויקט שלנו, עיצבנו את פונקציית ה-webhook כך שתפעיל אירועים ספציפיים.
כדי להגדיר webhook עבור היישום שלך, נווט לדף הגדרות היישום וחפש את הקטע 'הגדרות Webhooks'. ספק את המידע הבא:
לאחר הזנת הפרטים, לחץ על 'שמור'.
כאשר מתרחש אירוע, אנו שולחים בקשת HTTP POST לכתובת ה-URL של המטען עם גוף JSON המכיל מידע על האירוע.
חשוב לוודא שבקשות POST שנשלחות לכתובת ה-URL של המטען הן מהאפליקציה שלנו. כדי לסייע בכך, כל בקשת webhook כוללת כותרת X-Signature.
לצורך החתימה אנו משתמשים ב-HMAC עם אלגוריתם SHA512.
הסוד הוא צירוף של מזהה האפליקציה ומפתח הסוד מהגדרות ה-webhooks.
ניתן להוסיף פרמטרים משלך לנקודת הקצה כדי לזהות את השולח במידת הצורך.
שרת חייב להגיב תוך 10 שניות ולהחזיר קוד HTTP 2XX; אחרת, משלוח ה-webhook ייחשב כנכשל. במקרה של כשל, התכונה תנסה לשלוח את הבקשה מחדש בהתאם למדיניות המשלוח.