List Resource Providers

Details

URI /artifact
Method GET
Parameters

userIdentifier=<user_id>

    Required; the user ID you want to use as credentials for this API call. See Get userIdentifier for the steps required to get the userIdentifier value.

artifactType=RESOURCE_PROVIDER

Required; the only valid value is RESOURCE_PROVIDER. Basic view information is provided in the return content.

restrict=[true|false] Optional; default is true. If the value is true, then the output fields of the REST response are restricted. By default, the following fields are not displayed: createdBy, updatedBy, createdOn, updatedOn, description, iconUrl, and categoryType. If the value is false, then the output fields are displayed. See Values for the restrict Parameter for more information.

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

Example

The following URL was sent:https://<host>:<port>/csa/rest/artifact?userIdentifier= 90d96588360da0c701360da0f1d5f483&artifactType=RESOURCE_PROVIDER

The following XML was returned in the response:

<ResourceProviderList>
  <count>3</count>
  <limit>0</limit>
  <resourceProvider>
    <id>90e72e583d4c6e77013d4c96b1ab0010</id>
    <objectId>90e72e583d4c6e77013d4c96b1ab0010</objectId>
    <isCriticalSystemObject>false</isCriticalSystemObject>
    <description>Sitescope A</description>
    <name>Sitescope_A_March 9, 2013 12:39:36 AM UTC</name>
    <displayName>Sitescope A</displayName>
    <disabled>false</disabled>
  </resourceProvider></ResourceProviderList>