GET v1/ElementType

Get a list of all Element Types. These are used for assigning multiple types to an Article via ArticleTypes and a single type to each Media via the MediaTypeId field.

Roles Allowed

admin, editor

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of ElementType
NameDescriptionTypeAdditional information
ElementTypeId

Unique identifier for an Element Type

integer

None.

ElementTypeValue

Name of the Element Type

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ElementTypeId": 1,
    "ElementTypeValue": "sample string 2"
  },
  {
    "ElementTypeId": 1,
    "ElementTypeValue": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfElementType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bondi.Models.V3.ApiDto">
  <ElementType>
    <ElementTypeId>1</ElementTypeId>
    <ElementTypeValue>sample string 2</ElementTypeValue>
  </ElementType>
  <ElementType>
    <ElementTypeId>1</ElementTypeId>
    <ElementTypeValue>sample string 2</ElementTypeValue>
  </ElementType>
</ArrayOfElementType>