POST api/User/GetWalletTransactions

Request Information

URI Parameters

None.

Body Parameters

CommonRequest
NameDescriptionTypeAdditional information
Request

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Request": "sample string 1"
}

application/xml, text/xml

Sample:
<CommonRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.Common">
  <Request>sample string 1</Request>
</CommonRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CommonRequest'.

Response Information

Resource Description

ResponseOfWalletTransactionResponseModel
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

Message

string

None.

Status

integer

None.

Result

WalletTransactionResponseModel

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "Message": "sample string 2",
  "Status": 3,
  "Result": {
    "WalletID": 1,
    "UserID": 2,
    "OrderID": "sample string 3",
    "Description": "sample string 4",
    "DebitAmount": 5.0,
    "CreditAmount": 6.0,
    "TransactionType": 7,
    "PaymentMode": 8,
    "CreatedDate": "2021-09-20T05:35:56.4095036+00:00",
    "UpdatedDate": "2021-09-20T05:35:56.4095036+00:00"
  }
}

application/xml, text/xml

Sample:
<ResponseOfWalletTransactionResponseModelz5XPwoJA xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.Common">
  <IsSuccess>true</IsSuccess>
  <Message>sample string 2</Message>
  <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.UserWallet">
    <d2p1:CreatedDate>2021-09-20T05:35:56.4095036+00:00</d2p1:CreatedDate>
    <d2p1:CreditAmount>6</d2p1:CreditAmount>
    <d2p1:DebitAmount>5</d2p1:DebitAmount>
    <d2p1:Description>sample string 4</d2p1:Description>
    <d2p1:OrderID>sample string 3</d2p1:OrderID>
    <d2p1:PaymentMode>8</d2p1:PaymentMode>
    <d2p1:TransactionType>7</d2p1:TransactionType>
    <d2p1:UpdatedDate>2021-09-20T05:35:56.4095036+00:00</d2p1:UpdatedDate>
    <d2p1:UserID>2</d2p1:UserID>
    <d2p1:WalletID>1</d2p1:WalletID>
  </Result>
  <Status>3</Status>
</ResponseOfWalletTransactionResponseModelz5XPwoJA>