Sample XML files : JobDeliveryStatus API application to get fax job status : Result.xml file (unsuccessful delivery)

Result.xml file (unsuccessful delivery)

Unsuccessful fax delivery is indicated by State code “5, Cancelled with gammacode 5104" under the DeliveryDetail tag. A nine-digit fax number was given in the JobSubmit API request. Ten digits are required.

Note: Only the contents of the SOAP body are shown in this example. not the complete SOAP request.
<JobDeliveryStatusResult xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Status xmlns="http://ws.easylink.com/JobDeliveryStatus/2011/01">
<StatusCode>0</StatusCode>
<StatusMessage>OK</StatusMessage>
<SubmissionTime>2016-12-03T02:43:42.293Z</SubmissionTime>
<CompletionTime>2016-12-03T02:43:42.452Z</CompletionTime>
</Status>
<JobDeliveryStatus xmlns="http://ws.easylink.com/JobDeliveryStatus/2011/01">
<JobId>
<XDN>xsi</XDN>
<MRN>1435668087</MRN>
</JobId>
<RecStatus code="0">LAST_IN_XDN_NO_MORE</RecStatus>
<JobData>
<JobId>
<XDN>xsi</XDN>
<MRN>1435668087</MRN>
</JobId>
<BillingCode>BillCode</BillingCode>
<CustomerReference>CREF</CustomerReference>
<DeliveryPriority>express</DeliveryPriority>
<EntryTime>2016-12-03T02:38:32Z</EntryTime>
<UserId>XSI/VENKATESH</UserId>
<PostedTime>2016-12-03T02:38:35Z</PostedTime>
<CompletionTime>2016-12-03T02:38:57Z</CompletionTime>
<JobState>Complete</JobState>
<JobState>Posted</JobState>
<DestinationCount>1</DestinationCount>
<ServiceType>FR</ServiceType>
<JobFlags>8194</JobFlags>
<Filename>PDF_File.pdf</Filename>
<FaxMode>standard</FaxMode>
<Class>p2p</Class>
<CharacterSet>ISO-8859-1</CharacterSet>
<RetryAlgorithm>1</RetryAlgorithm>
<DeliveryGroup type="Normal">
<DeliveryGroupId>2</DeliveryGroupId>
<DeliveryDetail xqn="1">
<Ref>CREF</Ref>
<Destination type="fax">?????????</Destination>
//9-digit fax number was given in JobSubmit API request
<State code="5" gammacode="5104">Cancelled</State>
<PrimeAlt>0</PrimeAlt>
<ListId liststore="XDDS" ownership="user">adhoc</ListId>
<FirstAttemptTime>2016-12-03T02:38:34Z</FirstAttemptTime>
<LastAttemptTime>2016-12-03T02:38:34Z</LastAttemptTime>
<Attempts>1</Attempts>
<LocalizedDestination type="fax">866593655</LocalizedDestination>
</DeliveryDetail>
</DeliveryGroup>
</JobData>
</JobDeliveryStatus>
</JobDeliveryStatusResult>

Version 1.0


2017 Open Text. All rights reserved.
Trademarks owned by Open Text.