Get Concurrent Call Limits

Queries the concurrent call limit of the current tenant.

Request URL

POST {base_url}/uc-cconfig/api/v1/dashboard/concurrent-limits

Request parameters

Headers
Parameter Required Type Description
Authorization Yes String The access token used for authentication.

Format: Bearer {access_token}.

x-tenant-code Yes String The tenant name.
Note: You can obtain tenant name using the Query Tenants interface.

Response parameters

Parameter Type Description
requestId String The unique ID of the request, which can be used to quickly locate the request.
code String The HTTP status code of the request.
  • 200: Request succeeded.
  • Non-200 value: Request failed.
message String The status message of the request.
detailMessage String The detailed error information.

When the request is successful, this parameter returns empty.

result Object<Concurrent_Limits_Result> The concurrent call limit of the current tenant.
Concurrent_Limits_Result
Parameter Type Description
tenantLimit Integer

The concurrent call limit of the current tenant:

  • 0: Concurrent calls are prohibited.
  • -1: No limit.
  • A value greater than 0: The maximum number of concurrent calls.

Example

Request example

POST /uc-cconfig/api/v1/dashboard/concurrent-limits HTTP/1.1
Host: api.cn.novoone.com
Authorization: Bearer eyJraWQiOiJjbi0wLWtleS0xIiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiIxMDAwQGNvbG9ydGVzdDIiLCJncmFudF90eXBlIjoicGFzc3dvcmQiLCJ1c2VyX25hbWUiOiIxMDAwQGNvbG9ydGVzdDIiLCJzY29wZSI6WyJyZWFkIiwid3JpdGUiXSwiY2xpZW50X2V4dCI6eyJkZXNjcmlwdGlvbiI6IueuoeeQhuWQjuWPsFdlYuW6lOeUqCIsInBsYXRmb3JtIjoid2ViIn0sImV4cCI6MTc5MzYyNzI1OSwiaWF0IjoxNzkzNjA1NjU5LCJqdGkiOiJkYTIzNWUyOS0xNDhjLTQ3YjMtOWZlYi1lZjZiZWVmMTRjZGUiLCJjbGllbnRfaWQiOiJub3ZvLWFkbWluLXdlYiIsInNpZCI6IjI1MjMxN2UzLTdkOGYtNDQ5Ni1hODFiLTg2YWFhMGIzNmMzYiIsInVzZXJfZXh0Ijp7InJvbGVJZHMiOlsxMDJdLCJwdWlkIjozMDc2OTEzNjQ0OTE1OTk4NzIwLCJ0ZW5hbnRJZCI6MjA3OTUwNDIwNTMwOTE5NDI0MSwicGFyZW50VWNJZCI6MzA3NjkxMzY0NDg5MDgzMjg5NiwidGVuYW50Q29kZSI6ImNvbG9ydGVzdDIiLCJ0eXBlIjoiVF9VU0VSIiwidXNlcklkIjoyMDc5NzQ2OTE1Mzg4MDc2MDMzLCJlbWFpbCI6Imxlb0BzYW1wbGUuY29tIiwidXNlcm5hbWUiOiIxMDAwQGNvbG9ydGVzdDIiLCJ1Y0lkIjozMDc2OTEzNjQ0ODkwODMyODk2fX0.NjfkMMNVv8EPgHLtxwP0s-5AIyqx-1gFXvo-Paf7fRg5WQ8q_7CToYV4y5KWV27zXHEPmWM6bL4ZfT7CAKCKlmINYU6rc_sqU5IAymepHTtGAQwXBtK0dAUWoUaK9mbvijSLSCT3_jx8mmZSHhVsQ9cZXJCaLwksLF3KwBvGymZeiUERVisrh-1-rk5M8UTBbAKl-ywYUBQzi943YZvlG4Quv8wVOgudM3swJHpkT221azRIsU08ZkZYHob1fM4A7l3rzcvV2lh_kmDnkMBQbNmnnuCHyHTH3-pExgkFZ09lOth1KLZYG8CitHUo6KugmF4pBX60VjHLUCBnI-zxXQ
x-tenant-code: jint
Content-Type: application/json

Response example

HTTP/1.1 200 OK
{
  "requestId": "c0ba79096f94a9d85968f6148499c46e",
  "code": "200",
  "message": "SUCCESS",
  "detailMessage": "",
  "result": {
    "tenantLimit": -1
  }
}