Cisco Cisco Identity Services Engine 1.3 전단

다운로드
페이지 168
 
7-44
Cisco Identity Services Engine API 
참조 가이드, 릴리스 1.4
OL-26134-01
장      외부 RESTful 서비스 API 작업
  
포털을 위한 외부 RESTful 서비스 API
모든 포털 가져오기 호출의 샘플 응답
HTTP/1.1 200 OK
Date: Thu, 12 Jul 2012 23:59:59 GMT
Content-Type: application/vnd.com.cisco.ise.ers.searchresult.1.0+xml 
Content-Length: 16347
{
<?xml version="1.0" encoding="utf-8" standalone="yes"?> <ns2:searchResult total="2" 
xmlns:ns2="ers.ise.cisco.com">
        <resources>
            <resource name="portal1" id="id1">
                <link type="application/xml" 
href="https://<ISE-ADMIN-NODE>:9060/ers/config/portal/id1" rel="self"/>
</resource>
            <resource name="portal2" id="id2">
                <link type="application/xml" 
href="https://<ISE-ADMIN-NODE>:9060/ers/config/portal/id2" rel="self"/>
            </resource>
        </resources>
</ns2:searchResult>
ID
별로 포털 가져오기
다음 표에는 ID별로 포털 가져오기 API 호출의 주요 특성이 나열되어 있습니다.
ID
별로 포털 가져오기 호출의 샘플 요청
GET https://<ISE-ADMIN-NODE>:9060/ers/config/portal/333
    Authorization: Basic xxxxxxxxxxxxxxxxxxx
    Accept: application/vnd.com.cisco.ise.identity.portal.1.0+xml
ID
별로 포털 가져오기 호출의 샘플 응답
HTTP/1.1 200 OK
Date: Thu, 12 Jul 2012 23:59:59 GMT
Content-Type: application/vnd.com.cisco.ise.identity.portal.1.0+xml Content-Length: 16347
{
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> 
<ns3:portal name="sponsor" id="d7b703f0-b073-11e3-bd6c- 005056a15fa7"
        xmlns:ns2="ers.ise.cisco.com"
        xmlns:ns3="identity.ers.ise.cisco.com">
 7-47
ID
별로
 
포털
 
가져오기
 API 
호출의
 
주요
 
특성
설명
지정된 포털 검색
개요
GET /ers/config/portal/{id}
요청 헤더
Accept, Authorization, Host
QueryString
해당 없음
요청 메시지 본문
해당 없음
응답 헤더
Content-Length, Content-Type
응답 메시지 본문
포털 유형의 리소스
응답 상태
200, 400, 401,403, 404, 415, 500