POST api/v2/products/bestfitstonesbydimensions
Returns best fit stones available to set by the requested mounting location dimensions.v
Request Information
URI Parameters
None.
Body Parameters
BestFitStonesByDimensionsRequestName | Description | Type | Additional information |
---|---|---|---|
Filters | Collection of BestFitStonesByDimensionsFilter |
None. |
|
Locations | Collection of LocationDimensions |
None. |
Request Formats
Sample:
{ "Filters": [ { "StoneFamily": "sample string 1", "Categories": [ "sample string 1", "sample string 2" ], "Color": "sample string 2", "Quality": "sample string 3", "IncludeBomActiveStones": true }, { "StoneFamily": "sample string 1", "Categories": [ "sample string 1", "sample string 2" ], "Color": "sample string 2", "Quality": "sample string 3", "IncludeBomActiveStones": true } ], "Locations": [ { "LocationNumber": 1, "Dimension1": 2.0, "Dimension2": 3.0, "Dimension3": 4.0, "Shape": "sample string 5", "SettingType": "sample string 6" }, { "LocationNumber": 1, "Dimension1": 2.0, "Dimension2": 3.0, "Dimension3": 4.0, "Shape": "sample string 5", "SettingType": "sample string 6" } ] }
Sample:
<BestFitStonesByDimensionsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <Filters> <BestFitStonesByDimensionsFilter> <Categories xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Categories> <Color>sample string 2</Color> <IncludeBomActiveStones>true</IncludeBomActiveStones> <Quality>sample string 3</Quality> <StoneFamily>sample string 1</StoneFamily> </BestFitStonesByDimensionsFilter> <BestFitStonesByDimensionsFilter> <Categories xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Categories> <Color>sample string 2</Color> <IncludeBomActiveStones>true</IncludeBomActiveStones> <Quality>sample string 3</Quality> <StoneFamily>sample string 1</StoneFamily> </BestFitStonesByDimensionsFilter> </Filters> <Locations> <LocationDimensions> <Dimension1>2</Dimension1> <Dimension2>3</Dimension2> <Dimension3>4</Dimension3> <LocationNumber>1</LocationNumber> <SettingType>sample string 6</SettingType> <Shape>sample string 5</Shape> </LocationDimensions> <LocationDimensions> <Dimension1>2</Dimension1> <Dimension2>3</Dimension2> <Dimension3>4</Dimension3> <LocationNumber>1</LocationNumber> <SettingType>sample string 6</SettingType> <Shape>sample string 5</Shape> </LocationDimensions> </Locations> </BestFitStonesByDimensionsRequest>
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
Sample:
Sample not available.