getScope

Gets the specified scope in the specified parent scope.

Applies to Clouds only.

Parameters:

scopeType
The type of scope, which is either tenant or environment.
name
The name of the scope.
parentScopeId
The ID of the parent scope.
Returns:
The specified scope.

Examples:

The following example is a SOAP request to get the specified scope in the specified parent scope.
<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>
The following example is the SOAP response to the request.
<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>



Feedback | Notices


Timestamp icon Last updated: Wednesday, December 16, 2015


http://pic.dhe.ibm.com/infocenter/wci/v7r0m0/topic/com.ibm.wci.api.doc/ci00029.html