POST api/appointment/mark-item-booking-day-paid
Request Information
URI Parameters
None.
Body Parameters
MarkItemCompleteOfBookingDayParams| Name | Description | Type | Additional information |
|---|---|---|---|
| ExtraServices | Collection of TransServiceView |
None. |
|
| Grounds | Collection of GroundView |
None. |
|
| GroupId | integer |
None. |
|
| allowPrintReceipt | boolean |
None. |
|
| RemainingDeposit | decimal number |
None. |
|
| DiscountGround | decimal number |
None. |
|
| DiscountService | decimal number |
None. |
|
| ComName | string |
None. |
|
| ComAddress | string |
None. |
|
| AptCode | string |
None. |
|
| DayBooking | string |
None. |
|
| FromHour | string |
None. |
|
| ToHour | string |
None. |
|
| GroundName | string |
None. |
|
| CustomerZns | Collection of CustomerSendZns |
None. |
|
| VAT | decimal number |
None. |
|
| ComId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ExtraServices": [
{
"ItemName": "sample string 1",
"IsSelected": true,
"AnotherUnits": [
{
"Id": 1,
"UnitName": "sample string 2",
"ExchangeValue": 1,
"ExchangeId": 1,
"ComId": "sample string 3"
},
{
"Id": 1,
"UnitName": "sample string 2",
"ExchangeValue": 1,
"ExchangeId": 1,
"ComId": "sample string 3"
}
],
"UnitId": 3,
"UnitName": "sample string 4",
"BaseUnitId": 5,
"BaseUnitName": "sample string 6",
"Barcode": "sample string 7",
"ExchangeValue": 8,
"ItemPriceForPrint": 9.1,
"TotalServiceIncludeDiscountAndTax": 10.1,
"GroupItemID": 11,
"GroupIdIdentity": 1,
"ItemId": 1,
"ItemPrice": 1.1,
"Quantity": 1,
"DiscountPercent": 1.1,
"DiscountValue": 1.1,
"RelateGroupCustomerId": 1,
"IsPaid": true,
"InventoryUnitId": 1,
"ExchangeRate": 1
},
{
"ItemName": "sample string 1",
"IsSelected": true,
"AnotherUnits": [
{
"Id": 1,
"UnitName": "sample string 2",
"ExchangeValue": 1,
"ExchangeId": 1,
"ComId": "sample string 3"
},
{
"Id": 1,
"UnitName": "sample string 2",
"ExchangeValue": 1,
"ExchangeId": 1,
"ComId": "sample string 3"
}
],
"UnitId": 3,
"UnitName": "sample string 4",
"BaseUnitId": 5,
"BaseUnitName": "sample string 6",
"Barcode": "sample string 7",
"ExchangeValue": 8,
"ItemPriceForPrint": 9.1,
"TotalServiceIncludeDiscountAndTax": 10.1,
"GroupItemID": 11,
"GroupIdIdentity": 1,
"ItemId": 1,
"ItemPrice": 1.1,
"Quantity": 1,
"DiscountPercent": 1.1,
"DiscountValue": 1.1,
"RelateGroupCustomerId": 1,
"IsPaid": true,
"InventoryUnitId": 1,
"ExchangeRate": 1
}
],
"Grounds": [
{
"GroundName": "sample string 1",
"IsSelected": true,
"GroundDeposit": 3.1,
"RegionId": 4,
"DiscountPercent": 5.1,
"TotalGroundIncludeDiscountAndTax": 6.1,
"GroupIdIdentity": 7,
"GroundId": 8,
"StartTime": "2026-10-25T12:35:43.2446756+07:00",
"EndTime": "2026-10-25T12:35:43.2446756+07:00",
"GroundMoney": 1.1,
"IsPaid": true
},
{
"GroundName": "sample string 1",
"IsSelected": true,
"GroundDeposit": 3.1,
"RegionId": 4,
"DiscountPercent": 5.1,
"TotalGroundIncludeDiscountAndTax": 6.1,
"GroupIdIdentity": 7,
"GroundId": 8,
"StartTime": "2026-10-25T12:35:43.2446756+07:00",
"EndTime": "2026-10-25T12:35:43.2446756+07:00",
"GroundMoney": 1.1,
"IsPaid": true
}
],
"GroupId": 1,
"allowPrintReceipt": true,
"RemainingDeposit": 3.1,
"DiscountGround": 4.1,
"DiscountService": 5.1,
"ComName": "sample string 6",
"ComAddress": "sample string 7",
"AptCode": "sample string 8",
"DayBooking": "sample string 9",
"FromHour": "sample string 10",
"ToHour": "sample string 11",
"GroundName": "sample string 12",
"CustomerZns": [
{
"name": "sample string 1",
"phone": "sample string 2",
"totalTicketNoVat": 3.1,
"totalServiceNoVat": 4.1
},
{
"name": "sample string 1",
"phone": "sample string 2",
"totalTicketNoVat": 3.1,
"totalServiceNoVat": 4.1
}
],
"VAT": 13.1,
"ComId": "sample string 14"
}
application/xml, text/xml
Sample:
<MarkItemCompleteOfBookingDayParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities.ApiEntities">
<AptCode>sample string 8</AptCode>
<ComAddress>sample string 7</ComAddress>
<ComId>sample string 14</ComId>
<ComName>sample string 6</ComName>
<CustomerZns>
<CustomerSendZns>
<name>sample string 1</name>
<phone>sample string 2</phone>
<totalServiceNoVat>4.1</totalServiceNoVat>
<totalTicketNoVat>3.1</totalTicketNoVat>
</CustomerSendZns>
<CustomerSendZns>
<name>sample string 1</name>
<phone>sample string 2</phone>
<totalServiceNoVat>4.1</totalServiceNoVat>
<totalTicketNoVat>3.1</totalTicketNoVat>
</CustomerSendZns>
</CustomerZns>
<DayBooking>sample string 9</DayBooking>
<DiscountGround>4.1</DiscountGround>
<DiscountService>5.1</DiscountService>
<ExtraServices>
<TransServiceView>
<DiscountPercent xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities">1.1</DiscountPercent>
<DiscountValue xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities">1.1</DiscountValue>
<ExchangeRate xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities">1</ExchangeRate>
<GroupIdIdentity xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities">1</GroupIdIdentity>
<GroupItemID xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities">11</GroupItemID>
<InventoryUnitId xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities">1</InventoryUnitId>
<IsPaid xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities">true</IsPaid>
<ItemId xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities">1</ItemId>
<ItemPrice xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities">1.1</ItemPrice>
<Quantity xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities">1</Quantity>
<RelateGroupCustomerId xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities">1</RelateGroupCustomerId>
<AnotherUnits xmlns:d4p1="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities">
<d4p1:Unit>
<d4p1:ComId>sample string 3</d4p1:ComId>
<d4p1:ExchangeId>1</d4p1:ExchangeId>
<d4p1:ExchangeValue>1</d4p1:ExchangeValue>
<d4p1:Id>1</d4p1:Id>
<d4p1:UnitName>sample string 2</d4p1:UnitName>
</d4p1:Unit>
<d4p1:Unit>
<d4p1:ComId>sample string 3</d4p1:ComId>
<d4p1:ExchangeId>1</d4p1:ExchangeId>
<d4p1:ExchangeValue>1</d4p1:ExchangeValue>
<d4p1:Id>1</d4p1:Id>
<d4p1:UnitName>sample string 2</d4p1:UnitName>
</d4p1:Unit>
</AnotherUnits>
<Barcode>sample string 7</Barcode>
<BaseUnitId>5</BaseUnitId>
<BaseUnitName>sample string 6</BaseUnitName>
<ExchangeValue>8</ExchangeValue>
<IsSelected>true</IsSelected>
<ItemName>sample string 1</ItemName>
<ItemPriceForPrint>9.1</ItemPriceForPrint>
<TotalServiceIncludeDiscountAndTax>10.1</TotalServiceIncludeDiscountAndTax>
<UnitId>3</UnitId>
<UnitName>sample string 4</UnitName>
</TransServiceView>
<TransServiceView>
<DiscountPercent xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities">1.1</DiscountPercent>
<DiscountValue xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities">1.1</DiscountValue>
<ExchangeRate xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities">1</ExchangeRate>
<GroupIdIdentity xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities">1</GroupIdIdentity>
<GroupItemID xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities">11</GroupItemID>
<InventoryUnitId xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities">1</InventoryUnitId>
<IsPaid xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities">true</IsPaid>
<ItemId xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities">1</ItemId>
<ItemPrice xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities">1.1</ItemPrice>
<Quantity xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities">1</Quantity>
<RelateGroupCustomerId xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities">1</RelateGroupCustomerId>
<AnotherUnits xmlns:d4p1="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities">
<d4p1:Unit>
<d4p1:ComId>sample string 3</d4p1:ComId>
<d4p1:ExchangeId>1</d4p1:ExchangeId>
<d4p1:ExchangeValue>1</d4p1:ExchangeValue>
<d4p1:Id>1</d4p1:Id>
<d4p1:UnitName>sample string 2</d4p1:UnitName>
</d4p1:Unit>
<d4p1:Unit>
<d4p1:ComId>sample string 3</d4p1:ComId>
<d4p1:ExchangeId>1</d4p1:ExchangeId>
<d4p1:ExchangeValue>1</d4p1:ExchangeValue>
<d4p1:Id>1</d4p1:Id>
<d4p1:UnitName>sample string 2</d4p1:UnitName>
</d4p1:Unit>
</AnotherUnits>
<Barcode>sample string 7</Barcode>
<BaseUnitId>5</BaseUnitId>
<BaseUnitName>sample string 6</BaseUnitName>
<ExchangeValue>8</ExchangeValue>
<IsSelected>true</IsSelected>
<ItemName>sample string 1</ItemName>
<ItemPriceForPrint>9.1</ItemPriceForPrint>
<TotalServiceIncludeDiscountAndTax>10.1</TotalServiceIncludeDiscountAndTax>
<UnitId>3</UnitId>
<UnitName>sample string 4</UnitName>
</TransServiceView>
</ExtraServices>
<FromHour>sample string 10</FromHour>
<GroundName>sample string 12</GroundName>
<Grounds>
<GroundView>
<EndTime xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities">2026-10-25T12:35:43.2446756+07:00</EndTime>
<GroundId xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities">8</GroundId>
<GroundMoney xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities">1.1</GroundMoney>
<GroupIdIdentity xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities">7</GroupIdIdentity>
<IsPaid xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities">true</IsPaid>
<StartTime xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities">2026-10-25T12:35:43.2446756+07:00</StartTime>
<DiscountPercent>5.1</DiscountPercent>
<GroundDeposit>3.1</GroundDeposit>
<GroundName>sample string 1</GroundName>
<IsSelected>true</IsSelected>
<RegionId>4</RegionId>
<TotalGroundIncludeDiscountAndTax>6.1</TotalGroundIncludeDiscountAndTax>
</GroundView>
<GroundView>
<EndTime xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities">2026-10-25T12:35:43.2446756+07:00</EndTime>
<GroundId xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities">8</GroundId>
<GroundMoney xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities">1.1</GroundMoney>
<GroupIdIdentity xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities">7</GroupIdIdentity>
<IsPaid xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities">true</IsPaid>
<StartTime xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities">2026-10-25T12:35:43.2446756+07:00</StartTime>
<DiscountPercent>5.1</DiscountPercent>
<GroundDeposit>3.1</GroundDeposit>
<GroundName>sample string 1</GroundName>
<IsSelected>true</IsSelected>
<RegionId>4</RegionId>
<TotalGroundIncludeDiscountAndTax>6.1</TotalGroundIncludeDiscountAndTax>
</GroundView>
</Grounds>
<GroupId>1</GroupId>
<RemainingDeposit>3.1</RemainingDeposit>
<ToHour>sample string 11</ToHour>
<VAT>13.1</VAT>
<allowPrintReceipt>true</allowPrintReceipt>
</MarkItemCompleteOfBookingDayParams>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.