Jobs
Create new custom field in account
Changed onCreates new custom field in account.
post/jobs-api/v3/accounts/{accountUid}/custom-fields
Request
- Base URLhttps://api.smartling.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
accountUidstring required
The account’s unique identifier. This can be found in the Smartling Dashboard under Account Settings > API.
Request body
Example request
{
"type": "SHORT_TEXT | LONG_TEXT | SELECTBOX | CHECKBOX",
"fieldName": true,
"enabled": true,
"required": true,
"searchable": true,
"displayToTranslators": true,
"options": [
"option1"
],
"defaultValue": "default field value",
"description": "Custom field example"
}Response
OK
Example response
{
"data": {
"fieldUid": "7a1f5c2e-3b9d-4e8a-9c64-2d0b8f1e5a37",
"type": "SHORT_TEXT | LONG_TEXT | SELECTBOX | CHECKBOX",
"fieldName": true,
"enabled": true,
"required": true,
"searchable": true,
"displayToTranslators": true,
"options": [
"option1"
],
"defaultValue": "default field value",
"description": "Custom field example"
}
}Changes
- breaking
the response property
///became nullable for the status - breaking
the response property
///became nullable for the status - breaking
the response property
///became nullable for the status - breaking
the response property
///became nullable for the status - breaking
the response property
///became nullable for the status - breaking
the response property
///became nullable for the status - breaking
the response property
///became nullable for the status - breaking
the response property
///became nullable for the status
- breaking
- info
endpoint added
- info