Create a field definition for an object

Validates and creates a field inside the specified object.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Name of the object in which the field is to be created

Body Params

Actual field metadata input which needs to be created

string | null

Name of the field. You can enter up to 58 characters.

string | null

Display name of the field

string | null

Description of the field

string
enum
string | null

Default value of the field

boolean

Indicates if the field is required.

boolean

Indicates if the field is sortable.

boolean

Indicates if the field is unique.

boolean

Indicates if the field is indexed.

string | null

Lookup object name of the field

string | null

Lookup filter criteria for UI

string | null

Picklist name of the field

string | null

Dependent picklist metadata name of the field

string | null

Complex metadata name of the field

int32

AutoNumber initial seed value of the field

string | null

AutoNumber initial seed prefix of the field

int32

Precision of the field when the data type is Currency, Decimal, or Double.

int32

Scale of the field when the data type is Currency, Decimal, or Double.

boolean

Indicates if the field is calculated.

string | null

Describes the expression of the formula field

boolean | null

Indicates if Formula expression is pre-computed or not

int32 | null

Length of the field when the data type is String or LongString.

string | null

Reference object of the field

string | null

Target object of the field

string | null

Target field of the field

string | null

Rollup function of the field

string | null

Rollup filter criteria of the field

boolean

Indicates if the field is RichText.

string
enum
Allowed:
string | null

Definition of the alias field

Headers
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

400

Bad Request

404

Not Found

500

Internal Server Error

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json