GET PlanCare2Api/DisciplineGroups/{disciplineGroupId}/Members

Get discipline group members by id.

Request Information

URI Parameters

Name Description Type Additional information
disciplineGroupId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of DisciplineGroupMember
Name Description Type Additional information
Employee

Identifier of the employee.

Identity

-

RelationId

Relation id of the employee.

integer

-

EmployeeName

The name of the employee.

string

-

EmployeeNumber

The formatted employee number.

string

-

DisciplineIds

The ids of the disciplines of the employee in this discipline group

Collection of integer

-

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Employee": {
      "$id": "2",
      "Identifier": "sample string 1",
      "Type": 0
    },
    "RelationId": 1,
    "EmployeeName": "sample string 2",
    "EmployeeNumber": "sample string 3",
    "DisciplineIds": [
      1,
      2
    ]
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDisciplineGroupMember xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface">
  <DisciplineGroupMember>
    <DisciplineIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:long>1</d3p1:long>
      <d3p1:long>2</d3p1:long>
    </DisciplineIds>
    <Employee xmlns:d3p1="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Common.Infrastructure">
      <d3p1:Identifier>sample string 1</d3p1:Identifier>
      <d3p1:Type>ExternalId</d3p1:Type>
    </Employee>
    <EmployeeName>sample string 2</EmployeeName>
    <EmployeeNumber>sample string 3</EmployeeNumber>
    <RelationId>1</RelationId>
  </DisciplineGroupMember>
  <DisciplineGroupMember>
    <DisciplineIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:long>1</d3p1:long>
      <d3p1:long>2</d3p1:long>
    </DisciplineIds>
    <Employee xmlns:d3p1="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Common.Infrastructure">
      <d3p1:Identifier>sample string 1</d3p1:Identifier>
      <d3p1:Type>ExternalId</d3p1:Type>
    </Employee>
    <EmployeeName>sample string 2</EmployeeName>
    <EmployeeNumber>sample string 3</EmployeeNumber>
    <RelationId>1</RelationId>
  </DisciplineGroupMember>
</ArrayOfDisciplineGroupMember>