CreateSmsTrademark
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
Test
RAM authorization
|
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.
|
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 |
| Success |
boolean |
Indicates whether the API call was successful. Valid values:
|
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.