Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Get All Attachments for an End Customer Case

 

Use this API to get all the attachments from an end customer case if cases are associated with the end customer case.

URI

https://[host]/api/juniper/servicenow/endcustomer-case-management/cases/{id}/ associatedAttachments/ (HTTP method = GET)

URI Parameters

Parameter

Type

Required

Description

id

Integer

Yes

ID of the end-customer case for which information about attachments is to be retrieved

Consumes

None

Produces

  • application/vnd.juniper.servicenow.case-management.attachments+xml;version=1

  • application/vnd.juniper.servicenow.case-management.attachments+json;version=1

Response Elements

Element

Type

Description

uri

String

Uri of the attachment

id

Integer

ID of the attachment

attachmentName

String

Name of the attachment

size

Integer

Size of the attachment in bytes

readStatus

String

Status of reading the attachment on the device

Possible values:

  • Success

  • Failed

remarks

String

Remarks, if any, about reading the attachments

uploadStatus

String

Status of uploading the attachment to JSS.

Possible values:

  • Uploaded

  • Not Uploaded

Sample Output

Sample XML Output

Sample JSON Output