Query traffic configuration

Created by Weebo Support, Modified on Fri, 17 Jun, 2022 at 2:04 AM by Weebo Support

Query traffic configuration

interface address

Hostname/openapi/v1/openApiLimitAccess/queryAccessTimes

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"

}

parameter name

Is it necessary

Types of

Instructions

appId

Yes

String

Kybio configured access credentials
Any store's AppId can find out all traffic configurations of the current store and chain store

Return result

{

     "status": "success",

     "messages": [],

     "data": [

          {

               "appId": "9CE71412C6B26D0C7EF894Bcccc4DDDD",

               "limitTimes": 3000,

               "startDate": "2017-10-27 00:00:00",

               "endDate": "2018-11-02 23:59:59"

          },

          {

               "appId": "9CE71412C6B26D0C7EF894Bcccc4DDDD",

               "limitTimes": 3000,

               "startDate": "2017-05-16 00:00:00",

               "endDate": "2018-11-02 23:59:59"

          }

     ]

}

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

Business process error code, see error code table

Data

Json

Visiting entity data

appId

String

The appId corresponding to the account

limitTimes

Long

Daily traffic

startDate

String

The start time is in the format yyyy-MM-dd hh:mm:ss. When startDate=null or endDate=null, it means that this account has always used the default access.

endDate

String

The expiration time format is yyyy-MM-dd hh:mm:ss, which can be null. If the current time is greater than the end of the expiration, the traffic is reduced to the default traffic.

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