PUT api/studentBill/update-bill
Request Information
URI Parameters
None.
Body Parameters
StudentBill| Name | Description | Type | Additional information |
|---|---|---|---|
| SBId | integer |
None. |
|
| BillDate | date |
None. |
|
| AdmissionNumber | string |
Required |
|
| BId | integer |
Required |
|
| ReferenceNo | string |
None. |
|
| Quantity | integer |
None. |
|
| Amount | decimal number |
None. |
|
| TotalAmount | decimal number |
None. |
|
| RunningTotalAmount | decimal number |
None. |
|
| IsDiscount | boolean |
None. |
|
| IsReversed | boolean |
None. |
|
| DiscountType | string |
None. |
|
| UnitDiscount | decimal number |
None. |
|
| TotalDiscount | decimal number |
None. |
|
| TotalLessDiscount | decimal number |
None. |
|
| TotalAfterAllDiscount | decimal number |
None. |
|
| BilledBy | string |
None. |
|
| Details | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"SBId": 1,
"BillDate": "2025-12-04T23:16:22.4043298+01:00",
"AdmissionNumber": "sample string 3",
"BId": 4,
"ReferenceNo": "sample string 5",
"Quantity": 6,
"Amount": 1.1,
"TotalAmount": 1.1,
"RunningTotalAmount": 1.1,
"IsDiscount": true,
"IsReversed": true,
"DiscountType": "sample string 7",
"UnitDiscount": 1.1,
"TotalDiscount": 1.1,
"TotalLessDiscount": 1.1,
"TotalAfterAllDiscount": 1.1,
"BilledBy": "sample string 8",
"Details": "sample string 9"
}
application/xml, text/xml
Sample:
<StudentBill xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BaseLibrary.Entities"> <AdmissionNumber>sample string 3</AdmissionNumber> <Amount>1.1</Amount> <BId>4</BId> <BillDate>2025-12-04T23:16:22.4043298+01:00</BillDate> <BilledBy>sample string 8</BilledBy> <Details>sample string 9</Details> <DiscountType>sample string 7</DiscountType> <IsDiscount>true</IsDiscount> <IsReversed>true</IsReversed> <Quantity>6</Quantity> <ReferenceNo>sample string 5</ReferenceNo> <RunningTotalAmount>1.1</RunningTotalAmount> <SBId>1</SBId> <TotalAfterAllDiscount>1.1</TotalAfterAllDiscount> <TotalAmount>1.1</TotalAmount> <TotalDiscount>1.1</TotalDiscount> <TotalLessDiscount>1.1</TotalLessDiscount> <UnitDiscount>1.1</UnitDiscount> </StudentBill>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.