Skip to main content
GET
/
task
/
schedule
/
{id}
Read task schedule by ID
curl --request GET \
  --url https://apiweb.mile.app/api/v3/task/schedule/{id} \
  --header 'Authorization: Bearer <token>'
{
  "status": true,
  "message": "Success",
  "taskSchedules": {
    "hubId": "634e98498ce07d29474a7e29",
    "name": "Daily Morning Visit",
    "periode": "daily",
    "flow": "Visit",
    "flowId": "67be687c128306111e022022",
    "task": {
      "receiverName": "Miguel",
      "address": "gambir jakarta pusat",
      "coordinates": "",
      "weight": "5"
    },
    "schedules": [
      {
        "time": [
          "07:00"
        ]
      }
    ],
    "startTime": "2022-11-02",
    "endTime": "2022-11-05",
    "createdBy": "Pablo",
    "timeSchedules": [
      "07:00"
    ],
    "organizationId": "634e98098ce07d29474a7e22",
    "updatedTime": "2022-11-01T07:28:23+00:00",
    "createdTime": "2022-11-01T07:28:23+00:00",
    "_id": "6352736c628401059b37a2e2"
  }
}

Authorizations

Authorization
string
header
required

Use a valid Bearer token to authenticate.

Path Parameters

scheduleId
string
required

Unique identifier for the task schedule that generated by system. Example: 6352736c628401059b37a2e2

Response

Success

status
boolean

Status of response.

message
string

Message of API response.

taskSchedules
object

Detail of object task schedule.