Click or drag to resize

ITookanViewAllTasks Method

Returns all tasks

Namespace:  NetQuarry.Services
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
TookanViewAllTasksResponse ViewAllTasks(
	TookanJobType jobType,
	bool isPagination = false,
	Nullable<int> requestedPage = null,
	Nullable<TookanTaskStatus> jobStatus = null,
	Nullable<DateTime> startDate = null,
	Nullable<DateTime> endDate = null,
	Nullable<int> fleetId = null,
	Nullable<int> teamId = null,
	List<int> jobIds = null,
	List<string> orderIds = null
)

Parameters

jobType
Type: NetQuarry.ServicesTookanJobType
Filter via Job Type - 0 for Pick Up, 1 for Delivery, 2 for Appointment and 3 for FOS
isPagination (Optional)
Type: SystemBoolean
You can set this as 1 to enable pagination.
requestedPage (Optional)
Type: SystemNullableInt32
Current(Which) page according to the page number of tasks in the filter.
jobStatus (Optional)
Type: SystemNullableTookanTaskStatus
Filter the list of tasks via their status
startDate (Optional)
Type: SystemNullableDateTime
Start Date for the date range
endDate (Optional)
Type: SystemNullableDateTime
End Date for the date range
fleetId (Optional)
Type: SystemNullableInt32
This is unique agent id given to each agent, if given the task will be assigned to the respective agent. You can get it from dashboard Menu>More>agents.
teamId (Optional)
Type: SystemNullableInt32
This is the Unique id of every team. You can get it from the dashBoard. More>teams>respective id of the team will displayed.
jobIds (Optional)
Type: System.Collections.GenericListInt32
Filter the list based on the job ids.
orderIds (Optional)
Type: System.Collections.GenericListString
Filter the list based on the order ids.

Return Value

Type: TookanViewAllTasksResponse
The response object.
See Also