POST api/tasks/post1?id={id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
taskMinName | Description | Type | Additional information |
---|---|---|---|
TaskRefNo | string |
None. |
|
TaskName | string |
None. |
|
TaskDesc | string |
None. |
|
UnitID | integer |
None. |
|
SectionID | integer |
None. |
|
Quantity | decimal number |
None. |
|
ProjectID | integer |
None. |
|
UserID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "TaskRefNo": "sample string 1", "TaskName": "sample string 2", "TaskDesc": "sample string 3", "UnitID": 4, "SectionID": 5, "Quantity": 6.1, "ProjectID": 7, "UserID": 8 }
application/xml, text/xml
Sample:
<taskMin xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Login"> <ProjectID>7</ProjectID> <Quantity>6.1</Quantity> <SectionID>5</SectionID> <TaskDesc>sample string 3</TaskDesc> <TaskName>sample string 2</TaskName> <TaskRefNo>sample string 1</TaskRefNo> <UnitID>4</UnitID> <UserID>8</UserID> </taskMin>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |