POST API/NightAudit/NightAuditSave
Request Information
URI Parameters
None.
Body Parameters
NightAudit| Name | Description | Type | Additional information |
|---|---|---|---|
| ReceiptNo | integer |
None. |
|
| ChkOutNo | integer |
None. |
|
| BillNo | integer |
None. |
|
| Id | integer |
None. |
|
| GuestName | string |
None. |
|
| Cash | decimal number |
None. |
|
| Card | decimal number |
None. |
|
| NEFT | decimal number |
None. |
|
| NettAmount | decimal number |
None. |
|
| HotelId | integer |
None. |
|
| Date | string |
None. |
|
| Net | decimal number |
None. |
|
| ResultId | string |
None. |
|
| ErrMsg | string |
None. |
|
| CashAmt | decimal number |
None. |
|
| CardAmt | decimal number |
None. |
|
| NEFTAmt | decimal number |
None. |
|
| NetAmt | decimal number |
None. |
|
| UserId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ReceiptNo": 1,
"ChkOutNo": 2,
"BillNo": 3,
"Id": 4,
"GuestName": "sample string 5",
"Cash": 6.0,
"Card": 7.0,
"NEFT": 8.0,
"NettAmount": 9.0,
"HotelId": 10,
"Date": "sample string 11",
"Net": 12.0,
"ResultId": "sample string 13",
"ErrMsg": "sample string 14",
"CashAmt": 15.0,
"CardAmt": 16.0,
"NEFTAmt": 17.0,
"NetAmt": 18.0,
"UserId": 19
}
application/xml, text/xml
Sample:
<NightAudit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HMSApi.Models"> <BillNo>3</BillNo> <Card>7</Card> <CardAmt>16</CardAmt> <Cash>6</Cash> <CashAmt>15</CashAmt> <ChkOutNo>2</ChkOutNo> <Date>sample string 11</Date> <ErrMsg>sample string 14</ErrMsg> <GuestName>sample string 5</GuestName> <HotelId>10</HotelId> <Id>4</Id> <NEFT>8</NEFT> <NEFTAmt>17</NEFTAmt> <Net>12</Net> <NetAmt>18</NetAmt> <NettAmount>9</NettAmount> <ReceiptNo>1</ReceiptNo> <ResultId>sample string 13</ResultId> <UserId>19</UserId> </NightAudit>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of NightAudit| Name | Description | Type | Additional information |
|---|---|---|---|
| ReceiptNo | integer |
None. |
|
| ChkOutNo | integer |
None. |
|
| BillNo | integer |
None. |
|
| Id | integer |
None. |
|
| GuestName | string |
None. |
|
| Cash | decimal number |
None. |
|
| Card | decimal number |
None. |
|
| NEFT | decimal number |
None. |
|
| NettAmount | decimal number |
None. |
|
| HotelId | integer |
None. |
|
| Date | string |
None. |
|
| Net | decimal number |
None. |
|
| ResultId | string |
None. |
|
| ErrMsg | string |
None. |
|
| CashAmt | decimal number |
None. |
|
| CardAmt | decimal number |
None. |
|
| NEFTAmt | decimal number |
None. |
|
| NetAmt | decimal number |
None. |
|
| UserId | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ReceiptNo": 1,
"ChkOutNo": 2,
"BillNo": 3,
"Id": 4,
"GuestName": "sample string 5",
"Cash": 6.0,
"Card": 7.0,
"NEFT": 8.0,
"NettAmount": 9.0,
"HotelId": 10,
"Date": "sample string 11",
"Net": 12.0,
"ResultId": "sample string 13",
"ErrMsg": "sample string 14",
"CashAmt": 15.0,
"CardAmt": 16.0,
"NEFTAmt": 17.0,
"NetAmt": 18.0,
"UserId": 19
},
{
"ReceiptNo": 1,
"ChkOutNo": 2,
"BillNo": 3,
"Id": 4,
"GuestName": "sample string 5",
"Cash": 6.0,
"Card": 7.0,
"NEFT": 8.0,
"NettAmount": 9.0,
"HotelId": 10,
"Date": "sample string 11",
"Net": 12.0,
"ResultId": "sample string 13",
"ErrMsg": "sample string 14",
"CashAmt": 15.0,
"CardAmt": 16.0,
"NEFTAmt": 17.0,
"NetAmt": 18.0,
"UserId": 19
}
]
application/xml, text/xml
Sample:
<ArrayOfNightAudit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HMSApi.Models">
<NightAudit>
<BillNo>3</BillNo>
<Card>7</Card>
<CardAmt>16</CardAmt>
<Cash>6</Cash>
<CashAmt>15</CashAmt>
<ChkOutNo>2</ChkOutNo>
<Date>sample string 11</Date>
<ErrMsg>sample string 14</ErrMsg>
<GuestName>sample string 5</GuestName>
<HotelId>10</HotelId>
<Id>4</Id>
<NEFT>8</NEFT>
<NEFTAmt>17</NEFTAmt>
<Net>12</Net>
<NetAmt>18</NetAmt>
<NettAmount>9</NettAmount>
<ReceiptNo>1</ReceiptNo>
<ResultId>sample string 13</ResultId>
<UserId>19</UserId>
</NightAudit>
<NightAudit>
<BillNo>3</BillNo>
<Card>7</Card>
<CardAmt>16</CardAmt>
<Cash>6</Cash>
<CashAmt>15</CashAmt>
<ChkOutNo>2</ChkOutNo>
<Date>sample string 11</Date>
<ErrMsg>sample string 14</ErrMsg>
<GuestName>sample string 5</GuestName>
<HotelId>10</HotelId>
<Id>4</Id>
<NEFT>8</NEFT>
<NEFTAmt>17</NEFTAmt>
<Net>12</Net>
<NetAmt>18</NetAmt>
<NettAmount>9</NettAmount>
<ReceiptNo>1</ReceiptNo>
<ResultId>sample string 13</ResultId>
<UserId>19</UserId>
</NightAudit>
</ArrayOfNightAudit>