Sample Message with Several Business ACKs in a Single Envelop

Parent Previous Next

Multiple Service Agreement Create Business Acks

This sample message below includes 5 payloads to demonstrate Business ACKs being included in one envelope, these sample messages are:

All 5 payloads have the original payload Id included on the Business Ack so that it can be traced back to the original service order.


<?xml version="1.0"?><BusinessAckv10 xmlns="urn:tunstall.com:ns:201303" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<DistributionEnvelope>

<header>

<address>urn:tunstall.com:service:TelecareDocumentService</address>

<auditIdentity>urn:tunstall.com:identities:Telecare:DocumentService</auditIdentity>

<trackingId>0eb25ca8-2881-493f-be7c-4c331238f300</trackingId>

<service>urn:tunstall.com:services:BusinessAckv10</service>

</header>

<payloads>

<payloadList>

<document xsi:type="Acknowledgement">

<AcknowledgementType>Nack</AcknowledgementType>

<Action>ServiceAgreementCreated</Action>

<PayloadId>13b6339f-fe62-48eb-aa2a-b26c4ecae979</PayloadId>

<Timestamp>2014-03-21T14:13:57.336Z<Timestamp>

<AcknowledgementStatus>

<Errors>

<Error>

<Message>Failed to process Th Forrest, 350, payload id 13b6339f-fe62-48eb-aa2a-b26c4ecae979 : Could not                match ethnicity 'White:ish' to an ethnicity id</Message>

</Error>

</Errors>

<Message>Failed to update Service User detail</Message>

</AcknowledgementStatus>

</document>

<id>403508f6-9066-4801-ac62-74e66b29177d</id>

</payloadList>

<payloadList>

<document xsi:type="Acknowledgement">

<AcknowledgementType>Nack</AcknowledgementType>

<Action>ServiceAgreementCreated</Action>

<PayloadId>13b6339f-fe62-48eb-aa2a-b26c4ecae979</PayloadId>

<Timestamp>2014-03-21T14:13:57.51Z</Timestamp>

<AcknowledgementStatus>

<Errors>

<Error>

<Message>While creating Contact for Th Forrest, 350: The contact type for id da87752e-f7d3-4f8b-a688-                d58a0860f41d could not be found</Message>

</Error>

</Errors>

<Message>Service Agreement Created</Message>

</AcknowledgementStatus>

</document>

<id>9b882840-5eb1-42e1-912f-bfcafa4150d3</id>

</payloadList>

<payloadList>

<document xsi:type="Acknowledgement">

<AcknowledgementType>Nack</AcknowledgementType>

<Action>ServiceAgreementCreated</Action>

<PayloadId>13b6339f-fe62-48eb-aa2a-b26c4ecae979</PayloadId>

<Timestamp>2014-03-21T14:13:57.617Z</Timestamp>

<AcknowledgementStatus>

<Errors>

<Error>

<Message>While creating Contact for Th Forrest, 350: The contact type for id 720cf1d8-4195-4a58-bbc0-                        39e2d9e58b93 could not be found</Message>

</Error>

</Errors>

<Message>Service Agreement Created</Message>

</AcknowledgementStatus>

</document>

<id>bfef4c7b-05a3-448f-af2a-20fc81118bfd</id>

</payloadList>

<payloadList>

<document xsi:type="Acknowledgement">

<AcknowledgementType>Nack</AcknowledgementType>

<Action>ServiceAgreementCreated</Action>

<PayloadId>13b6339f-fe62-48eb-aa2a-b26c4ecae979</PayloadId>

<Timestamp>2014-03-21T14:13:57.713Z</Timestamp>

<AcknowledgementStatus>

<Errors>

<Error>

<Message>While creating Contact for Th Forrest, 350: The contact type for id 866998e7-bada-4249-b87c-                e9b92ce86980 could not be found</Message>

</Error>

</Errors>

<Message>Service Agreement Created</Message>

</AcknowledgementStatus>

</document>

<id>b9b6838d-2509-457b-8749-224f34e8174c</id>

</payloadList>

<payloadList>

<document xsi:type="Acknowledgement">

<AcknowledgementType>Nack</AcknowledgementType>

<Action>ServiceAgreementCreated</Action>

<PayloadId>13b6339f-fe62-48eb-aa2a-b26c4ecae979</PayloadId>

<Timestamp>2014-03-21T14:13:57.977Z</Timestamp>

<AcknowledgementStatus>

<Errors>

<Error>

<Message>Validation error on QuestionAnswers[0].AnswerComment, 'Answer Comment' must be between 1 and                1024 characters. You entered 4446 characters.</Message>

</Error>

</Errors><Message>Failed to create Assessment for Th Forrest</Message>

</AcknowledgementStatus>

</document>

<id>df133f7d-d080-4c38-aef6-6d3c621219e7</id>

</payloadList>

<payloadCount>5</payloadCount>

</payloads>

</DistributionEnvelope>

</BusinessAckv10>

Created with the Personal Edition of HelpNDoc: News and information about help authoring tools and software