POST api/wallet/update
Request Information
URI Parameters
None.
Body Parameters
CustomerWalletEntity| Name | Description | Type | Additional information |
|---|---|---|---|
| WalletTransactionId | integer |
None. |
|
| WalletBalance | decimal number |
None. |
|
| AmountPaid | decimal number |
None. |
|
| AmountCredited | decimal number |
None. |
|
| Balance | decimal number |
None. |
|
| ValidityInDays | integer |
None. |
|
| ValidityInVisit | integer |
None. |
|
| TransactionDate | date |
None. |
|
| TransactionType | string |
None. |
|
| IsExpired | boolean |
None. |
|
| Active | boolean |
None. |
|
| CreatedTime | date |
None. |
|
| UpdatedTime | date |
None. |
|
| CustomerId | integer |
None. |
|
| VendorId | integer |
None. |
|
| CreatedBy | integer |
None. |
|
| CustomerName | string |
None. |
|
| LocationId | integer |
None. |
|
| StaffId | integer |
None. |
|
| VisitsCreated | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"WalletTransactionId": 1,
"WalletBalance": 2.0,
"AmountPaid": 3.0,
"AmountCredited": 4.0,
"Balance": 5.0,
"ValidityInDays": 6,
"ValidityInVisit": 7,
"TransactionDate": "2025-12-31T16:43:36.8758138+05:30",
"TransactionType": "sample string 9",
"IsExpired": true,
"Active": true,
"CreatedTime": "2025-12-31T16:43:36.8758138+05:30",
"UpdatedTime": "2025-12-31T16:43:36.8758138+05:30",
"CustomerId": 13,
"VendorId": 14,
"CreatedBy": 15,
"CustomerName": "sample string 16",
"LocationId": 17,
"StaffId": 1,
"VisitsCreated": 18
}
application/xml, text/xml
Sample:
<CustomerWalletEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pos_crm_api_DAL.Entities"> <Active>true</Active> <AmountCredited>4</AmountCredited> <AmountPaid>3</AmountPaid> <Balance>5</Balance> <CreatedBy>15</CreatedBy> <CreatedTime>2025-12-31T16:43:36.8758138+05:30</CreatedTime> <CustomerId>13</CustomerId> <CustomerName>sample string 16</CustomerName> <IsExpired>true</IsExpired> <LocationId>17</LocationId> <StaffId>1</StaffId> <TransactionDate>2025-12-31T16:43:36.8758138+05:30</TransactionDate> <TransactionType>sample string 9</TransactionType> <UpdatedTime>2025-12-31T16:43:36.8758138+05:30</UpdatedTime> <ValidityInDays>6</ValidityInDays> <ValidityInVisit>7</ValidityInVisit> <VendorId>14</VendorId> <VisitsCreated>18</VisitsCreated> <WalletBalance>2</WalletBalance> <WalletTransactionId>1</WalletTransactionId> </CustomerWalletEntity>
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. |