Hi,
To check the status of my job I used JobDeliveryStatus service, I want to know which element represents the actual time of fax sucssessfuly sent to destination.
Whether it is <CompletionTime>, <LastAttemptTime>
The response looks like below:
<JobDeliveryStatus>
<JobId>
<XDN>test2</XDN>
<MRN>xxxxxxxx</MRN>
</JobId>
<RecStatus code="0">LAST_IN_XDN_NO_MORE</RecStatus>
<JobData>
<JobId>
<XDN>test2</XDN>
<MRN>xxxxxxxx</MRN>
</JobId>
<DeliveryPriority>express</DeliveryPriority>
<EntryTime>2014-10-07T19:05:50.000Z</EntryTime>
<UserId>T2/QUESTDIAG</UserId>
<PostedTime>2014-10-07T19:06:27.000Z</PostedTime>
<CompletionTime>2014-10-07T19:06:29.000Z</CompletionTime>
<JobState>Complete</JobState>
<JobState>Posted</JobState>
<JobState>Purged</JobState>
<DestinationCount>1</DestinationCount>
<ServiceType>FR</ServiceType>
<JobFlags>8194</JobFlags>
<Filename>EasylinktSamplefile.txt</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>FAXOUT</Ref>
<Destination type="fax">xxxxxxxxxx</Destination>
<State code="7">Sent</State>
<PrimeAlt>0</PrimeAlt>
<ListId liststore="XDDS" ownership="user">adhoc</ListId>
<DocumentPageCount>1</DocumentPageCount>
<FirstAttemptTime>2014-10-07T19:05:50.000Z</FirstAttemptTime>
<LastAttemptTime>2014-10-07T19:06:17.000Z</LastAttemptTime>
<Attempts>1</Attempts>