GET api/ActivityManager/CategoryTypeOptions

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

CategoryTypeOptions
NameDescriptionTypeAdditional information
IsAdditionalFilter

boolean

None.

DefaultFilter

Collection of CategoryValue

None.

CategorySelectionLimit

integer

None.

PageSize

integer

None.

CacheDurationMins

integer

None.

SearchFieldRestriction

Collection of string

None.

CategoryTypeId

globally unique identifier

None.

Name

string

None.

ViewDay

Collection of EventField

None.

ViewWeek

Collection of EventField

None.

ViewMonth

Collection of EventField

None.

ViewAgenda

Collection of EventField

None.

ViewLanes

Collection of EventField

None.

ViewDetails

Collection of EventField

None.

ViewExcel

Collection of EventField

None.

Response Formats

application/json, text/json

Sample:
{
  "IsAdditionalFilter": true,
  "DefaultFilter": [
    {
      "Identity": "57214441-5168-41bc-b606-efaab2c9a5db",
      "Values": [
        "f85e3beb-cab5-42ee-81d0-ee465552f51b",
        "db3f792a-b37a-4c52-be86-7246c0e945f8"
      ]
    },
    {
      "Identity": "57214441-5168-41bc-b606-efaab2c9a5db",
      "Values": [
        "f85e3beb-cab5-42ee-81d0-ee465552f51b",
        "db3f792a-b37a-4c52-be86-7246c0e945f8"
      ]
    }
  ],
  "CategorySelectionLimit": 2,
  "PageSize": 3,
  "CacheDurationMins": 4,
  "SearchFieldRestriction": [
    "sample string 1",
    "sample string 2"
  ],
  "CategoryTypeId": "c8ca3cd7-d4b3-4406-9ea7-c59ef5a36e1c",
  "Name": "sample string 6",
  "ViewDay": [
    {
      "Name": "sample string 1",
      "DisplayText": "sample string 2",
      "HideDisplayText": true,
      "Icon": "sample string 4"
    },
    {
      "Name": "sample string 1",
      "DisplayText": "sample string 2",
      "HideDisplayText": true,
      "Icon": "sample string 4"
    }
  ],
  "ViewWeek": [
    {
      "Name": "sample string 1",
      "DisplayText": "sample string 2",
      "HideDisplayText": true,
      "Icon": "sample string 4"
    },
    {
      "Name": "sample string 1",
      "DisplayText": "sample string 2",
      "HideDisplayText": true,
      "Icon": "sample string 4"
    }
  ],
  "ViewMonth": [
    {
      "Name": "sample string 1",
      "DisplayText": "sample string 2",
      "HideDisplayText": true,
      "Icon": "sample string 4"
    },
    {
      "Name": "sample string 1",
      "DisplayText": "sample string 2",
      "HideDisplayText": true,
      "Icon": "sample string 4"
    }
  ],
  "ViewAgenda": [
    {
      "Name": "sample string 1",
      "DisplayText": "sample string 2",
      "HideDisplayText": true,
      "Icon": "sample string 4"
    },
    {
      "Name": "sample string 1",
      "DisplayText": "sample string 2",
      "HideDisplayText": true,
      "Icon": "sample string 4"
    }
  ],
  "ViewLanes": [
    {
      "Name": "sample string 1",
      "DisplayText": "sample string 2",
      "HideDisplayText": true,
      "Icon": "sample string 4"
    },
    {
      "Name": "sample string 1",
      "DisplayText": "sample string 2",
      "HideDisplayText": true,
      "Icon": "sample string 4"
    }
  ],
  "ViewDetails": [
    {
      "Name": "sample string 1",
      "DisplayText": "sample string 2",
      "HideDisplayText": true,
      "Icon": "sample string 4"
    },
    {
      "Name": "sample string 1",
      "DisplayText": "sample string 2",
      "HideDisplayText": true,
      "Icon": "sample string 4"
    }
  ],
  "ViewExcel": [
    {
      "Name": "sample string 1",
      "DisplayText": "sample string 2",
      "HideDisplayText": true,
      "Icon": "sample string 4"
    },
    {
      "Name": "sample string 1",
      "DisplayText": "sample string 2",
      "HideDisplayText": true,
      "Icon": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<CategoryTypeOptions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model">
  <CategoryTypeId>c8ca3cd7-d4b3-4406-9ea7-c59ef5a36e1c</CategoryTypeId>
  <Name>sample string 6</Name>
  <ViewAgenda>
    <EventField>
      <DisplayText>sample string 2</DisplayText>
      <HideDisplayText>true</HideDisplayText>
      <Icon>sample string 4</Icon>
      <Name>sample string 1</Name>
    </EventField>
    <EventField>
      <DisplayText>sample string 2</DisplayText>
      <HideDisplayText>true</HideDisplayText>
      <Icon>sample string 4</Icon>
      <Name>sample string 1</Name>
    </EventField>
  </ViewAgenda>
  <ViewDay>
    <EventField>
      <DisplayText>sample string 2</DisplayText>
      <HideDisplayText>true</HideDisplayText>
      <Icon>sample string 4</Icon>
      <Name>sample string 1</Name>
    </EventField>
    <EventField>
      <DisplayText>sample string 2</DisplayText>
      <HideDisplayText>true</HideDisplayText>
      <Icon>sample string 4</Icon>
      <Name>sample string 1</Name>
    </EventField>
  </ViewDay>
  <ViewDetails>
    <EventField>
      <DisplayText>sample string 2</DisplayText>
      <HideDisplayText>true</HideDisplayText>
      <Icon>sample string 4</Icon>
      <Name>sample string 1</Name>
    </EventField>
    <EventField>
      <DisplayText>sample string 2</DisplayText>
      <HideDisplayText>true</HideDisplayText>
      <Icon>sample string 4</Icon>
      <Name>sample string 1</Name>
    </EventField>
  </ViewDetails>
  <ViewExcel>
    <EventField>
      <DisplayText>sample string 2</DisplayText>
      <HideDisplayText>true</HideDisplayText>
      <Icon>sample string 4</Icon>
      <Name>sample string 1</Name>
    </EventField>
    <EventField>
      <DisplayText>sample string 2</DisplayText>
      <HideDisplayText>true</HideDisplayText>
      <Icon>sample string 4</Icon>
      <Name>sample string 1</Name>
    </EventField>
  </ViewExcel>
  <ViewLanes>
    <EventField>
      <DisplayText>sample string 2</DisplayText>
      <HideDisplayText>true</HideDisplayText>
      <Icon>sample string 4</Icon>
      <Name>sample string 1</Name>
    </EventField>
    <EventField>
      <DisplayText>sample string 2</DisplayText>
      <HideDisplayText>true</HideDisplayText>
      <Icon>sample string 4</Icon>
      <Name>sample string 1</Name>
    </EventField>
  </ViewLanes>
  <ViewMonth>
    <EventField>
      <DisplayText>sample string 2</DisplayText>
      <HideDisplayText>true</HideDisplayText>
      <Icon>sample string 4</Icon>
      <Name>sample string 1</Name>
    </EventField>
    <EventField>
      <DisplayText>sample string 2</DisplayText>
      <HideDisplayText>true</HideDisplayText>
      <Icon>sample string 4</Icon>
      <Name>sample string 1</Name>
    </EventField>
  </ViewMonth>
  <ViewWeek>
    <EventField>
      <DisplayText>sample string 2</DisplayText>
      <HideDisplayText>true</HideDisplayText>
      <Icon>sample string 4</Icon>
      <Name>sample string 1</Name>
    </EventField>
    <EventField>
      <DisplayText>sample string 2</DisplayText>
      <HideDisplayText>true</HideDisplayText>
      <Icon>sample string 4</Icon>
      <Name>sample string 1</Name>
    </EventField>
  </ViewWeek>
  <CacheDurationMins>4</CacheDurationMins>
  <CategorySelectionLimit>2</CategorySelectionLimit>
  <DefaultFilter>
    <CategoryValue>
      <Identity>57214441-5168-41bc-b606-efaab2c9a5db</Identity>
      <Values xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:guid>f85e3beb-cab5-42ee-81d0-ee465552f51b</d4p1:guid>
        <d4p1:guid>db3f792a-b37a-4c52-be86-7246c0e945f8</d4p1:guid>
      </Values>
    </CategoryValue>
    <CategoryValue>
      <Identity>57214441-5168-41bc-b606-efaab2c9a5db</Identity>
      <Values xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:guid>f85e3beb-cab5-42ee-81d0-ee465552f51b</d4p1:guid>
        <d4p1:guid>db3f792a-b37a-4c52-be86-7246c0e945f8</d4p1:guid>
      </Values>
    </CategoryValue>
  </DefaultFilter>
  <IsAdditionalFilter>true</IsAdditionalFilter>
  <PageSize>3</PageSize>
  <SearchFieldRestriction xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </SearchFieldRestriction>
</CategoryTypeOptions>