HP CloudSystem Enterprise Guide de l'utilisateur Page 54

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 150
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 53
Example
The following URL was sent:
https://<host>:<port>/csa/rest/catalog/8a81818f3d02fb7e013d0308894a0004/
category/8a81818f3d128500013d1341a5c6000d
?userIdentifier=90d96588360da0c701360da0f1d5f483
The XML return content is basic catalog information as returned with the POST and PUT methods
and most notably, will not include the category just deleted.
List offerings in the catalog
Details
URI
/catalog/<catalog_id>/offering
Use "List catalogs" on page 47 to get the catalog ID.
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" on page 91 for the steps required to get
the userIdentifier value.
scope=[base|view]
Optional; default is base.
detail=basic
Optional; The only valid value is basic.
hasApproval=[true|false]
Optional; default is false. If true, then hasApproval attribute is returned. If false,
then the attribute is not returned.
Returns 200 - Ok
401 - Not authorized
500 - Server exception
Examples
The following URL was sent to get a list of offerings in a catalog using the default values for scope
(base) and detail (basic):
https://<host>:<port>/csa/rest/catalog/402895e33732af18013732b6f435006boffering?
userIdentifier=90d9652b67ss6a930135f35b327e00a0
The following XML was returned in the response:
APIReference
HP Cloud Service Automation (4.10) Page 54 of 150
Vue de la page 53
1 2 ... 49 50 51 52 53 54 55 56 57 58 59 ... 149 150

Commentaires sur ces manuels

Pas de commentaire