POST api/v2/UnitSales/RetrieveMotorModels
Retrieves a list of Motor 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 MotorModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ElectricStart | string |
None. |
|
| PowerTrim | string |
None. |
|
| PowerType | string |
None. |
|
| ShaftLength | string |
None. |
|
| HorsePowerRating | string |
None. |
|
| Carburetion | string |
None. |
|
| Strokes | string |
None. |
|
| Weight | 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:
[
{
"ElectricStart": "sample string 1",
"PowerTrim": "sample string 2",
"PowerType": "sample string 3",
"ShaftLength": "sample string 4",
"HorsePowerRating": "sample string 5",
"Carburetion": "sample string 6",
"Strokes": "sample string 7",
"Weight": "sample string 8",
"ModelId": "sample string 9",
"VendorName": "sample string 10",
"ModelNumber": "sample string 11",
"Year": "sample string 12",
"Desc": "sample string 13",
"UnitCost": 14.0,
"FreightCost": 15.0,
"PrepCost": 16.0,
"Riggingcost": 17.0,
"Pack": 18.0,
"ListPrice": 19.0,
"Price1": 20.0,
"Price2": 21.0,
"Price3": 22.0,
"Price4": 23.0,
"Price5": 24.0,
"ModelType": "sample string 25",
"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"
}
]
},
{
"ElectricStart": "sample string 1",
"PowerTrim": "sample string 2",
"PowerType": "sample string 3",
"ShaftLength": "sample string 4",
"HorsePowerRating": "sample string 5",
"Carburetion": "sample string 6",
"Strokes": "sample string 7",
"Weight": "sample string 8",
"ModelId": "sample string 9",
"VendorName": "sample string 10",
"ModelNumber": "sample string 11",
"Year": "sample string 12",
"Desc": "sample string 13",
"UnitCost": 14.0,
"FreightCost": 15.0,
"PrepCost": 16.0,
"Riggingcost": 17.0,
"Pack": 18.0,
"ListPrice": 19.0,
"Price1": 20.0,
"Price2": 21.0,
"Price3": 22.0,
"Price4": 23.0,
"Price5": 24.0,
"ModelType": "sample string 25",
"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:
<ArrayOfMotorModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/com.dockmaster.lib.models">
<MotorModel>
<Desc>sample string 13</Desc>
<FreightCost>15</FreightCost>
<ListPrice>19</ListPrice>
<ModelId>sample string 9</ModelId>
<ModelNumber>sample string 11</ModelNumber>
<ModelType>sample string 25</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>18</Pack>
<PrepCost>16</PrepCost>
<Price1>20</Price1>
<Price2>21</Price2>
<Price3>22</Price3>
<Price4>23</Price4>
<Price5>24</Price5>
<Riggingcost>17</Riggingcost>
<UnitCost>14</UnitCost>
<VendorName>sample string 10</VendorName>
<Year>sample string 12</Year>
<Carburetion>sample string 6</Carburetion>
<ElectricStart>sample string 1</ElectricStart>
<HorsePowerRating>sample string 5</HorsePowerRating>
<PowerTrim>sample string 2</PowerTrim>
<PowerType>sample string 3</PowerType>
<ShaftLength>sample string 4</ShaftLength>
<Strokes>sample string 7</Strokes>
<Weight>sample string 8</Weight>
</MotorModel>
<MotorModel>
<Desc>sample string 13</Desc>
<FreightCost>15</FreightCost>
<ListPrice>19</ListPrice>
<ModelId>sample string 9</ModelId>
<ModelNumber>sample string 11</ModelNumber>
<ModelType>sample string 25</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>18</Pack>
<PrepCost>16</PrepCost>
<Price1>20</Price1>
<Price2>21</Price2>
<Price3>22</Price3>
<Price4>23</Price4>
<Price5>24</Price5>
<Riggingcost>17</Riggingcost>
<UnitCost>14</UnitCost>
<VendorName>sample string 10</VendorName>
<Year>sample string 12</Year>
<Carburetion>sample string 6</Carburetion>
<ElectricStart>sample string 1</ElectricStart>
<HorsePowerRating>sample string 5</HorsePowerRating>
<PowerTrim>sample string 2</PowerTrim>
<PowerType>sample string 3</PowerType>
<ShaftLength>sample string 4</ShaftLength>
<Strokes>sample string 7</Strokes>
<Weight>sample string 8</Weight>
</MotorModel>
</ArrayOfMotorModel>