GET api/GetTheme/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

None.

Response Information

Resource Description

Theme
NameDescriptionTypeAdditional information
Code

string

Required

Matching regular expression pattern: ^[0-9a-zA-Z-]*$

String length: inclusive between 3 and 3

ColorCode

string

None.

FlashFormationColorCode

string

None.

LabelShort

string

Required

String length: inclusive between 0 and 30

LabelLong

string

Required

String length: inclusive between 0 and 128

Order

integer

Required

Range: inclusive between 1 and 2147483647

Status

AggregateLabel

None.

Referents

Collection of Referent

None.

SubThemes

Collection of SubTheme

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": "sample string 1",
  "ColorCode": "sample string 2",
  "FlashFormationColorCode": "sample string 3",
  "LabelShort": "sample string 4",
  "LabelLong": "sample string 5",
  "Order": 1,
  "Status": {
    "Code": "sample string 1",
    "Label": "sample string 2"
  },
  "Referents": [
    {
      "Id": 1,
      "FriendId": 2,
      "CodeTheme": "sample string 3",
      "FirstName": "sample string 4",
      "LastName": "sample string 5",
      "Email": "sample string 6",
      "Phone": "sample string 7"
    },
    {
      "Id": 1,
      "FriendId": 2,
      "CodeTheme": "sample string 3",
      "FirstName": "sample string 4",
      "LastName": "sample string 5",
      "Email": "sample string 6",
      "Phone": "sample string 7"
    }
  ],
  "SubThemes": [
    {
      "Code": "sample string 1",
      "CodeTheme": "sample string 2",
      "LabelShort": "sample string 3",
      "LabelLong": "sample string 4",
      "Order": 1
    },
    {
      "Code": "sample string 1",
      "CodeTheme": "sample string 2",
      "LabelShort": "sample string 3",
      "LabelLong": "sample string 4",
      "Order": 1
    }
  ]
}

application/xml, text/xml

Sample:
<Theme xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Models">
  <Code>sample string 1</Code>
  <ColorCode>sample string 2</ColorCode>
  <FlashFormationColorCode>sample string 3</FlashFormationColorCode>
  <LabelLong>sample string 5</LabelLong>
  <LabelShort>sample string 4</LabelShort>
  <Order>1</Order>
  <Referents>
    <Referent>
      <CodeTheme>sample string 3</CodeTheme>
      <Email>sample string 6</Email>
      <FirstName>sample string 4</FirstName>
      <FriendId>2</FriendId>
      <Id>1</Id>
      <LastName>sample string 5</LastName>
      <Phone>sample string 7</Phone>
    </Referent>
    <Referent>
      <CodeTheme>sample string 3</CodeTheme>
      <Email>sample string 6</Email>
      <FirstName>sample string 4</FirstName>
      <FriendId>2</FriendId>
      <Id>1</Id>
      <LastName>sample string 5</LastName>
      <Phone>sample string 7</Phone>
    </Referent>
  </Referents>
  <Status>
    <Code>sample string 1</Code>
    <Label>sample string 2</Label>
  </Status>
  <SubThemes>
    <SubTheme>
      <Code>sample string 1</Code>
      <CodeTheme>sample string 2</CodeTheme>
      <LabelLong>sample string 4</LabelLong>
      <LabelShort>sample string 3</LabelShort>
      <Order>1</Order>
    </SubTheme>
    <SubTheme>
      <Code>sample string 1</Code>
      <CodeTheme>sample string 2</CodeTheme>
      <LabelLong>sample string 4</LabelLong>
      <LabelShort>sample string 3</LabelShort>
      <Order>1</Order>
    </SubTheme>
  </SubThemes>
</Theme>