GET File/GetAttachments/{id}

Retrieves a list of attachments

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of FileModel
NameDescriptionTypeAdditional information
FilePath

string

None.

FileName

string

None.

WorkingPath

string

None.

Folder

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "FilePath": "sample string 1",
    "FileName": "sample string 2",
    "WorkingPath": "sample string 3",
    "Folder": "sample string 4"
  },
  {
    "FilePath": "sample string 1",
    "FileName": "sample string 2",
    "WorkingPath": "sample string 3",
    "Folder": "sample string 4"
  }
]

text/html

Sample:
[{"FilePath":"sample string 1","FileName":"sample string 2","WorkingPath":"sample string 3","Folder":"sample string 4"},{"FilePath":"sample string 1","FileName":"sample string 2","WorkingPath":"sample string 3","Folder":"sample string 4"}]

application/xml, text/xml

Sample:
<ArrayOfFileModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ControlCApi">
  <FileModel>
    <FileName>sample string 2</FileName>
    <FilePath>sample string 1</FilePath>
    <Folder>sample string 4</Folder>
    <WorkingPath>sample string 3</WorkingPath>
  </FileModel>
  <FileModel>
    <FileName>sample string 2</FileName>
    <FilePath>sample string 1</FilePath>
    <Folder>sample string 4</Folder>
    <WorkingPath>sample string 3</WorkingPath>
  </FileModel>
</ArrayOfFileModel>