How can I get the screenshot of an failed assertion using the odata api?

Hi there,
I am working on an automation for reporting an testset into ms word. I want to add the screenshots of an failed assertion to the word report. Which api call do I need to use (swagger) to get the screenshot?

@gani.nurceski

You have textcase and test set attachments

Can you either of them

Cheers

Hi @Anil_G , thanks for your response.

The content type of the response is a octet-stream. Is there a possibility for using the Orchestrator HTTP Request activity for retrieving the desired screenshot? Because as response object I got only some wrong decoded utf-8 string.

I am using this endpoint: /api/TestAutomation/GetAssertionScreenshot

Hello folks

I have the same problem. I can get the data from api/TestAutomation/GetAssertionScreenshot, using OrchestratorHTTPRequest.
But I cannot save the string as a jpeg.
What is the format or conversion functionality here so I can get bytes or something to save it cleanly.
The string is also not a base64 string.

Thank you
Ben