GET api/v{version}/laboratory/{laboratoryId}/subject/{subjectId}/task/download
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| laboratoryId | integer |
Required |
|
| ResearcherID | integer |
None. |
|
| FacilitySubjectID | string |
None. |
|
| State | Collection of string |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| PlannedStartDate | date |
None. |
|
| PlannedEndDate | date |
None. |
|
| ShortName | string |
None. |
|
| ProjectID | integer |
None. |
|
| StudyID | integer |
None. |
|
| Category | string |
None. |
|
| SubCategory | string |
None. |
|
| Researchers | string |
None. |
|
| AuthorizedToUserProfileID | integer |
None. |
|
| TaskTypeID | integer |
None. |
|
| Reason | string |
None. |
|
| TaskPriorityID | integer |
None. |
|
| SchedulingOptionID | integer |
None. |
|
| Gender | string |
None. |
|
| MedicalRecordNumber | string |
None. |
|
| SubjectRegionID | integer |
None. |
|
| SubjectLocationID | integer |
None. |
|
| SubjectPoolID | integer |
None. |
|
| SubjectOtherID | integer |
None. |
|
| SubjectTeamID | integer |
None. |
|
| StartDateEnd | date |
None. |
|
| StartDateComparitor | DateComparitorEnum |
None. |
|
| subjectId | integer |
Default value is -1 |
|
| version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
ResponseOfIEnumerableOfTaskListModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of TaskListModel |
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": [
{
"taskID": 1,
"taskTypeID": 2,
"taskTypeDescription": "sample string 3",
"reason": "sample string 4"
},
{
"taskID": 1,
"taskTypeID": 2,
"taskTypeDescription": "sample string 3",
"reason": "sample string 4"
}
],
"statusCode": 100,
"statusDescription": "sample string 1",
"errors": [
"sample string 1",
"sample string 2"
]
}
application/xml, text/xml
Sample:
<ResponseOfArrayOfTaskListModeluskxzdf5 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:TaskListModel>
<d2p1:Reason>sample string 4</d2p1:Reason>
<d2p1:TaskID>1</d2p1:TaskID>
<d2p1:TaskTypeDescription>sample string 3</d2p1:TaskTypeDescription>
<d2p1:TaskTypeID>2</d2p1:TaskTypeID>
</d2p1:TaskListModel>
<d2p1:TaskListModel>
<d2p1:Reason>sample string 4</d2p1:Reason>
<d2p1:TaskID>1</d2p1:TaskID>
<d2p1:TaskTypeDescription>sample string 3</d2p1:TaskTypeDescription>
<d2p1:TaskTypeID>2</d2p1:TaskTypeID>
</d2p1:TaskListModel>
</Data>
</ResponseOfArrayOfTaskListModeluskxzdf5>