GET api/v{version}/laboratory/{laboratoryId}/subject/{subjectId}

Gets the specified subject.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
laboratoryId

The laboratory identifier.

integer

Required

subjectId

The subject identifier.

integer

Required

version

string

None.

Body Parameters

None.

Response Information

Resource Description

ResponseOfSubjectModel
NameDescriptionTypeAdditional information
Data

SubjectModel

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": {
    "userProfileID": 1,
    "masterMrn": "sample string 2",
    "iacuc": "sample string 3",
    "mortalityDescription": "sample string 4",
    "speciesName": "sample string 5",
    "laboratoryID": 6,
    "supportMode": 7,
    "useNagger": true,
    "firstName": "sample string 9",
    "lastName": "sample string 10",
    "active": true,
    "pictureID": 12,
    "score": 13,
    "demoSubject": true,
    "furtherLocationInfo": "sample string 15",
    "category": "sample string 16",
    "subCategory": "sample string 17",
    "diastolic": 1.0,
    "systolic": 1.0,
    "heartRate": 1.0,
    "pulseOx": 1.0,
    "temperature": 1.0,
    "scoreColor": "sample string 18",
    "riskCategory1": "sample string 19",
    "riskCategory2": "sample string 20",
    "riskCategory3": "sample string 21",
    "riskCategory4": "sample string 22",
    "riskCategory5": "sample string 23",
    "canSeeOnlyUserCalendar": true,
    "subjectRegionID": 25,
    "subjectLocationID": 26,
    "subjectPoolID": 27,
    "subjectOtherID": 28,
    "subjectTeamID": 29,
    "subjectRegionDescription": "sample string 30",
    "subjectLocationDescription": "sample string 31",
    "subjectPoolDescription": "sample string 32",
    "subjectOtherDescription": "sample string 33",
    "subjectTeamDescription": "sample string 34",
    "schedulerClientID": 35,
    "contactStatusID": 36,
    "contactStatusChangeDate": "2024-10-30T09:23:24.5210602-07:00",
    "suspended": true,
    "homeAddressLine1": "sample string 38",
    "homeAddressLine2": "sample string 39",
    "homeCity": "sample string 40",
    "homeState": "sample string 41",
    "homePostalCode": "sample string 42",
    "homePhone": "sample string 43",
    "command": "sample string 44",
    "subjectID": 45,
    "callBy": "sample string 46",
    "medicalRecordNumber": "sample string 47",
    "facilitySubjectID": "sample string 48",
    "dateOfBirth": "2024-10-30T09:23:24.5210602-07:00",
    "gender": "sample string 49",
    "laboratoryName": "sample string 50"
  },
  "statusCode": 100,
  "statusDescription": "sample string 1",
  "errors": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<ResponseOfSubjectModeluskxzdf5 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:CallBy>sample string 46</d2p1:CallBy>
    <d2p1:DateOfBirth>2024-10-30T09:23:24.5210602-07:00</d2p1:DateOfBirth>
    <d2p1:FacilitySubjectID>sample string 48</d2p1:FacilitySubjectID>
    <d2p1:Gender>sample string 49</d2p1:Gender>
    <d2p1:LaboratoryName>sample string 50</d2p1:LaboratoryName>
    <d2p1:MedicalRecordNumber>sample string 47</d2p1:MedicalRecordNumber>
    <d2p1:SubjectID>45</d2p1:SubjectID>
    <d2p1:Active>true</d2p1:Active>
    <d2p1:CanSeeOnlyUserCalendar>true</d2p1:CanSeeOnlyUserCalendar>
    <d2p1:Category>sample string 16</d2p1:Category>
    <d2p1:Command>sample string 44</d2p1:Command>
    <d2p1:ContactStatusChangeDate>2024-10-30T09:23:24.5210602-07:00</d2p1:ContactStatusChangeDate>
    <d2p1:ContactStatusID>36</d2p1:ContactStatusID>
    <d2p1:DemoSubject>true</d2p1:DemoSubject>
    <d2p1:Diastolic>1</d2p1:Diastolic>
    <d2p1:FirstName>sample string 9</d2p1:FirstName>
    <d2p1:FurtherLocationInfo>sample string 15</d2p1:FurtherLocationInfo>
    <d2p1:HeartRate>1</d2p1:HeartRate>
    <d2p1:HomeAddressLine1>sample string 38</d2p1:HomeAddressLine1>
    <d2p1:HomeAddressLine2>sample string 39</d2p1:HomeAddressLine2>
    <d2p1:HomeCity>sample string 40</d2p1:HomeCity>
    <d2p1:HomePhone>sample string 43</d2p1:HomePhone>
    <d2p1:HomePostalCode>sample string 42</d2p1:HomePostalCode>
    <d2p1:HomeState>sample string 41</d2p1:HomeState>
    <d2p1:IACUC>sample string 3</d2p1:IACUC>
    <d2p1:LaboratoryID>6</d2p1:LaboratoryID>
    <d2p1:LastName>sample string 10</d2p1:LastName>
    <d2p1:MasterMrn>sample string 2</d2p1:MasterMrn>
    <d2p1:MortalityDescription>sample string 4</d2p1:MortalityDescription>
    <d2p1:PictureID>12</d2p1:PictureID>
    <d2p1:PulseOx>1</d2p1:PulseOx>
    <d2p1:RiskCategory1>sample string 19</d2p1:RiskCategory1>
    <d2p1:RiskCategory2>sample string 20</d2p1:RiskCategory2>
    <d2p1:RiskCategory3>sample string 21</d2p1:RiskCategory3>
    <d2p1:RiskCategory4>sample string 22</d2p1:RiskCategory4>
    <d2p1:RiskCategory5>sample string 23</d2p1:RiskCategory5>
    <d2p1:SchedulerClientID>35</d2p1:SchedulerClientID>
    <d2p1:Score>13</d2p1:Score>
    <d2p1:ScoreColor>sample string 18</d2p1:ScoreColor>
    <d2p1:SpeciesName>sample string 5</d2p1:SpeciesName>
    <d2p1:SubCategory>sample string 17</d2p1:SubCategory>
    <d2p1:SubjectLocationDescription>sample string 31</d2p1:SubjectLocationDescription>
    <d2p1:SubjectLocationID>26</d2p1:SubjectLocationID>
    <d2p1:SubjectOtherDescription>sample string 33</d2p1:SubjectOtherDescription>
    <d2p1:SubjectOtherID>28</d2p1:SubjectOtherID>
    <d2p1:SubjectPoolDescription>sample string 32</d2p1:SubjectPoolDescription>
    <d2p1:SubjectPoolID>27</d2p1:SubjectPoolID>
    <d2p1:SubjectRegionDescription>sample string 30</d2p1:SubjectRegionDescription>
    <d2p1:SubjectRegionID>25</d2p1:SubjectRegionID>
    <d2p1:SubjectTeamDescription>sample string 34</d2p1:SubjectTeamDescription>
    <d2p1:SubjectTeamID>29</d2p1:SubjectTeamID>
    <d2p1:SupportMode>7</d2p1:SupportMode>
    <d2p1:Suspended>true</d2p1:Suspended>
    <d2p1:Systolic>1</d2p1:Systolic>
    <d2p1:Temperature>1</d2p1:Temperature>
    <d2p1:UseNagger>true</d2p1:UseNagger>
    <d2p1:UserProfileID>1</d2p1:UserProfileID>
  </Data>
</ResponseOfSubjectModeluskxzdf5>