Create Task
A client can request OMD to create an ad-hoc task. OMD will then create the task in the database.
Attribute | Description | Optional | Example |
---|---|---|---|
attachmentType | The type of this attachment. Needs to be 1, which means text | no | 1 |
subType | The sub-type of this attachment, being createTask | no | createTask |
content | The scheduled date and time of the task. | no | 2019-10-16 10:00:00 |
reference | The id of the customer for which the task needs to be created along with the UUID used to identify the task on the mobile device. | no | 123545,6ba7b810-9dad-11d1-80b4-00c04fd430c8 |
quantity | The estimated duration of the task (in minutes). | no | 30 |
format | Indicates whether the task is a fixed appointment. | no | true |
extra | An XML document with specific information for the task. | yes | <Data street="42 Qian Ban Bi Jie" postalCode="100035" city="Beijing" country="China"/> |