{"id":8737,"date":"2022-03-16T05:26:40","date_gmt":"2022-03-16T10:26:40","guid":{"rendered":"https:\/\/incust.com\/en\/?page_id=8737"},"modified":"2022-03-16T07:23:11","modified_gmt":"2022-03-16T12:23:11","slug":"settings-for-remotescanner","status":"publish","type":"page","link":"https:\/\/incust.com\/en\/knowledgebase\/documentation\/settings-for-remotescanner\/","title":{"rendered":"Settings for RemoteScanner"},"content":{"rendered":"<div class=\"wpb-content-wrapper\">[vc_row][vc_column width=&#8221;2\/6&#8243;][vc_wp_custommenu nav_menu=&#8221;6&#8243;][\/vc_column][vc_column width=&#8221;4\/6&#8243;][mk_fancy_title color=&#8221;#000000&#8243; size=&#8221;32&#8243; font_weight=&#8221;400&#8243; txt_transform=&#8221;none&#8221; margin_bottom=&#8221;10&#8243; font_family=&#8221;none&#8221;]<b>Remote Scanner<\/b><span style=\"font-weight: 400\">: remote scanner to scan various codes in chatbots and websites<\/span>[\/mk_fancy_title][vc_column_text css=&#8221;.vc_custom_1647432925551{margin-bottom: 0px !important;}&#8221;]<span style=\"font-weight: 400\">It&#8217;s impossible to conveniently scan the code in chatbots and websites. Remote Scanner helps solve this problem. By installing this application on your phone, you can conveniently scan any code inside a chatbot or on a website.<\/span><\/p>\n<p><strong>Usage example:<\/strong><\/p>\n<p><span style=\"font-weight: 400\">By installing this application on your phone, you can scan any code inside a chatbot or on a website. <\/span><span style=\"font-weight: 400\">For example, there is a need to scan the code in a chatbot, you click on the &#8220;scan&#8221; function, the link opens the scanner, you scan the code and the result is shown in the chatbot. It helps to integrate the scanning function for various tasks easily.<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">QR and barcode scanner can scan and read all types of QR \/ barcodes, including text, URLs, product, contacts, calendar, email address, location, and many other formats. You can use a QR and barcode scanner to scan coupons to get discounts and save money. Also, you will be able to make other scans.<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><strong>Application works in 2 modes:<\/strong><\/p>\n<p><span style=\"font-weight: 400\">&#8211; You can run and scan any code\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400\">&#8211; Remote Scanner is called from other applications in order to scan the code and transfer the result automatically back to the application<\/span><\/p>\n<p><i><span style=\"font-weight: 400\">(\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0411\u041e\u0422)<\/span><\/i><\/p>\n<p><strong>To do this, you need to be able to (you will find a description of the API below):<\/strong><\/p>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Process requests from our scanner<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Generate a specific line of code<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400\"><br \/>\n<\/span><strong>Main features:<\/strong><\/p>\n<p><span style=\"font-weight: 400\">&#8211; Runs in chatbots and on websites<\/span><\/p>\n<p><span style=\"font-weight: 400\">&#8211; Easy to scan QR codes, barcodes and to make other scans<\/span><\/p>\n<p><span style=\"font-weight: 400\">&#8211; Scan and read all types of QR \/ barcodes<\/span><\/p>\n<p><span style=\"font-weight: 400\">&#8211; Simple Scanner allows you to encrypt personal information, create codes for messages, Wi-Fi, phone numbers, etc.<\/span><\/p>\n<p><span style=\"font-weight: 400\">&#8211; QR code scanner does not require an Internet connection to scan QR \/ barcodes<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span>[\/vc_column_text][vc_column_text css=&#8221;.vc_custom_1647433388945{margin-bottom: 0px !important;}&#8221;]<strong>API description<\/strong><b><br \/>\n<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400\">The link in the chatbot must be of a certain type and contain the following parameters:<\/span><\/p>\n<p><u>Parameters only for photo:<\/u><\/p>\n<p><strong>countPhotos<\/strong> <span style=\"font-weight: 400\">&#8211; number &#8211; number of sent images<\/span><\/p>\n<p><strong>delayPhotos<\/strong> <span style=\"font-weight: 400\">&#8211; number &#8211; delay between taking pictures<\/span><\/p>\n<p><strong>externalMask<\/strong> <span style=\"font-weight: 400\">&#8211; string (url) &#8211; link to the mask image<\/span><\/p>\n<p><u>General parameters (for photos and for qr\/barcodes):<\/u><\/p>\n<p><strong>type<\/strong> <span style=\"font-weight: 400\">&#8211; string (&#8220;photo&#8221;, &#8220;qr&#8221;, &#8220;barcode&#8221;) &#8211; type of scanner\u00a0<\/span><\/p>\n<p><strong>url<\/strong> <span style=\"font-weight: 400\">&#8211; string (url) &#8211; link to the endpoint to which the image and user data will be sent<\/span><\/p>\n<p><strong>user_full_name<\/strong> <span style=\"font-weight: 400\">&#8211; string &#8211; full username<\/span><\/p>\n<p><strong>user_chat_id<\/strong> <span style=\"font-weight: 400\">&#8211; string &#8211; user chat ID<\/span><\/p>\n<p><strong>lang<\/strong> <span style=\"font-weight: 400\">&#8211; string &#8211; interface language<\/span><\/p>\n<p><strong>user_lang<\/strong> <span style=\"font-weight: 400\">&#8211; string &#8211; user language<\/span><\/p>\n<p><span style=\"font-weight: 400\">An object will be formed at the end of reading the qr\/barcode, and it will contain the parameter values from the link to the scanner and the value of the result of scanning the qr\/barcode.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Then, a request will be made to the endpoint specified in the URL parameter.<\/span><\/p>\n<p><b>Example:<\/b><\/p>\n<p><span style=\"font-weight: 400\">For reference<\/span><\/p>\n<p><span style=\"font-weight: 400\">&#8220;<\/span><b>https:\/\/qr.incust.com\/?type=qr&amp;url=https:\/\/qwe.qwe&amp;user_chat_id=123&amp;user_full_name=Alexander<\/b><span style=\"font-weight: 400\">&#8221; the following object will be generated:<\/span><\/p>\n<p><span style=\"font-weight: 400\">{<\/span><\/p>\n<p><span style=\"font-weight: 400\">\u00a0type: &#8216;qr&#8217;,<\/span><\/p>\n<p><span style=\"font-weight: 400\">\u00a0user_chat_id: &#8216;123&#8217;,<\/span><\/p>\n<p><span style=\"font-weight: 400\">\u00a0user_full_name: &#8216;Alexander&#8217;,<\/span><\/p>\n<p><span style=\"font-weight: 400\">\u00a0code_result: &#8216;*string with the result of the code*&#8217;<\/span><\/p>\n<p><span style=\"font-weight: 400\">}<\/span><\/p>\n<p><span style=\"font-weight: 400\">The scanner will wait for a response. The response must indicate the status of the code reading.<\/span><\/p>\n<p><span style=\"font-weight: 400\">The following response object is expected on successful reading:<\/span><\/p>\n<p><span style=\"font-weight: 400\">{<\/span><\/p>\n<p><span style=\"font-weight: 400\">\u00a0success: true,<\/span><\/p>\n<p><span style=\"font-weight: 400\">\u00a0message: &#8216;Message that will be shown to user (optional)&#8217;<\/span><\/p>\n<p><span style=\"font-weight: 400\">}<\/span><\/p>\n<p><span style=\"font-weight: 400\">The following response object is expected on a code reading error:<\/span><\/p>\n<p><span style=\"font-weight: 400\">{<\/span><\/p>\n<p><span style=\"font-weight: 400\">\u00a0success: false,<\/span><\/p>\n<p><span style=\"font-weight: 400\">\u00a0message: &#8216;Message that will be shown to user (optional)&#8217;<\/span><\/p>\n<p><span style=\"font-weight: 400\">}<\/span>[\/vc_column_text][\/vc_column][\/vc_row]\n<\/div>","protected":false},"excerpt":{"rendered":"<p>[vc_row][vc_column width=&#8221;2\/6&#8243;][vc_wp_custommenu nav_menu=&#8221;6&#8243;][\/vc_column][vc_column width=&#8221;4\/6&#8243;][mk_fancy_title color=&#8221;#000000&#8243; size=&#8221;32&#8243; font_weight=&#8221;400&#8243; txt_transform=&#8221;none&#8221; margin_bottom=&#8221;10&#8243; font_family=&#8221;none&#8221;]Remote Scanner: remote scanner to scan various codes in chatbots and websites[\/mk_fancy_title][vc_column_text css=&#8221;.vc_custom_1647432925551{margin-bottom: 0px !important;}&#8221;]It&#8217;s impossible to conveniently scan the code in chatbots and websites. Remote Scanner helps solve this problem. By installing this application on your phone, you can conveniently scan any code inside a [&hellip;]<\/p>\n","protected":false},"author":30,"featured_media":0,"parent":1054,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"_links":{"self":[{"href":"https:\/\/incust.com\/en\/wp-json\/wp\/v2\/pages\/8737"}],"collection":[{"href":"https:\/\/incust.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/incust.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/incust.com\/en\/wp-json\/wp\/v2\/users\/30"}],"replies":[{"embeddable":true,"href":"https:\/\/incust.com\/en\/wp-json\/wp\/v2\/comments?post=8737"}],"version-history":[{"count":4,"href":"https:\/\/incust.com\/en\/wp-json\/wp\/v2\/pages\/8737\/revisions"}],"predecessor-version":[{"id":8742,"href":"https:\/\/incust.com\/en\/wp-json\/wp\/v2\/pages\/8737\/revisions\/8742"}],"up":[{"embeddable":true,"href":"https:\/\/incust.com\/en\/wp-json\/wp\/v2\/pages\/1054"}],"wp:attachment":[{"href":"https:\/\/incust.com\/en\/wp-json\/wp\/v2\/media?parent=8737"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}