PUT api/todo/group/addtasks
Add task to a Group ToDo Processes this group to do API request. The parameter and response sections describe the data exchanged with the API.
Request Information
URI Parameters
None.
Body Parameters
The add group tasks command data contract supplied with the request.
AddGroupTasksCommandDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| Recipients |
The collection of recipients. |
Collection of GroupRecipientToDoCommandDataContract |
None. |
| ToDoId |
The unique identifier of the related to do resource. |
integer |
None. |
| NegotiatorsIds |
The unique identifiers of the related negotiators resources. |
Collection of integer |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
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
The response returned after the operation completes.
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version |
The version value. |
Version |
None. |
| Content |
The content value. |
HttpContent |
None. |
| StatusCode |
The status code classification. |
HttpStatusCode |
None. |
| ReasonPhrase |
The reason phrase value. |
string |
None. |
| Headers |
The collection of headers. |
Collection of Object |
None. |
| RequestMessage |
The request message value. |
HttpRequestMessage |
None. |
| IsSuccessStatusCode |
Indicates whether this item is success status code. |
boolean |
None. |