Skip to content

User Extcredits Records

  • Endpoint Path: /api/fresns/v1/user/extcredits-records
  • Method: GET
  • Request: Query

Headers Optional Parameter

KeyPublic Mode (Required)Private Mode (Required)
X-Fresns-Aidrequiredrequired
X-Fresns-Aid-Tokenrequiredrequired
X-Fresns-Uidrequiredrequired
X-Fresns-Uid-Tokenrequiredrequired

Query Params

KeyTypeRequiredDescription
extcreditsIdNumberoptionalExtcredits number (Null to output all)
pageSizeNumberoptionalNumber of items per page (default 15 items)
pageNumberoptionalPage number (default 1)

Return

json
{
    "code": 0,
    "message": "ok",
    "data": {
        "pagination": {
            "total": "Number / How much data in total",
            "pageSize": "Number / How much data on each page",
            "currentPage": "Number / Current page number",
            "lastPage": "Number / Last page number"
        },
        "list": [
            {
                "extcreditsId": "Number / Extcredits number",
                "name": "String / Name",
                "unit": "String / Unit",
                "type": "String / Operation type, increment or decrement",
                "amount": "Number / Amount",
                "openingAmount": "Number / Opening amount",
                "closingAmount": "Number / Closing amount",
                "fskey": "String / App fskey",
                "remark": "String / Remark",
                "datetime": "String / Datetime",
                "datetimeFormat": "String / Formatted time",
                "timeAgo": "String / Humanized time",
            }
        ]
    }
}

Released under the Apache-2.0 License