GET v1/EventColor/List?EventGuid={EventGuid}&Skip={Skip}&Take={Take}&SearchString={SearchString}&SortDirection={SortDirection}&SortName={SortName}

Request Information

URI Parameters

NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional information
Items

Collection of EventColorListItemViewModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "Guid": "1c5b5276-7459-4b90-9965-c7c68601b72b",
      "Name": "sample string 2",
      "BackgroundColor": "sample string 3",
      "ForegroundColor": "sample string 4",
      "ColorType": 1
    },
    {
      "Guid": "1c5b5276-7459-4b90-9965-c7c68601b72b",
      "Name": "sample string 2",
      "BackgroundColor": "sample string 3",
      "ForegroundColor": "sample string 4",
      "ColorType": 1
    }
  ]
}

application/octet-stream

Sample:
{"Items":[{"Guid":"1c5b5276-7459-4b90-9965-c7c68601b72b","Name":"sample string 2","BackgroundColor":"sample string 3","ForegroundColor":"sample string 4","ColorType":1},{"Guid":"1c5b5276-7459-4b90-9965-c7c68601b72b","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>1c5b5276-7459-4b90-9965-c7c68601b72b</Guid>
      <Name>sample string 2</Name>
    </EventColorListItemViewModel>
    <EventColorListItemViewModel>
      <BackgroundColor>sample string 3</BackgroundColor>
      <ColorType>Primary</ColorType>
      <ForegroundColor>sample string 4</ForegroundColor>
      <Guid>1c5b5276-7459-4b90-9965-c7c68601b72b</Guid>
      <Name>sample string 2</Name>
    </EventColorListItemViewModel>
  </Items>
</EventColorListViewModel>