GET api/Product/GetAllProducts
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of OrderLabelModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductName | string |
None. |
|
| TemplateName | string |
None. |
|
| LabelStrings | Dictionary of string [key] and string [value] |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ProductName": "sample string 1",
"TemplateName": "sample string 2",
"LabelStrings": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
}
},
{
"ProductName": "sample string 1",
"TemplateName": "sample string 2",
"LabelStrings": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
}
}
]
application/xml, text/xml
Sample:
<ArrayOfOrderLabelModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RealCoffee.Web.APIBase.Models">
<OrderLabelModel>
<LabelStrings xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:KeyValueOfstringstring>
<d3p1:Key>sample string 1</d3p1:Key>
<d3p1:Value>sample string 2</d3p1:Value>
</d3p1:KeyValueOfstringstring>
<d3p1:KeyValueOfstringstring>
<d3p1:Key>sample string 3</d3p1:Key>
<d3p1:Value>sample string 4</d3p1:Value>
</d3p1:KeyValueOfstringstring>
</LabelStrings>
<ProductName>sample string 1</ProductName>
<TemplateName>sample string 2</TemplateName>
</OrderLabelModel>
<OrderLabelModel>
<LabelStrings xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:KeyValueOfstringstring>
<d3p1:Key>sample string 1</d3p1:Key>
<d3p1:Value>sample string 2</d3p1:Value>
</d3p1:KeyValueOfstringstring>
<d3p1:KeyValueOfstringstring>
<d3p1:Key>sample string 3</d3p1:Key>
<d3p1:Value>sample string 4</d3p1:Value>
</d3p1:KeyValueOfstringstring>
</LabelStrings>
<ProductName>sample string 1</ProductName>
<TemplateName>sample string 2</TemplateName>
</OrderLabelModel>
</ArrayOfOrderLabelModel>