Querying an Attachment to Return Contents as a File
You can query an attachment to return the attachment contents by using the following query parameter in the request URI: param ?fields=Accnt Attachment Id. The contents of the attachment are returned as a file. This query only returns a single attachment as a file.
URI: http://ServerName:port/siebel/v1.0/data/Account/Account/88-1X5SUL/Account%20Attachment/88-1YLSD3?fields=Accnt%20Attachment%20Id
HTTP Method: GET
Accept: application/xml
Authorization: Basic
-
Content-Type: application/xml
Request body: None
-
Response body: test.jpeg