Get the lists you need when creating notes

GET /notes/settings

To add and edit notes you need IDs, this call gets the needed data

Responses

  • 200

    OK

    Hide response attributes Show response attributes object
    • for array[object]
      Hide for attributes Show for attributes
      • code string

        Values are P or H.

      • text string

        The decode, could be Organisation or Household

        Values are Person or Household.

    • color_codes array[object]
      Hide color_codes attributes Show color_codes attributes
      • code string

        The color code used for this note

        Values are transparent, 929497, 9a75ab, f3b24d, f5324e, 39c3d1, 82ca68, f278a9, or 45bdb3.

      • number integer
      • text string

        The decode of the color code for Notes as set by the site

    • note_types array[object]
      Hide note_types attributes Show note_types attributes
      • id integer
      • text string

        The decode of the note type

GET /notes/settings
curl \
 -X GET https://YOURSITE.infoodle.com/apiv2/notes/settings \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "color_codes": [
    {
      "code": "transparent",
      "number": 1,
      "text": "Random Information"
    }
  ],
  "for": [
    {
      "code": "P",
      "text": "Person"
    }
  ],
  "note_types": [
    {
      "id": 20,
      "text": "Visiting"
    }
  ]
}