The CreatorCon Call for Content is officially open! Get started here.

Table Api Query

RAVI22
Kilo Explorer

Hi Everyone I have a used case where external system has to query SN table API and pull attachments from RITM. Any help would be appreciated.

2 REPLIES 2

ersureshbe
Giga Sage
Giga Sage

Hi Ravi, Why are using table API. In your external system support the attachments as Binary or Base 64.

If Binary supports then use Attachment API.

If base64 supports you should write the code based on sys_attachment table send the attachments to external system.

Please mark correct answer/ helpful if helped your question.

Regards,

Suresh

Regards,
Suresh.

Hitoshi Ozawa
Giga Sage
Giga Sage

I've provided PowerShell script to download attachment in the following thread. All attachments are saved in sys_attachment table. "sys_id" is the value of a row in this sys_attachment table and not on RITM table.

https://community.servicenow.com/community?id=community_question&sys_id=9a9f54b31b994510ed6c9979b04b...