POST api/todo/property/savetodo

Save or Updates a Property ToDo and and its tasks

Request Information

URI Parameters

None.

Body Parameters

A wrapper for the todo save data and the various data contracts needed. You can update the following parameters: Title, Description, Negotiators.

Dezrez.Core.DataContracts.External.Api.ToDo.Command.SavePropertyToDoCommandDataContract
NameDescriptionTypeAdditional information
PropertyMarketingRoleId

Collection of integer

None.

Id

integer

None.

ToDoOwner

integer

None.

Interval

Dezrez.Core.DataContracts.External.Api.System.EnumDataContract

None.

ScheduleType

Dezrez.Core.DataContracts.External.Api.System.EnumDataContract

None.

DueDate

date

None.

Title

string

None.

Description

string

None.

Priority

Dezrez.Core.DataContracts.External.Api.System.EnumDataContract

None.

NegotiatorIds

Collection of integer

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "PropertyMarketingRoleId": [
    1,
    2
  ],
  "Id": 1,
  "ToDoOwner": 1,
  "Interval": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "ScheduleType": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "DueDate": "2024-11-21T09:37:27.9522525Z",
  "Title": "sample string 3",
  "Description": "sample string 4",
  "Priority": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "NegotiatorIds": [
    1,
    2
  ]
}

Response Information

Resource Description

Dezrez.Core.DataContracts.External.Api.ToDo.Query.ActiveToDoDataContract
NameDescriptionTypeAdditional information
ToDoOwner

Dezrez.Core.DataContracts.External.Api.ToDo.Query.NegotiatorTodoDataContract

None.

Interval

Dezrez.Core.DataContracts.External.Api.System.EnumDataContract

None.

Title

string

None.

Description

string

None.

Priority

Dezrez.Core.DataContracts.External.Api.System.EnumDataContract

None.

Negotiators

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

None.

Tasks

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

None.

ToDoType

Dezrez.Core.DataContracts.External.Api.System.EnumDataContract

None.

SuggestedSchedule

Dezrez.Core.DataContracts.External.Api.System.EnumDataContract

None.

EventType

Dezrez.Core.DataContracts.External.Api.System.EnumDataContract

None.

Id

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "ToDoOwner": {
    "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
  },
  "Interval": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "Title": "sample string 1",
  "Description": "sample string 2",
  "Priority": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "Negotiators": [
    {
      "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
    },
    {
      "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
    }
  ],
  "Tasks": [
    {
      "Id": 1,
      "DueDate": "2024-11-21T09:37:27.9678815Z",
      "StatusType": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "ScheduleType": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "Event": {
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DateTime": "2024-11-21T09:37:27.9678815Z",
        "EventCategory": {
          "Id": 1,
          "Name": "sample string 2",
          "SystemName": "sample string 3"
        },
        "EventType": {
          "Id": 1,
          "Name": "sample string 2",
          "SystemName": "sample string 3"
        },
        "EventStatus": {
          "Id": 1,
          "Name": "sample string 2",
          "SystemName": "sample string 3"
        },
        "Id": 4
      },
      "TeamIds": [
        1,
        2
      ],
      "SearchTerms": [
        "sample string 1",
        "sample string 2"
      ]
    },
    {
      "Id": 1,
      "DueDate": "2024-11-21T09:37:27.9678815Z",
      "StatusType": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "ScheduleType": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "Event": {
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DateTime": "2024-11-21T09:37:27.9678815Z",
        "EventCategory": {
          "Id": 1,
          "Name": "sample string 2",
          "SystemName": "sample string 3"
        },
        "EventType": {
          "Id": 1,
          "Name": "sample string 2",
          "SystemName": "sample string 3"
        },
        "EventStatus": {
          "Id": 1,
          "Name": "sample string 2",
          "SystemName": "sample string 3"
        },
        "Id": 4
      },
      "TeamIds": [
        1,
        2
      ],
      "SearchTerms": [
        "sample string 1",
        "sample string 2"
      ]
    }
  ],
  "ToDoType": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "SuggestedSchedule": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "EventType": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "Id": 3
}