ITookan Methods |
The ITookan type exposes the following members.
| Name | Description | |
|---|---|---|
| AddAgent |
Adds a new agent
| |
| AddTeam |
Adds team
| |
| CancelTask |
Cancels a task
| |
| CreateDeliveryTask |
Creates a delivery task
| |
| CreatePickupTask |
Creates a pickup task.
| |
| DeleteAgent |
Deletes agent
| |
| DeleteTeam |
Deletes team
| |
| EditAgent |
Updates the agent
Null values ignored.
| |
| GetAgentLocation |
Returns agent location
| |
| GetAgentTags |
Returns agent tags
| |
| GetAllAgents |
This API is used to get all the Agents/drivers/fleets information with respect to a location.
The response array contains a status key for each of the fleet, which shows the current status of the fleet
- 0 for available, 1 for offline and 2 for busy,
taking into account the location, connectivity, ON-Duty/OFF-Duty status and if they are presently working a task.
| |
| GetAllTeams |
Returns team details without agent data
| |
| GetJobAndAgentDetails |
Get the job and agent details related to a team.
| |
| GetTaskDetail(Int32) |
Get the task detail.
| |
| GetTaskDetail(String) |
Get the task detail for the specified order.
| |
| GetTeamDetails |
Returns team details along with agent data
| |
| UpdateAgentTags |
Updates agent tags
| |
| UpdateTeam |
Updates team
| |
| ViewAllTasks |
Returns all tasks
|