POST api/NLC/surveyup?server={server}&proid={proid}&user={user}&uptype={uptype}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| server | string |
Required |
|
| proid | string |
Required |
|
| user | string |
Required |
|
| uptype | string |
Required |
Body Parameters
mainsurvey| Name | Description | Type | Additional information |
|---|---|---|---|
| survey | Collection of surveyupload |
None. |
Request Formats
application/json, text/json
Sample:
{
"survey": [
{
"LevelThreeCode": "sample string 1",
"BOQCode": "sample string 2",
"ProposedQty": "sample string 3",
"ActualQty": "sample string 4",
"ApprovedQty": "sample string 5",
"FreezedQty": "sample string 6",
"Qty": "sample string 7"
},
{
"LevelThreeCode": "sample string 1",
"BOQCode": "sample string 2",
"ProposedQty": "sample string 3",
"ActualQty": "sample string 4",
"ApprovedQty": "sample string 5",
"FreezedQty": "sample string 6",
"Qty": "sample string 7"
}
]
}
text/html
Sample:
{"survey":[{"LevelThreeCode":"sample string 1","BOQCode":"sample string 2","ProposedQty":"sample string 3","ActualQty":"sample string 4","ApprovedQty":"sample string 5","FreezedQty":"sample string 6","Qty":"sample string 7"},{"LevelThreeCode":"sample string 1","BOQCode":"sample string 2","ProposedQty":"sample string 3","ActualQty":"sample string 4","ApprovedQty":"sample string 5","FreezedQty":"sample string 6","Qty":"sample string 7"}]}
application/xml, text/xml
Sample:
<mainsurvey xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DPRAPI.Models">
<survey>
<surveyupload>
<ActualQty>sample string 4</ActualQty>
<ApprovedQty>sample string 5</ApprovedQty>
<BOQCode>sample string 2</BOQCode>
<FreezedQty>sample string 6</FreezedQty>
<LevelThreeCode>sample string 1</LevelThreeCode>
<ProposedQty>sample string 3</ProposedQty>
<Qty>sample string 7</Qty>
</surveyupload>
<surveyupload>
<ActualQty>sample string 4</ActualQty>
<ApprovedQty>sample string 5</ApprovedQty>
<BOQCode>sample string 2</BOQCode>
<FreezedQty>sample string 6</FreezedQty>
<LevelThreeCode>sample string 1</LevelThreeCode>
<ProposedQty>sample string 3</ProposedQty>
<Qty>sample string 7</Qty>
</surveyupload>
</survey>
</mainsurvey>
application/x-www-form-urlencoded
Sample:
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. |