POST api/v2/UnitSales/RetrieveTrailerModels
Retrieves a list of Trailer models.
Request Information
URI Parameters
None.
Body Parameters
RetrieveModelsArgs| Name | Description | Type | Additional information |
|---|---|---|---|
| ItemIds | Collection of string |
None. |
|
| VendorId | string |
None. |
|
| LastModifiedDate | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ItemIds": [
"sample string 1",
"sample string 2"
],
"VendorId": "sample string 1",
"LastModifiedDate": "sample string 2"
}
application/xml, text/xml
Sample:
<RetrieveModelsArgs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/com.dockmaster.lib.models">
<ItemIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ItemIds>
<LastModifiedDate>sample string 2</LastModifiedDate>
<VendorId>sample string 1</VendorId>
</RetrieveModelsArgs>
Response Information
Resource Description
Collection of TrailerModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Length | string |
None. |
|
| Width | string |
None. |
|
| Weight | string |
None. |
|
| WeightCapacity | string |
None. |
|
| Materials | string |
None. |
|
| TireSize | string |
None. |
|
| AxelsBrakes | string |
None. |
|
| BallDiameter | string |
None. |
|
| PowerWinch | string |
None. |
|
| BoatFitVendor | string |
None. |
|
| BoatFitModel | string |
None. |
|
| AxelsBraked | string |
None. |
|
| BrakeType | string |
None. |
|
| ModelId | string |
None. |
|
| VendorName | string |
None. |
|
| ModelNumber | string |
None. |
|
| Year | string |
None. |
|
| Desc | string |
None. |
|
| UnitCost | decimal number |
None. |
|
| FreightCost | decimal number |
None. |
|
| PrepCost | decimal number |
None. |
|
| Riggingcost | decimal number |
None. |
|
| Pack | decimal number |
None. |
|
| ListPrice | decimal number |
None. |
|
| Price1 | decimal number |
None. |
|
| Price2 | decimal number |
None. |
|
| Price3 | decimal number |
None. |
|
| Price4 | decimal number |
None. |
|
| Price5 | decimal number |
None. |
|
| ModelType | string |
None. |
|
| Options | Collection of ModelOption |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Length": "sample string 1",
"Width": "sample string 2",
"Weight": "sample string 3",
"WeightCapacity": "sample string 4",
"Materials": "sample string 5",
"TireSize": "sample string 6",
"AxelsBrakes": "sample string 7",
"BallDiameter": "sample string 8",
"PowerWinch": "sample string 9",
"BoatFitVendor": "sample string 10",
"BoatFitModel": "sample string 11",
"AxelsBraked": "sample string 12",
"BrakeType": "sample string 13",
"ModelId": "sample string 14",
"VendorName": "sample string 15",
"ModelNumber": "sample string 16",
"Year": "sample string 17",
"Desc": "sample string 18",
"UnitCost": 19.0,
"FreightCost": 20.0,
"PrepCost": 21.0,
"Riggingcost": 22.0,
"Pack": 23.0,
"ListPrice": 24.0,
"Price1": 25.0,
"Price2": 26.0,
"Price3": 27.0,
"Price4": 28.0,
"Price5": 29.0,
"ModelType": "sample string 30",
"Options": [
{
"OptionCode": "sample string 1",
"Desc": "sample string 2",
"Price": "sample string 3",
"GroupCode": "sample string 4",
"ModelType": "sample string 5",
"ModelId": "sample string 6",
"ModelCount": "sample string 7"
},
{
"OptionCode": "sample string 1",
"Desc": "sample string 2",
"Price": "sample string 3",
"GroupCode": "sample string 4",
"ModelType": "sample string 5",
"ModelId": "sample string 6",
"ModelCount": "sample string 7"
}
]
},
{
"Length": "sample string 1",
"Width": "sample string 2",
"Weight": "sample string 3",
"WeightCapacity": "sample string 4",
"Materials": "sample string 5",
"TireSize": "sample string 6",
"AxelsBrakes": "sample string 7",
"BallDiameter": "sample string 8",
"PowerWinch": "sample string 9",
"BoatFitVendor": "sample string 10",
"BoatFitModel": "sample string 11",
"AxelsBraked": "sample string 12",
"BrakeType": "sample string 13",
"ModelId": "sample string 14",
"VendorName": "sample string 15",
"ModelNumber": "sample string 16",
"Year": "sample string 17",
"Desc": "sample string 18",
"UnitCost": 19.0,
"FreightCost": 20.0,
"PrepCost": 21.0,
"Riggingcost": 22.0,
"Pack": 23.0,
"ListPrice": 24.0,
"Price1": 25.0,
"Price2": 26.0,
"Price3": 27.0,
"Price4": 28.0,
"Price5": 29.0,
"ModelType": "sample string 30",
"Options": [
{
"OptionCode": "sample string 1",
"Desc": "sample string 2",
"Price": "sample string 3",
"GroupCode": "sample string 4",
"ModelType": "sample string 5",
"ModelId": "sample string 6",
"ModelCount": "sample string 7"
},
{
"OptionCode": "sample string 1",
"Desc": "sample string 2",
"Price": "sample string 3",
"GroupCode": "sample string 4",
"ModelType": "sample string 5",
"ModelId": "sample string 6",
"ModelCount": "sample string 7"
}
]
}
]
application/xml, text/xml
Sample:
<ArrayOfTrailerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/com.dockmaster.lib.models">
<TrailerModel>
<Desc>sample string 18</Desc>
<FreightCost>20</FreightCost>
<ListPrice>24</ListPrice>
<ModelId>sample string 14</ModelId>
<ModelNumber>sample string 16</ModelNumber>
<ModelType>sample string 30</ModelType>
<Options>
<ModelOption>
<Desc>sample string 2</Desc>
<GroupCode>sample string 4</GroupCode>
<ModelCount>sample string 7</ModelCount>
<ModelId>sample string 6</ModelId>
<ModelType>sample string 5</ModelType>
<OptionCode>sample string 1</OptionCode>
<Price>sample string 3</Price>
</ModelOption>
<ModelOption>
<Desc>sample string 2</Desc>
<GroupCode>sample string 4</GroupCode>
<ModelCount>sample string 7</ModelCount>
<ModelId>sample string 6</ModelId>
<ModelType>sample string 5</ModelType>
<OptionCode>sample string 1</OptionCode>
<Price>sample string 3</Price>
</ModelOption>
</Options>
<Pack>23</Pack>
<PrepCost>21</PrepCost>
<Price1>25</Price1>
<Price2>26</Price2>
<Price3>27</Price3>
<Price4>28</Price4>
<Price5>29</Price5>
<Riggingcost>22</Riggingcost>
<UnitCost>19</UnitCost>
<VendorName>sample string 15</VendorName>
<Year>sample string 17</Year>
<AxelsBraked>sample string 12</AxelsBraked>
<AxelsBrakes>sample string 7</AxelsBrakes>
<BallDiameter>sample string 8</BallDiameter>
<BoatFitModel>sample string 11</BoatFitModel>
<BoatFitVendor>sample string 10</BoatFitVendor>
<BrakeType>sample string 13</BrakeType>
<Length>sample string 1</Length>
<Materials>sample string 5</Materials>
<PowerWinch>sample string 9</PowerWinch>
<TireSize>sample string 6</TireSize>
<Weight>sample string 3</Weight>
<WeightCapacity>sample string 4</WeightCapacity>
<Width>sample string 2</Width>
</TrailerModel>
<TrailerModel>
<Desc>sample string 18</Desc>
<FreightCost>20</FreightCost>
<ListPrice>24</ListPrice>
<ModelId>sample string 14</ModelId>
<ModelNumber>sample string 16</ModelNumber>
<ModelType>sample string 30</ModelType>
<Options>
<ModelOption>
<Desc>sample string 2</Desc>
<GroupCode>sample string 4</GroupCode>
<ModelCount>sample string 7</ModelCount>
<ModelId>sample string 6</ModelId>
<ModelType>sample string 5</ModelType>
<OptionCode>sample string 1</OptionCode>
<Price>sample string 3</Price>
</ModelOption>
<ModelOption>
<Desc>sample string 2</Desc>
<GroupCode>sample string 4</GroupCode>
<ModelCount>sample string 7</ModelCount>
<ModelId>sample string 6</ModelId>
<ModelType>sample string 5</ModelType>
<OptionCode>sample string 1</OptionCode>
<Price>sample string 3</Price>
</ModelOption>
</Options>
<Pack>23</Pack>
<PrepCost>21</PrepCost>
<Price1>25</Price1>
<Price2>26</Price2>
<Price3>27</Price3>
<Price4>28</Price4>
<Price5>29</Price5>
<Riggingcost>22</Riggingcost>
<UnitCost>19</UnitCost>
<VendorName>sample string 15</VendorName>
<Year>sample string 17</Year>
<AxelsBraked>sample string 12</AxelsBraked>
<AxelsBrakes>sample string 7</AxelsBrakes>
<BallDiameter>sample string 8</BallDiameter>
<BoatFitModel>sample string 11</BoatFitModel>
<BoatFitVendor>sample string 10</BoatFitVendor>
<BrakeType>sample string 13</BrakeType>
<Length>sample string 1</Length>
<Materials>sample string 5</Materials>
<PowerWinch>sample string 9</PowerWinch>
<TireSize>sample string 6</TireSize>
<Weight>sample string 3</Weight>
<WeightCapacity>sample string 4</WeightCapacity>
<Width>sample string 2</Width>
</TrailerModel>
</ArrayOfTrailerModel>