POST api/st/ProjectComponents?pid={pid}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| pid | integer |
Required |
Body Parameters
Collection of T_OMS_ProjectComponents| Name | Description | Type | Additional information |
|---|---|---|---|
| PrjCompId | integer |
None. |
|
| CompName | string |
None. |
|
| ProjectID | integer |
None. |
|
| CompId | integer |
None. |
|
| Details | string |
None. |
|
| FromCh | decimal number |
None. |
|
| ToCh | decimal number |
None. |
|
| IsActive | boolean |
None. |
|
| PC_OrderID | integer |
None. |
|
| LagDays | integer |
None. |
|
| Cid | integer |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"PrjCompId": 1,
"CompName": "sample string 2",
"ProjectID": 3,
"CompId": 4,
"Details": "sample string 5",
"FromCh": 6.0,
"ToCh": 7.0,
"IsActive": true,
"PC_OrderID": 9,
"LagDays": 10,
"Cid": 11
},
{
"PrjCompId": 1,
"CompName": "sample string 2",
"ProjectID": 3,
"CompId": 4,
"Details": "sample string 5",
"FromCh": 6.0,
"ToCh": 7.0,
"IsActive": true,
"PC_OrderID": 9,
"LagDays": 10,
"Cid": 11
}
]
application/xml, text/xml
Sample:
<ArrayOfT_OMS_ProjectComponents xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Login.Controllers.OMS">
<T_OMS_ProjectComponents>
<Cid>11</Cid>
<CompId>4</CompId>
<CompName>sample string 2</CompName>
<Details>sample string 5</Details>
<FromCh>6</FromCh>
<IsActive>true</IsActive>
<LagDays>10</LagDays>
<PC_OrderID>9</PC_OrderID>
<PrjCompId>1</PrjCompId>
<ProjectID>3</ProjectID>
<ToCh>7</ToCh>
</T_OMS_ProjectComponents>
<T_OMS_ProjectComponents>
<Cid>11</Cid>
<CompId>4</CompId>
<CompName>sample string 2</CompName>
<Details>sample string 5</Details>
<FromCh>6</FromCh>
<IsActive>true</IsActive>
<LagDays>10</LagDays>
<PC_OrderID>9</PC_OrderID>
<PrjCompId>1</PrjCompId>
<ProjectID>3</ProjectID>
<ToCh>7</ToCh>
</T_OMS_ProjectComponents>
</ArrayOfT_OMS_ProjectComponents>
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. |