VenturesAPI

Login to VenturesAPI at https://vapi.avsbcloud.com

Create Vlow

Go to Vlows.


Graphical user interface, text, application

Description automatically generated

Click on Create

Chart

Description automatically generated with medium confidence

Graphical user interface

Description automatically generated with medium confidence

Fill in the name “FADA to OC (Current Date)”.

Example: “FADA to OC 4/10/2022”.

Vaction: Trigger

Graphical user interface, application, Word

Description automatically generated


Click “Edit” on the first Vaction.


A picture containing graphical user interface

Description automatically generated

Click “Save”. Then go Back.

Vaction: Interpreter: FADA to VenturesAPI Properties

 Application

Description automatically generated with low confidence

Click on “+” icon at the bottom.

 

Graphical user interface, application, Teams

Description automatically generated


Select “Interpreter_BodyToProperties_PreDefined”. Click “Save”.

 

Graphical user interface, text, application, email

Description automatically generated

Click “Edit” on the newly created Vaction.

Graphical user interface, text, application, email

Description automatically generated

Select FADA: Realtime Glog and click “Save”.

Graphical user interface, application

Description automatically generated

The VoutputProperties will be automatically populated.

Click “Back”. 

Vaction: Interpreter: VenturesAPI Properties to OfficeCentral Check In/Out Format

Graphical user interface, text, application

Description automatically generated

Click on the ‘+’ button at the bottom.

Graphical user interface, application, email, Teams

Description automatically generated

Select “Interpreter_PropertiesToBody_Predefined”. Click “Save”.

 

Chart, scatter chart

Description automatically generated

Click “Edit” on the newly created Vaction.

Graphical user interface, text, application, email

Description automatically generated

Select “OfficeCentral: Attendance Check In/Out”. Click “Save”.

Graphical user interface

Description automatically generated

The VinputProperties will be automatically populated.

Edit the values so that the Vinput Properties looks like this:

Graphical user interface, text, application, email

Description automatically generated

Note: Latitude, Longitude can be set to your own value if required.

Graphical user interface

Description automatically generated with medium confidence

Vaction: HTTP Request to OfficeCentral Endpoint


Go back to the Vlows page and click on the ‘+’ icon at the bottom of the screen.

Graphical user interface, application

Description automatically generated

Select HttpRequest and click ‘Save’.

Graphical user interface, text, application

Description automatically generated 

Click “Edit” on the newly created Vaction.

 

Graphical user interface, text, application

Description automatically generated

Update so that the fields resemble above:

Input Source

FromVobjectBody

From

2

Method

Post

HTTP Request URL

https://v2.officecentral.asia/api/attendances/fadachecksingle?apiKey=xxxxxxxxx

 

Replace xxxxxxxxx with your OfficeCentral API Key.

Get VenturesAPI Vlow Listener URL

Get the Vlows ID.

Navigate to the Vlow page.

Graphical user interface, text, application, Teams

Description automatically generated 

For the example above, the listener URL is https://vapi.avsbcloud.com/vlows/listener/6997945.

FADA

Login to FADA at https://vfada.avsbcloud.com.

Webhooks

Graphical user interface, text, application, chat or text message

Description automatically generated

Navigate to Webhooks.

 

Graphical user interface, text, application

Description automatically generated

Click the “+” icon to add a new Webhook.

Graphical user interface, text, application, email

Description automatically generated

Select your Device. Fill the fields as above (change the Listener URL to your listener URL in 2.6).

Device

{Your Device}

Enabled

Active

Event

RealtimeGlog

HTTP Method

POST

URL

{Your Listener URL}

 

 Device Users

Graphical user interface, text, application, chat or text message

Description automatically generated

Navigate to Device Users.

A picture containing application

Description automatically generated

If you have not, click Synchronize to synchronize the device users with the online portal.

Table

Description automatically generated with medium confidence

Ensure that the External User Id matches with the Staff ID at OfficeCentral as per in 1.3. If this does not match, the integration will fail.

Validation

VenturesAPI

Login to VenturesAPI at https://vapi.avsbcloud.com.

Graphical user interface, application

Description automatically generated

Navigate to “Vlogs”.

Graphical user interface, application

Description automatically generated

The Vlogs page shows a log of any Vactions happening between VenturesAPI and any other apps that calls VenturesAPI.

Try to check in using the Device and the view the logs if it is updated.

If the log is updated, this means the integration between your device and VenturesAPI is successful.

OfficeCentral

Log in to OfficeCentral and navigate to Classic View > HRMS > Attendances > Overall > Daily.

Table

Description automatically generated

Check in using the Device and refresh the page.

The user that was checked in in 4.2 should be shown here as well.

If the user is shown here, it means the integration is successful.