HP CloudSystem Enterprise Guía de usuario Pagina 30

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 150
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 29
Delete document from service offering
Details
URI
/artifact/<service_offering_id>/document/<document_id>
Method DELETE
Parameters
userIdentifier=<user_id>
Required; the user ID you want to use as credentials for this API call. See "Get
userIdentifier" on page 91 for the steps required to get the userIdentifier value.
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/90cef5de3c63429f013c68b8cdda0bad/documen
t/90cef5de3c63429f013c68b8cdda0bad?userIdentifier=90cef5de3c63429f013c642c7fc708
ab
The following XML was returned:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Document>
<id>90cef5de3c63429f013c68d4146a0bce</id>
<isCriticalSystemObject> false </isCriticalSystemObject>
<name>Example Offering Doc.txt</name>
<state>
...
</state>
<artifactType>
...
</artifactType>
<disabled>false</disabled>
<url>/csa//document/download?id=90cef5de3c63429f013c68d4146a0bce</url>
<content>Sample Doc Content</content>
<mimeType>application/octet-stream</mimeType>
<documentType>
...
</documentType>
</Document>
APIReference
HP Cloud Service Automation (4.10) Page 30 of 150
Vista de pagina 29
1 2 ... 25 26 27 28 29 30 31 32 33 34 35 ... 149 150

Comentarios a estos manuales

Sin comentarios