Resource Provider API

Use this API to retrieve a list of resource providers that matches the access point URL with the access point URL specified when calling this API.

Base URL

https://<host>:<port>/csa/rest

Details

URI /resourceProvider
Method GET
Parameters

userIdentifier=<user_id>

    Required; the user ID you want to use as credentials for this API call. This user should be a consumer user who has the necessary permissions for the data you want to work with. See Get userIdentifier for the steps required to get the userIdentifier value.

accessPointUrl

Required; the URL that refers to the access point URL of the resource provider to be searched.

Note: The accesspointUrl parameter is case insensitive.
Returns 200 - Updated
400 - Bad request
404 - Not found
401 - Not authorized

Example

The following URL was sent to import the contents of the specified archive.

https://<host>:<port>/csa/rest/resourceProvider?userIdentifier=8a8185f448fbf5840148fcddd03d000d&accessPointUrl=http://admin:8082/

The following XML was returned:

<ResourceProviderList>
<count>0</count>
<limit>0</limit>
<resourceProvider>
<id>8a8185f4497d011b01497d028a210003</id>
<createdOn>22014-11-04T14:52:38.817-08:00</createdOn>
<updatedOn>2014-11-04T14:52:38.817-08:00</updatedOn>
<isCriticalSystemObject>false</isCriticalSystemObject>
<iconUrl>
/csa/images/categories/provider_type/vmware_vcenter.png
</iconUrl>
<name>test</name>
<displayName>test</displayName>
<property>
<id>8a8185f4497d011b01497d028a9d0004</id>
<createdOn>2014-11-04T14:52:38.943-08:00</createdOn>
<updatedOn>2014-11-04T14:52:44.673-08:00</updatedOn>
<createdBy>
<id>90d96588360da0c701360da0f1d600a1</id>
<isCriticalSystemObject>false</isCriticalSystemObject>
<disabled>false</disabled>
<distinguishedName>csa://Organizations/CSA-Provider/users/admin</distinguishedName>
<userName>admin</userName>
<organization>
<id>90d96588360da0c701360da0f15b009e</id>
<isCriticalSystemObject>false</isCriticalSystemObject>
<disabled>false</disabled>
</organization>
</createdBy>
<updatedBy>
<id>90d96588360da0c701360da0f1d600a1</id>
<isCriticalSystemObject>false</isCriticalSystemObject>
<disabled>false</disabled>
<distinguishedName>csa://Organizations/CSA-Provider/users/admin</distinguishedName>
<userName>admin</userName>
<organization>
<id>90d96588360da0c701360da0f15b009e</id>
<isCriticalSystemObject>false</isCriticalSystemObject>
<disabled>false</disabled>
</organization>
</updatedBy>
<isCriticalSystemObject>false</isCriticalSystemObject>
<description>
 This property has been automatically created, and must be set to a datacenter name
</description>
<iconUrl>/csa/images/categories/value_type/string.png</iconUrl>
<name>DATACENTERNAME</name>
<displayName>DATACENTERNAME</displayName>
<valueType>
<id>90d96588360da0c701360da0efb50054</id>
<createdOn>2014-11-04T14:35:47.523-08:00</createdOn>
<isCriticalSystemObject>true</isCriticalSystemObject>
<description>String</description>
<iconUrl>/csa/images/categories/value_type/string.png</iconUrl>
<name>STRING</name>
<displayName>String</displayName>
<disabled>false</disabled>
<categoryType>
<id>90d96588360da0c701360da0efa0004e</id>
<createdOn>2014-11-04T14:35:47.270-08:00</createdOn>
<isCriticalSystemObject>true</isCriticalSystemObject>
<description>Value Type</description>
<name>VALUE_TYPE</name>
<displayName>Value Type</displayName>
<extensible>false</extensible>
</categoryType>
</valueType>
<values>
<id>8a8185f4497d011b01497d02a1010006</id>
<createdOn>2014-11-04T14:52:44.673-08:00</createdOn>
<updatedOn>2014-11-04T14:52:44.673-08:00</updatedOn>
<value>CSA</value>
<maxOccurs>1</maxOccurs>
<minOccurs>0</minOccurs>
<orderIndex>-1</orderIndex>
<confidential>false</confidential>
<encrypted>false</encrypted>
<consumerReadOnly>false</consumerReadOnly>
<consumerVisible>true</consumerVisible>
<measurable>false</measurable>
</property>
<state>
<id>90d96588360da0c701360da0ef470038</id>
<isCriticalSystemObject>false</isCriticalSystemObject>
<name>ACTIVE</name>
<disabled>false</disabled>
</state>
<artifactType>
<id>90d96588360da0c701360da0eed8001f</id>
<isCriticalSystemObject>false</isCriticalSystemObject>
<name>RESOURCE_PROVIDER</name>
<disabled>false</disabled>
</artifactType>
<disabled>false</disabled<providerType>
<id>90d96588360da0c701360da0ee93000f</id>
<isCriticalSystemObject>true</isCriticalSystemObject>
<description>VMware vCenter</description>
<iconUrl>
/csa/images/categories/provider_type/vmware_vcenter.png
</iconUrl>
<name>VMWARE_VCENTER</name>
<displayName>VMware vCenter</displayName>
<disabled>false</disabled>
</providerType>
</resourceProvider>
<ResourceProviderList>