---
updatedAt: 2025-06-05T21:10:42.000Z
agentTools:
  projectIndex: https://api.agiliron.com/llms.txt
---

# Read Notes

Retrieves the details of a Note object that has been previously created.

## Parameters

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th style={{ textAlign: "left" }}>
        Path Params
      </th>

      <th style={{ textAlign: "left" }}>

      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td style={{ textAlign: "left" }}>
        **yourCompany:**
      </td>

      <td style={{ textAlign: "left" }}>
        **string**\
        The Company name need to passed in the base URL.For eg. if you enter xyzcompany name, the url **[https://\{yourCompany}.agiliron.net/agiliron/api-40.php/Notes](https://\{yourCompany}.agiliron.net/agiliron/api-40.php/Notes)** will change to **[https://xyzcompany.agiliron.net/agiliron/api-40.php/Notes](https://xyzcompany.agiliron.net/agiliron/api-40.php/Notes)**
      </td>
    </tr>
  </tbody>
</Table>

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th>
        Query Params
      </th>

      <th>

      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        **filter:**
      </td>

      <td>
        **string**\
        In this parameter fieldname needs to be provided with condition and value\
        to fetch related details.for eg. Subject,eq,Notes Subject  

        1. To fetch Notes with subject equal to New Notes, the following url must be used\*\*\<[https://xyzcompany.agiliron.net/agiliron/api-40/Notes?filter=Subject,eq,New](https://xyzcompany.agiliron.net/agiliron/api-40/Notes?filter=Subject,eq,New) Notes name>  

        2. To fetch Notes with created date between 01-15-2020 to 01-31-2020 (Use | between two dates), the following url must be use&#x64;**[https://xyzcompany.agiliron.net/agiliron/api-40/Notes?filter=CreatedTime,bt,01-15-2020](https://xyzcompany.agiliron.net/agiliron/api-40/Notes?filter=CreatedTime,bt,01-15-2020) | 01-31-2020\&key=xyzkey**  

        3. To fetch Notes with created datetime between 01-15-2020 01:03:10 to 01-31-2020 20:00:00 (Use | between two dates), the following url must be use&#x64;**[https://xyzcompany.agiliron.net/agiliron/api-40/Notes?filter=CreatedTime,bt,01-15-2020](https://xyzcompany.agiliron.net/agiliron/api-40/Notes?filter=CreatedTime,bt,01-15-2020)  01:03:10| 01-31-2020 20:00:00\&key=xyzkey**  

        4. To fetch Notes with NotesId equal to 3422, the following url must be use&#x64;**[https://xyzcompany.agiliron.net/agiliron/api-40/Notes?filter=NotesId,eq,3422\&key=xyzkey](https://xyzcompany.agiliron.net/agiliron/api-40/Notes?filter=NotesId,eq,3422\&key=xyzkey)**  

        List of condition abbrevations to be used:\
        "cs": contain string (string contains value)\
        "sw": start with (string starts with value)\
        "ew": end with (string end with value)\
        "neq": not equal (string or number should not match)\
        "eq": equal (string or number matches exactly)\
        "lt": lower than (number is lower than value)\
        "le": lower or equal (number is lower than or equal to value)\
        "ge": greater or equal (number is higher than or equal to value)\
        "gt": greater than (number is higher than value)\
        "bt": between (number is between two comma separated values)
      </td>
    </tr>
  </tbody>
</Table>

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th>
        Header Params
      </th>

      <th>

      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        **key:**
      </td>

      <td>
        **string**\
        API key needs to be passed in this variable.The option to enter API key will appear when you click on Try it button.
      </td>
    </tr>
  </tbody>
</Table>

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th>
        Query Auth
      </th>

      <th>

      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        **key:**
      </td>

      <td>
        **string**\
        API key needs to be passed in this variable.The option to enter API key will appear when you click on Try it button.This will be the first option in AUTHENTICATION block.Default is SET to 0.
      </td>
    </tr>
  </tbody>
</Table>

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th>
        Header Auth
      </th>

      <th>

      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        **apiKey:**
      </td>

      <td>
        **string**\
        Dedicated API key needs to be passed in this variable via header.The option to enter API key will appear when you click on Try it button.This will be the second option in AUTHENTICATION block.Default is SET to 0.
      </td>
    </tr>
  </tbody>
</Table>

**Sample Code**

```json
{
    "Notes": {
        "Note": {
            "NotesId": "136512",
            "Subject": "Note Subject",
            "ContactName": "Bob",
            "RelatedToType": "SalesOrder",
            "RelatedToValue": "1236",
            "FileName": "Note.jpg",
            "FileType": "image/jpeg",
            "AttachmentContent": "R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",
            "CreatedTime": "08-13-2024 12:25:04",
            "CreatedTimeUTC": "08-13-2024 06:55:04",
            "ModifiedTime": "08-13-2024 12:27:40",
            "ModifiedTimeUTC": "08-13-2024 06:57:40",
            "Note": "Note content goes here."
        }
    }
}
```
```xml
<Notes>
    <Note>
        <NotesId>136512</NotesId>
        <Subject>Note Subject</Subject>
        <ContactName>Bob</ContactName>
        <RelatedToType>SalesOrder</RelatedToType>
        <RelatedToValue>1236</RelatedToValue>
        <FileName>Note.jpg</FileName>
        <FileType>image/jpeg</FileType>
        <AttachmentContent>R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==</AttachmentContent>
        <CreatedTime>08-13-2024 12:25:04</CreatedTime>
        <CreatedTimeUTC>08-13-2024 06:55:04</CreatedTimeUTC>
        <ModifiedTime>08-13-2024 12:27:40</ModifiedTime>
        <ModifiedTimeUTC>08-13-2024 06:57:40</ModifiedTimeUTC>
        <Note>Note content goes here.</Note>
    </Note>
</Notes>
```

**WADL**

```xml
<?xml version="1.0" encoding="utf-8"?>
<application>
   <resources base="https://{yourCompany}.agiliron.net/agiliron/api-40/">
     <resource path="Notes"> 
       <method name="GET">
         <request>
           <param name="key" type="xsd:string" style="query" required="true"/>
           <param name="Filter" type="xsd:string" style="query"/>			
         </request> 
         <response status="200"> 
            <representation mediaType="application/xml" element="yn:ResultSet"/> 
         </response> 
         <response status="400"> 
            <representation mediaType="application/xml" element="ya:Error"/> 
         </response> 
       </method> 
     </resource> 
   </resources>
 </application>
```