Web Service Integration
Available for:
With this functionality, the CountThings from Photos app can be connected to any system through a web service and be able to create calls to send results and import data to any system.
The Web Service Integration is designed for company use, for importing and exporting data through a web service created by the company’s IT department. You need a valid user account and a paid license to use this functionality.
For a better understanding, we will be using our platform to
simulate an API call. The links provided in this guide can be accessed for testing purposes. In this guide we will focus on
importing data through a web service call. Follow this guide to learn
how to export data other systems through a web service address.
Configurate the Web Service
3. Add your Field details
A. Description ➜ Write the description of your filed (e.g. Material)
B. Value ➜ Write the value you want to automatically add in the app (e.g. Steel)
4. Repeat the process to add another field
A. Click on Add Field
B. Description ➜ Write the description of your filed (e.g. Size and Length)
C. Value ➜ Write the value you want to automatically add in the app (e.g. 0.15x 2m, 0.2 x 3m, 0.2 x 4m) In this example we added more values to be added by the call.
5. Click Save ➜ A confirmation pop up should appear ➜ Click OK
Form Settings
Create a Form in that will receive and display data coming from your company's web service. The fields from this form must have the same names as those returned in the API response. (e.g. Material and Size and Length)
The Form can contain other fields too, but they will not be filled automatically.
1. Open the CountThings from Photos mobile app ➜ Settings ➜ Form Builder
2. Tap the +NEW FORM button to create a new Form
3. Give your Form a name (e.g. Test) ➜ tap +ADD FIELD
A. Add a Text box by tapping the "+" button to add the "Material" Field created in the web service call
B. Write the Field Title for the Text box (e.g. Material)
C. Tap +ADD FIELD to add the Size and Length field created in the web service call
D. Add a Dropdown by tapping the “+” button
E. Write the Field Title for the Dropdown (e.g. Size and Length)
F. Tap Save
4. Return in the Settings menu by tapping Back
Create API (web service integration) call in app
1. From Settings ➜ go to Web Service Integration
4. Edit Call Screen
B. From AUTHENTIFICATION, choose from None or Basic access authentication. By selecting Basic access authentication, you will set up a username and a password, which will be required when receiving the data. (e.g. None)
C. From WHEN TO SEND, select your preferred moment for receiving the webservice call data, during the counting process. (e.g. we select Manually (show button in form) ➜ add the button name ➜ we named it Get Webservice Response Call
D. Tap Done ➜ Done again ➜ Back
Usage
1. Home Screen ➜ choose the Counting Template to use ➜ USE EXISTING PHOTO or TAKE NEW PHOTO (e.g. COUNT FROM SAMPLE PHOTO)
2. In Prepare Screen ➜ Go to Forms
3. In Fill out forms Screen ➜ Tap GET WEBSERVICE RESPONSE CALL
4. Your Form Fields will be automatically updated with the data from the web service call
5. You can choose the value from the dropdown automatically completed in Form for Size and Length
6. Tap Back
7. Count your photo and Save the results
Inbount & Outbound example
For Inbound & Outbound webservice, the process it’s almost the same:
Home Screen ➜ Settings ➜ Web Service Integration ➜ +ADD CALL ➜ Tap the „+” button from the INBOUND & OUTBOUND webservice call.
The Edit Call Screen remains the same, and you can configurate it using your unique web service adress. The Fields from the Forms in the app must be the same as the ones set up in the web service call. Here is an example:
For more information, please contact our
Support Team at
support@CountThings.com.
You can also request a
virtual meeting with our experts to discuss how we can offer you the best counting experience.