AddUserTagMeta接口用于新增组织成员标签元信息。
请求参数
| 名称 | 类型 | 是否必选 | 示例值 | 描述 | 
|---|---|---|---|---|
| Action | String | 是 | AddUserTagMeta | 
                               要执行的操作。取值:AddUserTagMeta。  | 
                           
                        
| TagName | String | 是 | 职位 | 
                               标签名称。格式检查:最大长度255个字符。  | 
                           
                        
| TagDescription | String | 否 | 部门内的职位 | 
                               标签描述。格式检查:最大长度255个字符。  | 
                           
                        
返回数据
| 名称 | 类型 | 示例值 | 描述 | 
|---|---|---|---|
| RequestId | String | D787E1A3-A93C-424A-B626-C2B05DF8D885 | 
                               请求ID。  | 
                           
                        
| Result | String | 0822a7d9-****-****-****-f20163ab9b0d | 
                               返回添加成功的标签ID。  | 
                           
                        
| Success | Boolean | true | 
                               是否请求成功。取值范围: 
  | 
                           
                        
示例
请求示例
http(s)://quickbi-public.aliyuncs.com/?Action=AddUserTagMeta
&TagName=职位
&TagDescription=部门内的职位
&公共请求参数
                  正常返回示例
XML格式
                  
HTTP/1.1 200 OK
Content-Type:application/xml
<AddUserTagMetaResponse>
    <RequestId>D787E1A3-A93C-424A-B626-C2B05DF8D885</RequestId>
    <Result>0822a7d9-****-****-****-f20163ab9b0d</Result>
    <Success>true</Success>
</AddUserTagMetaResponse>
                  JSON格式
                  
HTTP/1.1 200 OK
Content-Type:application/json
{
  "RequestId" : "D787E1A3-A93C-424A-B626-C2B05DF8D885",
  "Result" : "0822a7d9-****-****-****-f20163ab9b0d",
  "Success" : true
}
                  错误码
| HttpCode | 错误码 | 错误信息 | 描述 | 
|---|---|---|---|
| 500 | TagName.Repeat | The tag name is duplicated. | 标签名称重复。 | 
| 500 | Invalid.User.Admin | You are not an administrator of this organization. | 没有权限,您不是组织管理员。 | 
| 500 | Instance.Expired | Your instance has expired. | 您的购买实例已经过期。 | 
| 500 | Instance.Not.Exist | The specified instance does not exist. | 暂未匹配到您的购买实例。 | 
| 500 | Access.Forbidden | Access forbidden. Your instance version or access key is not allowed to call the API operation. | 访问被禁止,您的实例版本或者 AccessKey不允许调用该 API。 | 
| 500 | Invalid.Organization | The specified organizational unit does not exist. | 该组织不存在。 | 
| 500 | User.Not.In.Organization | The specified user is not in the organizational unit. | 该用户不在组织中。 | 
| 500 | Invalid.Parameter.Error | The parameter is invalid:%s. | 无效参数%s。 | 
| 500 | Internal.System.Error | An internal system error occurred. | 系统内部异常。 | 
访问错误中心查看更多错误码。