tencent cloud

Feedback

CreateIntlTemplate

Last updated: 2023-03-28 10:53:00

1. API Description

Domain name for API request: domain.tencentcloudapi.com.

This API is used to add a registrant profile.

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: CreateIntlTemplate.
Version Yes String Common Params. The value used for this API: 2018-08-08.
Region No String Common Params. This parameter is not required for this API.
RegistrantContact Yes RegistrantContact The registrant contact.
AdminContact Yes AdminContact The admin contact.
TechnicalContact Yes TechnicalContact The technical contact.
BillingContact Yes BillingContact The contact person for bills.
TemplateType No String The profile type. Valid values: I (individual, default), E (organization).

3. Output Parameters

Parameter Name Type Description
TemplateId String The profile ID.
RequestId String The unique request ID, which is returned for each request. RequestId is required for locating a problem.

4. Example

Example1 Creating a registrant profile

Input Example

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

{
    "RegistrantContact": {
        "Province": "xx",
        "City": "xx",
        "Fax": "xx",
        "AddressLine": "xx",
        "FirstName": "xx",
        "CompanyName": "xx",
        "JobTitle": "xx",
        "ZipCode": "xx",
        "AddressLineTwo": "xx",
        "Country": "xx",
        "LastName": "xx",
        "Phone": "xx",
        "Email": "xx"
    },
    "BillingContact": {
        "Province": "xx",
        "City": "xx",
        "Fax": "xx",
        "AddressLine": "xx",
        "FirstName": "xx",
        "CompanyName": "xx",
        "JobTitle": "xx",
        "ZipCode": "xx",
        "AddressLineTwo": "xx",
        "Country": "xx",
        "LastName": "xx",
        "Phone": "xx",
        "Email": "xx"
    },
    "TechnicalContact": {
        "Province": "xx",
        "City": "xx",
        "Fax": "xx",
        "AddressLine": "xx",
        "FirstName": "xx",
        "CompanyName": "xx",
        "JobTitle": "xx",
        "ZipCode": "xx",
        "AddressLineTwo": "xx",
        "Country": "xx",
        "LastName": "xx",
        "Phone": "xx",
        "Email": "xx"
    },
    "AdminContact": {
        "Province": "xx",
        "City": "xx",
        "Fax": "xx",
        "AddressLine": "xx",
        "FirstName": "xx",
        "CompanyName": "xx",
        "JobTitle": "xx",
        "ZipCode": "xx",
        "AddressLineTwo": "xx",
        "Country": "xx",
        "LastName": "xx",
        "Phone": "xx",
        "Email": "xx"
    }
}

Output Example

{
    "Response": {
        "RequestId": "xx",
        "TemplateId": "xx"
    }
}

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 Operation failed.
FailedOperation.CreateTemplateFailed Failed to create the registrant profile.
FailedOperation.DescribeDomainListFailed Failed to get the domain information. Please try again later.
FailedOperation.DescribeTemplateFailed Failed to query the registrant profile.
FailedOperation.TemplateMaxNumFailed The number of registrant profiles has reached the maximum number allowed. Delete a profile and try again.
InternalError Internal error.
InternalError.DomainInternalError Network error. Please try again later.
InternalError.ForbiddenRequest Forbidden request.
InternalError.JsonMarshal Error in converting to JSON.
InternalError.MethodNotMatch Method mismatch.
InternalError.NeedLogin Login is required.
InternalError.ReadBodyError Failed to read the body.
InvalidParameter Invalid parameter.
InvalidParameter.CertificateCodeIsInvalid Incorrect qualification information.
InvalidParameter.CertificateImageIsInvalid Incorrect qualification photo.
InvalidParameter.EmailIsInvalid The email address is empty or incorrect.
InvalidParameter.FirstNameIsInvalid The first name is empty or incorrect.
InvalidParameter.LastNameIsInvalid The last name is empty or incorrect.
InvalidParameter.NameIsInvalid The contact person is empty or incorrect.
InvalidParameter.OrgIsInvalid The registrant is empty or incorrect.
InvalidParameter.RepTypeIsInvalid Invalid request type.
InvalidParameter.StreetIsInvalid Incorrect address. Please enter a correct one.
InvalidParameter.TelephoneIsInvalid The mobile number is empty or invalid.
InvalidParameter.UserTypeIsInvalid The user type is empty or invalid.
InvalidParameter.ZipCodeIsInvalid The zip code is empty or invalid.
InvalidParameterValue.InvalidParameterFormat Invalid parameter value.
MissingParameter Missing parameter.
MissingParameter.ActionNotFound The route is not defined.
MissingParameter.DomainIsEmpty The domain cannot be empty.
MissingParameter.RepDataIsNone The request data cannot be empty.
MissingParameter.TemplateIdIsEmpty The profile ID is empty or invalid.
MissingParameter.TemplateIdIsExist This profile already exists.
ResourceNotFound The resource doesn’t exist.
ResourceNotFound.TemplateNotFound The profile information is incorrect. Please set information correctly.
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