POST PPOB/TransactionList

Request Information

URI Parameters

None.

Body Parameters

PPOBTransactionListRequest
NameDescriptionTypeAdditional information
startDate

date

None.

endDate

date

None.

userID

user API

string

None.

accessToken

access code getting from login

string

None.

Request Formats

application/json, text/json

Sample:
{
  "startDate": "2021-11-27T12:34:40.5503112+07:00",
  "endDate": "2021-11-27T12:34:40.5503112+07:00",
  "userID": "sample string 1",
  "accessToken": "sample string 2"
}

application/xml, text/xml

Sample:
<PPOBTransactionListRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cebes.DI.H2H.Api.Models">
  <accessToken>sample string 2</accessToken>
  <userID>sample string 1</userID>
  <endDate>2021-11-27T12:34:40.5503112+07:00</endDate>
  <startDate>2021-11-27T12:34:40.5503112+07:00</startDate>
</PPOBTransactionListRequest>

Response Information

Resource Description

PPOBTransactionListResponse
NameDescriptionTypeAdditional information
list

Collection of PPOBTransactionDetailModel

None.

respTime

describe time in sending response

date

None.

userID

user ID to access API

string

None.

accessToken

access token that needed to access API

string

None.

status

SUCCESS or FAILED

string

None.

respMessage

detail message of response status

string

None.

Response Formats

application/json, text/json

Sample:
{
  "list": [
    {
      "transactionDate": "2021-11-27T12:34:40.5503112+07:00",
      "productCode": "sample string 2",
      "productDescription": "sample string 3",
      "customerID": "sample string 4",
      "customerName": "sample string 5",
      "period": "sample string 6",
      "sellPrice": 7.0,
      "totalPayment": 8.0,
      "transactionStatus": "sample string 9",
      "billingReferenceID": "sample string 10",
      "cashBackProfit": 11.0
    },
    {
      "transactionDate": "2021-11-27T12:34:40.5503112+07:00",
      "productCode": "sample string 2",
      "productDescription": "sample string 3",
      "customerID": "sample string 4",
      "customerName": "sample string 5",
      "period": "sample string 6",
      "sellPrice": 7.0,
      "totalPayment": 8.0,
      "transactionStatus": "sample string 9",
      "billingReferenceID": "sample string 10",
      "cashBackProfit": 11.0
    }
  ],
  "respTime": "2021-11-27T12:34:40.5503112+07:00",
  "userID": "sample string 2",
  "accessToken": "sample string 3",
  "status": "sample string 4",
  "respMessage": "sample string 5"
}

application/xml, text/xml

Sample:
<PPOBTransactionListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cebes.DI.H2H.Api.Models">
  <accessToken>sample string 3</accessToken>
  <respMessage>sample string 5</respMessage>
  <respTime>2021-11-27T12:34:40.5503112+07:00</respTime>
  <status>sample string 4</status>
  <userID>sample string 2</userID>
  <list>
    <PPOBTransactionDetailModel>
      <billingReferenceID>sample string 10</billingReferenceID>
      <cashBackProfit>11</cashBackProfit>
      <customerID>sample string 4</customerID>
      <customerName>sample string 5</customerName>
      <period>sample string 6</period>
      <productCode>sample string 2</productCode>
      <productDescription>sample string 3</productDescription>
      <sellPrice>7</sellPrice>
      <totalPayment>8</totalPayment>
      <transactionDate>2021-11-27T12:34:40.5503112+07:00</transactionDate>
      <transactionStatus>sample string 9</transactionStatus>
    </PPOBTransactionDetailModel>
    <PPOBTransactionDetailModel>
      <billingReferenceID>sample string 10</billingReferenceID>
      <cashBackProfit>11</cashBackProfit>
      <customerID>sample string 4</customerID>
      <customerName>sample string 5</customerName>
      <period>sample string 6</period>
      <productCode>sample string 2</productCode>
      <productDescription>sample string 3</productDescription>
      <sellPrice>7</sellPrice>
      <totalPayment>8</totalPayment>
      <transactionDate>2021-11-27T12:34:40.5503112+07:00</transactionDate>
      <transactionStatus>sample string 9</transactionStatus>
    </PPOBTransactionDetailModel>
  </list>
</PPOBTransactionListResponse>