GET api/Venue/GetAttachments/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of AttachmentView
NameDescriptionTypeAdditional information
AttachmentId

integer

None.

VenueId

integer

None.

RoomId

integer

None.

FileName

string

None.

Caption

string

None.

Path

string

None.

Updated

string

None.

Created

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "attachmentId": 1,
    "venueId": 2,
    "roomId": 3,
    "fileName": "sample string 4",
    "caption": "sample string 5",
    "path": "sample string 6",
    "updated": "sample string 7",
    "created": "sample string 8"
  },
  {
    "attachmentId": 1,
    "venueId": 2,
    "roomId": 3,
    "fileName": "sample string 4",
    "caption": "sample string 5",
    "path": "sample string 6",
    "updated": "sample string 7",
    "created": "sample string 8"
  }
]

text/html

Sample:
[{"attachmentId":1,"venueId":2,"roomId":3,"fileName":"sample string 4","caption":"sample string 5","path":"sample string 6","updated":"sample string 7","created":"sample string 8"},{"attachmentId":1,"venueId":2,"roomId":3,"fileName":"sample string 4","caption":"sample string 5","path":"sample string 6","updated":"sample string 7","created":"sample string 8"}]

application/xml, text/xml

Sample:
<ArrayOfAttachmentView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api">
  <AttachmentView>
    <AttachmentId>1</AttachmentId>
    <Caption>sample string 5</Caption>
    <Created>sample string 8</Created>
    <FileName>sample string 4</FileName>
    <Path>sample string 6</Path>
    <RoomId>3</RoomId>
    <Updated>sample string 7</Updated>
    <UploadFile>QEA=</UploadFile>
    <VenueId>2</VenueId>
  </AttachmentView>
  <AttachmentView>
    <AttachmentId>1</AttachmentId>
    <Caption>sample string 5</Caption>
    <Created>sample string 8</Created>
    <FileName>sample string 4</FileName>
    <Path>sample string 6</Path>
    <RoomId>3</RoomId>
    <Updated>sample string 7</Updated>
    <UploadFile>QEA=</UploadFile>
    <VenueId>2</VenueId>
  </AttachmentView>
</ArrayOfAttachmentView>