Task Reminders

Get all reminders on a task

Request

  • GET /tasks/:id/reminders.json

Response

{
  "STATUS": "OK",
  "reminders": [
    {
      "created-by-user-firstname": "Daniel",
      "was-sent": "0",
      "created-date-time": "2015-06-15T13:48:41Z",
      "user-lastname": "Mackey",
      "note": "",
      "user-firstname": "Daniel",
      "date-time-utc": "2015-06-16T14:45:00Z",
      "created-by-user-id": "414",
      "created-by-user-lastname": "Mackey",
      "user-id": "414",
      "task-id": "8672",
      "id": "17",
      "type": "EMAIL"
    },
    {
      "created-by-user-firstname": "Daniel",
      "was-sent": "0",
      "created-date-time": "2015-06-15T13:48:50Z",
      "user-lastname": "Mackey",
      "note": "",
      "user-firstname": "Daniel",
      "date-time-utc": "2015-06-16T14:45:00Z",
      "created-by-user-id": "414",
      "created-by-user-lastname": "Mackey",
      "user-id": "414",
      "task-id": "8672",
      "id": "18",
      "type": "SMS"
    },
    {
      "created-by-user-firstname": "Daniel",
      "was-sent": "0",
      "created-date-time": "2015-06-15T13:48:50Z",
      "user-lastname": "Mackey",
      "note": "",
      "user-firstname": "Daniel",
      "date-time-utc": "2015-06-16T14:45:00Z",
      "created-by-user-id": "414",
      "created-by-user-lastname": "Mackey",
      "user-id": "414",
      "task-id": "8672",
      "id": "18",
      "type": "PUSH"
    }
  ]
}

Create a reminder on a task

Request

  • POST /tasks/:id/reminders.json

{
    "reminder": {      
      "note": "",      
      "date-time-utc": "2015-06-16T14:45:00Z",      
      "user-id": "414",
      "type": "EMAIL"
    }
}

Response

{
  "STATUS": "OK",
  "id": 999
}

Update an existing reminder on a task

Requests

  • PUT /tasks/:id/reminders/:id.json
  • PUT /taskreminders/:id.json

{
    "reminder": {      
      "note": "",      
      "date-time-utc": "2015-06-16T14:45:00Z",      
      "user-id": "414",
      "type": "SMS"
    }
}

Response

{
  "STATUS": "OK"
}

Delete an existing reminder on a task

Requests

  • DELETE /tasks/:id/reminders/:id.json
  • DELETE /taskreminders/:id.json

Response

{
  "STATUS": "OK"
}