POST api/Solutions/SetSelectedSolution

Request Information

URI Parameters

None.

Body Parameters

SelectedSolutionInfoBindingModel
NameDescriptionTypeAdditional information
depth

decimal number

None.

plies

integer

None.

productId

integer

None.

spacing

decimal number

None.

isPlank

boolean

None.

isAlternateProductSuggestionsOn

boolean

None.

postResponseData

PostResponseDataSDO

None.

Request Formats

application/json, text/json, text/html

Sample:
{
  "depth": 1.1,
  "plies": 2,
  "productId": 3,
  "spacing": 4.1,
  "isPlank": true,
  "isAlternateProductSuggestionsOn": true,
  "postResponseData": {
    "IsPostResponseDataObject": 1,
    "FileHash": "sample string 1",
    "ApplicationData": null,
    "MemberData": null
  }
}

application/xml, text/xml

Sample:
<SelectedSolutionInfoBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iLevel.Vitruvius.VitruviusPubLib.BindingModels.Solutions">
  <depth>1.1</depth>
  <isAlternateProductSuggestionsOn>true</isAlternateProductSuggestionsOn>
  <isPlank>true</isPlank>
  <plies>2</plies>
  <postResponseData xmlns:d2p1="http://schemas.datacontract.org/2004/07/iLevel.Vitruvius.VitruviusPubLib">
    <d2p1:_ApplicationData i:nil="true" />
    <d2p1:_FileHash>sample string 1</d2p1:_FileHash>
    <d2p1:_MemberData i:nil="true" />
  </postResponseData>
  <productId>3</productId>
  <spacing>4.1</spacing>
</SelectedSolutionInfoBindingModel>

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.