POST api/closure/day/add
Request Information
URI Parameters
None.
Body Parameters
DayClosureEntity| Name | Description | Type | Additional information |
|---|---|---|---|
| ClosureId | integer |
None. |
|
| ClosureDate | date |
None. |
|
| OpeningBalance | decimal number |
None. |
|
| ClosingBalance | decimal number |
None. |
|
| ExpectedClosureAmount | decimal number |
None. |
|
| WithdrawlAmount | decimal number |
None. |
|
| Active | boolean |
None. |
|
| CreatedTime | date |
None. |
|
| UpdatedTime | date |
None. |
|
| VendorId | integer |
None. |
|
| LocationId | integer |
None. |
|
| UserId | integer |
None. |
|
| Comment | string |
None. |
|
| ClosedBy | string |
None. |
|
| LocationName | string |
None. |
|
| Payment | DayClosurePaymentSplitEntity |
None. |
Request Formats
application/json, text/json
Sample:
{
"ClosureId": 1,
"ClosureDate": "2025-12-31T16:37:50.0188215+05:30",
"OpeningBalance": 3.0,
"ClosingBalance": 4.0,
"ExpectedClosureAmount": 5.0,
"WithdrawlAmount": 6.0,
"Active": true,
"CreatedTime": "2025-12-31T16:37:50.0188215+05:30",
"UpdatedTime": "2025-12-31T16:37:50.0188215+05:30",
"VendorId": 9,
"LocationId": 10,
"UserId": 11,
"Comment": "sample string 12",
"ClosedBy": "sample string 13",
"LocationName": "sample string 14",
"Payment": {
"ClosurePaymentSplitId": 1,
"Cash": 2.0,
"CreditCard": 3.0,
"Cheque": 4.0,
"DebitCard": 5.0,
"GiftCard": 6.0,
"UPIOnlineWallet": 7.0,
"Others": 8.0,
"Active": true,
"CreatedTime": "2025-12-31T16:37:50.0188215+05:30",
"UpdatedTime": "2025-12-31T16:37:50.0188215+05:30",
"VendorId": 11,
"LocationId": 12,
"ClosureId": 13
}
}
application/xml, text/xml
Sample:
<DayClosureEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pos_crm_api_DAL.Entities">
<Active>true</Active>
<ClosedBy>sample string 13</ClosedBy>
<ClosingBalance>4</ClosingBalance>
<ClosureDate>2025-12-31T16:37:50.0188215+05:30</ClosureDate>
<ClosureId>1</ClosureId>
<Comment>sample string 12</Comment>
<CreatedTime>2025-12-31T16:37:50.0188215+05:30</CreatedTime>
<ExpectedClosureAmount>5</ExpectedClosureAmount>
<LocationId>10</LocationId>
<LocationName>sample string 14</LocationName>
<OpeningBalance>3</OpeningBalance>
<Payment>
<Active>true</Active>
<Cash>2</Cash>
<Cheque>4</Cheque>
<ClosureId>13</ClosureId>
<ClosurePaymentSplitId>1</ClosurePaymentSplitId>
<CreatedTime>2025-12-31T16:37:50.0188215+05:30</CreatedTime>
<CreditCard>3</CreditCard>
<DebitCard>5</DebitCard>
<GiftCard>6</GiftCard>
<LocationId>12</LocationId>
<Others>8</Others>
<UPIOnlineWallet>7</UPIOnlineWallet>
<UpdatedTime>2025-12-31T16:37:50.0188215+05:30</UpdatedTime>
<VendorId>11</VendorId>
</Payment>
<UpdatedTime>2025-12-31T16:37:50.0188215+05:30</UpdatedTime>
<UserId>11</UserId>
<VendorId>9</VendorId>
<WithdrawlAmount>6</WithdrawlAmount>
</DayClosureEntity>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |