POST api/patiententry/add
Request Information
URI Parameters
None.
Body Parameters
PatientEntryRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| BillNo | string |
None. |
|
| SampleDate | date |
None. |
|
| SampleTime | string |
None. |
|
| ReportDate | date |
None. |
|
| ReportTime | string |
None. |
|
| UHID | string |
None. |
|
| Prefix | string |
None. |
|
| Name | string |
None. |
|
| Type | string |
None. |
|
| FHName | string |
None. |
|
| Age | string |
None. |
|
| AgeIn | string |
None. |
|
| Gender | string |
None. |
|
| ContactNo | string |
None. |
|
| Address | string |
None. |
|
| string |
None. |
||
| DocId | integer |
None. |
|
| LabId | integer |
None. |
|
| EmpId | integer |
None. |
|
| UserId | integer |
None. |
|
| TestDesc | string |
None. |
|
| TotalAmount | decimal number |
None. |
|
| DiscPer | decimal number |
None. |
|
| Discount | decimal number |
None. |
|
| DiscountBy | string |
None. |
|
| AmountPaid | decimal number |
None. |
|
| AmountDue | decimal number |
None. |
|
| TotalTest | integer |
None. |
|
| TotalDone | integer |
None. |
|
| SampleNo | string |
None. |
|
| PackageId | integer |
None. |
|
| Urgent | boolean |
None. |
|
| LedgerId | integer |
None. |
|
| SampleType | string |
None. |
|
| SessionId | integer |
None. |
|
| CentreId | integer |
None. |
|
| SrNo | integer |
None. |
|
| EntryRemarks | string |
None. |
|
| DSrNo | integer |
None. |
|
| PaymentId | integer |
None. |
|
| TestStatus | string |
None. |
|
| AmountPaidOnline | decimal number |
None. |
|
| PackageAmount | decimal number |
None. |
|
| IsPregnent | string |
None. |
|
| TotExp | decimal number |
None. |
|
| TPAID | integer |
None. |
|
| Qty | integer |
None. |
|
| Amount | decimal number |
None. |
|
| Refund | decimal number |
None. |
|
| RefundReason | string |
None. |
|
| Expense | decimal number |
None. |
|
| ExpenseReason | string |
None. |
|
| Tests | Collection of TestRequest |
None. |
Request Formats
application/json, text/json
Sample:
{
"BillNo": "sample string 1",
"SampleDate": "2025-12-06T10:11:05.283775+05:30",
"SampleTime": "sample string 3",
"ReportDate": "2025-12-06T10:11:05.283775+05:30",
"ReportTime": "sample string 5",
"UHID": "sample string 6",
"Prefix": "sample string 7",
"Name": "sample string 8",
"Type": "sample string 9",
"FHName": "sample string 10",
"Age": "sample string 11",
"AgeIn": "sample string 12",
"Gender": "sample string 13",
"ContactNo": "sample string 14",
"Address": "sample string 15",
"Email": "sample string 16",
"DocId": 17,
"LabId": 18,
"EmpId": 19,
"UserId": 20,
"TestDesc": "sample string 21",
"TotalAmount": 22.0,
"DiscPer": 23.0,
"Discount": 24.0,
"DiscountBy": "sample string 25",
"AmountPaid": 26.0,
"AmountDue": 27.0,
"TotalTest": 28,
"TotalDone": 29,
"SampleNo": "sample string 30",
"PackageId": 31,
"Urgent": true,
"LedgerId": 33,
"SampleType": "sample string 34",
"SessionId": 35,
"CentreId": 36,
"SrNo": 37,
"EntryRemarks": "sample string 38",
"DSrNo": 39,
"PaymentId": 40,
"TestStatus": "sample string 41",
"AmountPaidOnline": 42.0,
"PackageAmount": 43.0,
"IsPregnent": "sample string 44",
"TotExp": 45.1,
"TPAID": 46,
"Qty": 47,
"Amount": 48.1,
"Refund": 49.1,
"RefundReason": "sample string 50",
"Expense": 51.1,
"ExpenseReason": "sample string 52",
"Tests": [
{
"GroupId": 1,
"Rate": 2.1,
"TestStatus": "sample string 3",
"Qty": 4,
"Amount": 5.1
},
{
"GroupId": 1,
"Rate": 2.1,
"TestStatus": "sample string 3",
"Qty": 4,
"Amount": 5.1
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.