GET api/organizations/{organizationId}/questions

Request Information

URI Parameters

NameDescriptionTypeAdditional information
organizationId

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Collection of StateQuestionDetail
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

StateId

globally unique identifier

None.

StateSectionId

globally unique identifier

None.

QuestionId

globally unique identifier

None.

Name

string

None.

Text

string

None.

Type

string

None.

OrderIndex

integer

None.

Choices

Collection of ChoiceSimple

None.

ParentQuestionId

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "7c7a01a0-6b0a-4021-b9e0-0c6eb5452c23",
    "StateId": "26492b34-1f9f-4e7f-a660-2784d79c256b",
    "StateSectionId": "0f5cbae4-048d-4909-8a26-11c2dea9c759",
    "QuestionId": "c4059e6e-7788-4eaf-a85f-838659d4adb4",
    "Name": "sample string 5",
    "Text": "sample string 6",
    "Type": "sample string 7",
    "OrderIndex": 8,
    "Choices": [
      {
        "Id": "9653fab8-66e0-4ff3-bf4d-de4dc73ebd29",
        "Text": "sample string 2",
        "OrderIndex": 3
      },
      {
        "Id": "9653fab8-66e0-4ff3-bf4d-de4dc73ebd29",
        "Text": "sample string 2",
        "OrderIndex": 3
      }
    ],
    "ParentQuestionId": "5756cbf8-2218-4e3c-a7e0-482ea9550562"
  },
  {
    "Id": "7c7a01a0-6b0a-4021-b9e0-0c6eb5452c23",
    "StateId": "26492b34-1f9f-4e7f-a660-2784d79c256b",
    "StateSectionId": "0f5cbae4-048d-4909-8a26-11c2dea9c759",
    "QuestionId": "c4059e6e-7788-4eaf-a85f-838659d4adb4",
    "Name": "sample string 5",
    "Text": "sample string 6",
    "Type": "sample string 7",
    "OrderIndex": 8,
    "Choices": [
      {
        "Id": "9653fab8-66e0-4ff3-bf4d-de4dc73ebd29",
        "Text": "sample string 2",
        "OrderIndex": 3
      },
      {
        "Id": "9653fab8-66e0-4ff3-bf4d-de4dc73ebd29",
        "Text": "sample string 2",
        "OrderIndex": 3
      }
    ],
    "ParentQuestionId": "5756cbf8-2218-4e3c-a7e0-482ea9550562"
  }
]

application/xml, text/xml

Sample:
<ArrayOfStateQuestionDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Admin.DTO">
  <StateQuestionDetail>
    <Choices>
      <ChoiceSimple>
        <Id>9653fab8-66e0-4ff3-bf4d-de4dc73ebd29</Id>
        <OrderIndex>3</OrderIndex>
        <Text>sample string 2</Text>
      </ChoiceSimple>
      <ChoiceSimple>
        <Id>9653fab8-66e0-4ff3-bf4d-de4dc73ebd29</Id>
        <OrderIndex>3</OrderIndex>
        <Text>sample string 2</Text>
      </ChoiceSimple>
    </Choices>
    <Id>7c7a01a0-6b0a-4021-b9e0-0c6eb5452c23</Id>
    <Name>sample string 5</Name>
    <OrderIndex>8</OrderIndex>
    <ParentQuestionId>5756cbf8-2218-4e3c-a7e0-482ea9550562</ParentQuestionId>
    <QuestionId>c4059e6e-7788-4eaf-a85f-838659d4adb4</QuestionId>
    <StateId>26492b34-1f9f-4e7f-a660-2784d79c256b</StateId>
    <StateSectionId>0f5cbae4-048d-4909-8a26-11c2dea9c759</StateSectionId>
    <Text>sample string 6</Text>
    <Type>sample string 7</Type>
  </StateQuestionDetail>
  <StateQuestionDetail>
    <Choices>
      <ChoiceSimple>
        <Id>9653fab8-66e0-4ff3-bf4d-de4dc73ebd29</Id>
        <OrderIndex>3</OrderIndex>
        <Text>sample string 2</Text>
      </ChoiceSimple>
      <ChoiceSimple>
        <Id>9653fab8-66e0-4ff3-bf4d-de4dc73ebd29</Id>
        <OrderIndex>3</OrderIndex>
        <Text>sample string 2</Text>
      </ChoiceSimple>
    </Choices>
    <Id>7c7a01a0-6b0a-4021-b9e0-0c6eb5452c23</Id>
    <Name>sample string 5</Name>
    <OrderIndex>8</OrderIndex>
    <ParentQuestionId>5756cbf8-2218-4e3c-a7e0-482ea9550562</ParentQuestionId>
    <QuestionId>c4059e6e-7788-4eaf-a85f-838659d4adb4</QuestionId>
    <StateId>26492b34-1f9f-4e7f-a660-2784d79c256b</StateId>
    <StateSectionId>0f5cbae4-048d-4909-8a26-11c2dea9c759</StateSectionId>
    <Text>sample string 6</Text>
    <Type>sample string 7</Type>
  </StateQuestionDetail>
</ArrayOfStateQuestionDetail>