getScopeById
Gets the scope as specified by the ID.
Applies to Clouds only.
Parameter:
- scopeID
- The ID for the scope.
- Returns:
- The scope as specified by the ID.
Examples:
The following code is an example
of a SOAP request to get a scope by its ID.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:sec="http://www.approuter.com/schemas/2008/1/security">
<soapenv:Header>
<sec:sessionId>B60EA6425F8FCB16BB6E96063D09408E</sec:sessionId>
</soapenv:Header>
<soapenv:Body>
<sec:getScopeById>
<sec:scopeId>9378E8C3C5E5DCACA77D9F7B6BE24B98</sec:scopeId>
</sec:getScopeById>
</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:getScopeByIdResponse 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>
<category>enterprise</category>
<displayName>mycompany.com</displayName>
<id>9378E8C3C5E5DCACA77D9F7B6BE24B98</id>
<index>0</index>
<name>castiron.com</name>
<parentId>00000000000000000000000000000000</parentId>
<type>TENANT</type>
</ns2:scope>
</ns2:getScopeByIdResponse>
</S:Body>
</S:Envelope>