How to get the attachment from a specific ticket by api ?

fandy
Kilo Contributor

I tried "api/now/v1/attachment/<sysid>" but got errors as   the statement below.

{"error":{"detail":"Record doesn't exist or ACL restricts the record retrieval","message":"No Record found"},"status":"failure"}

I am sure that the <sys_id> is right and I can queried the ticket by the <sys_id>.

Does someone know how to fix it or the right way ?  

Regards and thanks,

Fandy

5 REPLIES 5

Where do I get table_name and table_sys_id ?   We do not have right to view admin GUI.