POST api/collection/delete/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

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-01-21T18:36:41.5080861+01:00",
      "COLLECTION_TIME": "2026-01-21T18:36:41.5080861+01:00",
      "REFERENCE_NO": "sample string 5",
      "PATIENT_NAME": "sample string 6",
      "AGE": "sample string 7",
      "SEX": "sample string 8",
      "HOSPITAL_ID": 9,
      "UNIT_NAME": "sample string 10",
      "WARD": "sample string 11",
      "UHID": "sample string 12",
      "INCOME": 13.0,
      "SPECIMEN": "sample string 14",
      "DESCRIPTION": "sample string 15",
      "DIAGNOSIS": "sample string 16",
      "ANTIBIOTIC_PRESENT": "sample string 17",
      "ANTIBIOTIC_PAST": "sample string 18",
      "INVESTIGATION_ID": 19,
      "INVESTIGATION_NAME": "sample string 20",
      "PREVIOUS_RESULT": "sample string 21",
      "OTHERS": "sample string 22",
      "USER_ID": 23,
      "DOCTOR_NAME": "sample string 24",
      "DOCTOR_MOBILE": "sample string 25",
      "INVESTIGATION": "sample string 26",
      "SPECIFY_TEST": "sample string 27",
      "REPORT_ID": 28,
      "STATUS_ID": 29,
      "LAB_ID": "sample string 30",
      "NATURE_OF_SPECIMEN": 31,
      "STATUS_NAME": "sample string 32",
      "USER_NAME": "sample string 33",
      "HOSPITAL_NAME": "sample string 34"
    },
    {
      "ID": 1,
      "COLLECTION_NO": "sample string 2",
      "COLLECTION_DATE": "2026-01-21T18:36:41.5080861+01:00",
      "COLLECTION_TIME": "2026-01-21T18:36:41.5080861+01:00",
      "REFERENCE_NO": "sample string 5",
      "PATIENT_NAME": "sample string 6",
      "AGE": "sample string 7",
      "SEX": "sample string 8",
      "HOSPITAL_ID": 9,
      "UNIT_NAME": "sample string 10",
      "WARD": "sample string 11",
      "UHID": "sample string 12",
      "INCOME": 13.0,
      "SPECIMEN": "sample string 14",
      "DESCRIPTION": "sample string 15",
      "DIAGNOSIS": "sample string 16",
      "ANTIBIOTIC_PRESENT": "sample string 17",
      "ANTIBIOTIC_PAST": "sample string 18",
      "INVESTIGATION_ID": 19,
      "INVESTIGATION_NAME": "sample string 20",
      "PREVIOUS_RESULT": "sample string 21",
      "OTHERS": "sample string 22",
      "USER_ID": 23,
      "DOCTOR_NAME": "sample string 24",
      "DOCTOR_MOBILE": "sample string 25",
      "INVESTIGATION": "sample string 26",
      "SPECIFY_TEST": "sample string 27",
      "REPORT_ID": 28,
      "STATUS_ID": 29,
      "LAB_ID": "sample string 30",
      "NATURE_OF_SPECIMEN": 31,
      "STATUS_NAME": "sample string 32",
      "USER_NAME": "sample string 33",
      "HOSPITAL_NAME": "sample string 34"
    }
  ]
}

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 7</AGE>
      <ANTIBIOTIC_PAST>sample string 18</ANTIBIOTIC_PAST>
      <ANTIBIOTIC_PRESENT>sample string 17</ANTIBIOTIC_PRESENT>
      <COLLECTION_DATE>2026-01-21T18:36:41.5080861+01:00</COLLECTION_DATE>
      <COLLECTION_NO>sample string 2</COLLECTION_NO>
      <COLLECTION_TIME>2026-01-21T18:36:41.5080861+01:00</COLLECTION_TIME>
      <DESCRIPTION>sample string 15</DESCRIPTION>
      <DIAGNOSIS>sample string 16</DIAGNOSIS>
      <DOCTOR_MOBILE>sample string 25</DOCTOR_MOBILE>
      <DOCTOR_NAME>sample string 24</DOCTOR_NAME>
      <HOSPITAL_ID>9</HOSPITAL_ID>
      <HOSPITAL_NAME>sample string 34</HOSPITAL_NAME>
      <ID>1</ID>
      <INCOME>13</INCOME>
      <INVESTIGATION>sample string 26</INVESTIGATION>
      <INVESTIGATION_ID>19</INVESTIGATION_ID>
      <INVESTIGATION_NAME>sample string 20</INVESTIGATION_NAME>
      <LAB_ID>sample string 30</LAB_ID>
      <NATURE_OF_SPECIMEN>31</NATURE_OF_SPECIMEN>
      <OTHERS>sample string 22</OTHERS>
      <PATIENT_NAME>sample string 6</PATIENT_NAME>
      <PREVIOUS_RESULT>sample string 21</PREVIOUS_RESULT>
      <REFERENCE_NO>sample string 5</REFERENCE_NO>
      <REPORT_ID>28</REPORT_ID>
      <SEX>sample string 8</SEX>
      <SPECIFY_TEST>sample string 27</SPECIFY_TEST>
      <SPECIMEN>sample string 14</SPECIMEN>
      <STATUS_ID>29</STATUS_ID>
      <STATUS_NAME>sample string 32</STATUS_NAME>
      <UHID>sample string 12</UHID>
      <UNIT_NAME>sample string 10</UNIT_NAME>
      <USER_ID>23</USER_ID>
      <USER_NAME>sample string 33</USER_NAME>
      <WARD>sample string 11</WARD>
    </Collection>
    <Collection>
      <AGE>sample string 7</AGE>
      <ANTIBIOTIC_PAST>sample string 18</ANTIBIOTIC_PAST>
      <ANTIBIOTIC_PRESENT>sample string 17</ANTIBIOTIC_PRESENT>
      <COLLECTION_DATE>2026-01-21T18:36:41.5080861+01:00</COLLECTION_DATE>
      <COLLECTION_NO>sample string 2</COLLECTION_NO>
      <COLLECTION_TIME>2026-01-21T18:36:41.5080861+01:00</COLLECTION_TIME>
      <DESCRIPTION>sample string 15</DESCRIPTION>
      <DIAGNOSIS>sample string 16</DIAGNOSIS>
      <DOCTOR_MOBILE>sample string 25</DOCTOR_MOBILE>
      <DOCTOR_NAME>sample string 24</DOCTOR_NAME>
      <HOSPITAL_ID>9</HOSPITAL_ID>
      <HOSPITAL_NAME>sample string 34</HOSPITAL_NAME>
      <ID>1</ID>
      <INCOME>13</INCOME>
      <INVESTIGATION>sample string 26</INVESTIGATION>
      <INVESTIGATION_ID>19</INVESTIGATION_ID>
      <INVESTIGATION_NAME>sample string 20</INVESTIGATION_NAME>
      <LAB_ID>sample string 30</LAB_ID>
      <NATURE_OF_SPECIMEN>31</NATURE_OF_SPECIMEN>
      <OTHERS>sample string 22</OTHERS>
      <PATIENT_NAME>sample string 6</PATIENT_NAME>
      <PREVIOUS_RESULT>sample string 21</PREVIOUS_RESULT>
      <REFERENCE_NO>sample string 5</REFERENCE_NO>
      <REPORT_ID>28</REPORT_ID>
      <SEX>sample string 8</SEX>
      <SPECIFY_TEST>sample string 27</SPECIFY_TEST>
      <SPECIMEN>sample string 14</SPECIMEN>
      <STATUS_ID>29</STATUS_ID>
      <STATUS_NAME>sample string 32</STATUS_NAME>
      <UHID>sample string 12</UHID>
      <UNIT_NAME>sample string 10</UNIT_NAME>
      <USER_ID>23</USER_ID>
      <USER_NAME>sample string 33</USER_NAME>
      <WARD>sample string 11</WARD>
    </Collection>
  </CollectionData>
  <Message>sample string 2</Message>
  <flag>1</flag>
</CollectionResponse>