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": "395d6c90-3807-4409-ab44-4c8d2d1685e5",
      "Name": "sample string 2",
      "BackgroundColor": "sample string 3",
      "ForegroundColor": "sample string 4",
      "ColorType": 1
    },
    {
      "Guid": "395d6c90-3807-4409-ab44-4c8d2d1685e5",
      "Name": "sample string 2",
      "BackgroundColor": "sample string 3",
      "ForegroundColor": "sample string 4",
      "ColorType": 1
    }
  ]
}

application/octet-stream

Sample:
{"Items":[{"Guid":"395d6c90-3807-4409-ab44-4c8d2d1685e5","Name":"sample string 2","BackgroundColor":"sample string 3","ForegroundColor":"sample string 4","ColorType":1},{"Guid":"395d6c90-3807-4409-ab44-4c8d2d1685e5","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>395d6c90-3807-4409-ab44-4c8d2d1685e5</Guid>
      <Name>sample string 2</Name>
    </EventColorListItemViewModel>
    <EventColorListItemViewModel>
      <BackgroundColor>sample string 3</BackgroundColor>
      <ColorType>Primary</ColorType>
      <ForegroundColor>sample string 4</ForegroundColor>
      <Guid>395d6c90-3807-4409-ab44-4c8d2d1685e5</Guid>
      <Name>sample string 2</Name>
    </EventColorListItemViewModel>
  </Items>
</EventColorListViewModel>