GET api/ProductVersions?ProductID={ProductID}&PermissionSet={PermissionSet}&Lang2={Lang2}
Request a list of product versions that belong to a single product
The price of a product depends on the version
For more information over ProductVersion, check: ProductVersion
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductID |
The ProductID of the Product |
integer |
Required |
| PermissionSet |
The permission set that the current login user has |
integer |
Default value is 0 |
| Lang2 |
The language in which the product versions need to be, |
string |
Default value is EN |
Body Parameters
None.
Response Information
Resource Description
A List of ProductVersion
Collection of ProductVersion| Name | Description | Type | Additional information |
|---|---|---|---|
| UniqueProductID |
Every physical or virtual product has a unique ID, the UniqueProductID. |
integer |
None. |
| Description |
Long description of this unique item |
string |
None. |
| Version |
The version of the product |
string |
None. |
| Price |
The price of this unique item |
decimal number |
None. |
| Stock |
The number of items in stock of this item |
decimal number |
None. |
| PictureGroup |
The name of the picture group related to the product details |
string |
None. |
| SortOrder |
When this class used within a list, SortOrder defines the position in the list. |
integer |
None. |
Response Formats
application/json, text/json
[
{
"UniqueProductID": 1,
"Description": "sample string 2",
"Version": "sample string 3",
"Price": 4.0,
"Stock": 5.0,
"PictureGroup": "sample string 6",
"SortOrder": 7
},
{
"UniqueProductID": 1,
"Description": "sample string 2",
"Version": "sample string 3",
"Price": 4.0,
"Stock": 5.0,
"PictureGroup": "sample string 6",
"SortOrder": 7
}
]
application/xml, text/xml
<ArrayOfProductVersion xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATRonicLayer.BO">
<ProductVersion>
<Description>sample string 2</Description>
<PictureGroup>sample string 6</PictureGroup>
<Price>4</Price>
<SortOrder>7</SortOrder>
<Stock>5</Stock>
<UniqueProductID>1</UniqueProductID>
<Version>sample string 3</Version>
</ProductVersion>
<ProductVersion>
<Description>sample string 2</Description>
<PictureGroup>sample string 6</PictureGroup>
<Price>4</Price>
<SortOrder>7</SortOrder>
<Stock>5</Stock>
<UniqueProductID>1</UniqueProductID>
<Version>sample string 3</Version>
</ProductVersion>
</ArrayOfProductVersion>