Support Forum [ All Topics | New Topic ]

Thread: CheckIfLastUploadCompletedSuccessfully not returning any details


We are not able to get last upload status using CheckIfLastUploadCompletedSuccessfully; it is not returning any data like Timestamp,RowsReceived,RowsValid and RowsInvalid.

https://technet.rapaport.com/webservices/Upload/DiamondManager.asmx

Please help us.


>> add a comment
Mihir Shah
12/18/2017 01:53


2 Replies:

Mihir Shah, Hello and thank you for contacting RapNet support forum.

I plan to check into this.  I wonder what response you did receive back from TechNet, after the 'CheckIfLastUploadCompletedSuccessfully' request?

If  you are able to - please forward your Webservices request and response to tech@diamonds.net, as this will help in researching and answering this issue.
Thank you,



>> add a comment
Tech customer support -Zalman
12/19/2017 3:24:00 AM
Mihir Shah,
Thank you again for contacting the RapNet Support Forum ---

I tested this Webservices API function 'CheckIfLastUploadCompletedSuccessfully' and got the response below, which did not list details of the upload, as you found also.

Currently, this API function returns the status of a currently running upload. 
So, when I submitted an upload and then ran this function, results actual upload status was returned.
After the upload finishes the completed status seems to be unavailable - see below 'Response'.

The current description shows: "CheckIfLastUploadCompletedSuccessfully
Check If last upload completed successfully", which I find unclear.

I plan to check and correct the description or see if the function needs to allow detection, even after an upload finishes.

However, currently, this API function only returns the status of a currently running upload.

-----------------------------------------------------------------------------------------------------
  • API function 'CheckIfLastUploadCompletedSuccessfully' Response:

    <?xml version="1.0" encoding="utf-8"?>

    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

    <soap:Body>

    <CheckIfLastUploadCompletedSuccessfullyResponse xmlns="http://technet.rapaport.com/">

    <CheckIfLastUploadCompletedSuccessfullyResult>

    <Result>Successful</Result>

    <PercentFinished>0</PercentFinished>

    <uploadStatus>InProgress</uploadStatus>

    <UploadID>0</UploadID>

    <RowsValid>0</RowsValid>

    <RowsInvalid>0</RowsInvalid>

    <RowsReceived>0</RowsReceived>

    </CheckIfLastUploadCompletedSuccessfullyResult>

    </CheckIfLastUploadCompletedSuccessfullyResponse>

    </soap:Body>

    </soap:Envelope>



>> add a comment
Tech customer support -Zalman
12/27/2017 11:33:00 AM