GET api/QuestionDetail/GetQuestionDetailsBasdOnId?questionHeaderId={questionHeaderId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
questionHeaderId

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Collection of QuestionDetailDto
NameDescriptionTypeAdditional information
QuestionHeaderId

globally unique identifier

None.

UserId

globally unique identifier

None.

OptionType

string

None.

OptionText

string

None.

OptionTextFr

string

None.

OptionImage

string

None.

DisplayImage

string

None.

OptionId

globally unique identifier

None.

IsAnswer

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "QuestionHeaderId": "c1581d4e-ddde-40ca-83fd-7f09ab8bfdda",
    "UserId": "62cf7806-9c75-4692-8936-73d67ae82e07",
    "OptionType": "sample string 3",
    "OptionText": "sample string 4",
    "OptionTextFr": "sample string 5",
    "OptionImage": "sample string 6",
    "DisplayImage": "sample string 7",
    "OptionId": "fe51c1ef-2e2c-4749-be7f-1f32a0d812b7",
    "IsAnswer": true
  },
  {
    "QuestionHeaderId": "c1581d4e-ddde-40ca-83fd-7f09ab8bfdda",
    "UserId": "62cf7806-9c75-4692-8936-73d67ae82e07",
    "OptionType": "sample string 3",
    "OptionText": "sample string 4",
    "OptionTextFr": "sample string 5",
    "OptionImage": "sample string 6",
    "DisplayImage": "sample string 7",
    "OptionId": "fe51c1ef-2e2c-4749-be7f-1f32a0d812b7",
    "IsAnswer": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfQuestionDetailDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.QuestionDetailModule.Model">
  <QuestionDetailDto>
    <DisplayImage>sample string 7</DisplayImage>
    <IsAnswer>true</IsAnswer>
    <OptionId>fe51c1ef-2e2c-4749-be7f-1f32a0d812b7</OptionId>
    <OptionImage>sample string 6</OptionImage>
    <OptionText>sample string 4</OptionText>
    <OptionTextFr>sample string 5</OptionTextFr>
    <OptionType>sample string 3</OptionType>
    <QuestionHeaderId>c1581d4e-ddde-40ca-83fd-7f09ab8bfdda</QuestionHeaderId>
    <UserId>62cf7806-9c75-4692-8936-73d67ae82e07</UserId>
  </QuestionDetailDto>
  <QuestionDetailDto>
    <DisplayImage>sample string 7</DisplayImage>
    <IsAnswer>true</IsAnswer>
    <OptionId>fe51c1ef-2e2c-4749-be7f-1f32a0d812b7</OptionId>
    <OptionImage>sample string 6</OptionImage>
    <OptionText>sample string 4</OptionText>
    <OptionTextFr>sample string 5</OptionTextFr>
    <OptionType>sample string 3</OptionType>
    <QuestionHeaderId>c1581d4e-ddde-40ca-83fd-7f09ab8bfdda</QuestionHeaderId>
    <UserId>62cf7806-9c75-4692-8936-73d67ae82e07</UserId>
  </QuestionDetailDto>
</ArrayOfQuestionDetailDto>