Retrieve a lookup

GET /api/v1/lookups/{type}/{lookup}

Try to find a Lookup value for a specific type.

Path parameters

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
GET /api/v1/lookups/{type}/{lookup}
curl \
 -X GET https://api.plannrcrm.com/api/v1/lookups/type/lookup \
 -H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 -H "Content-Type: application/json" \
 -H "Accept: application/json" \
 -H "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}"
Response examples (200)
{
  "data": [
    {
      "type": "provider_statement_mapping",
      "uuid": "e335c0b1-da8d-4df1-b133-fff54f6de77a",
      "created_at": "2024-10-16T11:10:17+01:00",
      "updated_at": "2024-10-16T11:10:17+01:00",
      "return_json": {
        "key_1": "value_1",
        "key_2": "value_2"
      },
      "lookup_value": "zAbWeFVJ:Bloggs J",
      "return_float": 70.35,
      "return_string": "Consectetur officia labore",
      "lookupable_type": "provider",
      "lookupable_uuid": "212eebec-7fb3-4256-b82f-94f031977069",
      "returnable_type": "plan",
      "returnable_uuid": "2aae889e-8a70-4d09-a688-c72ddd1c1cb8",
      "lookupable_value": "J Bloggs Plan",
      "returnable_value": "example"
    }
  ]
}