Skip to main content

Update task in Onfleet

Update task in Onfleet.

Application

  • Onfleet

Inputs (what you have)

NameDescriptionData TypeRequired?Example
Connected accountThe connected account to use for the requestConnected AccountYes
Task IDThe ID of the task object for lookupText (Short)Yes
Complete afterThe earliest time the task should be completedDatetimeNo
Complete beforeThe latest time the task should be completedDatetimeNo
Executor IDThe ID of the organization that will be responsible for fulfilling the taskText (Short)No
Merchant IDThe ID of the organization that will be displayed to the recipient of the taskText (Short)No
NotesNotes for the taskText (Long)No
Pick up task?Whether the task is a pickup taskTrue/FalseNo
QuantityThe number of units to be dropped off while completing this task, for route optimization purposesNumberNo
Service timeThe number of minutes to be spent by the worker on arrival at this task's destination, for route optimization purposesNumberNo

Outputs (what you get)

NameDescriptionData TypeRequired?Example
JSON OutputJSON output returned by the APIText (Long)No

Outcomes

NameDescription
SuccessThis status is selected if the job has successfully completed.
UnsuccessfulThis status is selected if the job has completed unsuccessfully.

Requirements

  • N/A