Skip to main content
POST
/
enterprise
/
schedule
/
tasks
/
filter
Filter scheduled tasks
curl --request POST \
  --url https://apigw.bienport.com/api/enterprise/schedule/tasks/filter \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --header 'OrganizationId: <organizationid>' \
  --data '
{
  "organizationIds": [
    123
  ],
  "pageNo": 1,
  "pageSize": 10
}
'
[
  {
    "totalRecord": 10,
    "scheduleTaskList": [
      {
        "id": 123,
        "notificationOptionId": 123,
        "oprUserId": 123,
        "organizationId": 123,
        "selection": "<string>",
        "status": 123,
        "taskCreationDate": 123,
        "taskData": "<string>",
        "taskDate": "<string>",
        "taskName": "<string>",
        "taskOwner": "<string>",
        "taskType": 123,
        "userType": "<string>"
      }
    ],
    "scheduleTask": {
      "id": 123,
      "notificationOptionId": 123,
      "oprUserId": 123,
      "organizationId": 123,
      "selection": "<string>",
      "status": 123,
      "taskCreationDate": 123,
      "taskData": "<string>",
      "taskDate": "<string>",
      "taskName": "<string>",
      "taskOwner": "<string>",
      "taskType": 123,
      "userType": "<string>"
    },
    "notificationOptions": {
      "assignee": true,
      "assigner": true,
      "contacts": true,
      "email": true,
      "id": 123,
      "pushMessage": true,
      "sms": true,
      "userId": 123
    }
  }
]

Headers

Authorization
string
required

Access Token

OrganizationId
string
required

Organization ID

Body

application/json

scheduleQueryRequest

Schedule Query Request Api Model

organizationIds
integer<int64>[]

Organization Id List

pageNo
integer<int32>

Page No

Example:

1

pageSize
integer<int32>

Page Size

Example:

10

Response

List of scheduled tasks.

totalRecord
integer<int64>

Total Record

Example:

10

scheduleTaskList
DTOScheduleTask · object[]

Schedule Task List

scheduleTask
DTOScheduleTask · object
notificationOptions
DTONotificationOption · object