Get List of Subtasks by CriteriaAsk AIpost https://{hostname}/api/datasubject/v3/subtasksUse this API to retrieve a list of all subtasks by filter criteria.Query ParamsincludeClosedSubtasksbooleanDefaults to falseInclude closed subtasks in the responsetruefalseonlyActivatedSubtasksbooleanDefaults to falseOnly include activated subtasks in the responsetruefalsepageint32β₯ 0Defaults to 0Results page you want to retrieve. Page number starts with 0 (0..N)sizeint321 to 500Defaults to 20Number of records per page. Maximum page size allowed is 500sortstringenumSorting criteria in the format: property(,asc|desc). Default sort order is subTaskId ascending.subtaskDateCreated,descrequestTypeName,ascrequestTypeName,descsubjectTypeName,ascsubjectTypeName,desctaskName,asctaskName,descsubtaskDateCreated,ascsubtaskDateCreated,descsubtaskDateUpdated,ascsubtaskDateUpdated,descrequestDeadline,ascrequestDeadline,descrequestDateCreated,ascrequestDateCreated,descShow 14 enum valuesBody ParamsRequestTypestringFilter subtasks by Request Type. Only subtasks belonging to requests with this Request Type will be retrieved.SubjectTypestringFilter subtasks by Subject Type. Only subtasks belonging to requests with this Subject Type will be retrieved.OrganizationstringFilter subtasks by Organization. Subtasks in this organization and related child organizations will be retrieved if includeChildOrgs is true.SystemNamestringFilter subtasks by integration system name. Only system subtasks associated with this system will be returned.SubtaskStatusarraySubtaskStatusADD SubtaskTypestringenumFilter subtasks by type - either 'manual' for user-created subtasks or 'system' for automated system subtasks.systemmanualsystemAllowed:manualsystemOpenRequestsbooleanDefaults to falseWhen set to true, only subtasks belonging to open requests will be included in the results. If false or omitted, subtasks from both open and closed requests will be returned.truefalseSubtaskDateCreatedobjectFilter subtasks by their creation date. Only subtasks created within this date range will be included in the results. Use ISO 8601 format.SubtaskDateCreated objectSubtaskDateUpdatedobjectFilter subtasks by their last update date. Only subtasks updated within this date range will be included in the results. Use ISO 8601 format.SubtaskDateUpdated objectRequestDeadlineobjectA date range for outlining start date and end date. All subtasks with a Request Deadline within this range will be retrieved. Accepted date format: YYYY-MM-DDT00:HH:MM.SSSZRequestDeadline objectRequestDateCreatedobjectA date range for outlining start date and end date. All subtasks with a Request Created Date within this range will be retrieved. Accepted date format: YYYY-MM-DDT00:HH:MM.SSSZRequestDateCreated objectcurrentRequestStagearray of stringsFilter subtasks by current request stage. Accepted values include: All default and custom request stages are supported.currentRequestStageADD stringsubtaskCreatedStagearray of stringsFilter subtasks by subtask created stage. Accepted values include: All default and custom request stages are supported.subtaskCreatedStageADD stringlanguagestringDefaults to en-usSpecifies the language code for localized field values in the response. Translations will be provided for this language if available.IncludeChildOrgsbooleanDefaults to trueBy default set to true if omitted. On true Subtasks of Child Organizations of the given Organization will be included.On False Subtasks of the given Organization will be included. Effective only if 'organization' value is provided.truefalseResponses 200OK 400Bad Request 401Unauthorized 403Forbidden 429Too Many Requests. For more information, see API Rate Limits. 500Internal Server ErrorUpdated 4 months ago