GET api/v1/meta/enums/{enumType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
enumType

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of EnumOption
NameDescriptionTypeAdditional information
Name

string

None.

Description

string

None.

ID

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Name": "sample string 1",
    "Description": "sample string 2",
    "ID": 3
  },
  {
    "Name": "sample string 1",
    "Description": "sample string 2",
    "ID": 3
  }
]

application/xml, text/xml

Sample:
<ArrayOfEnumOption xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.Common">
  <EnumOption>
    <Description>sample string 2</Description>
    <ID>3</ID>
    <Name>sample string 1</Name>
  </EnumOption>
  <EnumOption>
    <Description>sample string 2</Description>
    <ID>3</ID>
    <Name>sample string 1</Name>
  </EnumOption>
</ArrayOfEnumOption>

multipart/form-data

Sample:

An exception has occurred while using the formatter 'MultiPartMediaFormat' to generate sample for media type 'multipart/form-data'. Exception message: The media type formatter of type 'MultiPartMediaFormat' does not support writing because it does not implement the WriteToStreamAsync method.

image/png

Sample:

An exception has occurred while using the formatter 'ImageMediaFormat' to generate sample for media type 'image/png'. Exception message: The media type formatter of type 'ImageMediaFormat' does not support writing because it does not implement the WriteToStreamAsync method.

image/jpg

Sample:

An exception has occurred while using the formatter 'ImageMediaFormat' to generate sample for media type 'image/jpg'. Exception message: The media type formatter of type 'ImageMediaFormat' does not support writing because it does not implement the WriteToStreamAsync method.

image/jpeg

Sample:

An exception has occurred while using the formatter 'ImageMediaFormat' to generate sample for media type 'image/jpeg'. Exception message: The media type formatter of type 'ImageMediaFormat' does not support writing because it does not implement the WriteToStreamAsync method.

image/bmp

Sample:

An exception has occurred while using the formatter 'ImageMediaFormat' to generate sample for media type 'image/bmp'. Exception message: The media type formatter of type 'ImageMediaFormat' does not support writing because it does not implement the WriteToStreamAsync method.