GET PlanCare2Api/Questionnaires/Question/AvailableOrganizationEntities?questionGuid={questionGuid}

Gets organization-entities available for question.

Request Information

URI Parameters

Name Description Type Additional information
questionGuid

The id of question.

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

List of organization-entities.

Collection of QuestionnaireQuestionAvailableOrganizationEntity
Name Description Type Additional information
Selectable

Selectable

boolean

-

Id

Id

integer

-

ParentId

ParentId

integer

Nullable

Name

Name

string

-

Type

Type

OrganizationStructureEntityType

-

TypeName

TypeName

string

-

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Selectable": true,
    "Id": 2,
    "ParentId": 1,
    "Name": "sample string 3",
    "Type": 0,
    "TypeName": "sample string 4"
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfQuestionnaireQuestionAvailableOrganizationEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Questionnaire">
  <QuestionnaireQuestionAvailableOrganizationEntity>
    <Id>2</Id>
    <Name>sample string 3</Name>
    <ParentId>1</ParentId>
    <Selectable>true</Selectable>
    <Type>None</Type>
    <TypeName>sample string 4</TypeName>
  </QuestionnaireQuestionAvailableOrganizationEntity>
  <QuestionnaireQuestionAvailableOrganizationEntity>
    <Id>2</Id>
    <Name>sample string 3</Name>
    <ParentId>1</ParentId>
    <Selectable>true</Selectable>
    <Type>None</Type>
    <TypeName>sample string 4</TypeName>
  </QuestionnaireQuestionAvailableOrganizationEntity>
</ArrayOfQuestionnaireQuestionAvailableOrganizationEntity>