GET PlanCare2Api/Questionnaires/Question/AvailableEmployees?questionGuid={questionGuid}&answerId={answerId}

Gets employees available for question.

Request Information

URI Parameters

Name Description Type Additional information
questionGuid

The id of question.

globally unique identifier

Required

answerId

The id of answer, if given then the selected employees that aren't provided are added to the result.

integer

Nullable

Body Parameters

None.

Response Information

Resource Description

List of employees.

Collection of QuestionnaireQuestionAvailableEmployee
Name Description Type Additional information
RelationId

RelationId

integer

-

LookupName

LookupName

string

-

FirstName

FirstName

string

-

LastName

LastName

string

-

Prefix

Prefix

string

-

NickName

LastName

string

-

Gender

Gender

string

-

DateOfBirth

DateOfBirth

date

Nullable

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "RelationId": 1,
    "LookupName": "sample string 2",
    "FirstName": "sample string 3",
    "LastName": "sample string 4",
    "Prefix": "sample string 5",
    "NickName": "sample string 6",
    "Gender": "sample string 7",
    "DateOfBirth": "2026-05-26T23:17:14.1829911+02:00"
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfQuestionnaireQuestionAvailableEmployee xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Questionnaire">
  <QuestionnaireQuestionAvailableEmployee>
    <DateOfBirth>2026-05-26T23:17:14.1829911+02:00</DateOfBirth>
    <FirstName>sample string 3</FirstName>
    <Gender>sample string 7</Gender>
    <LastName>sample string 4</LastName>
    <LookupName>sample string 2</LookupName>
    <NickName>sample string 6</NickName>
    <Prefix>sample string 5</Prefix>
    <RelationId>1</RelationId>
  </QuestionnaireQuestionAvailableEmployee>
  <QuestionnaireQuestionAvailableEmployee>
    <DateOfBirth>2026-05-26T23:17:14.1829911+02:00</DateOfBirth>
    <FirstName>sample string 3</FirstName>
    <Gender>sample string 7</Gender>
    <LastName>sample string 4</LastName>
    <LookupName>sample string 2</LookupName>
    <NickName>sample string 6</NickName>
    <Prefix>sample string 5</Prefix>
    <RelationId>1</RelationId>
  </QuestionnaireQuestionAvailableEmployee>
</ArrayOfQuestionnaireQuestionAvailableEmployee>