POST api/bills
Request Information
URI Parameters
None.
Body Parameters
CreateBillRequestDto| Name | Description | Type | Additional information |
|---|---|---|---|
| location_id | integer |
None. |
|
| bill_type | string |
None. |
|
| table_no | string |
None. |
|
| waiter_id | integer |
None. |
|
| customer_name | string |
None. |
|
| phone | string |
None. |
|
| address | string |
None. |
|
| payment_mode | string |
None. |
|
| is_paid | boolean |
None. |
|
| amount_recevied | decimal number |
None. |
|
| payment_reference | string |
None. |
|
| discount | decimal number |
None. |
|
| round_off | decimal number |
None. |
|
| created_by | string |
None. |
|
| part | string |
None. |
|
| items | Collection of CreateBillItemRequestDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"location_id": 1,
"bill_type": "sample string 2",
"table_no": "sample string 3",
"waiter_id": 1,
"customer_name": "sample string 4",
"phone": "sample string 5",
"address": "sample string 6",
"payment_mode": "sample string 7",
"is_paid": true,
"amount_recevied": 1.0,
"payment_reference": "sample string 9",
"discount": 1.0,
"round_off": 1.0,
"created_by": "sample string 10",
"part": "sample string 11",
"items": [
{
"item_id": 1,
"quantity": 2.0
},
{
"item_id": 1,
"quantity": 2.0
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.