POST api/Bill/AddBill
Request Information
URI Parameters
None.
Body Parameters
Bill| Name | Description | Type | Additional information |
|---|---|---|---|
| BillId | integer |
None. |
|
| CustomerId | integer |
None. |
|
| Customer | string |
None. |
|
| Month | integer |
None. |
|
| Year | integer |
None. |
|
| Amount | decimal number |
None. |
|
| Status | string |
None. |
|
| PendingAmount | decimal number |
None. |
|
| PaidAmount | decimal number |
None. |
|
| PaidDate | string |
None. |
|
| PaymentMode | string |
None. |
|
| AreaId | integer |
None. |
|
| Area | string |
None. |
|
| Mobile | string |
None. |
|
| CreatedBy | string |
None. |
|
| CreatedDate | string |
None. |
|
| UpdatedBy | string |
None. |
|
| UpdatedDate | string |
None. |
|
| PaymentId | string |
None. |
|
| OrderId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"BillId": 1,
"CustomerId": 2,
"Customer": "sample string 3",
"Month": 4,
"Year": 5,
"Amount": 6.0,
"Status": "sample string 7",
"PendingAmount": 8.0,
"PaidAmount": 9.0,
"PaidDate": "sample string 10",
"PaymentMode": "sample string 11",
"AreaId": 12,
"Area": "sample string 13",
"Mobile": "sample string 14",
"CreatedBy": "sample string 15",
"CreatedDate": "sample string 16",
"UpdatedBy": "sample string 17",
"UpdatedDate": "sample string 18",
"PaymentId": "sample string 19",
"OrderId": "sample string 20"
}
application/octet-stream
Sample:
{"$id":"1","BillId":1,"CustomerId":2,"Customer":"sample string 3","Month":4,"Year":5,"Amount":6.0,"Status":"sample string 7","PendingAmount":8.0,"PaidAmount":9.0,"PaidDate":"sample string 10","PaymentMode":"sample string 11","AreaId":12,"Area":"sample string 13","Mobile":"sample string 14","CreatedBy":"sample string 15","CreatedDate":"sample string 16","UpdatedBy":"sample string 17","UpdatedDate":"sample string 18","PaymentId":"sample string 19","OrderId":"sample string 20"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/octet-stream
Sample:
Sample not available.