TaskChecklistService
Index
Constructors
Properties
Methods
Constructors
constructor
Parameters
httpRequest: BaseHttpRequest
Returns TaskChecklistService
Properties
publicreadonlyhttpRequest
Methods
publictaskChecklistCreate
Parameters
__namedParameters: { requestBody: AddTaskCheckListParam }
Returns CancelablePromise<{ data?: AddTaskCheckListResponse }>
any Successfully added the item to the checklist.
publictaskChecklistInfo
Get a checklist item's information
Bot-compatible
Retrieves information about a checklist item in a task.Parameters
__namedParameters: { id: string }
Returns CancelablePromise<{ data?: GetTaskCheckListResponse }>
any Successfully retrieved information about the checklist item.
publictaskChecklistList
List out checklist items
Bot-compatible
Lists out a given number of items from a task's checklist. This method uses the Swit API's pagination scheme.Parameters
__namedParameters: { limit?: number; offset?: string; taskId: string }
Returns CancelablePromise<{ data?: GetTaskCheckListListResponse }>
any Successfully retrieved items from the checklist.
publictaskChecklistRemove
Delete a checklist item
Bot-compatible
Deletes an item in a task's checklist.Parameters
__namedParameters: { requestBody: DelTaskCheckListParam }
Returns CancelablePromise<any>
any Successfully deleted the checklist item.
publictaskChecklistUpdate
Update a checklist item
Bot-compatible
Updates an existing item of a task's checklist.Parameters
__namedParameters: { requestBody: PutTaskCheckListParam }
Returns CancelablePromise<{ data?: PutTaskCheckListResponse }>
any Successfully updated the checklist item.
Add a checklist item
Bot-compatible
Adds an item to a task's checklist.ApiError