GET api/todo/event/task/{eventId}?pageSize={pageSize}&pageNumber={pageNumber}

Gets all tasks for a particular event / appointment

Request Information

URI Parameters

NameDescriptionTypeAdditional information
eventId

Id of event or appointment

integer

Required

pageSize

Page size

integer

Default value is 25

pageNumber

Page number

integer

Default value is 1

Body Parameters

None.

Response Information

Resource Description

PagedCollectionDataContractOfDezrez.Core.DataContracts.External.Api.ToDo.Query.EventToDoTaskDataContract
NameDescriptionTypeAdditional information
TotalCount

integer

None.

CurrentCount

integer

None.

PageSize

integer

None.

PageNumber

integer

None.

Collection

Collection of Dezrez.Core.DataContracts.External.Api.ToDo.Query.EventToDoTaskDataContract

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalCount": 1,
  "CurrentCount": 2,
  "PageSize": 1,
  "PageNumber": 1,
  "Collection": [
    {
      "EventId": 1,
      "Title": "sample string 2",
      "Description": "sample string 3",
      "ToDoDetails": {
        "Title": "sample string 1",
        "Description": "sample string 2",
        "Type": {
          "Id": 1,
          "Name": "sample string 2",
          "SystemName": "sample string 3"
        },
        "CompletedTasksNumber": 3,
        "TotalTasksNumber": 4,
        "Id": 5
      },
      "ClaimedNegotiator": {
        "Email": {
          "Type": {
            "Id": 1,
            "Name": "sample string 2",
            "SystemName": "sample string 3"
          },
          "Value": "sample string 1",
          "Notes": "sample string 2",
          "ContactOrder": 3,
          "AllowContact": true,
          "MarketingContactStatus": {
            "Id": 1,
            "Name": "sample string 2",
            "SystemName": "sample string 3"
          },
          "Name": "sample string 5",
          "Id": 6
        },
        "ContactName": "sample string 1",
        "FirstName": "sample string 2",
        "LastName": "sample string 3",
        "Id": 4
      },
      "DueDate": "2024-11-14T09:07:12.2390322Z",
      "Overdue": true,
      "StatusType": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "BranchId": 6,
      "Id": 7
    },
    {
      "EventId": 1,
      "Title": "sample string 2",
      "Description": "sample string 3",
      "ToDoDetails": {
        "Title": "sample string 1",
        "Description": "sample string 2",
        "Type": {
          "Id": 1,
          "Name": "sample string 2",
          "SystemName": "sample string 3"
        },
        "CompletedTasksNumber": 3,
        "TotalTasksNumber": 4,
        "Id": 5
      },
      "ClaimedNegotiator": {
        "Email": {
          "Type": {
            "Id": 1,
            "Name": "sample string 2",
            "SystemName": "sample string 3"
          },
          "Value": "sample string 1",
          "Notes": "sample string 2",
          "ContactOrder": 3,
          "AllowContact": true,
          "MarketingContactStatus": {
            "Id": 1,
            "Name": "sample string 2",
            "SystemName": "sample string 3"
          },
          "Name": "sample string 5",
          "Id": 6
        },
        "ContactName": "sample string 1",
        "FirstName": "sample string 2",
        "LastName": "sample string 3",
        "Id": 4
      },
      "DueDate": "2024-11-14T09:07:12.2390322Z",
      "Overdue": true,
      "StatusType": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "BranchId": 6,
      "Id": 7
    }
  ]
}