Display all members details in pages

Created by Yee Sin Lum, Modified on Thu, 16 Jun 2022 at 11:44 PM by Yee Sin Lum

Display all members details in pages

interface address

hostname/openapi/v1/customerOpenApi/queryCustomerPages

Request header

User-Agent: openApi

Content-Type: application/json; charset=utf-8

Accept-encoding: gzip,deflate

Time-stamp: 1437528688233

Data-signature: BF706E6AC693BA3B1BABD32E6713431D

Request method

POST

Request body

{

   "appId": "abcdefghijklmn",

   "postBackParameter": {

      "parameterType": "abcd", taken directly from the returned result

      "parameterValue": "abcd"

   }

}

parameter name

Is it necessary

Types of

Instructions

appId

Yes

String

KYBIO configured access credentials

postBackParameter

no

Json

Information is obtained from returned result

parameterType

Yes

String

Obtained from returned result

parameterValue

Yes

String

Obtained from returned result

Return result

{

   "status": "success",

   "messages": [],

   "data": {

      "postBackParameter": {

         "parameterType": "abcd", taken directly from the returned result

         "parameterValue": "abcd"

      },

      "pageSize": 100,

      "result": [

         {

            "customerUid": 612470307777855407,

            "categoryName": "",

            "number": "yelb007",

            "name": "yyyy",

            "point": 0,

            "discount": 100,

            "balance": 0,

            "phone": "13600927865",

            "birthday": "2015-10-16",

            "qq": "",

            "email": "",

            "address": "",

            "createdDate": "2015-10-16 00:00:00",

            "password": "ABEDDDWSSWWW",

            "onAccount": 0,

            "enable": 1

         }

      ]

   }

}

Field name

Types of

Instructions

Status

String

Whether the request is processed correctly, show success or error message, case-insensitive

Messages

String[]

Processing result message

errorCode

Int

Business process error code, see error code table

pageSize

Int

The query is expected to take the number of records from the database. If the length of the result set is less than the pageSize, no query is needed on the next page.

postBackParameter

Json

The parameter structure of the paging query sent back to the server must be passed back from the second page. If not, each query is the first page.

parameterType

String

Taken directly from the returned result for postback, value cannot be changed

parameterValue

String

Taken directly from the returned result for postback, cannot change its value

Result

List

Member field reference 2.1

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article