GET api/statement/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

statement
NameDescriptionTypeAdditional information
id

integer

None.

connection_id

integer

None.

datetime

date

None.

withdraw_tranfer_out

decimal number

None.

deposit_tranfer_in

decimal number

None.

amount

decimal number

None.

channel

string

String length: inclusive between 0 and 500

txt_name

string

String length: inclusive between 0 and 500

detail

string

String length: inclusive between 0 and 400

bank_code

string

String length: inclusive between 0 and 10

bank_name

string

String length: inclusive between 0 and 100

bank_account_no

string

String length: inclusive between 0 and 20

bank_account_name

string

String length: inclusive between 0 and 100

created_at

date

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "connection_id": 2,
  "datetime": "2024-09-17T02:07:51.1234902+07:00",
  "withdraw_tranfer_out": 1.0,
  "deposit_tranfer_in": 1.0,
  "amount": 4.0,
  "channel": "sample string 5",
  "txt_name": "sample string 6",
  "detail": "sample string 7",
  "bank_code": "sample string 8",
  "bank_name": "sample string 9",
  "bank_account_no": "sample string 10",
  "bank_account_name": "sample string 11",
  "created_at": "2024-09-17T02:07:51.1234902+07:00"
}

application/xml, text/xml

Sample:
<statement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Project.Domain.Entities">
  <amount>4</amount>
  <bank_account_name>sample string 11</bank_account_name>
  <bank_account_no>sample string 10</bank_account_no>
  <bank_code>sample string 8</bank_code>
  <bank_name>sample string 9</bank_name>
  <channel>sample string 5</channel>
  <connection_id>2</connection_id>
  <created_at>2024-09-17T02:07:51.1234902+07:00</created_at>
  <datetime>2024-09-17T02:07:51.1234902+07:00</datetime>
  <deposit_tranfer_in>1</deposit_tranfer_in>
  <detail>sample string 7</detail>
  <id>1</id>
  <txt_name>sample string 6</txt_name>
  <withdraw_tranfer_out>1</withdraw_tranfer_out>
</statement>