POST api/todo/event/savetodo

Request Information

URI Parameters

None.

Body Parameters

SaveEventToDoCommandDataContract
NameDescriptionTypeAdditional information
EventIds

Collection of integer

None.

EventType

EnumDataContract

None.

Id

integer

None.

ToDoOwner

integer

None.

Interval

EnumDataContract

None.

ScheduleType

EnumDataContract

None.

DueDate

date

None.

Title

string

None.

Description

string

None.

Priority

EnumDataContract

None.

NegotiatorIds

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "EventIds": [
    1,
    2
  ],
  "EventType": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "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": "2018-11-16T09:18:40.6406606Z",
  "Title": "sample string 3",
  "Description": "sample string 4",
  "Priority": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "NegotiatorIds": [
    1,
    2
  ]
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SaveEventToDoCommandDataContract'.

Response Information

Resource Description

ActiveToDoDataContract
NameDescriptionTypeAdditional information
ToDoOwner

NegotiatorTodoDataContract

None.

Interval

EnumDataContract

None.

Title

string

None.

Description

string

None.

Priority

EnumDataContract

None.

Negotiators

Collection of NegotiatorTodoDataContract

None.

Tasks

Collection of TaskDetailsDataContract

None.

ToDoType

EnumDataContract

None.

SuggestedSchedule

EnumDataContract

None.

EventType

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": "2018-11-16T09:18:40.6406606Z",
      "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": "2018-11-16T09:18:40.6406606Z",
        "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": "2018-11-16T09:18:40.6406606Z",
      "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": "2018-11-16T09:18:40.6406606Z",
        "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
}