GET api/v{version}/laboratory/{laboratoryId}/task-type
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
laboratoryId | integer |
Required |
|
version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
ResponseOfIEnumerableOfTaskTypeListItemName | Description | Type | Additional information |
---|---|---|---|
Data | Collection of TaskTypeListItem |
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": [ { "taskTypeID": 2, "code": 2, "description": "sample string 3", "medicalProcedure": true, "labProcedure": true, "sopName": "sample string 6", "isProcess": true, "isSystemProcedure": true, "systemOrUserString": "System", "reminder": true, "useTimeInMinutes": true, "rpmTimerAdjustment": true, "isSubjectContact": true, "isPreActivationFollowUp": true }, { "taskTypeID": 2, "code": 2, "description": "sample string 3", "medicalProcedure": true, "labProcedure": true, "sopName": "sample string 6", "isProcess": true, "isSystemProcedure": true, "systemOrUserString": "System", "reminder": true, "useTimeInMinutes": true, "rpmTimerAdjustment": true, "isSubjectContact": true, "isPreActivationFollowUp": true } ], "statusCode": 100, "statusDescription": "sample string 1", "errors": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<ResponseOfArrayOfTaskTypeListItemuFpbgzW1 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:TaskTypeListItem> <d2p1:Code>2</d2p1:Code> <d2p1:Description>sample string 3</d2p1:Description> <d2p1:IsPreActivationFollowUp>true</d2p1:IsPreActivationFollowUp> <d2p1:IsProcess>true</d2p1:IsProcess> <d2p1:IsSubjectContact>true</d2p1:IsSubjectContact> <d2p1:IsSystemProcedure>true</d2p1:IsSystemProcedure> <d2p1:LabProcedure>true</d2p1:LabProcedure> <d2p1:MedicalProcedure>true</d2p1:MedicalProcedure> <d2p1:RPMTimerAdjustment>true</d2p1:RPMTimerAdjustment> <d2p1:Reminder>true</d2p1:Reminder> <d2p1:SOPName>sample string 6</d2p1:SOPName> <d2p1:TaskTypeID>2</d2p1:TaskTypeID> <d2p1:UseTimeInMinutes>true</d2p1:UseTimeInMinutes> </d2p1:TaskTypeListItem> <d2p1:TaskTypeListItem> <d2p1:Code>2</d2p1:Code> <d2p1:Description>sample string 3</d2p1:Description> <d2p1:IsPreActivationFollowUp>true</d2p1:IsPreActivationFollowUp> <d2p1:IsProcess>true</d2p1:IsProcess> <d2p1:IsSubjectContact>true</d2p1:IsSubjectContact> <d2p1:IsSystemProcedure>true</d2p1:IsSystemProcedure> <d2p1:LabProcedure>true</d2p1:LabProcedure> <d2p1:MedicalProcedure>true</d2p1:MedicalProcedure> <d2p1:RPMTimerAdjustment>true</d2p1:RPMTimerAdjustment> <d2p1:Reminder>true</d2p1:Reminder> <d2p1:SOPName>sample string 6</d2p1:SOPName> <d2p1:TaskTypeID>2</d2p1:TaskTypeID> <d2p1:UseTimeInMinutes>true</d2p1:UseTimeInMinutes> </d2p1:TaskTypeListItem> </Data> </ResponseOfArrayOfTaskTypeListItemuFpbgzW1>