Cisco Cisco Identity Services Engine 1.3 전단

다운로드
페이지 164
 
7-15
思科身份服务引擎 API 参考指南,版本 1.4
OL-26134-01
 7       外部 RESTful 服务 API 操作 
  适用于终端的外部 RESTful 服务 API
. . .
<resource
xsi:type = "ns3:ersEndPoint"
description = "created by bulk request"
xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"> <group>Profiled</group> 
<groupId>804f5350-7808-11e2-bdd0-0050568e01f0</groupId> <identityStore></identityStore> 
<identityStoreId></identityStoreId> <mac>11:22:33:44:55:77</mac>
<portalUser></portalUser>
<profile>Apple-iPod</profile> <profileId>b8128870-7808-11e2-bdd0-0050568e01f0</profileId> 
<staticGroupAssignment>true</staticGroupAssignment> 
<staticProfileAssignment>true</staticProfileAssignment>
</resource> </resourcesList>
</ns3:endpointBulkRequest>
}
启动终端批量执行 API 调用的响应示例
HTTP/1.1 202 ACCEPTED
        Date: Thu, 12 Jul 2012 23:59:59 GMT
        Location: https://ise-node-ip:9060/ers/config/endpoint/123443545334
获取终端批量状态
如果批量执行请求有效且没有其他正在处理的批量操作,服务器将在 LOCATION 响应头中返回唯
一的批量标识符。使用此 ID 可跟踪批量状态。您可以获取操作开始之后至少 2 小时的状态报告。
获取终端批量状态示例
请求 
GET https://<ISE-ADMIN-NODE>:9060/ers/config/endpoint/bulk/53454354534 HTTP/1.1
    Host: {some-ise-node-ip}
    Authorization: Basic xxxxxxxxxxxxxxxxxxx
    Accept: application/vnd.com.cisco.ise.identity.bulkStatus.1.0+xml
响应
HTTP/1.1 200 OK
Date: Thu, 12 Jul 2012 23:59:59 GMT
Content-Type: application/vnd.com.cisco.ise.ers.bulkStatus.1.0+xml Content-Length: 16347
{
<ns2:bulkStatus
 7-17
获取批量状态的主要特征
说明
监控指定的批量执行进度
摘要
GET /ers/config/endpoint/bulk/{bulkid}
请求头
Accept、Authorization、Host
查询字符串
不适用
请求消息正文
不适用
响应头
Content-Length、Content-Type
响应消息正文
批量状态 
响应状态
200, 400, 401, 403, 404, 415, 500