POST api/v3/OutletWallet/CreateUpdateOutletWallet
This API is used to create or update outlet wallet balance
Request Information
URI Parameters
None.
Body Parameters
Collection of V3.OutletWalletName | Description | Type | Additional information |
---|---|---|---|
DistributorErpId |
DistributorErpId or Distributor Code |
string |
Required String length: inclusive between 0 and 100 |
OutletErpId |
OutletErpId or Account Number |
string |
Required String length: inclusive between 0 and 100 |
Balance |
Balance |
decimal number |
Required |
IsActive |
Is Account Active |
boolean |
Required |
Request Formats
application/json, text/json
Sample:
[ { "DistributorErpId": "sample string 1", "OutletErpId": "sample string 2", "Balance": 3.1, "IsActive": true }, { "DistributorErpId": "sample string 1", "OutletErpId": "sample string 2", "Balance": 3.1, "IsActive": true } ]
application/xml, text/xml
Sample:
<ArrayOfOutletWallets xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExternalApis.V3.Models"> <OutletWallets> <Balance>3.1</Balance> <DistributorErpId>sample string 1</DistributorErpId> <IsActive>true</IsActive> <OutletErpId>sample string 2</OutletErpId> </OutletWallets> <OutletWallets> <Balance>3.1</Balance> <DistributorErpId>sample string 1</DistributorErpId> <IsActive>true</IsActive> <OutletErpId>sample string 2</OutletErpId> </OutletWallets> </ArrayOfOutletWallets>
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.