tencent cloud

QuerySubAgentsDetailV2
Last updated: 2025-10-30 21:45:24
QuerySubAgentsDetailV2
Last updated: 2025-10-30 21:45:24

1. API Description

Domain name for API request: intlpartnersmgt.intl.tencentcloudapi.com.

This API is used to query information of second-level resellers.
Invocation Role:Distributor.

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: QuerySubAgentsDetailV2.
Version Yes String Common Params. The value used for this API: 2022-09-28.
Region No String Common Params. This parameter is not required.
Page Yes Integer Page number. starts from 1.
PageSize Yes Integer Number of items per page. supports up to 100.
FilterType No String Filter criteria, support the following filter parameters.
Note: Email, SubAgentUin, and ClientUin only support exact search. other conditions support fuzzy retrieval.The following are the definitions of filtering items:

Name: specifies second-level reseller name.
SubAgentUin: specifies the uin of the second-level reseller.
Remark: specifies remark.
Mobile: specifies the mobile number.
Email: specifies email address.
ClientUin: specifies the Indirect customer uin.
Filter No String Filter value
Order No String Sorting method. sorts by binding time in ascending or descending order. defaults to descending order if not specified.
Desc: descending order.
acs: ascending.

3. Output Parameters

Parameter Name Type Description
Total Integer Number of second-level resellers.
Data Array of QuerySubAgentsDetailV2ResponseData Second-Level reseller information.
RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

4. Example

Example1 Query Second-Level Reseller Information

Input Example

POST / HTTP/1.1
Host: intlpartnersmgt.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: QuerySubAgentsDetailV2
<Common request parameters>

{
    "Page": 1,
    "PageSize": 10
}

Output Example

{
    "Response": {
        "Total": 1,
        "Data": [
            {
                "SubAgentUin": 100001,
                "Name": "fdfd",
                "Remark": "dd",
                "CountOfCustomers": 0,
                "BindTime": "",
                "Credit": 0,
                "RemainingCredit": 0,
                "Voucher": 0,
                "RemainingVoucher": 0,
                "Email": "a@qq.com",
                "Mobile": "151xxx"
            }
        ],
        "RequestId": "abchs-****-****3n2m4m5b"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Error Code Description
OperationDenied.ServiceBusy System busy. Please try again later.
UnauthorizedOperation.UinNoAuth The current user doesn’t have permission for the operation.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback