POST/contacts/custom-properties
連絡先カスタムプロパティを登録する。
ドメイン単位で最大 5 個まで登録できる。
Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。
contact
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
| Content-Type | string | application/json required example : application/json |
| Property | Type | Description |
|---|---|---|
| domainId | integer | ドメイン ID required format : int32 |
| propertyName | string | 連絡先カスタムプロパティ名 required maxLength : 120 |
| displayName | string | 連絡先カスタムプロパティの表示名 required maxLength : 20 |
| i18nDisplayNames | array (I18nDisplayName) | 連絡先カスタムプロパティの表示名の多言語リスト minItems : 0 |
| propertyType | string | 連絡先カスタムプロパティタイプ
required Allowed values : STRING, LINK |
| displayOrder | integer | 表示順位 (重複許可) minimum : 1 format : int32 nullable : true |
| multiValued | boolean | 複数値の許可 default : false |
| Property | Type | Description |
|---|---|---|
| language | string | 多言語コード Allowed values : ja_JP, ko_KR, zh_CN, zh_TW, en_US |
| name | string | 表示名 maxLength : 20 |
example
1{2 "domainId": 10000001,3 "propertyName": "ext_id",4 "displayName": "外部 ID",5 "i18nDisplayNames": [6 {7 "language": "ja_JP",8 "name": "外部 ID"9 },10 {11 "language": "en_US",12 "name": "external id"13 }14 ],15 "propertyType": "STRING",16 "displayOrder": 117}OK
| Property | Type | Description |
|---|---|---|
| domainId | integer | ドメイン ID format : int32 |
| customPropertyId | string | カスタムプロパティ ID readOnly : true |
| propertyName | string | 連絡先カスタムプロパティ名 maxLength : 120 |
| displayName | string | 連絡先カスタムプロパティの表示名 maxLength : 20 |
| i18nDisplayNames | array (I18nDisplayName) | 連絡先カスタムプロパティの表示名の多言語リスト minItems : 0 |
| propertyType | string | 連絡先カスタムプロパティタイプ
Allowed values : STRING, LINK |
| displayOrder | integer | 表示順位 (重複許可) minimum : 1 format : int32 nullable : true |
| multiValued | boolean | 複数値の許可 default : false |
| Property | Type | Description |
|---|---|---|
| language | string | 多言語コード Allowed values : ja_JP, ko_KR, zh_CN, zh_TW, en_US |
| name | string | 表示名 maxLength : 20 |
example
1{2 "domainId": 10000001,3 "customPropertyId": "custompi-5ge3-f6d7-ht33-35gr6e465u01",4 "propertyName": "ext_id",5 "displayName": "外部 ID",6 "i18nDisplayNames": [7 {8 "language": "ja_JP",9 "name": "外部 ID"10 },11 {12 "language": "en_US",13 "name": "external id"14 }15 ],16 "propertyType": "STRING",17 "displayOrder": 1,18 "multiValued": false19}Bad Request
Forbidden