POST api/OnlineOrders?CompId={CompId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
CompId | string |
Required |
Body Parameters
KitchPOSHRsrvName | Description | Type | Additional information |
---|---|---|---|
BranchId | integer |
None. |
|
DocNo | string |
None. |
|
Dt | date |
None. |
|
RsrvType | integer |
None. |
|
CustName | string |
None. |
|
CustMobil | string |
None. |
|
CustAdress | string |
None. |
|
CustLoc | string |
None. |
|
Narration | string |
None. |
|
BillAmt | decimal number |
None. |
|
DiscAmt | decimal number |
None. |
|
SalMan | integer |
None. |
|
MdfDt | date |
None. |
|
Tax | decimal number |
None. |
|
kitchPOSHRsrvMeals | Collection of KitchPOSHRsrvMeals |
None. |
Request Formats
application/json, text/json
Sample:
{ "BranchId": 1, "DocNo": "sample string 2", "Dt": "2025-04-28T02:55:52.6378627-07:00", "RsrvType": 4, "CustName": "sample string 5", "CustMobil": "sample string 6", "CustAdress": "sample string 7", "CustLoc": "sample string 8", "Narration": "sample string 9", "BillAmt": 10.0, "DiscAmt": 11.0, "SalMan": 12, "MdfDt": "2025-04-28T02:55:52.6378627-07:00", "Tax": 14.0, "kitchPOSHRsrvMeals": [ { "MealId": 1, "Qty": 2.0, "Price": 3.0, "Remarks": "sample string 4" }, { "MealId": 1, "Qty": 2.0, "Price": 3.0, "Remarks": "sample string 4" } ] }
text/html
Sample:
{"BranchId":1,"DocNo":"sample string 2","Dt":"2025-04-28T02:55:52.6378627-07:00","RsrvType":4,"CustName":"sample string 5","CustMobil":"sample string 6","CustAdress":"sample string 7","CustLoc":"sample string 8","Narration":"sample string 9","BillAmt":10.0,"DiscAmt":11.0,"SalMan":12,"MdfDt":"2025-04-28T02:55:52.6378627-07:00","Tax":14.0,"kitchPOSHRsrvMeals":[{"MealId":1,"Qty":2.0,"Price":3.0,"Remarks":"sample string 4"},{"MealId":1,"Qty":2.0,"Price":3.0,"Remarks":"sample string 4"}]}
application/xml, text/xml
Sample:
<KitchPOSHRsrv xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GNXAPItoFlutter.Models"> <BillAmt>10</BillAmt> <BranchId>1</BranchId> <CustAdress>sample string 7</CustAdress> <CustLoc>sample string 8</CustLoc> <CustMobil>sample string 6</CustMobil> <CustName>sample string 5</CustName> <DiscAmt>11</DiscAmt> <DocNo>sample string 2</DocNo> <Dt>2025-04-28T02:55:52.6378627-07:00</Dt> <MdfDt>2025-04-28T02:55:52.6378627-07:00</MdfDt> <Narration>sample string 9</Narration> <RsrvType>4</RsrvType> <SalMan>12</SalMan> <Tax>14</Tax> <kitchPOSHRsrvMeals> <KitchPOSHRsrvMeals> <MealId>1</MealId> <Price>3</Price> <Qty>2</Qty> <Remarks>sample string 4</Remarks> </KitchPOSHRsrvMeals> <KitchPOSHRsrvMeals> <MealId>1</MealId> <Price>3</Price> <Qty>2</Qty> <Remarks>sample string 4</Remarks> </KitchPOSHRsrvMeals> </kitchPOSHRsrvMeals> </KitchPOSHRsrv>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json, text/html
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>