Duplicate path components in returned data when query using Excel REST API

http://api.saaspose.com/v1.0/cells/testonline.xlsx/worksheets/Sheet1/oleobjects/oleobjects’ (length=90)

And

http://api.saaspose.com/v1.0/cells/testonline.xlsx/worksheets/Sheet1/pictures/pictures’ (length=86)

do not look correct to me when my simple test spreadhseet.

I can’t attach a complete dump as this form will not submit .


Submitted from: http://saaspose.com/contact-us

Hi Steve,

Thank you for your inquiry. Yes, you are right because these URLs are incorrect. Please check the appropriate API documentation pages below:
http://saaspose.com/docs/display/cells/oleobjects
http://saaspose.com/docs/display/cells/oleobject
http://saaspose.com/docs/display/cells/pictures
http://saaspose.com/docs/display/cells/picture

Here, you can also take help for correct URI:
http://api.saaspose.com/v1.0/cells/help

Incorrect: 'http://api.saaspose.com/v1.0/cells/testonline.xlsx/worksheets/Sheet1/oleobjects/oleobjects'
Correct: 'http://api.saaspose.com/v1.0/cells/testonline.xlsx/worksheets/Sheet1/oleobjects/'

Incorrect: 'http://api.saaspose.com/v1.0/cells/testonline.xlsx/worksheets/Sheet1/pictures/pictures'
Correct: 'http://api.saaspose.com/v1.0/cells/testonline.xlsx/worksheets/Sheet1/pictures'

In case of further assistance, please let us know.

Best Regards,
Muhammad Ijaz
Support Developer, Saaspose Sialkot Team
http://www.saaspose.com

The problem is that the query to determine the document structure results in the incorrect paths. I have to code special cases for the oleobjects and pictures to remove the duplicate suffix.

Is it the intention to fix the SAAS Api call so that it returns the correct path? My code will ieterate through the query results for /pictures and then use the href to display the items one by one. For the two cases above I cannot use the href unaltered and append the index /0, /1 etc.

Furthermore, if/when you do fix it my workaround will have to be removed creating aversion control headache. This bug I think DOES need to be fixed to be consistent with the documentation.

Please advise

Hi Steve,

This issue has been logged into our issue tracking system as SAASWEBCORE-387. We will update you as soon as the issue is resolved. Sorry for the inconvenience.

Best Regards,
Muhammad Ijaz
Support Developer, Saaspose Sialkot Team
http://www.saaspose.com

Hi Steve,

I would like to share that this issue has been resolved. Please feel free to try again and let us know if there are any other issues.

Best Regards,
Muhammad Ijaz

Support Developer, Saaspose
Sialkot Team
http://www.saaspose.com