Data Models
The Bringg Driver SDK for Android models you use are described on this page.
Shift Model
Id int |
The Id of the merchant. |
startShift Date |
The date and time the current shift started. |
endShift Date |
The date and time the current shift started. |
Task Model
Id int |
The Id of the task. |
activeWaypointId int |
The Id of the way point which the driver is currently servicing. |
asap boolean |
Indicates whether this is an ASAP task. The values are:
The default value is false. |
externalId int |
The Id of this task in your own system. |
priority String |
The priority of this task. |
status int |
The status of this task. The values are:
|
title String |
The title of this task. |
waypoints Object |
A way point object containing information about the way points in this task. |
Way Point Model
Id int |
The unique Id of the way point. |
address String |
The address of this way point. |
customer object |
An Customer object containing information about the customer at this way point. |
done Boolean |
Indicates whether this way point is done. The values are:
|
eta Date |
The expected time of arrival at the way point. |
inventories array of objects |
An array of Inventories objects containing the inventories for this way point. |
lat double |
The geoposition latitude of this way point. |
lng double |
The geoposition longitude of this way point. |
position int |
The position of this way point in all way points in the order to which this way point belongs. For example, the order may contain 5 way points and this way point is position 2 (the second). |
scheduledAt Date |
The date and time the task was scheduled. |
status int |
The way point status. The values are:
|
taskId int |
The unique Id of the order. |
Customer Model
Id int |
The Id of the customer. |
String |
The email address of this customer. |
externalId int |
The Id of this customer in your own system. |
priority String |
The priority of this task. |
image String |
The file name of the image file for this customer. |
phone String |
The phone number of this customer. |
Inventory Model
Id int |
The Id of this inventory item. |
externalId String |
The Id of this inventory. |
inventoryId int |
The Id of this inventory. |
name String |
The name of this inventory. |
originalQuantity int |
The number of original items of this inventory item in the inventory. |
pending boolean |
Indicates whether this is pending. The values are:
|
quantity int |
The number of items of this inventory item in the inventory. |
scanString String |
The value of the scanned of this inventory. |
waypointId int |
The Id of the way point for this inventory. |
User Model
The User model contains the properties described in the following table.
userId int |
The Id of this logged in user. |
String |
The eamil of this logged in user. |
isHome Boolean |
Indicates whether this logged in user is at home. The values are: |
name String |
The name of this logged in user. |
phone String |
The phone of this logged in user. |
profileImage String |
A string containing the path and filename of this logged in user's image file. |
Updated about 6 years ago