AnsweredAssumed Answered

How to Read and Write attachments

Question asked by r.priyadarshy@tcs.com on Feb 7, 2018

Hi All,

 

need input on reading an attachment using dell boomi from Service Now and then posting same in another instance.

 

 

(1) get attachment meta data-

GET https://xyz.service-now.com/api/now/attachment/attachment_sys_id

GET https://xyz.service-now.com/api/now/attachment/e08ef62edbc89b003d0b7bfcbf9619e6

 

(2) get attachment data in binary

GET https://xyz.service-now.com/api/now/attachment/{sys_id}/file

 

I have used HTTP in past but not for attachments. I am confused on response profile which will be returned for attachment. How to create this response profile and its element?

Outcomes