Lookups

Retrieve lookup options for a field

Get the values for a form field dropdown, using the object name and field name

get/api/lookup/{objectName}/{fieldName}

Request

  • Base URL: https://api.reallysimplesystems.com
  • URL: https://api.reallysimplesystems.com/api/lookup/{objectName}/{fieldName}
  • Auth: HTTP bearer

Response

The lookup options for a field

Example response

{
  "data": {
    "metadata": {
      "url": "/lookup/activities/type",
      "object_type": "list",
      "record_type": "lookup"
    },
    "list": [
      {
        "text": "Alpha",
        "value": "alpha"
      },
      {
        "text": "Bravo",
        "value": "bravo"
      },
      {
        "text": "Charlie",
        "value": "charlie"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.