POST api/UOM/ConvertQuickLoadMagnitudes

Request Information

URI Parameters

None.

Body Parameters

AllMagnitudesBindingModel
NameDescriptionTypeAdditional information
UOMSetting

integer

None.

loadType

integer

None.

concentratedLiveLoad

ValueBindlingModel

None.

partitionLiveLoad

ValueBindlingModel

None.

magnitudesList

Collection of ValueBindlingModel

None.

Request Formats

application/json, text/json, text/html

Sample:
{
  "UOMSetting": 1,
  "loadType": 2,
  "concentratedLiveLoad": {
    "loadClass": 1,
    "magnitudeValue": 2.1,
    "magnitudeFriendly": "sample string 3"
  },
  "partitionLiveLoad": {
    "loadClass": 1,
    "magnitudeValue": 2.1,
    "magnitudeFriendly": "sample string 3"
  },
  "magnitudesList": [
    {
      "loadClass": 1,
      "magnitudeValue": 2.1,
      "magnitudeFriendly": "sample string 3"
    },
    {
      "loadClass": 1,
      "magnitudeValue": 2.1,
      "magnitudeFriendly": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<AllMagnitudesBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iLevel.Vitruvius.VitruviusPubLib.BindingModels.UOM">
  <UOMSetting>1</UOMSetting>
  <concentratedLiveLoad>
    <loadClass>1</loadClass>
    <magnitudeFriendly>sample string 3</magnitudeFriendly>
    <magnitudeValue>2.1</magnitudeValue>
  </concentratedLiveLoad>
  <loadType>2</loadType>
  <magnitudesList>
    <ValueBindlingModel>
      <loadClass>1</loadClass>
      <magnitudeFriendly>sample string 3</magnitudeFriendly>
      <magnitudeValue>2.1</magnitudeValue>
    </ValueBindlingModel>
    <ValueBindlingModel>
      <loadClass>1</loadClass>
      <magnitudeFriendly>sample string 3</magnitudeFriendly>
      <magnitudeValue>2.1</magnitudeValue>
    </ValueBindlingModel>
  </magnitudesList>
  <partitionLiveLoad>
    <loadClass>1</loadClass>
    <magnitudeFriendly>sample string 3</magnitudeFriendly>
    <magnitudeValue>2.1</magnitudeValue>
  </partitionLiveLoad>
</AllMagnitudesBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.