Search supplier information by page

Created by Weebo Support, Modified on Thu, 16 Jun, 2022 at 11:49 PM by Weebo Support

Search supplier information by page

interface address

hostname/openapi/v1/supplierOpenApi/querySupplierPages

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":"abcdef", Retrieve directly from the returned result

          "parameterValue": "abcdef", Retrieve directly from the result

     }

}

parameter name

Is it necessary

Types of

Instructions

appId

Yes

String

KYBIO configured access credentials

postBackParameter

no

Json

Able to skip at home page, subsequently, content will be obtained from returned results

parameterType

Yes

String

obtained from returned results

parameterValue

Yes

String

obtained from returned results

Return result

{

     "status": "success",

     "messages": [],

     "data": {

          "postBackParameter": {

               "parameterType": "abcdef", Retrieve directly from the returned result

               "parameterValue": "abcdef" is taken directly from the returned result

          },

          "result": [

               {

                    "uid": 140804498492323524,

                    "number": "323524",

                    "name": "KYBIO Cash Register Software",

                    "linkman": "Jiang Fa Cai",

                    "gender": "male",

                    "tel": "138009278xx",

                    "email": "google@gmail.com",

                    "address": "63 Ubi Road 1"

                    "remarks": "Provide cash register software and hardware solutions,"

               "enable": 1

               }

          ],

          "pageSize": 100

     }

}

Field name

Types of

Instructions

Status

String

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

Messages

String[]

Processing result message

errorCode

Int

Operation process error code, see error code table

pageSize

Int

This query is expected to take the number of records from the inventory. If the length of the result set is less than pageSize, no query is required 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, value cannot be changed

Result

List

Product classification entity

Uid

Long

Unique identifier of the supplier in KYBIO system

Name

String

Supplier name

Number

String

supplier code

Linkman

String

Supplier contact

Gender

String

Contact gender

Tel

String

contact number

Email

String

Contact email

Address

String

supplier address

Remarks

String

Remarks information

Enable

Integer

1: Enabled; 0: Disabled, -1 Deleted

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 at least one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article