通过商品标题质量诊断服务,产出可视化的标题质量分,便于卖家对现有的商品标题质量有实际体感

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String GetTitleDiagnose

系统规定参数。取值:GetTitleDiagnose。

CategoryId String 123

类目id

Extra String { "product_id": "1", "platform": "ae" }
  • 可选字段
  • 格式内容:{

    "product_id": "1",

    "platform": "ae"

    }

  • product_id 商品id
  • platform 商品所属平台
Language String zh

标题文字的语种,语向支持以及语言代码

Platform String ae

商品标题所属平台

Title String Amroe Japan Comic Theme Uzumaki Naruto Namikaze Minato 3D Visual Cartoon 7 Color USB Touch

标题内容

返回数据

名称 类型 示例值 描述
Code Integer 200

状态码,正常请求返回200

Data Struct

返回具体内容

AllUppercaseWords String Boy

全部大写的单词

ContainCoreClasses String true

是否包含类目主词

DisableWords String baba

敏感词

DuplicateWords String hi

重复单词(包括单复数)

LanguageQualityScore String 2

语言质量分

NoFirstUppercaseList String no

首字母未大写单词

OverLengthLimit String 100

长度限制

TotalScore String 3

总分数

WordCount String 10

总单词数

WordSpelledCorrectError String ahk

拼写错误单词

Message String ok
RequestId String DC2DCCC9-C3DF-4F59-8D8E-78185729F16D

示例

请求示例

http(s)://[Endpoint]/?Action=GetTitleDiagnose
&CategoryId=123
&Extra={   "product_id": "1",   "platform": "ae" }
&Language=zh
&Platform=ae
&Title=Amroe Japan Comic Theme Uzumaki Naruto Namikaze Minato 3D Visual Cartoon 7 Color USB Touch
&<公共请求参数>

正常返回示例

XML 格式

<RequestId>DC2DCCC9-C3DF-4F59-8D8E-78185729F16D</RequestId>
<Message>ok</Message>
<Data>
    <NoFirstUppercaseList>no</NoFirstUppercaseList>
    <ContainCoreClasses>true</ContainCoreClasses>
    <DisableWords>baba</DisableWords>
    <WordCount>10</WordCount>
    <OverLengthLimit>100</OverLengthLimit>
    <TotalScore>3</TotalScore>
    <DuplicateWords>hi</DuplicateWords>
    <WordSpelledCorrectError>ahk</WordSpelledCorrectError>
    <AllUppercaseWords>Boy</AllUppercaseWords>
    <LanguageQualityScore>2</LanguageQualityScore>
</Data>
<Code>200</Code>

JSON 格式

{"RequestId":"DC2DCCC9-C3DF-4F59-8D8E-78185729F16D","Message":"ok","Data":{"NoFirstUppercaseList":"no","ContainCoreClasses":"true","DisableWords":"baba","WordCount":"10","OverLengthLimit":"100","TotalScore":"3","DuplicateWords":"hi","WordSpelledCorrectError":"ahk","AllUppercaseWords":"Boy","LanguageQualityScore":"2"},"Code":"200"}

错误码

HttpCode 错误码 错误信息 描述
110 System.AccountNotActivated The account has not activated the service. 账号没有开通服务
113 System.AccountNotActivatedOrInArrears The service is not activated or the account has an outstanding balance. 账号服务没有开通或者欠费
102 System.Error A system error occurred. 系统错误
106 System.LanguageDetectError An error occurred while detecting the language. 语种识别错误
105 System.LanguageNotSupported The specified language pair is not supported. 该语向不支持
104 System.ParameterError Some required parameters are missing. 参数错误
101 System.RequestTimeOut The request has timed out. 请求超时
108 System.StringTooLong The maximum length of the specified string is exceeded. 字符过长
109 System.subNotPermission The sub-account is not authorized to perform the operation. 子账号没有权限
111 System.SubServiceFailed Sub-account service failed. 子账号服务失败
107 System.TranslateError An error occurred while translating. 翻译错误
112 System.TranslateServiceCallFailed Failed to call the translation service. 翻译服务调用失败
199 System.unknownError An unknown error occurred. 未知错误
103 System.UrlDecodingError An error occurred while decoding the URL. Verify that the specified URL is encoded. URL编码错误

访问错误中心查看更多错误码。

访问错误中心查看更多错误码。