GET api/v{version}/laboratory/{laboratoryId}/careTeam/shift
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
laboratoryId | integer |
Required |
|
version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
ResponseOfIEnumerableOfShiftListItemName | Description | Type | Additional information |
---|---|---|---|
Data | Collection of ShiftListItem |
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": [ { "shiftID": 1, "isSystemDefined": true, "laboratoryID": 3, "name": "sample string 4", "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true, "sunday": true, "startTime": "2024-10-30T10:27:47.8041211-07:00", "stopTime": "2024-10-30T10:27:47.8041211-07:00", "isDefaultShift": true, "regionDescription": "sample string 15", "locationDescription": "sample string 16", "isHidden": true }, { "shiftID": 1, "isSystemDefined": true, "laboratoryID": 3, "name": "sample string 4", "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true, "sunday": true, "startTime": "2024-10-30T10:27:47.8041211-07:00", "stopTime": "2024-10-30T10:27:47.8041211-07:00", "isDefaultShift": true, "regionDescription": "sample string 15", "locationDescription": "sample string 16", "isHidden": true } ], "statusCode": 100, "statusDescription": "sample string 1", "errors": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<ResponseOfArrayOfShiftListItemuFpbgzW1 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/DomainObjects"> <d2p1:ShiftListItem> <d2p1:Friday>true</d2p1:Friday> <d2p1:IsDefaultShift>true</d2p1:IsDefaultShift> <d2p1:IsHidden>true</d2p1:IsHidden> <d2p1:IsSystemDefined>true</d2p1:IsSystemDefined> <d2p1:LaboratoryID>3</d2p1:LaboratoryID> <d2p1:LocationDescription>sample string 16</d2p1:LocationDescription> <d2p1:Monday>true</d2p1:Monday> <d2p1:Name>sample string 4</d2p1:Name> <d2p1:RegionDescription>sample string 15</d2p1:RegionDescription> <d2p1:Saturday>true</d2p1:Saturday> <d2p1:ShiftID>1</d2p1:ShiftID> <d2p1:StartTime>2024-10-30T10:27:47.8041211-07:00</d2p1:StartTime> <d2p1:StopTime>2024-10-30T10:27:47.8041211-07:00</d2p1:StopTime> <d2p1:Sunday>true</d2p1:Sunday> <d2p1:Thursday>true</d2p1:Thursday> <d2p1:Tuesday>true</d2p1:Tuesday> <d2p1:Wednesday>true</d2p1:Wednesday> </d2p1:ShiftListItem> <d2p1:ShiftListItem> <d2p1:Friday>true</d2p1:Friday> <d2p1:IsDefaultShift>true</d2p1:IsDefaultShift> <d2p1:IsHidden>true</d2p1:IsHidden> <d2p1:IsSystemDefined>true</d2p1:IsSystemDefined> <d2p1:LaboratoryID>3</d2p1:LaboratoryID> <d2p1:LocationDescription>sample string 16</d2p1:LocationDescription> <d2p1:Monday>true</d2p1:Monday> <d2p1:Name>sample string 4</d2p1:Name> <d2p1:RegionDescription>sample string 15</d2p1:RegionDescription> <d2p1:Saturday>true</d2p1:Saturday> <d2p1:ShiftID>1</d2p1:ShiftID> <d2p1:StartTime>2024-10-30T10:27:47.8041211-07:00</d2p1:StartTime> <d2p1:StopTime>2024-10-30T10:27:47.8041211-07:00</d2p1:StopTime> <d2p1:Sunday>true</d2p1:Sunday> <d2p1:Thursday>true</d2p1:Thursday> <d2p1:Tuesday>true</d2p1:Tuesday> <d2p1:Wednesday>true</d2p1:Wednesday> </d2p1:ShiftListItem> </Data> </ResponseOfArrayOfShiftListItemuFpbgzW1>