RightFax Version 20.2.3.4739 Causes API Call Misbehavior, with RightFax/API/Documents

When we invoke the REST call to our url ,

http://172.31.23.95/RightFax/API/Documents?jobId=10361&userId=2&filter=JobSucceeded&skip=0&top=50&userId=2

We get back

 {"TotalCount":0,"Skipped":0,"Top":50,"Items":[],"Links":[{"Rel":"Self","Href":"https://172.31.23.95/RightFax/API/Documents?jobId=10361&userId=2&filter=JobSucceeded&skip=0&top=50&userId=2"}

]}

We expect , something like this

{"TotalCount":1,"Skipped":0,"Top":50,"Items":[{"Id":"1348","RootId":"1348","SendJobId":"!1348","UserId":"2","UserName":"ADMINISTRATOR","Box":"0","FolderName":"Main","FolderId":"0","Direction":"Outbound","PageCount":2,"Condition":"Succeeded","Status":"OutboundCompletion","StatusText":"OK","From":"Guy Administrator, Administration","To":"TEST","Destination":"4444","Company":"","VoiceNumber":"","CreateTime":"2023-05-09T15:36:12Z","TransmitCompleteTime":"2023-05-09T15:37:00Z","IsContentDeleted":false,"HasCoversheet":true,"IsArchived":false,"IsDeleted":false,"IsPrinted":false,"HasOcr":false,"OcrData":"","HasPdf":false,"Delivery":"Fax","StatusBall":"Ok","IsSendJob":false,"CanDelete":true,"CanRetry":false,"CanRetryToAltDestination":false,"CanSendNow":false,"CanCancelSend":false,"CanPrint":true,"CanSave":true,"CanUndelete":false,"CanView":true,"CanViewProperties":true,"CanRoute":true,"CanResend":true,"CanForwardInternally":true,"CanForwardExternally":true,"CanViewConfirmation":true,"CanApprove":false,"Viewed":false,"UnViewed":false,"HoldReleased":false,"IsForwarded":false,"IsAnnotated":false,"Priority":"Normal","DiagnosticMode":"","Tags":[],"BillingCode1":"","BillingCode2":"","ForwardedList":[],"Comments":"","NumberTxRxRecords":1,"BinaryFileAttachmentsBytes":0,"LastHistoryChange":"2023-05-09T15:36:59Z","FineCover":true,"GatewayFax":false,"HasTxRxNotes":false,"RequestingAPdf":false,"DataForNewerVersions":"","MessageFromTransport":"","DidDnis":"678-238-0038","ExternalJobId":"","Ani":"","CompletionEvent":false,"UniqueId":"ADM645A68820A0E","Links":[{"Rel":"Self","Href":"http://172.31.23.95/RightFax/API/Documents/1348?userId=2"},{"Rel":"User","Href":"http://172.31.23.95/RightFax/API/Users/2?userId=2"},{"Rel":"Users","Href":"http://172.31.23.95/RightFax/API/Users?userId=2"},{"Rel":"DocumentPages","Href":"http://172.31.23.95/RightFax/API/DocumentPages/1348?userId=2"},{"Rel":"DocumentImages","Href":"http://172.31.23.95/RightFax/API/DocumentImages/1348?userId=2"},{"Rel":"DocumentAnnotations","Href":"http://172.31.23.95/RightFax/API/DocumentAnnotations/1348?userId=2"},{"Rel":"DocumentFile","Href":"http://172.31.23.95/RightFax/API/DocumentFiles/1348?userId=2"},{"Rel":"DocumentActivities","Href":"http://172.31.23.95/RightFax/API/DocumentActivities?documentId=1348&userId=2"},{"Rel":"Tags","Href":"http://172.31.23.95/RightFax/API/Tags?relatedType=Document&relatedId=1348&userId=2"},{"Rel":"DocumentMetadata","Href":"http://172.31.23.95/RightFax/API/DocumentMetadata?documentId=1348&userId=2"},{"Rel":"DocumentConfirmationReceipts","Href":"http://172.31.23.95/RightFax/API/DocumentConfirmationReceipt/1348?userId=2"},{"Rel":"ForwardSendJob","Href":"http://172.31.23.95/RightFax/API/SendJobs/!1348?usage=Forward&documentId=1348&userId=2"},{"Rel":"SendJobs","Href":"http://172.31.23.95/RightFax/API/SendJobs/!1348?userId=2"},{"Rel":"IncompleteSendJob","Href":"http://172.31.23.95/RightFax/API/SendJobs/!1348?usage=Incomplete&documentId=1348&userId=2"}]}],"Links":[{"Rel":"Self","Href":"http://172.31.23.95/RightFax/API/Documents?jobId=10361&userId=2&filter=JobSucceeded&skip=0&top=50&userId=2"}]}

What could be wrong?

Comments