GET api/v{version}/laboratory/{laboratoryId}/team/{subjectId}?UserProfileID={UserProfileID}&Role={Role}&RequestingUserProfileID={RequestingUserProfileID}&SubjectTeamRoleID={SubjectTeamRoleID}&SubjectViewStartDate={SubjectViewStartDate}&SubjectViewStopDate={SubjectViewStopDate}&SortOrder={SortOrder}

Gets a list of care team members belonging to the specified Laboratory.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
laboratoryId

integer

Required

UserProfileID

Gets or sets the user profile identifier.

integer

None.

Role

Gets or sets the role.

string

None.

RequestingUserProfileID

Gets or sets the requesting user profile identifier.

integer

None.

SubjectTeamRoleID

Gets or sets the subject team role identifier.

integer

None.

SubjectViewStartDate

Gets or sets the subject view start date.

date

None.

SubjectViewStopDate

Gets or sets the subject view stop date.

date

None.

SortOrder

Gets or sets the sort order.

SortOrderOption

None.

subjectId

integer

Default value is -1

version

string

None.

Body Parameters

None.

Response Information

Resource Description

ResponseOfIEnumerableOfSubjectTeamModel
NameDescriptionTypeAdditional information
Data

Collection of SubjectTeamModel

None.

StatusCode

Gets or sets the status code.

HttpStatusCode

None.

StatusDescription

Gets or sets the status description.

string

None.

Errors

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "laboratoryID": 1,
      "subjectID": 1,
      "teamMemberUserProfileID": 1,
      "teamMemberCallBy": "sample string 2",
      "subjectTeamRoleID": 3,
      "subjectTeamRoleDescription": "sample string 4",
      "workPhone": "sample string 5",
      "emailAddress": "sample string 6",
      "patientUserProfileID": "sample string 7",
      "patientMRN": "sample string 8",
      "patientCallBy": "sample string 9",
      "creationDate": "2025-02-06T08:07:31.2254296-07:00",
      "changedDate": "2025-02-06T08:07:31.2254296-07:00",
      "isPrimary": true
    },
    {
      "laboratoryID": 1,
      "subjectID": 1,
      "teamMemberUserProfileID": 1,
      "teamMemberCallBy": "sample string 2",
      "subjectTeamRoleID": 3,
      "subjectTeamRoleDescription": "sample string 4",
      "workPhone": "sample string 5",
      "emailAddress": "sample string 6",
      "patientUserProfileID": "sample string 7",
      "patientMRN": "sample string 8",
      "patientCallBy": "sample string 9",
      "creationDate": "2025-02-06T08:07:31.2254296-07:00",
      "changedDate": "2025-02-06T08:07:31.2254296-07:00",
      "isPrimary": true
    }
  ],
  "statusCode": 100,
  "statusDescription": "sample string 1",
  "errors": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<ResponseOfArrayOfSubjectTeamModeluskxzdf5 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CancerBytesAPI.Response">
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Errors>
  <StatusCode>Continue</StatusCode>
  <StatusDescription>sample string 1</StatusDescription>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/CancerBytesAPI.Models">
    <d2p1:SubjectTeamModel>
      <d2p1:ChangedDate>2025-02-06T08:07:31.2254296-07:00</d2p1:ChangedDate>
      <d2p1:CreationDate>2025-02-06T08:07:31.2254296-07:00</d2p1:CreationDate>
      <d2p1:EmailAddress>sample string 6</d2p1:EmailAddress>
      <d2p1:IsPrimary>true</d2p1:IsPrimary>
      <d2p1:LaboratoryID>1</d2p1:LaboratoryID>
      <d2p1:PatientCallBy>sample string 9</d2p1:PatientCallBy>
      <d2p1:PatientMRN>sample string 8</d2p1:PatientMRN>
      <d2p1:PatientUserProfileID>sample string 7</d2p1:PatientUserProfileID>
      <d2p1:SubjectID>1</d2p1:SubjectID>
      <d2p1:SubjectTeamRoleDescription>sample string 4</d2p1:SubjectTeamRoleDescription>
      <d2p1:SubjectTeamRoleID>3</d2p1:SubjectTeamRoleID>
      <d2p1:TeamMemberCallBy>sample string 2</d2p1:TeamMemberCallBy>
      <d2p1:TeamMemberUserProfileID>1</d2p1:TeamMemberUserProfileID>
      <d2p1:WorkPhone>sample string 5</d2p1:WorkPhone>
    </d2p1:SubjectTeamModel>
    <d2p1:SubjectTeamModel>
      <d2p1:ChangedDate>2025-02-06T08:07:31.2254296-07:00</d2p1:ChangedDate>
      <d2p1:CreationDate>2025-02-06T08:07:31.2254296-07:00</d2p1:CreationDate>
      <d2p1:EmailAddress>sample string 6</d2p1:EmailAddress>
      <d2p1:IsPrimary>true</d2p1:IsPrimary>
      <d2p1:LaboratoryID>1</d2p1:LaboratoryID>
      <d2p1:PatientCallBy>sample string 9</d2p1:PatientCallBy>
      <d2p1:PatientMRN>sample string 8</d2p1:PatientMRN>
      <d2p1:PatientUserProfileID>sample string 7</d2p1:PatientUserProfileID>
      <d2p1:SubjectID>1</d2p1:SubjectID>
      <d2p1:SubjectTeamRoleDescription>sample string 4</d2p1:SubjectTeamRoleDescription>
      <d2p1:SubjectTeamRoleID>3</d2p1:SubjectTeamRoleID>
      <d2p1:TeamMemberCallBy>sample string 2</d2p1:TeamMemberCallBy>
      <d2p1:TeamMemberUserProfileID>1</d2p1:TeamMemberUserProfileID>
      <d2p1:WorkPhone>sample string 5</d2p1:WorkPhone>
    </d2p1:SubjectTeamModel>
  </Data>
</ResponseOfArrayOfSubjectTeamModeluskxzdf5>