HP CloudSystem Enterprise Uživatelská příručka Strana 51

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 150
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 50
URI
/catalog/<catalog_id>/category
Returns 200 - Ok
401 - Not authorized
404 - Object not found
500 - Server exception
In the request body:
l Any category specified in the request body that already exists will be left unchanged.
l displayName is required.
l iconUrl and descriptionare optional, and will be set to null if not specified.
Example
The following URL was sent to create an approval policy with two named approvers:
https://<host>:<port>/csa/rest/catalog/90e72e323c88421f013c8d7fad120076/category
?userIdentifier=90d96588360da0c701360da0f1d5f483
The following XML was sent in the request:
<Catalog>
<catalogCategory>
<displayName>Example first Catalog Category</displayName>
<iconUrl>/catalog/category/x.png</iconUrl>
<description>description for catalog category</description>
</catalogCategory>
<catalogCategory>
<displayName>Example second category</displayName>
</catalogCategory>
</Catalog>
The following XML was returned:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Catalog>
<id>8a81818f3d02fb7e013d0308894a0004</id>
<isCriticalSystemObject>false</isCriticalSystemObject>
<description>Default catalog for the organization.</description>
<iconUrl>
/csa/images/library/briefcase-consumer_default_img-60.png
</iconUrl>
<name>Catalog_QA_ORG</name>
<displayName>QA Org Catalog</displayName>
...
<catalogCategory> ... </catalogCategory>
...
<catalogCategory>
<id>8a81818f3d128500013d1341a5d3000e</id>
<isCriticalSystemObject>false</isCriticalSystemObject>
APIReference
HP Cloud Service Automation (4.10) Page 51 of 150
Zobrazit stránku 50
1 2 ... 46 47 48 49 50 51 52 53 54 55 56 ... 149 150

Komentáře k této Příručce

Žádné komentáře