POST api/Helper/PRODUCT_VARIANT_GET_BY_PRODUCT_ID
Request Information
URI Parameters
None.
Body Parameters
ZProductVariantGetByProductIDRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductID | integer |
None. |
|
| ShopID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProductID": 1,
"ShopID": 2
}
application/xml, text/xml
Sample:
<ZProductVariantGetByProductIDRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EMS.Entity"> <ProductID>1</ProductID> <ShopID>2</ShopID> </ZProductVariantGetByProductIDRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of ZProductVariantGetByProductIDResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductID | integer |
None. |
|
| ID | integer |
None. |
|
| Options | string |
None. |
|
| Avatar | string |
None. |
|
| Price | integer |
None. |
|
| InventoryNumber | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ProductID": 1,
"ID": 2,
"Options": "sample string 3",
"Avatar": "sample string 4",
"Price": 5,
"InventoryNumber": 6
},
{
"ProductID": 1,
"ID": 2,
"Options": "sample string 3",
"Avatar": "sample string 4",
"Price": 5,
"InventoryNumber": 6
}
]
application/xml, text/xml
Sample:
<ArrayOfZProductVariantGetByProductIDResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EMS.Entity">
<ZProductVariantGetByProductIDResponse>
<Avatar>sample string 4</Avatar>
<ID>2</ID>
<InventoryNumber>6</InventoryNumber>
<Options>sample string 3</Options>
<Price>5</Price>
<ProductID>1</ProductID>
</ZProductVariantGetByProductIDResponse>
<ZProductVariantGetByProductIDResponse>
<Avatar>sample string 4</Avatar>
<ID>2</ID>
<InventoryNumber>6</InventoryNumber>
<Options>sample string 3</Options>
<Price>5</Price>
<ProductID>1</ProductID>
</ZProductVariantGetByProductIDResponse>
</ArrayOfZProductVariantGetByProductIDResponse>