tencent cloud

All product documents
APIs
ApproveClientApply
Last updated: 2025-02-10 14:54:07
ApproveClientApply
Last updated: 2025-02-10 14:54:07

1. API Description

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

Description: This API is used by resellers to review applications to become sub-customers. Note: This API is used to apply for the allowlist. If needed, please contact your business representative.

Callable roles: Reseller, Distributer, Second-level reseller

A maximum of 5 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: ApproveClientApply.
Version Yes String Common Params. The value used for this API: 2022-09-28.
Region No String Common Params. This parameter is not required.
ClientUin Yes Integer Sub-customer uin.
ApproveType Yes String Approval type. only supports pass and reject.
RejectReason No String Reason for rejection. required only when approvetype is reject.

3. Output Parameters

Parameter Name Type Description
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 Approving the Sub-Customer Application

Input Example

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

{
    "ClientUin": "1000000000",
    "ApproveType": "pass"
}

Output Example

{
    "Response": {
        "RequestId": "0aa8fe2c-****-4d94-b481-3f329******a"
    }
}

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
FailedOperation.BindOrganizationAccount The account is a group account and cannot be bound as a sub-customer.
FailedOperation.ClientBalanceIsLessOrEqualZero The sub-customer balance is less than zero.
FailedOperation.ClientBuySP The sub-customer has purchased an sp package.
FailedOperation.ClientCreateShareUnit The sub-customer has created a shared unit.
FailedOperation.ClientJoinShareUnit The sub-customer has joined a shared unit.
FailedOperation.ClientNotApply The user has not applied to become a sub-customer.
FailedOperation.ExceedMaxBindCount
FailedOperation.UinAlreadyKA Tencent cloud ka account cannot become a sub-customer.
FailedOperation.UinNotReseller UIN is a non-reseller (master reseller, reseller, sub-reseller) account.
InvalidParameterValue.InvalidUin InvalidParameterValue.InvalidUin
InvalidParameterValue.UinAlreadyClient The user has become a sub-customer of another reseller.
InvalidParameterValue.UinIsSubAccount The user is a sub-account.
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

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support