getScope

指定された親スコープ内の指定されたスコープを取得します。

Cloud のみに適用されます。

パラメーター:

scopeType
スコープのタイプ (テナントまたは環境のいずれか)。
name
スコープの名前。
parentScopeId
親スコープの ID。
戻り:
指定されたスコープ。

例:

以下の例は、指定された親スコープ内の指定されたスコープを取得するための SOAP 要求です。
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:sec="http://www.approuter.com/schemas/2008/1/security">
 <soapenv:Header>
  <sec:sessionId>AA91E56114D36B296D82660639B6482F</sec:sessionId>
 </soapenv:Header>
 <soapenv:Body>
  <sec:getScope>
   <sec:scopeType>ENV</sec:scopeType>
   <sec:name>Staging</sec:name>
   <sec:parentScopeId>88673D5DF2583806B037576D94F34BBA</
   sec:parentScopeId>
  </sec:getScope>
 </soapenv:Body>
</soapenv:Envelope>
以下は、要求に対する SOAP 応答の例です。
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
 <S:Body>
  <ns2:getScopeResponse xmlns:ns2="http://www.approuter.com/
  schemas/2008/1/security" xmlns:ns3="http://www.approuter.com/schema/
  router/1000/security/03">
   <ns2:scope>
    <active>true</active>
    <displayName>Staging</displayName>
    <id>A51EDD44BE6C10B2D1335A9D634D407D</id>
    <index>1</index>
    <name>Staging</name>
    <parentId>88673D5DF2583806B037576D94F34BBA</parentId>
    <type>ENV</type>
   </ns2:scope>
  </ns2:getScopeResponse>
 </S:Body>
</S:Envelope>