Avatar

View Devices from multiple Databases

0

How would I go about showing data from two devices that are in two different databases?

Elliot Slater (Ellira Technologies)

Please sign in to leave a comment.

4 comments

Avatar

Create a login in both databases.

Connect to each database individually.

Use the SDK to get the device from each database.

?

0
Comment actions Permalink
Michael Head 0 votes
Avatar

That would seem logical although the sdk uses tokens and I am unsure if I can have multiple tokens. It would seem a bit much to log in to the databases for every single call.

I would like to get some feedback from Geotab on this.  I have a client that has multiple branches each with its own database right now but they would like the ability to share specific trucks with central dispatch. 

0
Comment actions Permalink
Elliot Slater (Ellira Technologies) 0 votes
Avatar

Hi Elliot,

Michael is correct, you can connect to the databases individually. A user may have multiple active session id's.

Steve

0
Comment actions Permalink
Steve Hansen 0 votes
Avatar

In your code, create different "api" objects for each connection and you will be fine.

0
Comment actions Permalink
Michael Head 0 votes