PUT api/todo/group/addtasks

Add task to a Group ToDo

Request Information

URI Parameters

None.

Body Parameters

Dezrez.Core.DataContracts.External.Api.ToDo.Command.Task.AddGroupTasksCommandDataContract
NameDescriptionTypeAdditional information
Recipients

Collection of Dezrez.Core.DataContracts.External.Api.ToDo.Command.GroupRecipientToDoCommandDataContract

None.

ToDoId

integer

None.

NegotiatorsIds

Collection of integer

None.

Request Formats

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 'AddGroupTasksCommandDataContract'.

application/json, text/json

Sample:
{
  "Recipients": [
    {
      "GroupId": 1,
      "PersonIds": [
        1,
        2
      ]
    },
    {
      "GroupId": 1,
      "PersonIds": [
        1,
        2
      ]
    }
  ],
  "ToDoId": 1,
  "NegotiatorsIds": [
    1,
    2
  ]
}

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.