List instances for user

Details

URI /user/myinstance
Method GET
Parameters

userIdentifier=<user_id>
    Required; this user must be in the same organization as requestor, and must have the necessary permissions for the data you want to work with. See Get userIdentifier for the steps required to get the userIdentifier value.
scope=base
    Optional; the only valid value is base.

detail=basic
    Optional; The only valid value is basic.

requestor=<user_name>
    Required; user name must be valid, and is the user whose subscription list will be returned by this call. requestor must be in the same organization as the user specified by userIdentifier.

creationStartDate=<yyyy-MM-ddTHH:mm:ss>
    Optional; instances for subscriptions created on or after start date and time will be included in the return. T serves as a separator between data and time. Time will default to 00:00:00 if not specified. Date and time are assumed to be in the time zone of the CSA server.

creationEndDate=<yyyy-MM-ddTHH:mm:ss>
    Optional; instances for subscriptions created before end date and time will be included in the return. T serves as a separator between data and time. Time will default to 00:00:00 if not specified. Date and time are assumed to be in the time zone of the CSA server.

Returns 200 - Ok
401 - Not authorized
404 - Not found
500 - Server exception

Examples

The following URL was sent:

https://<host>:<port>/csa/rest/user/myinstance?userIdentifier=90d9652b67ss6a930135f35b327e00a0 &requestor=johnsmith

The following XML was returned in the response:


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ServiceInstanceList>
     <count>6</count>
     <limit>0</limit>
     <ServiceInstance>
        <id>90d957ea3806fa7e01380f957d11070a</id>
        <name>MYSD_June 5, 2012 5:19:51 PM UTC</name>
        <displayName>MYSD</displayName>
        <state></state>
        <serviceInstanceState>...</serviceInstanceState>
        ...
     </ServiceInstance>
     ...
<ServiceInstanceList>