GET api/order/service/{OrderServiceID}/attachment/{AttachmentID}

Get an attachment on an order service, including the file contents as a base 64 encoded byte array

The attachment is returned by specifying the attachment ID.

When that file is requested, the file is opened and coverted into a stream. This is done following the conversion of a stream to a file when using the POST/api/order/service/OrderServiceID/attachment method.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
OrderServiceID ID number of the order service integer

Required

AttachmentID ID number of attachment integer

Required

Body Parameters

None.

Response Information

Resource Description

ViewAttachment

ViewAttachment
NameDescriptionTypeAdditional information
FileContents File contents - Base 64 encoded byte array Collection of byte

None.

AttachmentID ID number integer

None.

FileName Name of file uploded string

None.

UploadDate Date uploaded date

None.