DESCRIPTION

This endpoint returns tasks that are due on the day requested. 

URL STRUCTURE

https://[hostname]/task/next/{count}

METHOD

GET

HEADERS

**Authorization:**    string Base64       [email]:[key]

Arguments

NameTypeDescription
countintNumber of tasks to return


RETURNS

Returns a task or an array of tasks that are due today.

[
  {
      "parentTask": null,
      "id": "355",
      "description": "DG to check incoming item for docketing\t",
      "doneDate": {
          "date": "2019-12-10 16:14:01.000000",
          "timezone_type": 3,
          "timezone": "Europe/London"
      },
      "matterId": "66",
      "matterCode": "000015GB",
      "clientId": null,
      "client": "Seraphis Guitars",
      "presetItemId": "460",
      "dueDate": {
          "date": "1970-01-11 00:00:00.000000",
          "timezone_type": 3,
          "timezone": "Europe/London"
      },
      "status": "0",
      "statusName": "Live",
      "importance": "2",
      "importanceName": "Fatal",
      "formallyExtended": "0",
      "user": {
          "id": null,
          "oldId": null,
          "subscriberId": null,
          "username": "",
          "email": null,
          "secondaryEmail": [],
          "firstName": null,
          "secondName": null,
          "subscriberRef": null,
          "clientSQL": null,
          "loginCount": null,
          "lastLogin": null,
          "notes": null,
          "gender": null,
          "initials": null,
          "legalEntity": null
      },
      "type": "0",
      "typeName": null,
      "notes": null,
      "parentTaskId": null,
      "components": null,
      "workFlowLogId": null,
      "attachedTemplate": "0",
      "setupDate": null,
      "linkedDocuments": null,
      "outgoingDiscarded": null,
      "recipientId": null,
      "deliveryMethodOverride": null,
      "workflowPromptId": null,
      "originalDueDate": null,
      "invoiceId": null
  },
  {
      "parentTask": null,
      "id": "72",
      "description": "This the first task with custom date",
      "doneDate": {
          "date": "2019-12-10 16:14:01.000000",
          "timezone_type": 3,
          "timezone": "Europe/London"
      },
      "matterId": "10",
      "matterCode": "A000008GB",
      "clientId": null,
      "client": "Seraphis Guitars",
      "presetItemId": "692",
      "dueDate": {
          "date": "1980-07-04 00:00:00.000000",
          "timezone_type": 3,
          "timezone": "Europe/London"
      },
      "status": "0",
      "statusName": "Live",
      "importance": "0",
      "importanceName": "Standard",
      "formallyExtended": "0",
      "user": {
          "id": null,
          "oldId": null,
          "subscriberId": null,
          "username": "",
          "email": null,
          "secondaryEmail": [],
          "firstName": null,
          "secondName": null,
          "subscriberRef": null,
          "clientSQL": null,
          "loginCount": null,
          "lastLogin": null,
          "notes": null,
          "gender": null,
          "initials": null,
          "legalEntity": null
      },
      "type": "0",
      "typeName": null,
      "notes": "",
      "parentTaskId": null,
      "components": null,
      "workFlowLogId": "60",
      "attachedTemplate": "0",
      "setupDate": null,
      "linkedDocuments": null,
      "outgoingDiscarded": null,
      "recipientId": null,
      "deliveryMethodOverride": null,
      "workflowPromptId": null,
      "originalDueDate": "1980-07-04 00:00:00",
      "invoiceId": null
  }
]