POST api/v1/UnsettledBillForDesktop

Request Information

URI Parameters

None.

Body Parameters

UnsettledBillInput
NameDescriptionTypeAdditional information
CompID

integer

None.

LocID

integer

None.

TableNo

string

None.

CurrDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "CompID": 1,
  "LocID": 2,
  "TableNo": "sample string 3",
  "CurrDate": "2025-12-14T20:06:32.6937456+05:30"
}

application/xml, text/xml

Sample:
<UnsettledBillInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <CompID>1</CompID>
  <CurrDate>2025-12-14T20:06:32.6937456+05:30</CurrDate>
  <LocID>2</LocID>
  <TableNo>sample string 3</TableNo>
</UnsettledBillInput>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UnsettledBillInput'.

Response Information

Resource Description

Collection of UnsettledBillModel
NameDescriptionTypeAdditional information
BillID

integer

None.

BillNo

string

None.

TableNo

string

None.

tableID

integer

None.

CustName

string

None.

BillValue

decimal number

None.

MobileNo

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "BillID": 1,
    "BillNo": "sample string 2",
    "TableNo": "sample string 3",
    "tableID": 4,
    "CustName": "sample string 5",
    "BillValue": 6.0,
    "MobileNo": "sample string 7"
  },
  {
    "BillID": 1,
    "BillNo": "sample string 2",
    "TableNo": "sample string 3",
    "tableID": 4,
    "CustName": "sample string 5",
    "BillValue": 6.0,
    "MobileNo": "sample string 7"
  }
]

application/xml, text/xml

Sample:
<ArrayOfUnsettledBillModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <UnsettledBillModel>
    <BillID>1</BillID>
    <BillNo>sample string 2</BillNo>
    <BillValue>6</BillValue>
    <CustName>sample string 5</CustName>
    <MobileNo>sample string 7</MobileNo>
    <TableNo>sample string 3</TableNo>
    <tableID>4</tableID>
  </UnsettledBillModel>
  <UnsettledBillModel>
    <BillID>1</BillID>
    <BillNo>sample string 2</BillNo>
    <BillValue>6</BillValue>
    <CustName>sample string 5</CustName>
    <MobileNo>sample string 7</MobileNo>
    <TableNo>sample string 3</TableNo>
    <tableID>4</tableID>
  </UnsettledBillModel>
</ArrayOfUnsettledBillModel>