(Outbound) JobsubmitResult & OpenText Messaging Fax REST API : Missing Response

ManojMJ
edited May 14 in Core Messaging #1

Hi All the jobsubmitResult from SOAP is having Submissiontime and Completiontime, but the FAX REStAPI is sending only the job submitid, it is not sending any Submissiontime and completiontime. Please help

Soap API Response

xs:element name="JobSubmitResult"><xs:complexType><xs:sequence><xs:element name="Status" type="xoajsb:StatusType"/><xs:element minOccurs="0" name="SubmitId" type="xs:string"/><xs:element maxOccurs="unbounded" minOccurs="0" name="MessageResult" type="xoajsb:MessageResultType"/></xs:sequence></xs:complexType></xs:element>

<xs:complexType name="MessageResultType"><xs:sequence><xs:element minOccurs="0" name="MessageId" type="xs:string"/><xs:element name="Status" type="xoajsb:StatusType"/><xs:element minOccurs="0" name="JobId" type="xoajsb:JobIdType"/><xs:element minOccurs="0" name="PreviewData" type="xoajsb:PreviewDataType"/></xs:sequence></xs:complexType>

<xs:complexType name="StatusType"><xs:sequence><xs:element name="StatusCode" type="xs:integer"><xs:annotation><xs:documentation>0 = success, non-zero = error state TBD</xs:documentation></xs:annotation></xs:element><xs:element minOccurs="0" name="StatusMessage" type="xs:string"><xs:annotation><xs:documentation>text description of StatusCode</xs:documentation></xs:annotation></xs:element><xs:element minOccurs="0" name="ErrorList"><xs:annotation><xs:documentation>Container for Errors</xs:documentation></xs:annotation><xs:complexType><xs:sequence><xs:element maxOccurs="unbounded" name="Error"><xs:annotation><xs:documentation>An Error</xs:documentation></xs:annotation><xs:complexType><xs:sequence><xs:element name="ErrorCode" type="xs:integer"><xs:annotation><xs:documentation>non-zero code</xs:documentation></xs:annotation></xs:element><xs:element name="ErrorMessage" type="xs:string"/></xs:sequence></xs:complexType></xs:element></xs:sequence></xs:complexType></xs:element><xs:element name="SubmissionTime" type="xs:dateTime"><xs:annotation><xs:documentation>The time the Request was received by the system</xs:documentation></xs:annotation></xs:element><xs:element name="CompletionTime" type="xs:dateTime"><xs:annotation><xs:documentation>the time the Request was completed processing</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:complexType>

Rest API Response

{
  "job_id": "xsi-1234567"
}

Comments

  • rmallya
    rmallya E Member

    Hi @ManojMJ ,

    In REST APIs, SubmissionTime & CompletionTime are not displayed.

    However, job entry time is available in REST Fax Status API Response. Please check the documentation for further details.