Topic by Rohan Nayak
Hi,
I am trying to download an attachment associated to an Incident. I have the Incident ID and the File ID. But when I pass these as an input to the "GetFileData" method, it returns back message saying "Data element in the Message is NULL". Can anyone please help me to resolve this issue and let me know how can I get the attachment downloaded? The Request and Response message XMLs are provided below
Request XML
-----------
<ns0:GetFileData xmlns:ns0 = "urn:messages.ws.rightnow.com/v1_2">
<ns0:RNObject xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi:type = "ns1:Incident">
<ns2:ID id = "111222333" xmlns:ns2 = "urn:base.ws.rightnow.com/v1_2"/>
</ns0:RNObject>
<ns0:FileID id = "121212"/>
</ns0:GetFileData>
Response XML
------------
<defaultFaultElement>
<faultcode>soapenv:Sender</faultcode>
<faultstring>Data element in the Message is NULL</faultstring>
</defaultFaultElement>