GET lookups/ethnicities/{term}

Request Information

Authorize

Anonymous

URI Parameters

NameDescriptionTypeAdditional information
term

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of LookupGroup
NameDescriptionTypeAdditional information
Children

Collection of LookupItem

None.

ID

integer

None.

Text

string

None.

Type

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "children": [
      {
        "id": 1,
        "text": "sample string 2",
        "type": "sample string 3"
      },
      {
        "id": 1,
        "text": "sample string 2",
        "type": "sample string 3"
      }
    ],
    "id": 1,
    "text": "sample string 2",
    "type": "sample string 3"
  },
  {
    "children": [
      {
        "id": 1,
        "text": "sample string 2",
        "type": "sample string 3"
      },
      {
        "id": 1,
        "text": "sample string 2",
        "type": "sample string 3"
      }
    ],
    "id": 1,
    "text": "sample string 2",
    "type": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfLookupGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Corpora.Web.API.Models">
  <LookupGroup>
    <Text>sample string 2</Text>
    <Type>sample string 3</Type>
    <ID>1</ID>
    <Children>
      <LookupItem>
        <Text>sample string 2</Text>
        <Type>sample string 3</Type>
        <ID>1</ID>
      </LookupItem>
      <LookupItem>
        <Text>sample string 2</Text>
        <Type>sample string 3</Type>
        <ID>1</ID>
      </LookupItem>
    </Children>
  </LookupGroup>
  <LookupGroup>
    <Text>sample string 2</Text>
    <Type>sample string 3</Type>
    <ID>1</ID>
    <Children>
      <LookupItem>
        <Text>sample string 2</Text>
        <Type>sample string 3</Type>
        <ID>1</ID>
      </LookupItem>
      <LookupItem>
        <Text>sample string 2</Text>
        <Type>sample string 3</Type>
        <ID>1</ID>
      </LookupItem>
    </Children>
  </LookupGroup>
</ArrayOfLookupGroup>