POST api/NLC/level2up?server={server}&proid={proid}&user={user}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| server | string |
Required |
|
| proid | string |
Required |
|
| user | string |
Required |
Body Parameters
mailevel2| Name | Description | Type | Additional information |
|---|---|---|---|
| boq | Collection of level2upload |
None. |
Request Formats
application/json, text/json
Sample:
{
"boq": [
{
"LevelOneName": "sample string 1",
"LevelTwoName": "sample string 2",
"LevelTwoCode": "sample string 3"
},
{
"LevelOneName": "sample string 1",
"LevelTwoName": "sample string 2",
"LevelTwoCode": "sample string 3"
}
]
}
text/html
Sample:
{"boq":[{"LevelOneName":"sample string 1","LevelTwoName":"sample string 2","LevelTwoCode":"sample string 3"},{"LevelOneName":"sample string 1","LevelTwoName":"sample string 2","LevelTwoCode":"sample string 3"}]}
application/xml, text/xml
Sample:
<mailevel2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DPRAPI.Models">
<boq>
<level2upload>
<LevelOneName>sample string 1</LevelOneName>
<LevelTwoCode>sample string 3</LevelTwoCode>
<LevelTwoName>sample string 2</LevelTwoName>
</level2upload>
<level2upload>
<LevelOneName>sample string 1</LevelOneName>
<LevelTwoCode>sample string 3</LevelTwoCode>
<LevelTwoName>sample string 2</LevelTwoName>
</level2upload>
</boq>
</mailevel2>
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. |