POST api/AccountLink/SearchTransaction

Request Information

URI Parameters

None.

Body Parameters

SearchTransactionRequest
NameDescriptionTypeAdditional information
status

Status

None.

data

SearchTransactionData

None.

Request Formats

application/json, text/json

Sample:
{
  "status": {
    "code": "sample string 1",
    "message": "sample string 2",
    "responseTime": "sample string 3",
    "displayMessage": "sample string 4"
  },
  "data": {
    "orderId": "sample string 1",
    "transAmount": 2.0,
    "fee": 3.0,
    "discount": 4.0,
    "totalAmount": 5.0,
    "vtRequestId": 6,
    "transactionStatus": 7,
    "paymentInstrument": {
      "paymentInstrumentId": "sample string 1",
      "phoneNumber": "sample string 2",
      "customerName": "sample string 3",
      "effectiveDate": "sample string 4"
    }
  }
}

application/xml, text/xml

Sample:
<SearchTransactionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NST.Viettel.Api.Models">
  <data>
    <discount>4</discount>
    <fee>3</fee>
    <orderId>sample string 1</orderId>
    <paymentInstrument>
      <customerName>sample string 3</customerName>
      <effectiveDate>sample string 4</effectiveDate>
      <paymentInstrumentId>sample string 1</paymentInstrumentId>
      <phoneNumber>sample string 2</phoneNumber>
    </paymentInstrument>
    <totalAmount>5</totalAmount>
    <transAmount>2</transAmount>
    <transactionStatus>7</transactionStatus>
    <vtRequestId>6</vtRequestId>
  </data>
  <status>
    <code>sample string 1</code>
    <displayMessage>sample string 4</displayMessage>
    <message>sample string 2</message>
    <responseTime>sample string 3</responseTime>
  </status>
</SearchTransactionRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseObject
NameDescriptionTypeAdditional information
Code

string

None.

Message

string

None.

Time

string

None.

Value

Object

None.

ListValue

Collection of Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": "sample string 1",
  "Message": "sample string 2",
  "Time": "sample string 3",
  "Value": {},
  "ListValue": [
    {},
    {}
  ]
}

application/xml, text/xml

Sample:
<ResponseObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LuckyLotter.Admin.Lib">
  <Code>sample string 1</Code>
  <ListValue xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:anyType />
    <d2p1:anyType />
  </ListValue>
  <Message>sample string 2</Message>
  <Time>sample string 3</Time>
  <Value />
</ResponseObject>