POST api/collection/download
Request Information
URI Parameters
None.
Body Parameters
CollectionDownloadInput| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1
}
application/xml, text/xml
Sample:
<CollectionDownloadInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VEZTA.Models"> <ID>1</ID> </CollectionDownloadInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CollectionDownloadOutput| Name | Description | Type | Additional information |
|---|---|---|---|
| flag | integer |
None. |
|
| message | string |
None. |
|
| data | Collection of CollectionDownload |
None. |
Response Formats
application/json, text/json
Sample:
{
"flag": 1,
"message": "sample string 2",
"data": [
{
"ID": 1,
"COLLECTION_NO": "sample string 2",
"COLLECTION_DATE": "2026-01-21T18:36:42.2580907+01:00",
"COLLECTION_TIME": "2026-01-21T18:36:42.2580907+01:00",
"REFERENCE_NO": "sample string 5",
"PATIENT_NAME": "sample string 6",
"AGE": "sample string 7",
"SEX": "sample string 8",
"HOSPITAL_ID": 9,
"DEPT_ID": 10,
"UNIT_NAME": "sample string 11",
"WARD": "sample string 12",
"UHID": "sample string 13",
"INCOME": 14.0,
"SPECIMEN": "sample string 15",
"DOCTOR_MOBILE": "sample string 16",
"DOCTOR_NAME": "sample string 17",
"DESCRIPTION": "sample string 18",
"DIAGNOSIS": "sample string 19",
"ANTIBIOTIC_PRESENT": "sample string 20",
"ANTIBIOTIC_PAST": "sample string 21",
"INVESTIGATION_ID": 22,
"INVESTIGATION_NAME": "sample string 23",
"PREVIOUS_RESULT": "sample string 24",
"OTHERS": "sample string 25",
"USER_ID": 26,
"USER_TIME": "2026-01-21T18:36:42.2580907+01:00"
},
{
"ID": 1,
"COLLECTION_NO": "sample string 2",
"COLLECTION_DATE": "2026-01-21T18:36:42.2580907+01:00",
"COLLECTION_TIME": "2026-01-21T18:36:42.2580907+01:00",
"REFERENCE_NO": "sample string 5",
"PATIENT_NAME": "sample string 6",
"AGE": "sample string 7",
"SEX": "sample string 8",
"HOSPITAL_ID": 9,
"DEPT_ID": 10,
"UNIT_NAME": "sample string 11",
"WARD": "sample string 12",
"UHID": "sample string 13",
"INCOME": 14.0,
"SPECIMEN": "sample string 15",
"DOCTOR_MOBILE": "sample string 16",
"DOCTOR_NAME": "sample string 17",
"DESCRIPTION": "sample string 18",
"DIAGNOSIS": "sample string 19",
"ANTIBIOTIC_PRESENT": "sample string 20",
"ANTIBIOTIC_PAST": "sample string 21",
"INVESTIGATION_ID": 22,
"INVESTIGATION_NAME": "sample string 23",
"PREVIOUS_RESULT": "sample string 24",
"OTHERS": "sample string 25",
"USER_ID": 26,
"USER_TIME": "2026-01-21T18:36:42.2580907+01:00"
}
]
}
application/xml, text/xml
Sample:
<CollectionDownloadOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VEZTA.Models">
<data>
<CollectionDownload>
<AGE>sample string 7</AGE>
<ANTIBIOTIC_PAST>sample string 21</ANTIBIOTIC_PAST>
<ANTIBIOTIC_PRESENT>sample string 20</ANTIBIOTIC_PRESENT>
<COLLECTION_DATE>2026-01-21T18:36:42.2580907+01:00</COLLECTION_DATE>
<COLLECTION_NO>sample string 2</COLLECTION_NO>
<COLLECTION_TIME>2026-01-21T18:36:42.2580907+01:00</COLLECTION_TIME>
<DEPT_ID>10</DEPT_ID>
<DESCRIPTION>sample string 18</DESCRIPTION>
<DIAGNOSIS>sample string 19</DIAGNOSIS>
<DOCTOR_MOBILE>sample string 16</DOCTOR_MOBILE>
<DOCTOR_NAME>sample string 17</DOCTOR_NAME>
<HOSPITAL_ID>9</HOSPITAL_ID>
<ID>1</ID>
<INCOME>14</INCOME>
<INVESTIGATION_ID>22</INVESTIGATION_ID>
<INVESTIGATION_NAME>sample string 23</INVESTIGATION_NAME>
<OTHERS>sample string 25</OTHERS>
<PATIENT_NAME>sample string 6</PATIENT_NAME>
<PREVIOUS_RESULT>sample string 24</PREVIOUS_RESULT>
<REFERENCE_NO>sample string 5</REFERENCE_NO>
<SEX>sample string 8</SEX>
<SPECIMEN>sample string 15</SPECIMEN>
<UHID>sample string 13</UHID>
<UNIT_NAME>sample string 11</UNIT_NAME>
<USER_ID>26</USER_ID>
<USER_TIME>2026-01-21T18:36:42.2580907+01:00</USER_TIME>
<WARD>sample string 12</WARD>
</CollectionDownload>
<CollectionDownload>
<AGE>sample string 7</AGE>
<ANTIBIOTIC_PAST>sample string 21</ANTIBIOTIC_PAST>
<ANTIBIOTIC_PRESENT>sample string 20</ANTIBIOTIC_PRESENT>
<COLLECTION_DATE>2026-01-21T18:36:42.2580907+01:00</COLLECTION_DATE>
<COLLECTION_NO>sample string 2</COLLECTION_NO>
<COLLECTION_TIME>2026-01-21T18:36:42.2580907+01:00</COLLECTION_TIME>
<DEPT_ID>10</DEPT_ID>
<DESCRIPTION>sample string 18</DESCRIPTION>
<DIAGNOSIS>sample string 19</DIAGNOSIS>
<DOCTOR_MOBILE>sample string 16</DOCTOR_MOBILE>
<DOCTOR_NAME>sample string 17</DOCTOR_NAME>
<HOSPITAL_ID>9</HOSPITAL_ID>
<ID>1</ID>
<INCOME>14</INCOME>
<INVESTIGATION_ID>22</INVESTIGATION_ID>
<INVESTIGATION_NAME>sample string 23</INVESTIGATION_NAME>
<OTHERS>sample string 25</OTHERS>
<PATIENT_NAME>sample string 6</PATIENT_NAME>
<PREVIOUS_RESULT>sample string 24</PREVIOUS_RESULT>
<REFERENCE_NO>sample string 5</REFERENCE_NO>
<SEX>sample string 8</SEX>
<SPECIMEN>sample string 15</SPECIMEN>
<UHID>sample string 13</UHID>
<UNIT_NAME>sample string 11</UNIT_NAME>
<USER_ID>26</USER_ID>
<USER_TIME>2026-01-21T18:36:42.2580907+01:00</USER_TIME>
<WARD>sample string 12</WARD>
</CollectionDownload>
</data>
<flag>1</flag>
<message>sample string 2</message>
</CollectionDownloadOutput>