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

  • 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 95
URI
/notification/party/<party_id>
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.
Returns 200 - Ok
401 - Not authorized
500 - Server exception
Request body format
<Notification>
<subject>Notification Subject goes in here</subject>
<contentBody>Enter any text here, optionally including tokens: token0 = {0}.
Token1 = {1}</contentBody>
<!-- Each recipient must have an id and type. Only PERSON and ORGANIZATION a
re valid types. Notifications will be sent to valid recipients and an error mess
age returned for the invalid ones. Response code 200 OK will be returned if ther
e is at least one valid recipient.
-->
<recipient>
<id>UUID of the recipient</id>
<type>PERSON</type>
</recipient>
<recipient>
<id>UUID of organization</id>
<type>ORGANIZATION</type>
</recipient>
<!-- tokens must be specified if your contentBody contains tokens. No token
validation is done.
-->
<tokens>
<tokenSequence>0</tokenSequence>
<value>Token 0 content</value>
</tokens>
<tokens>
<tokenSequence>1</tokenSequence>
<value>Token 1 content</value>
</tokens>
</Notification>
Examples
The following URL was sent:
APIReference
HP Cloud Service Automation (4.10) Page 96 of 150
Zobrazit stránku 95
1 2 ... 91 92 93 94 95 96 97 98 99 100 101 ... 149 150

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

Žádné komentáře