POST api/Tasks/DelegateTask
Delegate your task to other user
Request Information
URI Parameters
None.
Body Parameters
DelegateTaskDataFieldCreateModel| Name | Description | Type | Additional information |
|---|---|---|---|
| SerialNumber | string |
None. |
|
| DispatchDocId | integer |
None. |
|
| FolderID | integer |
None. |
|
| Subject | string |
None. |
|
| Comment | string |
None. |
|
| DelegatedUserEmail | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"SerialNumber": "sample string 1",
"DispatchDocId": 2,
"FolderID": 1,
"Subject": "sample string 3",
"Comment": "sample string 4",
"DelegatedUserEmail": "sample string 5"
}
application/xml, text/xml
Sample:
<DelegateTaskDataFieldCreateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GabineteDigital.Services.Models"> <Comment>sample string 4</Comment> <DelegatedUserEmail>sample string 5</DelegatedUserEmail> <DispatchDocId>2</DispatchDocId> <FolderID>1</FolderID> <SerialNumber>sample string 1</SerialNumber> <Subject>sample string 3</Subject> </DelegateTaskDataFieldCreateModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |