メインコンテンツへスキップ
Create a custom field for an organization

承認

Authorization
string
header
必須

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

パスパラメータ

organizationId
number
必須

ボディ

application/json
kind
enum<string>
必須
利用可能なオプション:
text,
textarea,
date,
number,
dropdown,
email,
link
例:

"dropdown"

configuration
object | null
必須
attributeName
string
必須
例:

"foo bar"

serviceSource
object
attributeCode
string

Unique identifier for the custom field. Must contain only lowercase letters, numbers, and underscores. If not provided, will be auto-generated.

例:

"employee_id"

レスポンス

id
number
必須
read-only
例:

1

uniqueName
string
必須
read-only
例:

"custom_text_field"

name
string
必須
read-only
例:

"Foo bar"

kind
enum<string>
必須
利用可能なオプション:
text,
textarea,
date,
number,
dropdown,
email,
link
例:

"dropdown"

serviceSource
object | null
必須
serviceDetails
object | null
必須
configuration
object | null
必須
required
boolean
必須
read-only

This field will be always false in R1

例:

true