Path: / API / queryRuntimeAPI / getLastAttachmentWihDate / {instanceUUID} / {attachmentName}

Obtains the last version of a process attachment created before the given date.

Path parameters:
instanceUUID - the process instance UUID
attachmentName - the attachment name

Method Summary
ResourceDescription
POST /API/queryRuntimeAPI/getLastAttachmentWihDate/{instanceUUID}/{attachmentName}Obtains the last version of a process attachment created before the given date.

Method Detail
HTTP Example:
POST /API/queryRuntimeAPI/getLastAttachmentWihDate/{instanceUUID}/{attachmentName}

date=&options=
API Example:

AbstractRemoteQueryRuntimeAPI.getLastAttachment({'instanceUUID': /* instanceUUID the process instance UUID */,
  'attachmentName': /* attachmentName the attachment name */,
  'date': /* date the date */,
  'options': /* options the options map (domain, queyList, user) */});

Obtains the last version of a process attachment created before the given date.

Output:
org.ow2.bonita.facade.runtime.AttachmentInstance - an {@link AttachmentInstance} corresponding to the last version of the attachment created before the date. The method getAttachmentValue should be used to retrieve the content of an attachment
Form parameters:
date - the date
options - the options map (domain, queyList, user)
Produces:
text/*
application/xml
Consumes:
application/x-www-form-urlencoded
text/*
application/xml