HP CloudSystem Enterprise Guía de usuario Pagina 42

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 150
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 41
Chapter 2: Availablevalues API
Description
Use this API to retrieve the list of available values for a dynamic property.
Base URL
https://<host>:<port>/csa/rest
Details
URI
/availablevalues/<property_id>
property_id is an option model property, and is part of service design, offering and
subscription artifacts.
Method POST
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.
Request
Body
Ampersand (&) separated name=value pairs, where the value on the left side of
the equal sign (=)represents the parameter name configured for a dynamic
property, and the value on the right side is the value the user selected from the
parent property. For example, a request body might contain:
first=parent1value&countparam=mycount.
Returns 200 - Ok
400 - Not authorized
404 - Not found
500 - Server exception
Example use context
From the subscriber portal a property is selected from a drop down list. The values of any
associated dynamic properties must be spontaneously populated - they are dynamic and therefore
cannot be populated in advance.
Example
The following URL was sent:
https://<host>:<port>/csa/rest/availablevalues/90e763a43ddc18e5013ddc2f134c0088
?userIdentifier=90d96588360da0c701360da0f1d5f483
The following was sent in the request body:
HP Cloud Service Automation (4.10) Page 42 of 150
Vista de pagina 41
1 2 ... 37 38 39 40 41 42 43 44 45 46 47 ... 149 150

Comentarios a estos manuales

Sin comentarios