POST api/Bill/add
Request Information
URI Parameters
None.
Body Parameters
BillName | Description | Type | Additional information |
---|---|---|---|
BillId | integer |
Required |
|
BillSchool | string |
Required |
|
BillClassGroup | string |
Required |
|
BillCategory | string |
Required |
|
BillDate | date |
None. |
|
BillSession | string |
Required |
|
BillTerm | string |
Required |
|
BillName | string |
Required |
|
BillState | string |
Required |
|
Amount | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "BillId": 1, "BillSchool": "sample string 2", "BillClassGroup": "sample string 3", "BillCategory": "sample string 4", "BillDate": "2024-12-23T17:00:30.2919474+01:00", "BillSession": "sample string 5", "BillTerm": "sample string 6", "BillName": "sample string 7", "BillState": "sample string 8", "Amount": 1.1 }
application/xml, text/xml
Sample:
<Bill xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BaseLibrary.Entities"> <Amount>1.1</Amount> <BillCategory>sample string 4</BillCategory> <BillClassGroup>sample string 3</BillClassGroup> <BillDate>2024-12-23T17:00:30.2919474+01:00</BillDate> <BillId>1</BillId> <BillName>sample string 7</BillName> <BillSchool>sample string 2</BillSchool> <BillSession>sample string 5</BillSession> <BillState>sample string 8</BillState> <BillTerm>sample string 6</BillTerm> </Bill>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.