Cisco CCE:REST 更新请求错误消息:指定的 URL 不存在
Cisco CCE: REST Update Request ErrorMessage: The specified URL does not exist
当我尝试通过 REST 请求更新代理技能组时,我收到以下响应:
<apiError>
<errorDetail xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="resourceErrorDetail">
<refURL>https://x/unifiedconfig/config/agent/(id)</refURL>
<apiErrors>
<apiError>
<errorMessage>The specified URL does not exist.</errorMessage>
<errorType>notFound.dbData</errorType>
</apiError>
</apiErrors>
</errorDetail>
<errorMessage>There were one or more errors processing the following request: update https://x/unifiedconfig/config/agent/(id)</errorMessage>
<errorType>operation.resourceErrors</errorType>
</apiError>
我已经注意的事项:
- 名称和参数均由文档提供
- 授权安全
- 我正在获取信息但无法更新
问题是授权,要更新代理技能组,凭据需要是您要访问的团队的主管。
同样的权限需要看下面API:
https://{ServerIP}/unifiedconfig/config/skillgroup/
如果您可以看到所有技能组,您也可以更改代理的技能组。
我还提到了语法:
<operation>
<operationType>update</operationType>
<refURLs>
<refURL>/unifiedconfig/config/agent/5000</refURL>
<refURL>/unifiedconfig/config/agent/5001</refURL>
</refURLs>
<changeSet>
<agent>
<skillGroupsAdded>
<skillGroup>
<refURL>/unifiedconfig/config/skillgroup/6000</refURL>
</skillGroup>
</skillGroupsAdded>
<skillGroupsRemoved>
<skillGroup>
<refURL>/unifiedconfig/config/skillgroup/6001</refURL>
</skillGroup>
</skillGroupsAdded>
</changeSet>
</operation>
当我尝试通过 REST 请求更新代理技能组时,我收到以下响应:
<apiError>
<errorDetail xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="resourceErrorDetail">
<refURL>https://x/unifiedconfig/config/agent/(id)</refURL>
<apiErrors>
<apiError>
<errorMessage>The specified URL does not exist.</errorMessage>
<errorType>notFound.dbData</errorType>
</apiError>
</apiErrors>
</errorDetail>
<errorMessage>There were one or more errors processing the following request: update https://x/unifiedconfig/config/agent/(id)</errorMessage>
<errorType>operation.resourceErrors</errorType>
</apiError>
我已经注意的事项:
- 名称和参数均由文档提供
- 授权安全
- 我正在获取信息但无法更新
问题是授权,要更新代理技能组,凭据需要是您要访问的团队的主管。
同样的权限需要看下面API:
https://{ServerIP}/unifiedconfig/config/skillgroup/
如果您可以看到所有技能组,您也可以更改代理的技能组。
我还提到了语法:
<operation>
<operationType>update</operationType>
<refURLs>
<refURL>/unifiedconfig/config/agent/5000</refURL>
<refURL>/unifiedconfig/config/agent/5001</refURL>
</refURLs>
<changeSet>
<agent>
<skillGroupsAdded>
<skillGroup>
<refURL>/unifiedconfig/config/skillgroup/6000</refURL>
</skillGroup>
</skillGroupsAdded>
<skillGroupsRemoved>
<skillGroup>
<refURL>/unifiedconfig/config/skillgroup/6001</refURL>
</skillGroup>
</skillGroupsAdded>
</changeSet>
</operation>