POST api/collection/CollectionNo

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

CollectionResponse
NameDescriptionTypeAdditional information
flag

integer

None.

Message

string

None.

CollectionData

Collection of Collection

None.

Response Formats

application/json, text/json

Sample:
{
  "flag": 1,
  "Message": "sample string 2",
  "CollectionData": [
    {
      "ID": 1,
      "COLLECTION_NO": "sample string 2",
      "COLLECTION_DATE": "2026-07-08T13:41:20.170653+02:00",
      "COLLECTION_TIME": "2026-07-08T13:41:20.170653+02:00",
      "REFERENCE_NO": "sample string 3",
      "PATIENT_NAME": "sample string 4",
      "AGE": "sample string 5",
      "SEX": "sample string 6",
      "HOSPITAL_ID": 7,
      "UNIT_NAME": "sample string 8",
      "WARD": "sample string 9",
      "UHID": "sample string 10",
      "INCOME": 11.0,
      "SPECIMEN": "sample string 12",
      "DESCRIPTION": "sample string 13",
      "DIAGNOSIS": "sample string 14",
      "ANTIBIOTIC_PRESENT": "sample string 15",
      "ANTIBIOTIC_PAST": "sample string 16",
      "INVESTIGATION_ID": 17,
      "INVESTIGATION_NAME": "sample string 18",
      "PREVIOUS_RESULT": "sample string 19",
      "OTHERS": "sample string 20",
      "USER_ID": 21,
      "DOCTOR_NAME": "sample string 22",
      "DOCTOR_MOBILE": "sample string 23",
      "INVESTIGATION": "sample string 24",
      "SPECIFY_TEST": "sample string 25",
      "REPORT_ID": 26,
      "STATUS_ID": 27,
      "LAB_ID": "sample string 28",
      "NATURE_OF_SPECIMEN": 29,
      "STATUS_NAME": "sample string 30",
      "USER_NAME": "sample string 31",
      "HOSPITAL_NAME": "sample string 32",
      "NATURE_OF_SPECIMEN_NAME": "sample string 33"
    },
    {
      "ID": 1,
      "COLLECTION_NO": "sample string 2",
      "COLLECTION_DATE": "2026-07-08T13:41:20.170653+02:00",
      "COLLECTION_TIME": "2026-07-08T13:41:20.170653+02:00",
      "REFERENCE_NO": "sample string 3",
      "PATIENT_NAME": "sample string 4",
      "AGE": "sample string 5",
      "SEX": "sample string 6",
      "HOSPITAL_ID": 7,
      "UNIT_NAME": "sample string 8",
      "WARD": "sample string 9",
      "UHID": "sample string 10",
      "INCOME": 11.0,
      "SPECIMEN": "sample string 12",
      "DESCRIPTION": "sample string 13",
      "DIAGNOSIS": "sample string 14",
      "ANTIBIOTIC_PRESENT": "sample string 15",
      "ANTIBIOTIC_PAST": "sample string 16",
      "INVESTIGATION_ID": 17,
      "INVESTIGATION_NAME": "sample string 18",
      "PREVIOUS_RESULT": "sample string 19",
      "OTHERS": "sample string 20",
      "USER_ID": 21,
      "DOCTOR_NAME": "sample string 22",
      "DOCTOR_MOBILE": "sample string 23",
      "INVESTIGATION": "sample string 24",
      "SPECIFY_TEST": "sample string 25",
      "REPORT_ID": 26,
      "STATUS_ID": 27,
      "LAB_ID": "sample string 28",
      "NATURE_OF_SPECIMEN": 29,
      "STATUS_NAME": "sample string 30",
      "USER_NAME": "sample string 31",
      "HOSPITAL_NAME": "sample string 32",
      "NATURE_OF_SPECIMEN_NAME": "sample string 33"
    }
  ]
}

application/xml, text/xml

Sample:
<CollectionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VEZTA.Models">
  <CollectionData>
    <Collection>
      <AGE>sample string 5</AGE>
      <ANTIBIOTIC_PAST>sample string 16</ANTIBIOTIC_PAST>
      <ANTIBIOTIC_PRESENT>sample string 15</ANTIBIOTIC_PRESENT>
      <COLLECTION_DATE>2026-07-08T13:41:20.170653+02:00</COLLECTION_DATE>
      <COLLECTION_NO>sample string 2</COLLECTION_NO>
      <COLLECTION_TIME>2026-07-08T13:41:20.170653+02:00</COLLECTION_TIME>
      <DESCRIPTION>sample string 13</DESCRIPTION>
      <DIAGNOSIS>sample string 14</DIAGNOSIS>
      <DOCTOR_MOBILE>sample string 23</DOCTOR_MOBILE>
      <DOCTOR_NAME>sample string 22</DOCTOR_NAME>
      <HOSPITAL_ID>7</HOSPITAL_ID>
      <HOSPITAL_NAME>sample string 32</HOSPITAL_NAME>
      <ID>1</ID>
      <INCOME>11</INCOME>
      <INVESTIGATION>sample string 24</INVESTIGATION>
      <INVESTIGATION_ID>17</INVESTIGATION_ID>
      <INVESTIGATION_NAME>sample string 18</INVESTIGATION_NAME>
      <LAB_ID>sample string 28</LAB_ID>
      <NATURE_OF_SPECIMEN>29</NATURE_OF_SPECIMEN>
      <NATURE_OF_SPECIMEN_NAME>sample string 33</NATURE_OF_SPECIMEN_NAME>
      <OTHERS>sample string 20</OTHERS>
      <PATIENT_NAME>sample string 4</PATIENT_NAME>
      <PREVIOUS_RESULT>sample string 19</PREVIOUS_RESULT>
      <REFERENCE_NO>sample string 3</REFERENCE_NO>
      <REPORT_ID>26</REPORT_ID>
      <SEX>sample string 6</SEX>
      <SPECIFY_TEST>sample string 25</SPECIFY_TEST>
      <SPECIMEN>sample string 12</SPECIMEN>
      <STATUS_ID>27</STATUS_ID>
      <STATUS_NAME>sample string 30</STATUS_NAME>
      <UHID>sample string 10</UHID>
      <UNIT_NAME>sample string 8</UNIT_NAME>
      <USER_ID>21</USER_ID>
      <USER_NAME>sample string 31</USER_NAME>
      <WARD>sample string 9</WARD>
    </Collection>
    <Collection>
      <AGE>sample string 5</AGE>
      <ANTIBIOTIC_PAST>sample string 16</ANTIBIOTIC_PAST>
      <ANTIBIOTIC_PRESENT>sample string 15</ANTIBIOTIC_PRESENT>
      <COLLECTION_DATE>2026-07-08T13:41:20.170653+02:00</COLLECTION_DATE>
      <COLLECTION_NO>sample string 2</COLLECTION_NO>
      <COLLECTION_TIME>2026-07-08T13:41:20.170653+02:00</COLLECTION_TIME>
      <DESCRIPTION>sample string 13</DESCRIPTION>
      <DIAGNOSIS>sample string 14</DIAGNOSIS>
      <DOCTOR_MOBILE>sample string 23</DOCTOR_MOBILE>
      <DOCTOR_NAME>sample string 22</DOCTOR_NAME>
      <HOSPITAL_ID>7</HOSPITAL_ID>
      <HOSPITAL_NAME>sample string 32</HOSPITAL_NAME>
      <ID>1</ID>
      <INCOME>11</INCOME>
      <INVESTIGATION>sample string 24</INVESTIGATION>
      <INVESTIGATION_ID>17</INVESTIGATION_ID>
      <INVESTIGATION_NAME>sample string 18</INVESTIGATION_NAME>
      <LAB_ID>sample string 28</LAB_ID>
      <NATURE_OF_SPECIMEN>29</NATURE_OF_SPECIMEN>
      <NATURE_OF_SPECIMEN_NAME>sample string 33</NATURE_OF_SPECIMEN_NAME>
      <OTHERS>sample string 20</OTHERS>
      <PATIENT_NAME>sample string 4</PATIENT_NAME>
      <PREVIOUS_RESULT>sample string 19</PREVIOUS_RESULT>
      <REFERENCE_NO>sample string 3</REFERENCE_NO>
      <REPORT_ID>26</REPORT_ID>
      <SEX>sample string 6</SEX>
      <SPECIFY_TEST>sample string 25</SPECIFY_TEST>
      <SPECIMEN>sample string 12</SPECIMEN>
      <STATUS_ID>27</STATUS_ID>
      <STATUS_NAME>sample string 30</STATUS_NAME>
      <UHID>sample string 10</UHID>
      <UNIT_NAME>sample string 8</UNIT_NAME>
      <USER_ID>21</USER_ID>
      <USER_NAME>sample string 31</USER_NAME>
      <WARD>sample string 9</WARD>
    </Collection>
  </CollectionData>
  <Message>sample string 2</Message>
  <flag>1</flag>
</CollectionResponse>