CreateSmsTrademark

Updated at:

Creates a trademark entity. Scenarios: when the signature source is a trademark, trademark information needs to be uploaded.

Operation description

The trademark must be searchable on the China Trademark Office website of the China National Intellectual Property Administration, and the trademark owner must match the enterprise name.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

dysms:CreateSmsTrademark

create

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

TrademarkPic

string

Yes

The fileKey of the trademark details screenshot.

  1. How to query a trademark:

  • Log on to the China Trademark Office website and click "Online Trademark Search" to take a screenshot of the trademark details.

  • Accept the terms of use and enter the "Application/Registration Number" to query.

  • Click the "Application/Registration Number" to view the details.

  1. Trademark file information uploaded to OSS. File upload requirements:

  • The file name must not contain Chinese characters or special characters.

  • Only images in jpg, png, gif, or jpeg format are supported. The image size must not exceed 5 MB.

  • The screenshot must contain the complete URL.

  • The trademark image must be clear and exactly match the "Signature Name".

  • The "Applicant Name" must exactly match the name of the organization associated with the signature.

  • The trademark status must be a registered trademark.

  1. Obtain the fileKey as follows: Upload a file through OSS.

123456/test1719383196031.jpg

TrademarkRegistrationNumber

string

Yes

The trademark registration number. The value can be up to 15 characters in length.

766905

TrademarkName

string

Yes

The trademark name. The value can be up to 15 characters in length.

阿里云

TrademarkApplicantName

string

Yes

The applicant name. The value can be up to 50 characters in length.

阿里巴巴(中国)有限公司

TrademarkEffExpDate

string

Yes

The validity period of the exclusive right, in the format of YYYY-MM-DD~YYYY-MM-DD.

2010-12-14~2030-12-13

Response elements

Element

Type

Description

Example

object

AccessDeniedDetail

string

The details about the access denial.

None

RequestId

string

The request ID.

F655A8D5-B967-440B-8683-DAD6FF8DE990

Message

string

The description of the status code.

OK

Data

string

The trademark ID.

10000*******

Code

string

The request status code.

  • OK indicates that the request was successful.

  • For other error codes, refer to the error code list in this section or API error codes.

OK

Success

boolean

Indicates whether the API call was successful. Valid values:

  • true: The call was successful.

  • false: The call failed.

true

Examples

Success response

JSON format

{
  "AccessDeniedDetail": "None",
  "RequestId": "F655A8D5-B967-440B-8683-DAD6FF8DE990",
  "Message": "OK",
  "Data": "10000*******",
  "Code": "OK",
  "Success": true
}

Error codes

HTTP status code

Error code

Error message

Description

400 TrademarkOssFileNotUploadError The trademark screenshot file is not uploaded. The trademark screenshot file has not been uploaded.
400 TrademarkLetterDateNotMatchRegex The format of the trademark's validity period is incorrect. The format of the trademark effective or expiration time is invalid.
400 TrademarkNameNotMatchRegex The trademark name cannot be empty. The trademark name cannot be empty.
400 TrademarkNameOverLimit The trademark name exceeds the length limit. The trademark name exceeds the length limit.
400 TrademarkRegistrationNumberNotMatchRegex The trademark registration number cannot be empty. The trademark registration number cannot be empty.
400 TrademarkRegistrationNumberOverLimit The trademark registration number exceeds the length limit. The trademark registration number exceeds the length limit.
400 TrademarkApplicantNameNotMatchRegex The trademark applicant cannot be empty. The trademark applicant cannot be empty.
400 TrademarkApplicantNameOverLimit The trademark applicant exceeds the length limit. The trademark applicant exceeds the length limit.
400 TrademarkDateNotValid The trademark's validity period is not within the valid range. The trademark effective or expiration time is not within the valid period.
400 TrademarkPicsFileError The format of the trademark screenshot file is incorrect. The format of the trademark screenshot file is invalid.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.