GET v1/EventColor/List?EventGuid={EventGuid}&Skip={Skip}&Take={Take}&SearchString={SearchString}&SortDirection={SortDirection}&SortName={SortName}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| EventGuid | globally unique identifier |
None. |
|
| Skip | integer |
None. |
|
| Take | integer |
None. |
|
| SearchString | string |
None. |
|
| SortDirection | SortDirection |
None. |
|
| SortName | ListSortName |
None. |
Body Parameters
None.
Response Information
Resource Description
EventColorListViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Items | Collection of EventColorListItemViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"Items": [
{
"Guid": "053a2c0e-2b57-4fcc-ae20-f70ad37a44da",
"Name": "sample string 2",
"BackgroundColor": "sample string 3",
"ForegroundColor": "sample string 4",
"ColorType": 1
},
{
"Guid": "053a2c0e-2b57-4fcc-ae20-f70ad37a44da",
"Name": "sample string 2",
"BackgroundColor": "sample string 3",
"ForegroundColor": "sample string 4",
"ColorType": 1
}
]
}
application/octet-stream
Sample:
{"Items":[{"Guid":"053a2c0e-2b57-4fcc-ae20-f70ad37a44da","Name":"sample string 2","BackgroundColor":"sample string 3","ForegroundColor":"sample string 4","ColorType":1},{"Guid":"053a2c0e-2b57-4fcc-ae20-f70ad37a44da","Name":"sample string 2","BackgroundColor":"sample string 3","ForegroundColor":"sample string 4","ColorType":1}]}
application/xml, text/xml
Sample:
<EventColorListViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.List">
<Items>
<EventColorListItemViewModel>
<BackgroundColor>sample string 3</BackgroundColor>
<ColorType>Primary</ColorType>
<ForegroundColor>sample string 4</ForegroundColor>
<Guid>053a2c0e-2b57-4fcc-ae20-f70ad37a44da</Guid>
<Name>sample string 2</Name>
</EventColorListItemViewModel>
<EventColorListItemViewModel>
<BackgroundColor>sample string 3</BackgroundColor>
<ColorType>Primary</ColorType>
<ForegroundColor>sample string 4</ForegroundColor>
<Guid>053a2c0e-2b57-4fcc-ae20-f70ad37a44da</Guid>
<Name>sample string 2</Name>
</EventColorListItemViewModel>
</Items>
</EventColorListViewModel>