RESTResponseV2 - getResponseAttachmentSysid()

Get the sys_id value of the attachment created from the response body content.

If the RESTMessageV2 object associated with this response called the saveResponseBodyAsAttachment(...) function, use getResponseAttachmentSysid() to get the sys_id of the created attachment record. Use this function when you want to perform additional operations with the new attachment record.

Table 1. Parameters
Name Type Description
Table 2. Returns
Type Description
String The sys_id of the new attachment record.