Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Download an Attachment of an Incident

    Use this API to download a specific attachment of an incident.

    URI

    https://[host]/api/juniper/servicenow/incident-management/incidents/{id}/attachments/{id1} (HTTP method = GET)

    https://[host]/api/juniper/servicenow/incident-management/incidents/{id}/attachments/{id1}?filterType=filtered

    URI Parameters

    Parameter

    Type

    Required

    Description

    id

    Integer

    Yes

    ID of the incident for which attachments are to be retrieved

    id1

    Integer

    Yes

    ID of the attachment to be downloaded

    Consumes

    None

    Produces

    application/octet-stream

    Sample Output

    Error Codes

    Parameter

    Description

    Attachment is not available

    Incident ID is invalid; incident is not found

    Modified: 2016-08-11