On Site
This outbound task attachment is used to let ERP systems know about the arrival of a Field Worker at the customer. From this moment onwards, the Field Worker is considered busy. The timestamp of this event is used to reflect the actual duration once the task is finished.
Attribute | Description | Optional | Example |
---|---|---|---|
attachmentType | The type of this attachment. Needs to be 4, which means event | no | 4 |
subType | The sub-type of this attachment, being onSite | no | onSite |
geocode | The best last known location at which this attachment was created | no | 0_0_48.702344_10.165200 |
reference | The route in which the task was executed | no | 385748 |
format | Indicates the level of quality of the provided geocode (gps or network) | yes | gps |
Note that the timestamp of this event can be retrieved by reading the createdOn column as described above.
The geocode stored along with this attachment is considered the location of the customer's site and may be used for future reference.
When using an external mobile application, this attachment must be provided to OMD by the Mobile App to update the task status. In this case, the attachment is an inbound attachment.