Cisco Cisco Identity Services Engine 1.3 전단

다운로드
페이지 164
 
7-41
思科身份服务引擎 API 参考指南,版本 1.4
OL-26134-01
 7       外部 RESTful 服务 API 操作 
  适用于访客用户的外部 RESTful 服务 API
        <firstName>Mary</firstName>
        <lastName>Sue</lastName>
        <phoneNumber>6039990000</phoneNumber>
        <userName>lucky13</userName>
        <password>1234</password>
        <notificationLanguage>English</notificationLanguage>
        <smsServiceProvider>ATT</smsServiceProvider>
    </guestInfo>
  
<guestType>DAILY</guestType>
  
<reasonForVisit>interview</reasonForVisit>
  
<personBeingVisited>sponsor@cisco.com</personBeingVisited>
</resource>
</resourcesList>
</ns3:bulkRequest>
响应
HTTP/1.1 202 ACCEPTED
        Date: Thu, 12 Jul 2012 23:59:59 GMT
        Location: https://<ISE-ADMIN-NODE>:9060/ers/config/guestuser/123443545334
相关主题
获取访客用户的批量状态
如果批量执行请求有效且没有其他正在处理的批量操作,服务器将在 LOCATION 响应头中返回唯
一的批量标识符。使用此 ID 可跟踪批量状态,您可以获取操作开始之后至少 2 小时的状态报告。
获取访客用户的批量状态示例
请求 
GET https://<ISE-ADMIN-NODE>:9060/ers/config/guestuser/bulk/53454354534 HTTP/1.1
    Authorization: Basic xxxxxxxxxxxxxxxxxxx
    Accept: application/vnd.com.cisco.ise.identity.guestuserbulkrequest.1.0+xml
响应
HTTP/1.1 200 OK
Date: Thu Mar 07 18:17:35 IST 2013 GMT
Content-Type: application/vnd.com.cisco.ise.ers.guestuserbulkrequest.1.0+xml 
Content-Length: 16347
 7-43
获取批量状态的主要特征
说明
监控指定的批量执行进度
摘要
GET /ers/config/guestuser/bulk/{bulkid}
请求头
Accept、Authorization、Host
查询字符串
不适用
请求消息正文
不适用
响应头
Content-Length、Content-Type
响应消息正文
批量状态 
响应状态
200、400、401、403、404、415、500