Returns a filtered and paginated list of pending tasks assigned to the current user.
Behavior:
- Validates account and user context
- Supports pagination using the
startquery parameter - Applies grouping filter using
GroupCodefrom request body - Retrieves pending tasks assigned to the user
- Returns structured pending task list response data
- Logs the action as a pending tasks grid view
- Demohttps://demozone.zlinkfm.com/RND/api/v2/maintenance/mywork/pendingtasks/list
curl -i -X POST \
'https://demozone.zlinkfm.com/RND/api/v2/maintenance/mywork/pendingtasks/list?start=0' \
-H 'Content-Type: application/json-patch+json' \
-d '{
"groupCode": "string",
"filters": [
{
"dataFieldId": "b6507240-6286-4e43-b3da-bd23ecf1c322",
"dataFieldValues": [
"string"
]
}
],
"datafieldIds": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
],
"selectedIds": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
],
"groupBy": "string",
"keyword": "string",
"sortColumn": "string",
"sortColumnId": "0f49f070-9ddb-4e23-bac3-3a9c7797ab4e",
"sortOrder": "string",
"fieldValues": [
{
"dataFieldId": "b6507240-6286-4e43-b3da-bd23ecf1c322",
"dataFieldValue": "string",
"dataFieldlabel": "string",
"dataFieldValueIds": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
],
"fromDate": "string",
"toDate": "string",
"dataFieldValueRangeType": "string"
}
],
"filter": "string"
}'Response
{
"data": {
"data": [
{
"uniqueId": "a1e12d74-d756-40d1-9bb3-519def353f44",
"taskNumber": "string",
"dueDate": "string",
"taskType": "string",
"title": "string",
"workType": "string",
"status": {
"statusId": "e900225c-0629-4e96-be6e-86a17a309645",
"statusCode": "string",
"statusName": "string",
"statusColor": "string"
},
"priority": {
"priorityId": "a57eab25-838b-40cc-a576-57e4056f1d6c",
"priorityName": "string",
"priorityColorCode": "string"
},
"actionBy": [
{
"userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
"userName": "string",
"userProfile": "string"
}
],
"addedOn": "2019-08-24T14:15:22Z",
"actionByString": "string",
"completedOn": "string",
"taskItemType": "string"
}
],
"generalProperties": [
{
"name": "string",
"alias": "string",
"dataType": "string",
"propertyType": "string",
"isKeyData": true,
"visibility": true,
"dataFieldId": "b6507240-6286-4e43-b3da-bd23ecf1c322",
"uiProperties": {
"fullWidth": true,
"columnWidth": "string",
"columnSpan": 0
}
}
]
},
"message": "string",
"isError": true,
"messageCode": 0,
"status": "string",
"errorType": "string",
"traceid": "string",
"responseDescription": "string"
}