Skip to main content
POST
/
admin
/
translationregistry
/
save
Save Translation Registry
curl --request POST \
  --url https://api.example.com/admin/translationregistry/save \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "translationRegistryID": null,
  "itemTypeCode": "COUNTRY",
  "itemTextColumnName": "Title",
  "itemIDColumnName": "CountryID",
  "itemLanguageTableName": "account.CountryLanguage",
  "isActive": true
}
'
{
  "success": true,
  "data": "<unknown>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
translationRegistryID
integer<int32> | null

passing in null will attempt to save a new one

itemTypeCode
string | null
default:COUNTRY

must be all-caps, no spaces

itemTextColumnName
string | null
default:Title

the text column name in the table for translating

itemIDColumnName
string | null
default:CountryID

the ID column name in the table for knowing its foreign key and also other reasons.

itemLanguageTableName
string | null
default:account.CountryLanguage

the actual database table to translate data within

isActive
boolean | null
default:true

if the table should be active or not

Response

Success

success
boolean
data
unknown