Create lookup code for existing type
Use case
Use case data
API parameters with values
Sample API call
Sample request
{
"lookupCode": "DECLINED",
"translations": [
{
"languageCode": "en",
"translation": "Loan application declined"
}
]
}curl --location 'https://lookup-api.sandbox.tuumplatform.com/api/v1/entity/LOAN.LOAN_APPLICATION/lookup-type/STATUS/lookup' \
--header 'x-auth-token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHBpcnlEVGltZSI6IjIwMjMtMDgtMDJUMjA6MjU6MzYiLCJyb2xlcyI6WyJBRE1JTiJdLCJuYW1lIjoiSm9obiBPZmZpY2VyIiwiZW1wbG95ZWVJZCI6IjEiLCJ0ZW5hbnRDb2RlIjoiTUIiLCJleHAiOjE2OTEwMDc5MzZ9.O4yMuD2hILuixy1bavlUdF7qTiPNjh1IzH5e_B54hsY' \
--header 'x-channel-code: system' \
--header 'Content-Type: application/json' \
--data '{
"lookupCode": "DECLINED",
"translations": [
{
"languageCode": "en",
"translation": "Loan application declined"
}
]
}'Sample response
Result
Last updated
Was this helpful?