item_type
アイテムタイプ定義に関して説明します。
取得時
| No. | アイテムタイプ | タイプ | フォーマット例 |
|---|---|---|---|
| 1 | ADDRESS(住所) | object | { "zipcode" : "111-1111", "street": "その他住所", "building": "建物" } |
| 2 | DATE(日付) | string | "2021/12/15" |
| 3 | DATETIME(日時) | string | "2021/12/15 17:00:00" |
| 4 | EMAIL(メールアドレス) | string | "example@example.com" |
| 5 | FILE(ファイル) | 単数:object, 複数:array(object) | 単数: { "fileid": "ファイルID", "filename": "ファイル名" } 複数: [ { "fileid": "ファイルID", "filename": "ファイル名" } ] |
| 6 | MEMO(テキスト(複数行)) | string | "メモ" ※UTF-8 2000文字以内 |
| 7 | NUMBER(数値) | string | 123.45 ※整数部:18桁 少数部:17桁以内 |
| 8 | SB_RELATION(紐づけ項目) | 単数:number, 複数:array(number) | 単数: "business_cards.business_card.relational_customer": 123 複数: "customers.customer.relational_milestone": [123, 456] |
| 9 | SELECT(チェックボックス、プルダウン、ラジオボタン) | 単数:string, 複数:array(string) | [{選択肢名}...] |
| 10 | STRING(テキスト) | string | "文字列" ※UTF-8 64文字以内 |
| 11 | TELNO(電話番号) | string | "03-1234-5678" |
| 12 | TIME(時間) | string | "17:00:00" |
| 13 | URL(リンク) | object | { "url": "https://www.example.com", "displayText": "example" } |
登録、更新時
| No. | アイテムタイプ | タイプ | フォーマット例 | 値を設定しない場合 |
|---|---|---|---|---|
| 1 | ADDRESS(住所) | object | { "zipcode" : "111-1111", "street": "その他住所", "building": "建物" } | null |
| 2 | DATE(日付) | string | "2021/12/15" | null |
| 3 | DATETIME(日時) | string | "2021/12/15 17:00:00" | null |
| 4 | EMAIL(メールアドレス) | string | "example@example.com" | null |
| 5 | FILE(ファイル) | 単数:object, 複数:array(object) | 単数: { "fileid": "ファイルID" } 複数: [ { "fileid": "ファイルID" } ] | null |
| 6 | MEMO(テキスト(複数行)) | string | "メモ" ※UTF-8 2000文字以内 | null |
| 7 | NUMBER(数値) | string | 123.45 ※整数部:18桁 少数部:17桁以内 | null |
| 8 | SB_RELATION(紐づけ項目) | 単数:number, 複数:array(number) | 単数: "business_cards.business_card.relational_customer": 123 複数: "customers.customer.relational_milestone": [123, 456] | 紐づけを設定しない:[] ※更新時、紐づけを維持する場合は key、valueを設定しない |
| 9 | SELECT(チェックボックス、プルダウン、ラジオボタン) | 単数:string, 複数:array(string) | [{選択肢名}...] | [] |
| 10 | STRING(テキスト) | string | "文字列" ※UTF-8 64文字以内 | null |
| 11 | TELNO(電話番号) | string | "03-1234-5678" | null |
| 12 | TIME(時間) | string | "17:00:00" | null |
| 13 | URL(リンク) | object | { "url": "https://www.example.com", "displayText": "example" } | null |