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

Gets organization-entities available for question.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
questionGuid

The id of question.

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

List of organization-entities.

Collection of QuestionnaireQuestionAvailableOrganizationEntity
NameDescriptionTypeAdditional information
Selectable

Selectable

boolean

None

Id

Id

integer

None

ParentId

ParentId

integer

None

Name

Name

string

None

Type

Type

OrganizationStructureEntityType

None

TypeName

TypeName

string

None

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>