HP CloudSystem Enterprise Guía de usuario Pagina 97

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 150
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 96
https://<host>:<port>/csa/rest/notification/party?userIdentifier=90cec3a03a93ef8
9013a93f07b880001
The following XML was sent in the request (note that the second recipient.id is bad):
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Notification>
<subject>Test Subject</subject>
<contentBody>Test content body, token0 = {0}. Token1 = {1}</contentBody>
<recipient>
<id>90cec3a03a93ef89013a93f07b880001</id>
<type>PERSON</type>
</recipient>
<recipient>
<id>bad org id</id>
<type>ORGANIZATION</type>
</recipient>
<tokens>
<tokenSequence>0</tokenSequence>
<value>Token 0 test content</value>
</tokens>
<tokens>
<tokenSequence>1</tokenSequence>
<value>Token 1 test content</value>
</tokens>
</Notification>
The following response header status code was returned: 200 OK
The following XML was returned:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<NotificationPostResponse>
<count>1</count>
<errorMessage>Please enter a valid value for the recipient user id = bad org
id</errorMessage>
<notification>
<notifContentBody>Test content body, token0 = {0}. Token1 = {1}</notifCo
ntentBody>
<notifCreatedOn>2012-11-14T10:25:06.021-07:00</notifCreatedOn>
<notifSubject>Test Subject</notifSubject>
<notifactionId>90cec39c3ae64d82013afff3e9c3002c</notifactionId>
</recepientArtifactTypeId>
90d96588360da0c701360da0ef03002c
</recepientArtifactTypeId>
<recepientArtifactTypeName>PERSON</recepientArtifactTypeName>
<recepientEmailAddr>
acctgconsumer@econ-csa.com
</recepientEmailAddr>
<recepientId>90cec3a03a93ef89013a93f07b880001</recepientId>
<recepientName>acctgconsumer</recepientName>
<senderContextArtifactId>
APIReference
HP Cloud Service Automation (4.10) Page 97 of 150
Vista de pagina 96
1 2 ... 92 93 94 95 96 97 98 99 100 101 102 ... 149 150

Comentarios a estos manuales

Sin comentarios