POST api/Zoho/retrieve_attachments

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Attachment
NameDescriptionTypeAdditional information
Attachment_Id

string

None.

Old_Attachment_Id

string

None.

Attachment_Owner_Id

string

None.

Modified_By_Id

string

None.

Created_By_Id

string

None.

Created_Time

date

None.

Modified_Time

date

None.

File_Name

string

None.

Size

decimal number

None.

Parent_Id

string

None.

Documents

decimal number

None.

extension

string

None.

Import

decimal number

None.

Entity

string

None.

Path

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Attachment_Id": "sample string 1",
    "Old_Attachment_Id": "sample string 2",
    "Attachment_Owner_Id": "sample string 3",
    "Modified_By_Id": "sample string 4",
    "Created_By_Id": "sample string 5",
    "Created_Time": "2018-05-25T17:12:45.1508678+01:00",
    "Modified_Time": "2018-05-25T17:12:45.1508678+01:00",
    "File_Name": "sample string 6",
    "Size": 1.1,
    "Parent_Id": "sample string 7",
    "Documents": 1.1,
    "extension": "sample string 8",
    "Import": 1.1,
    "Entity": "sample string 9",
    "Path": "sample string 10"
  },
  {
    "Attachment_Id": "sample string 1",
    "Old_Attachment_Id": "sample string 2",
    "Attachment_Owner_Id": "sample string 3",
    "Modified_By_Id": "sample string 4",
    "Created_By_Id": "sample string 5",
    "Created_Time": "2018-05-25T17:12:45.1508678+01:00",
    "Modified_Time": "2018-05-25T17:12:45.1508678+01:00",
    "File_Name": "sample string 6",
    "Size": 1.1,
    "Parent_Id": "sample string 7",
    "Documents": 1.1,
    "extension": "sample string 8",
    "Import": 1.1,
    "Entity": "sample string 9",
    "Path": "sample string 10"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAttachment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Totara.WEBAPI">
  <Attachment>
    <Attachment_Id>sample string 1</Attachment_Id>
    <Attachment_Owner_Id>sample string 3</Attachment_Owner_Id>
    <Created_By_Id>sample string 5</Created_By_Id>
    <Created_Time>2018-05-25T17:12:45.1508678+01:00</Created_Time>
    <Documents>1.1</Documents>
    <Entity>sample string 9</Entity>
    <File_Name>sample string 6</File_Name>
    <Import>1.1</Import>
    <Modified_By_Id>sample string 4</Modified_By_Id>
    <Modified_Time>2018-05-25T17:12:45.1508678+01:00</Modified_Time>
    <Old_Attachment_Id>sample string 2</Old_Attachment_Id>
    <Parent_Id>sample string 7</Parent_Id>
    <Path>sample string 10</Path>
    <Size>1.1</Size>
    <extension>sample string 8</extension>
  </Attachment>
  <Attachment>
    <Attachment_Id>sample string 1</Attachment_Id>
    <Attachment_Owner_Id>sample string 3</Attachment_Owner_Id>
    <Created_By_Id>sample string 5</Created_By_Id>
    <Created_Time>2018-05-25T17:12:45.1508678+01:00</Created_Time>
    <Documents>1.1</Documents>
    <Entity>sample string 9</Entity>
    <File_Name>sample string 6</File_Name>
    <Import>1.1</Import>
    <Modified_By_Id>sample string 4</Modified_By_Id>
    <Modified_Time>2018-05-25T17:12:45.1508678+01:00</Modified_Time>
    <Old_Attachment_Id>sample string 2</Old_Attachment_Id>
    <Parent_Id>sample string 7</Parent_Id>
    <Path>sample string 10</Path>
    <Size>1.1</Size>
    <extension>sample string 8</extension>
  </Attachment>
</ArrayOfAttachment>