GET v2/OptionGroups?SiteID={SiteID}
V2 Version of Option Groups
Request Information
URI Parameters
| Name | Type | Description | Additional information |
|---|---|---|---|
| SiteID | integer | ||
| version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of OptionGroupDto| Name | Type | Description | Additional information |
|---|---|---|---|
| OptionGroupID | integer |
None. |
|
| SiteID | integer |
None. |
|
| Name | string |
None. |
|
| MinOptionCount | integer |
None. |
|
| MaxOptionCount | integer |
None. |
|
| PromptForQuantity | boolean |
None. |
|
| Order | integer |
None. |
|
| Active | boolean |
None. |
|
| OptionItems | Collection of OptionItemsDto |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"OptionGroupID": 1,
"SiteID": 2,
"Name": "sample string 3",
"MinOptionCount": 4,
"MaxOptionCount": 5,
"PromptForQuantity": true,
"Order": 7,
"Active": true,
"OptionItems": [
{
"OptionItemID": 1,
"SiteID": 2,
"OptionGroupID": 3,
"Name": "sample string 4",
"ProductID": 5,
"MeasureID": 6,
"Active": true,
"Prices": [
{
"PriceGroupID": 1,
"GrossPrice": 2.0
},
{
"PriceGroupID": 1,
"GrossPrice": 2.0
}
]
},
{
"OptionItemID": 1,
"SiteID": 2,
"OptionGroupID": 3,
"Name": "sample string 4",
"ProductID": 5,
"MeasureID": 6,
"Active": true,
"Prices": [
{
"PriceGroupID": 1,
"GrossPrice": 2.0
},
{
"PriceGroupID": 1,
"GrossPrice": 2.0
}
]
}
]
},
{
"OptionGroupID": 1,
"SiteID": 2,
"Name": "sample string 3",
"MinOptionCount": 4,
"MaxOptionCount": 5,
"PromptForQuantity": true,
"Order": 7,
"Active": true,
"OptionItems": [
{
"OptionItemID": 1,
"SiteID": 2,
"OptionGroupID": 3,
"Name": "sample string 4",
"ProductID": 5,
"MeasureID": 6,
"Active": true,
"Prices": [
{
"PriceGroupID": 1,
"GrossPrice": 2.0
},
{
"PriceGroupID": 1,
"GrossPrice": 2.0
}
]
},
{
"OptionItemID": 1,
"SiteID": 2,
"OptionGroupID": 3,
"Name": "sample string 4",
"ProductID": 5,
"MeasureID": 6,
"Active": true,
"Prices": [
{
"PriceGroupID": 1,
"GrossPrice": 2.0
},
{
"PriceGroupID": 1,
"GrossPrice": 2.0
}
]
}
]
}
]
application/xml, text/xml
Sample:
System.Xml.XmlDocument