GET api/main/GetColor?groupId={groupId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| groupId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Colors| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Colorcode | string |
None. |
|
| Colorname | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Colorcode": "sample string 2",
"Colorname": "sample string 3"
},
{
"Id": 1,
"Colorcode": "sample string 2",
"Colorname": "sample string 3"
}
]
application/xml, text/xml
Sample:
<ArrayOfmaincls.Colors xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/mobinstore_api.Models">
<maincls.Colors>
<Colorcode>sample string 2</Colorcode>
<Colorname>sample string 3</Colorname>
<Id>1</Id>
</maincls.Colors>
<maincls.Colors>
<Colorcode>sample string 2</Colorcode>
<Colorname>sample string 3</Colorname>
<Id>1</Id>
</maincls.Colors>
</ArrayOfmaincls.Colors>