Skip to content

Insert data row to lookup table

Request

Security
OAuth2(Required scopes: enrichment.write)
Path
typestringrequired

type of data being sent

Bodyapplication/jsonrequired
externalIdstringrequired

External id of the lookup-table-row that is globally unique across the provided lookup-table-row data

Example:"12345"
externalClientIdstring

Identifier of the client entity in the source system which can be used to separate data

Example:"EXTERNAL_CLIENT_ID"
codestring

Number of the lookup table record in the source system (not unique across clients)

Example:"CODE1"
property name*string, <= 20 propertiesadditional property

externalClientId and code counts for maximum 20 additional properties

curl -i -X POST \
  'https://api.cloud.hypatos.ai/v2/enrichment/lookup-tables/{type}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "externalId": "12345",
    "externalClientId": "EXTERNAL_CLIENT_ID",
    "dimension1": "someValue",
    "dimension2": "anotherValue",
    "customField": "dynamicValue"
  }'

Responses

Successfully inserted

Bodyapplication/json
idstringrequired
Example:"3a429dc8-56d4-42ef-a4cf-2ebc9ad1ef38"
Response
{ "id": "3a429dc8-56d4-42ef-a4cf-2ebc9ad1ef38" }