POST api/v1/ProductGroupLevel
Retrieve the list of product level combinations
Request Information
URI Parameters
None.
Body Parameters
Params| Name | Description | Type | Additional information |
|---|---|---|---|
| apiKey |
Please contact Caliq support to get your key |
string |
Required Max length: 30 |
Request Formats
application/json, text/json
Sample:
{
"apiKey": "sample string 1"
}
application/xml, text/xml
Sample:
<Params xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <apiKey>sample string 1</apiKey> </Params>
Response Information
Resource Description
Returns:
200 OK Returns a list of active product group combinations as XML or JSON
400 Bad Request - parameters supplied cannot be properly interpreted
401 Not Authorised if supplied api key is not valid
204 No Content if there are no matching records in Caliq
503 Service Unavailable
| Name | Description | Type | Additional information |
|---|---|---|---|
| ProdGroupLevelList | Collection of ProdGroupLevel |
None. |
Response Formats
application/json, text/json
Sample:
{
"ProdGroupLevelList": [
{
"Level1Code": "sample string 1",
"Level2Code": "sample string 2",
"Level3Code": "sample string 3",
"Level4Code": "sample string 4"
},
{
"Level1Code": "sample string 1",
"Level2Code": "sample string 2",
"Level3Code": "sample string 3",
"Level4Code": "sample string 4"
}
]
}
application/xml, text/xml
Sample:
<ProdGroupLevels xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ProdGroupLevel>
<Level1Code>sample string 1</Level1Code>
<Level2Code>sample string 2</Level2Code>
<Level3Code>sample string 3</Level3Code>
<Level4Code>sample string 4</Level4Code>
</ProdGroupLevel>
<ProdGroupLevel>
<Level1Code>sample string 1</Level1Code>
<Level2Code>sample string 2</Level2Code>
<Level3Code>sample string 3</Level3Code>
<Level4Code>sample string 4</Level4Code>
</ProdGroupLevel>
</ProdGroupLevels>