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 application/json

    OK

    Hide response attributes Show response attributes object
    • color_codes array[object]
      Hide color_codes attributes Show color_codes attributes object
      • 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

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

        Values are P or H.

      • text string

        The decode, could be Organisation or Household

        Values are Person or Household.

    • note_types array[object]
      Hide note_types attributes Show note_types attributes object
      • 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"
    }
  ]
}