GET api/OptionSets

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of OptionSetDto
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Description

string

None.

IsActive

boolean

None.

LanguageId

integer

None.

LanguageCode

string

None.

Options

Collection of OptionDto

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected for property 'OptionSet' with type 'WebApi.DTO.OptionSetDto'. Path '[0].Options[0]'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected for property 'OptionSet' with type 'WebApi.DTO.OptionSetDto'. Path '[0].Options[0]'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[WebApi.DTO.OptionDto, WebApi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[WebApi.DTO.OptionDto, WebApi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.