POST api/pOSDetails/SubtractWalletAmount
Request Information
URI Parameters
None.
Body Parameters
POSDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| POSSessionId | integer |
None. |
|
| WalletAmount | integer |
None. |
|
| HistoryAmount | integer |
None. |
|
| POSDetailsId | integer |
None. |
|
| Description | string |
None. |
|
| UsedType | integer |
None. |
|
| POSInvoiceId | integer |
None. |
|
| POSTypeId | integer |
None. |
|
| CategoryId | integer |
None. |
|
| ServiceIds | string |
None. |
|
| CustomerId | integer |
None. |
|
| IsDeleted | boolean |
None. |
|
| DiscountType | string |
None. |
|
| ServiceDetailsStr | string |
None. |
|
| PosPaymentDetails | string |
None. |
|
| ServiceDetails | Collection of PosOrderDetailsRoot |
None. |
|
| CreatedAt | date |
None. |
|
| CreatedBy | integer |
None. |
|
| UpdatedAt | date |
None. |
|
| UpdatedBy | integer |
None. |
|
| DeletedAt | date |
None. |
|
| DeletedBy | integer |
None. |
|
| POSInvoiceNumber | string |
None. |
|
| CustomerName | string |
None. |
|
| CustomerPrimaryPhone | string |
None. |
|
| TotalAmount | decimal number |
None. |
|
| PosOrderInvoiceStr | string |
None. |
|
| GiftCardDetailsStr | string |
None. |
|
| RequestId | string |
None. |
|
| GiftCardDetail | PosOrderInvoiceGift |
None. |
|
| ExpiryDate | string |
None. |
|
| InvoiceType | string |
None. |
|
| IsDeferred | boolean |
None. |
|
| PosOrderInvoice | Collection of PosOrderInvoice |
None. |
|
| CreatedDateStr | string |
None. |
|
| UpdatedDateStr | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"POSSessionId": 2,
"WalletAmount": 3,
"HistoryAmount": 4,
"POSDetailsId": 5,
"Description": "sample string 6",
"UsedType": 7,
"POSInvoiceId": 8,
"POSTypeId": 9,
"CategoryId": 10,
"ServiceIds": "sample string 11",
"CustomerId": 12,
"IsDeleted": true,
"DiscountType": "sample string 14",
"ServiceDetailsStr": "sample string 15",
"PosPaymentDetails": "sample string 16",
"ServiceDetails": [
{
"PosType": 1,
"ServiceId": 2,
"CategoryId": 3,
"LookUpServicesName": "sample string 4",
"AssignToUser": 5,
"Price": 6.0,
"ProductType": 7
},
{
"PosType": 1,
"ServiceId": 2,
"CategoryId": 3,
"LookUpServicesName": "sample string 4",
"AssignToUser": 5,
"Price": 6.0,
"ProductType": 7
}
],
"CreatedAt": "2026-02-04T05:12:29.2898277+03:00",
"CreatedBy": 18,
"UpdatedAt": "2026-02-04T05:12:29.2898277+03:00",
"UpdatedBy": 20,
"DeletedAt": "2026-02-04T05:12:29.2898277+03:00",
"DeletedBy": 22,
"POSInvoiceNumber": "sample string 23",
"CustomerName": "sample string 24",
"CustomerPrimaryPhone": "sample string 25",
"TotalAmount": 26.0,
"PosOrderInvoiceStr": "sample string 27",
"GiftCardDetailsStr": "sample string 28",
"RequestId": "sample string 29",
"GiftCardDetail": {
"Id": 1,
"Price": 2.0,
"ToName": "sample string 3",
"ToPhone": "sample string 4",
"FromName": "sample string 5",
"FromPhone": "sample string 6",
"MessageCard": "sample string 7",
"ExpiryDate": "2026-02-04T05:12:29.2898277+03:00",
"SalonId": 9,
"GiftCardCode": "sample string 10"
},
"ExpiryDate": "sample string 30",
"InvoiceType": "sample string 31",
"IsDeferred": true,
"PosOrderInvoice": [
{
"Id": 1,
"POSDetailsId": 2,
"ServiceId": 3,
"POSTypeId": 4,
"CategoryId": 5,
"AssignUserId": 6,
"IsDeleted": true,
"CreatedAt": "2026-02-04T05:12:29.2898277+03:00",
"CreatedBy": 9,
"DeletedBy": 10,
"Price": 11.0,
"Name": "sample string 12",
"ServPhotoUrl": "sample string 13",
"AssignUserName": "sample string 14",
"AssignUserName2": "sample string 15",
"ServiceName": "sample string 16"
},
{
"Id": 1,
"POSDetailsId": 2,
"ServiceId": 3,
"POSTypeId": 4,
"CategoryId": 5,
"AssignUserId": 6,
"IsDeleted": true,
"CreatedAt": "2026-02-04T05:12:29.2898277+03:00",
"CreatedBy": 9,
"DeletedBy": 10,
"Price": 11.0,
"Name": "sample string 12",
"ServPhotoUrl": "sample string 13",
"AssignUserName": "sample string 14",
"AssignUserName2": "sample string 15",
"ServiceName": "sample string 16"
}
],
"CreatedDateStr": "04-Feb-2026 05:12 AM",
"UpdatedDateStr": "04-Feb-2026 05:12 AM"
}
text/xml
Sample:
<POSDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.V1">
<CategoryId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">10</CategoryId>
<CreatedAt xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2026-02-04T05:12:29.2898277+03:00</CreatedAt>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">18</CreatedBy>
<CustomerId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">12</CustomerId>
<CustomerName xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 24</CustomerName>
<CustomerPrimaryPhone xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 25</CustomerPrimaryPhone>
<DeletedAt xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2026-02-04T05:12:29.2898277+03:00</DeletedAt>
<DeletedBy xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">22</DeletedBy>
<Description xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 6</Description>
<DiscountType xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 14</DiscountType>
<ExpiryDate xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 30</ExpiryDate>
<GiftCardDetail xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">
<ExpiryDate>2026-02-04T05:12:29.2898277+03:00</ExpiryDate>
<FromName>sample string 5</FromName>
<FromPhone>sample string 6</FromPhone>
<GiftCardCode>sample string 10</GiftCardCode>
<Id>1</Id>
<MessageCard>sample string 7</MessageCard>
<Price>2</Price>
<SalonId>9</SalonId>
<ToName>sample string 3</ToName>
<ToPhone>sample string 4</ToPhone>
</GiftCardDetail>
<GiftCardDetailsStr xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 28</GiftCardDetailsStr>
<HistoryAmount xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">4</HistoryAmount>
<Id xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">1</Id>
<InvoiceType xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 31</InvoiceType>
<IsDeferred xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">true</IsDeferred>
<IsDeleted xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">true</IsDeleted>
<POSDetailsId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">5</POSDetailsId>
<POSInvoiceId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">8</POSInvoiceId>
<POSInvoiceNumber xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 23</POSInvoiceNumber>
<POSSessionId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2</POSSessionId>
<POSTypeId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">9</POSTypeId>
<PosOrderInvoice xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">
<PosOrderInvoice>
<AssignUserId>6</AssignUserId>
<AssignUserName>sample string 14</AssignUserName>
<AssignUserName2>sample string 15</AssignUserName2>
<CategoryId>5</CategoryId>
<CreatedAt>2026-02-04T05:12:29.2898277+03:00</CreatedAt>
<CreatedBy>9</CreatedBy>
<DeletedBy>10</DeletedBy>
<Id>1</Id>
<IsDeleted>true</IsDeleted>
<Name>sample string 12</Name>
<POSDetailsId>2</POSDetailsId>
<POSTypeId>4</POSTypeId>
<Price>11</Price>
<ServPhotoUrl>sample string 13</ServPhotoUrl>
<ServiceId>3</ServiceId>
<ServiceName>sample string 16</ServiceName>
</PosOrderInvoice>
<PosOrderInvoice>
<AssignUserId>6</AssignUserId>
<AssignUserName>sample string 14</AssignUserName>
<AssignUserName2>sample string 15</AssignUserName2>
<CategoryId>5</CategoryId>
<CreatedAt>2026-02-04T05:12:29.2898277+03:00</CreatedAt>
<CreatedBy>9</CreatedBy>
<DeletedBy>10</DeletedBy>
<Id>1</Id>
<IsDeleted>true</IsDeleted>
<Name>sample string 12</Name>
<POSDetailsId>2</POSDetailsId>
<POSTypeId>4</POSTypeId>
<Price>11</Price>
<ServPhotoUrl>sample string 13</ServPhotoUrl>
<ServiceId>3</ServiceId>
<ServiceName>sample string 16</ServiceName>
</PosOrderInvoice>
</PosOrderInvoice>
<PosOrderInvoiceStr xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 27</PosOrderInvoiceStr>
<PosPaymentDetails xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 16</PosPaymentDetails>
<RequestId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 29</RequestId>
<ServiceDetails xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">
<PosOrderDetailsRoot>
<AssignToUser>5</AssignToUser>
<CategoryId>3</CategoryId>
<LookUpServicesName>sample string 4</LookUpServicesName>
<PosType>1</PosType>
<Price>6</Price>
<ProductType>7</ProductType>
<ServiceId>2</ServiceId>
</PosOrderDetailsRoot>
<PosOrderDetailsRoot>
<AssignToUser>5</AssignToUser>
<CategoryId>3</CategoryId>
<LookUpServicesName>sample string 4</LookUpServicesName>
<PosType>1</PosType>
<Price>6</Price>
<ProductType>7</ProductType>
<ServiceId>2</ServiceId>
</PosOrderDetailsRoot>
</ServiceDetails>
<ServiceDetailsStr xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 15</ServiceDetailsStr>
<ServiceIds xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 11</ServiceIds>
<TotalAmount xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">26</TotalAmount>
<UpdatedAt xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2026-02-04T05:12:29.2898277+03:00</UpdatedAt>
<UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">20</UpdatedBy>
<UsedType xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">7</UsedType>
<WalletAmount xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">3</WalletAmount>
</POSDetails>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/xml
Sample:
Sample not available.