GET api/v1/essentials/optiontypes

Jos: WRITE COMMENTS

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of OptionTypeItem
NameDescriptionTypeAdditional information
Key

The key of the object

string

None.

Translations

the translations

Collection of TranslationItem

None.

Disabled

When disabled not usable for new variations

boolean

None.

IsSystemType

Systemtypes can't be edited

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Key": "sample string 1",
    "Translations": [
      {
        "Language": "sample string 1",
        "Value": "sample string 2"
      },
      {
        "Language": "sample string 1",
        "Value": "sample string 2"
      }
    ],
    "Disabled": true,
    "IsSystemType": true
  },
  {
    "Key": "sample string 1",
    "Translations": [
      {
        "Language": "sample string 1",
        "Value": "sample string 2"
      },
      {
        "Language": "sample string 1",
        "Value": "sample string 2"
      }
    ],
    "Disabled": true,
    "IsSystemType": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfOptionTypeItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Promidata.PromotionalOffice.Webservice.Contracts">
  <OptionTypeItem>
    <Disabled>true</Disabled>
    <IsSystemType>true</IsSystemType>
    <Key>sample string 1</Key>
    <Translations>
      <TranslationItem>
        <Language>sample string 1</Language>
        <Value>sample string 2</Value>
      </TranslationItem>
      <TranslationItem>
        <Language>sample string 1</Language>
        <Value>sample string 2</Value>
      </TranslationItem>
    </Translations>
  </OptionTypeItem>
  <OptionTypeItem>
    <Disabled>true</Disabled>
    <IsSystemType>true</IsSystemType>
    <Key>sample string 1</Key>
    <Translations>
      <TranslationItem>
        <Language>sample string 1</Language>
        <Value>sample string 2</Value>
      </TranslationItem>
      <TranslationItem>
        <Language>sample string 1</Language>
        <Value>sample string 2</Value>
      </TranslationItem>
    </Translations>
  </OptionTypeItem>
</ArrayOfOptionTypeItem>