GET {repositoryId}/Data/{id}/Attachment/Info

Gets the list of info for all the attachments to the specified resource.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
repositoryId

ID of the resource repository (optional).

string

Default value is

id

The ID of the Data resource.

string

Required

Body Parameters

None.

Response Information

Resource Description

Information about the attachments of the specified Data resource.

Collection of AttachmentInfo
NameDescriptionTypeAdditional information
RepositoryId

string

None.

Id

string

None.

OwnerType

Types

None.

AttachmentId

string

None.

FileName

string

None.

FileExtension

string

None.

FileLength

integer

None.

System

boolean

None.

Tag

string

None.

Created

ChangeStatusInformation

None.

LastUpdated

ChangeStatusInformation

None.

Operation

AttachmentOperations

None.

Tags

Collection of string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "RepositoryId": "sample string 1",
    "Id": "sample string 2",
    "OwnerType": 0,
    "AttachmentId": "sample string 3",
    "FileName": "sample string 4",
    "FileExtension": "sample string 5",
    "FileLength": 6,
    "System": true,
    "Created": {
      "IdentityReference": {
        "Name": "sample string 1",
        "Url": "sample string 2",
        "Type": 0
      },
      "PositionReference": {
        "Name": "sample string 1",
        "Url": "sample string 2",
        "Type": 0
      },
      "Date": "2024-11-22T08:47:10.8987993+01:00"
    },
    "LastUpdated": {
      "IdentityReference": {
        "Name": "sample string 1",
        "Url": "sample string 2",
        "Type": 0
      },
      "PositionReference": {
        "Name": "sample string 1",
        "Url": "sample string 2",
        "Type": 0
      },
      "Date": "2024-11-22T08:47:10.8987993+01:00"
    },
    "Operation": 0,
    "Tags": [
      "sample string 1",
      "sample string 2"
    ],
    "Tag": "sample string 8"
  },
  {
    "RepositoryId": "sample string 1",
    "Id": "sample string 2",
    "OwnerType": 0,
    "AttachmentId": "sample string 3",
    "FileName": "sample string 4",
    "FileExtension": "sample string 5",
    "FileLength": 6,
    "System": true,
    "Created": {
      "IdentityReference": {
        "Name": "sample string 1",
        "Url": "sample string 2",
        "Type": 0
      },
      "PositionReference": {
        "Name": "sample string 1",
        "Url": "sample string 2",
        "Type": 0
      },
      "Date": "2024-11-22T08:47:10.8987993+01:00"
    },
    "LastUpdated": {
      "IdentityReference": {
        "Name": "sample string 1",
        "Url": "sample string 2",
        "Type": 0
      },
      "PositionReference": {
        "Name": "sample string 1",
        "Url": "sample string 2",
        "Type": 0
      },
      "Date": "2024-11-22T08:47:10.8987993+01:00"
    },
    "Operation": 0,
    "Tags": [
      "sample string 1",
      "sample string 2"
    ],
    "Tag": "sample string 8"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAttachmentInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.openworkbpm.com/schema">
  <AttachmentInfo>
    <AttachmentId>sample string 3</AttachmentId>
    <Created>
      <Date>2024-11-22T08:47:10.8987993+01:00</Date>
      <IdentityReference>
        <Type>Undefined</Type>
        <Url>sample string 2</Url>
        <Name>sample string 1</Name>
      </IdentityReference>
      <PositionReference>
        <Type>Undefined</Type>
        <Url>sample string 2</Url>
        <Name>sample string 1</Name>
      </PositionReference>
    </Created>
    <FileExtension>sample string 5</FileExtension>
    <FileLength>6</FileLength>
    <FileName>sample string 4</FileName>
    <Id>sample string 2</Id>
    <LastUpdated>
      <Date>2024-11-22T08:47:10.8987993+01:00</Date>
      <IdentityReference>
        <Type>Undefined</Type>
        <Url>sample string 2</Url>
        <Name>sample string 1</Name>
      </IdentityReference>
      <PositionReference>
        <Type>Undefined</Type>
        <Url>sample string 2</Url>
        <Name>sample string 1</Name>
      </PositionReference>
    </LastUpdated>
    <Operation>None</Operation>
    <OwnerType>Undefined</OwnerType>
    <RepositoryId>sample string 1</RepositoryId>
    <System>true</System>
    <Tags xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </Tags>
    <Tag>sample string 8</Tag>
  </AttachmentInfo>
  <AttachmentInfo>
    <AttachmentId>sample string 3</AttachmentId>
    <Created>
      <Date>2024-11-22T08:47:10.8987993+01:00</Date>
      <IdentityReference>
        <Type>Undefined</Type>
        <Url>sample string 2</Url>
        <Name>sample string 1</Name>
      </IdentityReference>
      <PositionReference>
        <Type>Undefined</Type>
        <Url>sample string 2</Url>
        <Name>sample string 1</Name>
      </PositionReference>
    </Created>
    <FileExtension>sample string 5</FileExtension>
    <FileLength>6</FileLength>
    <FileName>sample string 4</FileName>
    <Id>sample string 2</Id>
    <LastUpdated>
      <Date>2024-11-22T08:47:10.8987993+01:00</Date>
      <IdentityReference>
        <Type>Undefined</Type>
        <Url>sample string 2</Url>
        <Name>sample string 1</Name>
      </IdentityReference>
      <PositionReference>
        <Type>Undefined</Type>
        <Url>sample string 2</Url>
        <Name>sample string 1</Name>
      </PositionReference>
    </LastUpdated>
    <Operation>None</Operation>
    <OwnerType>Undefined</OwnerType>
    <RepositoryId>sample string 1</RepositoryId>
    <System>true</System>
    <Tags xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </Tags>
    <Tag>sample string 8</Tag>
  </AttachmentInfo>
</ArrayOfAttachmentInfo>