POST api/v2/UnitSales/RetrieveOtherModels
Retrieves a list of Other 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 OtherModel| Name | Description | Type | Additional information |
|---|---|---|---|
| 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:
[
{
"ModelId": "sample string 1",
"VendorName": "sample string 2",
"ModelNumber": "sample string 3",
"Year": "sample string 4",
"Desc": "sample string 5",
"UnitCost": 6.0,
"FreightCost": 7.0,
"PrepCost": 8.0,
"Riggingcost": 9.0,
"Pack": 10.0,
"ListPrice": 11.0,
"Price1": 12.0,
"Price2": 13.0,
"Price3": 14.0,
"Price4": 15.0,
"Price5": 16.0,
"ModelType": "sample string 17",
"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"
}
]
},
{
"ModelId": "sample string 1",
"VendorName": "sample string 2",
"ModelNumber": "sample string 3",
"Year": "sample string 4",
"Desc": "sample string 5",
"UnitCost": 6.0,
"FreightCost": 7.0,
"PrepCost": 8.0,
"Riggingcost": 9.0,
"Pack": 10.0,
"ListPrice": 11.0,
"Price1": 12.0,
"Price2": 13.0,
"Price3": 14.0,
"Price4": 15.0,
"Price5": 16.0,
"ModelType": "sample string 17",
"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:
<ArrayOfOtherModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/com.dockmaster.lib.models">
<OtherModel>
<Desc>sample string 5</Desc>
<FreightCost>7</FreightCost>
<ListPrice>11</ListPrice>
<ModelId>sample string 1</ModelId>
<ModelNumber>sample string 3</ModelNumber>
<ModelType>sample string 17</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>10</Pack>
<PrepCost>8</PrepCost>
<Price1>12</Price1>
<Price2>13</Price2>
<Price3>14</Price3>
<Price4>15</Price4>
<Price5>16</Price5>
<Riggingcost>9</Riggingcost>
<UnitCost>6</UnitCost>
<VendorName>sample string 2</VendorName>
<Year>sample string 4</Year>
</OtherModel>
<OtherModel>
<Desc>sample string 5</Desc>
<FreightCost>7</FreightCost>
<ListPrice>11</ListPrice>
<ModelId>sample string 1</ModelId>
<ModelNumber>sample string 3</ModelNumber>
<ModelType>sample string 17</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>10</Pack>
<PrepCost>8</PrepCost>
<Price1>12</Price1>
<Price2>13</Price2>
<Price3>14</Price3>
<Price4>15</Price4>
<Price5>16</Price5>
<Riggingcost>9</Riggingcost>
<UnitCost>6</UnitCost>
<VendorName>sample string 2</VendorName>
<Year>sample string 4</Year>
</OtherModel>
</ArrayOfOtherModel>