POST SangHRMS/PostSubTask
Request Information
URI Parameters
None.
Body Parameters
ProjectSubTaskName | Description | Type | Additional information |
---|---|---|---|
StartDate | string |
None. |
|
CutOffDate | string |
None. |
|
iProject | integer |
None. |
|
iUser | integer |
None. |
|
Details | Collection of SubTask |
None. |
Request Formats
application/json, text/json
Sample:
{ "StartDate": "sample string 1", "CutOffDate": "sample string 2", "iProject": 3, "iUser": 4, "Details": [ { "iId": 1, "TaskName": "sample string 2", "Days": 3, "StartDate": "sample string 4", "CutOffDate": "sample string 5", "sProgress": "sample string 6" }, { "iId": 1, "TaskName": "sample string 2", "Days": 3, "StartDate": "sample string 4", "CutOffDate": "sample string 5", "sProgress": "sample string 6" } ] }
application/xml, text/xml
Sample:
<ProjectSubTask xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SangHRMS.Models"> <CutOffDate>sample string 2</CutOffDate> <Details> <SubTask> <CutOffDate>sample string 5</CutOffDate> <Days>3</Days> <StartDate>sample string 4</StartDate> <TaskName>sample string 2</TaskName> <iId>1</iId> <sProgress>sample string 6</sProgress> </SubTask> <SubTask> <CutOffDate>sample string 5</CutOffDate> <Days>3</Days> <StartDate>sample string 4</StartDate> <TaskName>sample string 2</TaskName> <iId>1</iId> <sProgress>sample string 6</sProgress> </SubTask> </Details> <StartDate>sample string 1</StartDate> <iProject>3</iProject> <iUser>4</iUser> </ProjectSubTask>
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. |