EventFrame GetAnnotationAttachmentMediaDataById
- Last UpdatedJun 15, 2023
- 1 minute read
- PI System
- PI Web API Reference
- Developer
EventFrame GetAnnotationAttachmentMediaDataById
Get the media attached to the specified annotation.
Request
GET eventframes/{webId}/annotations/{id}/attachment/media/mediadata
URL Parameters
-
webId The ID of the owner event frame.
-
id The Annotation identifier of the specific annotation.
-
disposition Optional parameter. When present, overrides the disposition type of the Content-Disposition of the response. Can be "Attachment" or "Inline".
Status Codes
200: The requested media.
206: The requested partial content of the media.
304: The resource has not been modified since the time specified by the request's If-Modified-Since header.
400: The supplied Web ID could not be parsed, or the request was somehow otherwise invalid.
404: The specified Event Frame did not exist, the specified annotation was not found, or the annotation did not have attached media.
412: Request header preconditions could not be satisfied.
416: The requested media cannot satisfy the range(s) supplied by the request.
Sample Response Body
Binary file content is returned by this endpoint.