POST api/NLC/subcboqbulksave?server={server}&user={user}&proid={proid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
server

string

Required

user

string

Required

proid

string

Required

Body Parameters

mainl3
NameDescriptionTypeAdditional information
boq

Collection of level3upload

None.

Request Formats

application/json, text/json

Sample:
{
  "boq": [
    {
      "LevelTwoCode": "sample string 1",
      "LevelThreeName": "sample string 2",
      "LevelThreeCode": "sample string 3",
      "ProjectSubActivity": "sample string 4",
      "LocationStatus": "sample string 5",
      "ApprovedByClient": "sample string 6"
    },
    {
      "LevelTwoCode": "sample string 1",
      "LevelThreeName": "sample string 2",
      "LevelThreeCode": "sample string 3",
      "ProjectSubActivity": "sample string 4",
      "LocationStatus": "sample string 5",
      "ApprovedByClient": "sample string 6"
    }
  ]
}

text/html

Sample:
{"boq":[{"LevelTwoCode":"sample string 1","LevelThreeName":"sample string 2","LevelThreeCode":"sample string 3","ProjectSubActivity":"sample string 4","LocationStatus":"sample string 5","ApprovedByClient":"sample string 6"},{"LevelTwoCode":"sample string 1","LevelThreeName":"sample string 2","LevelThreeCode":"sample string 3","ProjectSubActivity":"sample string 4","LocationStatus":"sample string 5","ApprovedByClient":"sample string 6"}]}

application/xml, text/xml

Sample:
<mainl3 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DPRAPI.Models">
  <boq>
    <level3upload>
      <ApprovedByClient>sample string 6</ApprovedByClient>
      <LevelThreeCode>sample string 3</LevelThreeCode>
      <LevelThreeName>sample string 2</LevelThreeName>
      <LevelTwoCode>sample string 1</LevelTwoCode>
      <LocationStatus>sample string 5</LocationStatus>
      <ProjectSubActivity>sample string 4</ProjectSubActivity>
    </level3upload>
    <level3upload>
      <ApprovedByClient>sample string 6</ApprovedByClient>
      <LevelThreeCode>sample string 3</LevelThreeCode>
      <LevelThreeName>sample string 2</LevelThreeName>
      <LevelTwoCode>sample string 1</LevelTwoCode>
      <LocationStatus>sample string 5</LocationStatus>
      <ProjectSubActivity>sample string 4</ProjectSubActivity>
    </level3upload>
  </boq>
</mainl3>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'mainl3'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.