GET api/user/{uid}/transaction?offset={offset}&count={count}

Get user transaction record

Request Information

URI Parameters

NameDescriptionTypeAdditional information
uid

User UID

integer

Required

offset

Offset of the list

integer

Default value is 0

count

Number of transaction in the list

integer

Default value is 10

Body Parameters

None.

Response Information

Resource Description

a list of user transaction

YSHTransactionDTO
NameDescriptionTypeAdditional information
transaction_uid

integer

None.

transaction_amount

decimal number

None.

transaction_currency

string

None.

transaction_detail

string

None.

payment_method

string

None.

transaction_create_date

date

None.

transaction_update_date

date

None.

transaction_type

string

None.

transaction_reason

string

None.

Response Formats

application/json, text/json

Sample:
{
  "transaction_uid": 1,
  "transaction_amount": 2.1,
  "transaction_currency": "sample string 3",
  "transaction_detail": "sample string 4",
  "payment_method": "sample string 5",
  "transaction_create_date": "2018-01-22T13:28:22.6251019+08:00",
  "transaction_update_date": "2018-01-22T13:28:22.6251019+08:00",
  "transaction_type": "sample string 8",
  "transaction_reason": "sample string 9"
}