GET api/attachments

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of AttachmentEntity
NameDescriptionTypeAdditional information
Name

string

None.

Fields

Collection of AttachmentEntityField

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Name": "sample string 1",
    "Fields": [
      {
        "Name": "sample string 1",
        "Display": "sample string 2"
      },
      {
        "Name": "sample string 1",
        "Display": "sample string 2"
      }
    ]
  },
  {
    "Name": "sample string 1",
    "Fields": [
      {
        "Name": "sample string 1",
        "Display": "sample string 2"
      },
      {
        "Name": "sample string 1",
        "Display": "sample string 2"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfAttachmentEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Matrix.DocumentUploadService.Plugin">
  <AttachmentEntity>
    <Fields>
      <AttachmentEntityField>
        <Display>sample string 2</Display>
        <Name>sample string 1</Name>
      </AttachmentEntityField>
      <AttachmentEntityField>
        <Display>sample string 2</Display>
        <Name>sample string 1</Name>
      </AttachmentEntityField>
    </Fields>
    <Name>sample string 1</Name>
  </AttachmentEntity>
  <AttachmentEntity>
    <Fields>
      <AttachmentEntityField>
        <Display>sample string 2</Display>
        <Name>sample string 1</Name>
      </AttachmentEntityField>
      <AttachmentEntityField>
        <Display>sample string 2</Display>
        <Name>sample string 1</Name>
      </AttachmentEntityField>
    </Fields>
    <Name>sample string 1</Name>
  </AttachmentEntity>
</ArrayOfAttachmentEntity>