Download OpenAPI specification:
v2 APIは段階的にリリース予定です
現在未掲載のエンドポイントは今後のフェーズで公開予定です。公開までの間は引き続きv1 APIをご利用ください。
旧APIリファレンス(v1)はこちら
オンラインマニュアル: MazricaAPIを利用する – Mazrica
API のエンドポイントのベース URL は以下です。バージョンの v2 を含めてリクエストしてください。
https://api.mazrica.com/v2/{PATH_TO_REQUEST}
認証は PAT(Personal Access Token, mzp_ プレフィックス)または TAT(Team Access Token, mzt_ プレフィックス)による Bearer 認証です。すべてのリクエストの Authorization ヘッダーに Bearer トークンを指定してください。
Authorization: Bearer mzp_xxxxxxxxxxxxxxxx
Content-Type: application/json
curl の例:
curl -X GET 'https://api.mazrica.com/v2/deals' \
-H 'Authorization: Bearer mzp_xxxxxxxxxxxxxxxx' \
-H 'Content-Type: application/json'
mzp_): 権限設定 を利用しているドメインでは、トークンを発行したユーザーの権限が適用されます。閲覧・操作できる範囲はそのユーザーのロールに従い、権限外のデータは取得・操作できません。一覧・検索では権限のあるデータのみがヒットし、権限不足でも 403 ではなくスコープ内の結果(該当なしの場合は空)を返します。権限設定 を利用していないドメインでは制限はありません。mzt_): ユーザー権限による絞り込みはなく、ドメイン内のデータを制限なく操作できます。レート制限を超えた場合は 429 Too Many Requests を返します。日次の上限は UTC 0 時境界でリセットされます。
| トークン種別 | 集計単位 | 秒間上限 | 日次上限 |
|---|---|---|---|
PAT (mzp_) |
ユーザー単位(同一ユーザーの複数 PAT を合算) | 5 req/sec | 50,000 |
TAT (mzt_) |
ドメイン単位(同一ドメインの複数 TAT を合算) | 5 req/sec | 200,000 |
一覧を返す API は sort クエリパラメータで並び順を指定できます。キーの前に - を付けると降順になります。指定できるキーと既定の並び順はエンドポイントごとに異なるため、各エンドポイントの sort パラメータの説明を参照してください。
GET /v2/customers?sort=createdAt(作成日時の昇順)、GET /v2/customers?sort=-updatedAt(更新日時の降順)検索エンドポイント(/v2/contacts/search、/v2/deals/search)では、リクエストボディの sort で指定します。
{
"sort": { "field": { "name": "updated_at" }, "order": "DESC" }
}
field.name: ソート対象の標準項目名を指定します(updatedAt 等 camelCase も可)order: ASC(昇順)/ DESC(降順)取引先一覧をカーソルページネーション形式で取得します。
customers キー ({ customers, hasMore, nextCursor, totalCount })GET /api/v1/customers と互換のあるデータを、v2 形式で提供します| limit | integer [ 1 .. 1000 ] Default: 100 1ページあたりの件数。最大1000。省略した場合、デフォルトは100。 |
| cursor | string 次ページ取得用カーソル。前回レスポンスの nextCursor をそのまま指定する |
| searchWord | string 指定した文字列と取引先名が部分一致する取引先を検索します。 |
| updatedAtFrom | string <date-time> 更新日時による検索範囲(開始)
|
| updatedAtTo | string <date-time> 更新日時による検索範囲(終了)
|
| sort | string Default: "-updated_at" Enum: "updated_at" "-updated_at" "created_at" "-created_at" "updatedAt" "-updatedAt" "createdAt" "-createdAt" 並び順
ソート可能 |
| itemKeyAsPropertyKey | string Enum: "true" "false" true の場合 customerCustoms を item_key をキーにしたオブジェクト形式で返す |
{- "customers": [
- {
- "id": 0,
- "name": "string",
- "companyNum": "string",
- "establishYear": 0,
- "industry": {
- "id": 0,
- "name": "string"
}, - "address": "string",
- "telNo": "string",
- "webUrl": "string",
- "employee": 0,
- "closingMonth": 0,
- "capital": 0,
- "company": {
- "name": "string",
- "companyNum": "string"
}, - "ownerRole": {
- "id": 0,
- "name": "string"
}, - "customerCustoms": [
- { }
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "hasMore": true,
- "nextCursor": "string",
- "totalCount": 0
}取引先を登録します。
| name required | string 取引先名 |
| address | string or null 住所 |
| telNo | string or null 電話番号 |
| webUrl | string or null WebサイトURL |
| employee | integer or null 従業員数 |
| capital | integer or null 資本金 |
| closingMonth | integer or null 決算月(1〜12) |
| establishYear | integer or null 設立年 |
| industryId | integer or null 業種ID |
| ownerRoleId | integer or null 担当ロールID |
| parentId | integer or null 親取引先ID |
| companyNum | string or null 法人番号 |
Array of objects (CustomerCustomCreateParam) 取引先詳細項目の登録値の配列。項目は customerCustomItemId か itemKey で特定する | |
Array of objects (CustomObjectAssociationParam) カスタムオブジェクトの関連付け |
{- "name": "string",
- "address": "string",
- "telNo": "string",
- "webUrl": "string",
- "employee": 0,
- "capital": 0,
- "closingMonth": 0,
- "establishYear": 0,
- "industryId": 0,
- "ownerRoleId": 0,
- "parentId": 0,
- "companyNum": "string",
- "customerCustoms": [
- {
- "customerCustomItemId": 0,
- "itemKey": "string",
- "value": "string"
}
], - "customObjects": [
- {
- "id": 0,
- "delete": true
}
]
}{- "id": 0,
- "name": "string",
- "companyNum": "string",
- "establishYear": 0,
- "industry": {
- "id": 0,
- "name": "string"
}, - "address": "string",
- "telNo": "string",
- "webUrl": "string",
- "employee": 0,
- "capital": 0,
- "company": {
- "name": "string",
- "companyNum": 0
}, - "closingMonth": 0,
- "ownerRole": {
- "id": 0,
- "name": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "customerCustoms": [
- {
- "id": 0,
- "customerCustomItemId": 0,
- "itemKey": "string",
- "itemType": "string",
- "name": "string",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "selectedOption": {
- "label": "string",
- "customerCustomItemOptionId": 0
}, - "selectedOptions": [
- {
- "id": 0,
- "label": "string",
- "customerCustomItemOptionId": 0
}
], - "selectedUsers": [
- {
- "id": 0,
- "name": "string",
- "email": "string"
}
]
}
]
}取引先情報を検索します。v1 POST /api/v1/customers/search と同形式の compositeFilter を受け付けます。
page に代えてカーソル形式 (limit / cursor / nextCursor / hasMore)。totalCount は維持customers(v1 互換)customerCustoms は軽量形(compact)で常に返しますsort で指定できます(例: name / updated_at / created_at)。省略時は updated_at 降順(id 昇順タイブレーク)| filter required | object compositeFilter / valueFilter による検索条件(v1 互換) |
object ソート条件(省略時 updated_at 降順) | |
| limit | integer [ 1 .. 1000 ] Default: 100 取得件数(1〜1000、デフォルト100) |
| cursor | string 次ページ取得用カーソル。前回レスポンスの nextCursor をそのまま指定する |
| itemKeyAsPropertyKey | string Enum: "true" "false" true の場合 customerCustoms を item_key をキーにしたオブジェクト形式で返す |
{- "filter": { },
- "sort": {
- "field": {
- "name": "string"
}, - "order": "ASC"
}, - "limit": 100,
- "cursor": "string",
- "itemKeyAsPropertyKey": "true"
}{- "totalCount": 0,
- "nextCursor": "string",
- "hasMore": true,
- "customers": [
- {
- "id": 0,
- "name": "string",
- "companyNum": "string",
- "establishYear": 0,
- "industry": {
- "id": 0,
- "name": "string"
}, - "address": "string",
- "telNo": "string",
- "webUrl": "string",
- "employee": 0,
- "closingMonth": 0,
- "capital": 0,
- "company": {
- "name": "string",
- "companyNum": "string"
}, - "ownerRole": {
- "id": 0,
- "name": "string"
}, - "customerCustoms": [
- { }
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}取引先情報を取得します。
include_related_objects=1 を指定するとカスタムオブジェクト連携情報(customObjects)を含みます| id required | integer 取引先ID |
| itemKeyAsPropertyKey | string Enum: "true" "false" true の場合 customerCustoms を item_key をキーにしたオブジェクト形式で返す |
| include_related_objects | integer Default: 0 1 を指定すると、関連付けオブジェクトの情報を含めて返します。 |
{- "id": 0,
- "name": "string",
- "companyNum": "string",
- "establishYear": 0,
- "industry": {
- "id": 0,
- "name": "string"
}, - "address": "string",
- "telNo": "string",
- "webUrl": "string",
- "employee": 0,
- "closingMonth": 0,
- "capital": 0,
- "company": {
- "name": "string",
- "companyNum": "string"
}, - "ownerRole": {
- "id": 0,
- "name": "string"
}, - "customerCustoms": [
- { }
], - "customObjects": [
- {
- "id": 0,
- "customObjectDefKey": "string"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}| id required | integer 取引先ID |
| name | string 取引先名 |
| address | string or null 住所 |
| telNo | string or null 電話番号 |
| webUrl | string or null URL |
| employee | integer or null 従業員数 |
| capital | integer or null 資本金 |
| closingMonth | integer or null 決算月(1〜12) |
| establishYear | integer or null 設立年(西暦) |
| industryId | integer or null 業種ID |
| ownerRoleId | integer or null ロールID |
| companyNum | string or null 企業番号 |
Array of objects 取引先詳細項目 |
{- "name": "string",
- "address": "string",
- "telNo": "string",
- "webUrl": "string",
- "employee": 0,
- "capital": 0,
- "closingMonth": 0,
- "establishYear": 0,
- "industryId": 0,
- "ownerRoleId": 0,
- "companyNum": "string",
- "customerCustoms": [
- {
- "id": 0,
- "customerCustomItemId": 0,
- "itemKey": "string",
- "value": null
}
]
}{- "id": 0,
- "name": "string",
- "companyNum": "string",
- "establishYear": 0,
- "industry": {
- "id": 0,
- "name": "string"
}, - "address": "string",
- "telNo": "string",
- "webUrl": "string",
- "employee": 0,
- "capital": 0,
- "company": {
- "name": "string",
- "companyNum": 0
}, - "closingMonth": 0,
- "ownerRole": {
- "id": 0,
- "name": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "customerCustoms": [
- {
- "id": 0,
- "customerCustomItemId": 0,
- "itemKey": "string",
- "itemType": "string",
- "name": "string",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "selectedOption": {
- "label": "string",
- "customerCustomItemOptionId": 0
}, - "selectedOptions": [
- {
- "id": 0,
- "label": "string",
- "customerCustomItemOptionId": 0
}
], - "selectedUsers": [
- {
- "id": 0,
- "name": "string",
- "email": "string"
}
]
}
]
}取引先を一括登録します(v1同様の同期実行)。
required | Array of objects (CustomerBulkCreateItem) <= 1000 items 登録する取引先の配列 |
{- "customers": [
- {
- "name": "string",
- "address": "string",
- "telNo": "string",
- "webUrl": "string",
- "employee": 0,
- "capital": 0,
- "closingMonth": 1,
- "establishYear": 0,
- "industryId": 0,
- "ownerRoleId": 0,
- "companyNum": "string",
- "customerCustoms": [
- {
- "customerCustomItemId": 0,
- "itemKey": "string",
- "value": "string"
}
]
}
]
}[- 0
]指定した取引先に紐づくアクション一覧をカーソルページネーション形式で取得します。
{ totalCount, nextCursor, hasMore, actions })。v1 の page はカーソルページネーションに置き換えcustomer_id に all を指定すると全取引先のアクションを対象とする取引先アクション参照 権限が無い場合は 403 ではなく 200 + 空配列を返すrequired | integer or string 取引先IDを指定してアクションを検索します。 取引先IDの代わりに、allと指定することで取引先IDを跨いだアクションの取得が可能です。 |
| limit | integer [ 1 .. 1000 ] Default: 100 取得件数(1〜1000、デフォルト100) |
| cursor | string 次ページ取得用カーソル。前回レスポンスの nextCursor をそのまま指定する |
| sort | string Default: "-startDatetime" Enum: "startDatetime" "-startDatetime" "start_datetime" "-start_datetime" 並び順
ソート可能 |
| startDatetime | string <date-time> Example: startDatetime=2018-04-01T10:30:00+09:00 開始日時 ex)
上記のように指定した場合、開始日時2019-01-01 09:00 から 終了日時2019-01-01 11:00(JST)のアクションを検索します。 日時は ISO 8601 形式でタイムゾーンを明示して指定してください(UTC: |
| endDatetime | string <date-time> Example: endDatetime=2018-04-01T10:30:00+09:00 終了日時 ex)
上記のように指定した場合、開始日時2019-01-01 09:00 から 終了日時2019-01-01 11:00(JST)のアクションを検索します。 日時は ISO 8601 形式でタイムゾーンを明示して指定してください(UTC: |
| createdAtFrom | string <date-time> Example: createdAtFrom=2018-04-01T10:30:00+09:00 登録日時開始時間 ex)
上記のように指定した場合、登録日時が2019-01-01 09:00 から 2019-01-01 11:00(JST)のアクションを検索します。 日時は ISO 8601 形式でタイムゾーンを明示して指定してください(UTC: |
| createdAtTo | string <date-time> Example: createdAtTo=2018-04-01T10:30:00+09:00 登録日時終了時間 ex)
上記のように指定した場合、登録日時が2019-01-01 09:00 から 2019-01-01 11:00(JST)のアクションを検索します。 日時は ISO 8601 形式でタイムゾーンを明示して指定してください(UTC: |
| updatedAtFrom | string <date-time> Example: updatedAtFrom=2018-04-01T10:30:00+09:00 最終更新日時開始時間 ex)
上記のように指定した場合、最終更新日時が2019-01-01 09:00 から 2019-01-01 11:00(JST)のアクションを検索します。 日時は ISO 8601 形式でタイムゾーンを明示して指定してください(UTC: |
| updatedAtTo | string <date-time> Example: updatedAtTo=2018-04-01T10:30:00+09:00 最終更新日時終了時間 ex)
上記のように指定した場合、最終更新日時が2019-01-01 09:00 から 2019-01-01 11:00(JST)のアクションを検索します。 日時は ISO 8601 形式でタイムゾーンを明示して指定してください(UTC: |
| users[][id] | Array of integers アクション担当者、その他の担当者を検索します。 GETパラメータで指定する場合、以下の形式で指定します。
|
| pattern | integer アクションの種別 |
| active | string Enum: "true" "false" true:予定 false:完了 |
{- "totalCount": 0,
- "nextCursor": "string",
- "hasMore": true,
- "actions": [
- {
- "id": 0,
- "startDatetime": "2019-08-24T14:15:22Z",
- "endDatetime": "2019-08-24T14:15:22Z",
- "active": true,
- "syncCalendar": true,
- "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "preNote": "string",
- "result": "string",
- "extraResult": "string",
- "pattern": {
- "id": 0,
- "name": "string"
}, - "creator": {
- "id": 0,
- "name": "string"
}, - "invitees": [
- {
- "id": 0,
- "name": "string"
}
], - "customer": {
- "id": 0,
- "name": "string"
}, - "contacts": [
- {
- "id": 0,
- "name": "string",
- "email": "string",
- "tel": "string",
- "mobileTel": "string",
- "address": "string",
- "dept": "string",
- "position": "string",
- "memo": "string",
- "marketoLeadScore": 0,
- "customer": {
- "id": 0,
- "name": "string"
}, - "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "contactCustoms": [
- {
- "id": 0,
- "contactCustomItemId": 0,
- "itemKey": "string",
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "selectedValue": 0,
- "selectedOption": {
- "label": "string",
- "contactCustomItemOptionId": 0
}, - "selectedValues": [
- 0
], - "selectedOptions": [
- {
- "id": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
], - "selectedUsers": [
- {
- "id": 0,
- "name": "string",
- "email": "string"
}
]
}
], - "lifecycleStages": [
- {
- "lifecycleStageTypeId": 0,
- "id": 0,
- "name": "string"
}
]
}
], - "actionCustoms": [
- {
- "id": 0,
- "actionCustomItemId": 0,
- "itemType": "string",
- "name": "string",
- "value": "string",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "url": "string",
- "decimalNumber": "1234.56",
- "selectedValue": 1,
- "selectedOption": {
- "actionCustomItemOptionId": 0,
- "label": "string",
- "value": 0
}, - "selectedValues": [
- 1,
- 2,
- 3
], - "selectedOptions": [
- {
- "id": 0,
- "actionCustomItemOptionId": 0,
- "label": "string",
- "value": 0
}
]
}
]
}
]
}取引先アクションを新規登録します。
pattern、startDatetime、endDatetime、creator は必須| customer_id required | integer 取引先ID |
required | object アクションパターン(アクション種別) |
| startDatetime required | string <date-time> 開始日時 |
| endDatetime required | string <date-time> 終了日時 |
required | object 主担当者(担当者) |
Array of objects その他担当者(招待ユーザー) | |
Array of objects アクションに紐づけるコンタクト | |
| preNote | string or null 事前メモ |
| result | string or null アクションの実施結果 |
| active | boolean アクションの完了状態。false で完了アクションとして登録します。 |
Array of objects アクション詳細項目 |
{- "pattern": {
- "id": 0
}, - "startDatetime": "2019-08-24T14:15:22Z",
- "endDatetime": "2019-08-24T14:15:22Z",
- "creator": {
- "id": 0
}, - "invitees": [
- {
- "id": 0
}
], - "contacts": [
- {
- "id": 0
}
], - "preNote": "string",
- "result": "string",
- "active": true,
- "actionCustoms": [
- {
- "itemKey": "string",
- "value": null
}
]
}{- "id": 0,
- "startDatetime": "2019-08-24T14:15:22Z",
- "endDatetime": "2019-08-24T14:15:22Z",
- "active": true,
- "syncCalendar": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "preNote": "string",
- "result": "string",
- "extraResult": "string",
- "pattern": {
- "id": 0,
- "name": "string"
}, - "creator": {
- "id": 0,
- "name": "string"
}, - "invitees": [
- {
- "id": 0,
- "name": "string"
}
], - "customer": {
- "id": 0,
- "name": "string"
}, - "contacts": [
- {
- "id": 0,
- "name": "string",
- "email": "string",
- "tel": "string",
- "mobileTel": "string",
- "address": "string",
- "dept": "string",
- "position": "string",
- "memo": "string",
- "marketoLeadScore": 0,
- "customer": {
- "id": 0,
- "name": "string"
}, - "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "contactCustoms": [
- {
- "id": 0,
- "contactCustomItemId": 0,
- "itemKey": "string",
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "selectedValue": 0,
- "selectedOption": {
- "label": "string",
- "contactCustomItemOptionId": 0
}, - "selectedValues": [
- 0
], - "selectedOptions": [
- {
- "id": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
], - "selectedUsers": [
- {
- "id": 0,
- "name": "string",
- "email": "string"
}
]
}
], - "lifecycleStages": [
- {
- "lifecycleStageTypeId": 0,
- "id": 0,
- "name": "string"
}
]
}
], - "actionCustoms": [
- { }
]
}| customer_id required | integer 取引先ID |
| id required | integer アクションID |
| include_files | integer
|
{- "files": [
- {
- "name": "string",
- "mimeType": "string",
- "url": "string"
}
], - "id": 0,
- "startDatetime": "2019-08-24T14:15:22Z",
- "endDatetime": "2019-08-24T14:15:22Z",
- "active": true,
- "syncCalendar": true,
- "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "preNote": "string",
- "result": "string",
- "extraResult": "外部サービスなどから取り込んだ,\nアクションの実施結果",
- "pattern": {
- "id": 0,
- "name": "string"
}, - "creator": {
- "id": 0,
- "name": "string"
}, - "invitees": [
- {
- "id": 0,
- "name": "string"
}
], - "customer": {
- "id": 0,
- "name": "string"
}, - "contacts": [
- {
- "id": 0,
- "name": "string",
- "email": "string",
- "tel": "string",
- "mobileTel": "string",
- "address": "string",
- "dept": "string",
- "position": "string",
- "memo": "string",
- "marketoLeadScore": 0,
- "customer": {
- "id": 0,
- "name": "string"
}, - "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "contactCustoms": [
- {
- "id": 0,
- "contactCustomItemId": 0,
- "itemKey": "string",
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "selectedValue": 0,
- "selectedOption": {
- "label": "string",
- "contactCustomItemOptionId": 0
}, - "selectedValues": [
- 0
], - "selectedOptions": [
- {
- "id": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
], - "selectedUsers": [
- {
- "id": 0,
- "name": "string",
- "email": "string"
}
]
}
], - "lifecycleStages": [
- {
- "lifecycleStageTypeId": 0,
- "id": 0,
- "name": "string"
}
]
}
], - "actionCustoms": [
- {
- "id": 0,
- "actionCustomItemId": 0,
- "itemType": "string",
- "name": "string",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "url": "string",
- "decimalNumber": "1234.56",
- "selectedOption": {
- "actionCustomItemOptionId": 0,
- "label": "string"
}, - "selectedOptions": [
- {
- "id": 0,
- "actionCustomItemOptionId": 0,
- "label": "string"
}
], - "selectedLabels": [
- "A",
- "B",
- "C"
]
}
]
}取引先アクションを更新します。
invitees を指定した場合は全量置き換えになります| customer_id required | integer 取引先ID |
| id required | integer アクションID |
object アクションパターン | |
| startDatetime | string <date-time> 開始日時 |
| endDatetime | string <date-time> 終了日時 |
object アクション担当者ID | |
| preNote | string or null アクションの事前メモ |
| result | string or null アクションの実施結果 |
| active | boolean アクションの状態(true=未完了、false=完了) |
Array of objects 他の担当者 | |
Array of objects アクションコンタクト | |
Array of objects アクション詳細項目一覧 |
{- "pattern": {
- "id": 0
}, - "startDatetime": "2019-08-24T14:15:22Z",
- "endDatetime": "2019-08-24T14:15:22Z",
- "creator": {
- "id": 0
}, - "preNote": "string",
- "result": "string",
- "active": true,
- "invitees": [
- {
- "id": 0
}
], - "contacts": [
- {
- "id": 0
}
], - "actionCustoms": [
- {
- "itemKey": "string",
- "value": null
}
]
}{- "id": 0,
- "startDatetime": "2019-08-24T14:15:22Z",
- "endDatetime": "2019-08-24T14:15:22Z",
- "active": true,
- "syncCalendar": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "preNote": "string",
- "result": "string",
- "extraResult": "string",
- "pattern": {
- "id": 0,
- "name": "string"
}, - "creator": {
- "id": 0,
- "name": "string"
}, - "invitees": [
- {
- "id": 0,
- "name": "string"
}
], - "customer": {
- "id": 0,
- "name": "string"
}, - "contacts": [
- {
- "id": 0,
- "name": "string",
- "email": "string",
- "tel": "string",
- "mobileTel": "string",
- "address": "string",
- "dept": "string",
- "position": "string",
- "memo": "string",
- "marketoLeadScore": 0,
- "customer": {
- "id": 0,
- "name": "string"
}, - "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "contactCustoms": [
- {
- "id": 0,
- "contactCustomItemId": 0,
- "itemKey": "string",
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "selectedValue": 0,
- "selectedOption": {
- "label": "string",
- "contactCustomItemOptionId": 0
}, - "selectedValues": [
- 0
], - "selectedOptions": [
- {
- "id": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
], - "selectedUsers": [
- {
- "id": 0,
- "name": "string",
- "email": "string"
}
]
}
], - "lifecycleStages": [
- {
- "lifecycleStageTypeId": 0,
- "id": 0,
- "name": "string"
}
]
}
], - "actionCustoms": [
- {
- "id": 0,
- "actionCustomItemId": 0,
- "itemType": "string",
- "name": "string",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "url": "string",
- "decimalNumber": "1234.56",
- "selectedOption": {
- "actionCustomItemOptionId": 0,
- "label": "string"
}, - "selectedOptions": [
- {
- "id": 0,
- "actionCustomItemOptionId": 0,
- "label": "string"
}
], - "selectedLabels": [
- "A",
- "B",
- "C"
]
}
]
}取引先アクションを一括登録します。
required | Array of objects |
{- "actions": [
- {
- "customer": {
- "id": 0
}, - "pattern": {
- "id": 0
}, - "startDatetime": "2018-04-01T10:30:00+09:00",
- "endDatetime": "2018-04-01T10:30:00+09:00",
- "creator": {
- "id": 0
}, - "invitees": [
- {
- "id": 0
}
], - "contacts": [
- {
- "id": 0
}
], - "preNote": "string",
- "result": "string",
- "active": true,
- "actionCustoms": [
- {
- "itemKey": "string",
- "value": "テキスト"
}
], - "files": [
- {
- "name": "string",
- "path": "string"
}
]
}
]
}[- 0
]案件一覧をカーソルページネーション形式で取得します
deals キーの配列を含む構造 ({ deals, hasMore, nextCursor, totalCount })| limit | integer [ 1 .. 1000 ] Default: 100 取得件数(1〜1000、デフォルト100) |
| cursor | string 次ページ取得用カーソル。前回レスポンスの nextCursor をそのまま指定する |
| searchWord | string 案件名・取引先名による部分一致検索(v1と同じ) |
| dealTypeId | integer 案件タイプIDによる絞り込み(v1と同じ) |
| sort | string 並び順。 |
| updatedAtFrom | string <date-time> Example: updatedAtFrom=2018-04-01T10:30:00+09:00 最終更新日時フィルタ(以降)。タイムゾーンを明示すること(省略時はUTCとして解釈される) |
| updatedAtTo | string <date-time> Example: updatedAtTo=2018-04-01T10:30:00+09:00 最終更新日時フィルタ(以前)。タイムゾーンを明示すること(省略時はUTCとして解釈される) |
| itemKeyAsPropertyKey | string Enum: "true" "false" true の場合 dealCustoms を item_key をキーにしたオブジェクト形式で返す |
{- "deals": [
- {
- "id": 0,
- "name": "string",
- "amount": 0,
- "closingLeadtime": 0,
- "fromEmail": true,
- "memo": "string",
- "expectedContractDate": "2019-08-24",
- "reason": "string",
- "totalCost": "string",
- "totalProfit": "string",
- "dealType": {
- "id": 0,
- "name": "string"
}, - "customer": {
- "id": 0,
- "name": "string"
}, - "phase": {
- "id": 0,
- "name": "string",
- "status": 0
}, - "product": {
- "id": 0,
- "name": "string"
}, - "probability": {
- "id": 0,
- "name": "string"
}, - "channel": {
- "id": 0,
- "name": "string"
}, - "user": {
- "id": 0,
- "name": "string"
}, - "endPhaseReasons": [
- {
- "id": 0,
- "name": "string"
}
], - "phaseStayDays": [
- {
- "id": 0,
- "name": "string",
- "stayDays": 0,
- "isCurrentPhase": true
}
], - "dealProductDetails": [
- {
- "id": 0,
- "dealProductDetailTypeId": 0,
- "name": "string",
- "billingType": {
- "id": 0,
- "name": "string"
}, - "quantity": 0,
- "unit": "string",
- "price": 0,
- "unitCost": 0,
- "term": 0,
- "subtotal": 0,
- "subtotalCost": 0,
- "subtotalProfit": 0,
- "firstSales": "2019-08-24T14:15:22Z",
- "memo": "string",
- "dealProductDetailCustoms": {
- "property1": {
- "id": 0,
- "dealProductDetailTypeCustomItemId": 0,
- "itemType": 0,
- "name": "string",
- "text": "string",
- "datetime": "2019-08-24T14:15:22Z",
- "decimalNumber": 0,
- "selectedOption": {
- "label": "string",
- "dealProductDetailTypeCustomItemOptionId": 0
}, - "selectedOptions": [
- {
- "id": 0,
- "label": "string",
- "dealProductDetailTypeCustomItemOptionId": 0
}
]
}, - "property2": {
- "id": 0,
- "dealProductDetailTypeCustomItemId": 0,
- "itemType": 0,
- "name": "string",
- "text": "string",
- "datetime": "2019-08-24T14:15:22Z",
- "decimalNumber": 0,
- "selectedOption": {
- "label": "string",
- "dealProductDetailTypeCustomItemOptionId": 0
}, - "selectedOptions": [
- {
- "id": 0,
- "label": "string",
- "dealProductDetailTypeCustomItemOptionId": 0
}
]
}
}
}
], - "dealCustomerTypes": [
- {
- "dealCustomerType": {
- "id": 0,
- "name": "string"
}, - "customers": [
- {
- "id": 0,
- "name": "string"
}
]
}
], - "dealCustoms": [
- {
- "id": 0,
- "dealCustomItemId": 0,
- "itemKey": "string",
- "itemType": "string",
- "name": "string",
- "text": "string",
- "datetime": "2019-08-24T14:15:22Z",
- "number": 0,
- "url": "string",
- "decimalNumber": "string",
- "selectedOption": {
- "label": "string",
- "dealCustomItemOptionId": 0
}, - "selectedOptions": [
- {
- "id": 0,
- "label": "string",
- "dealCustomItemOptionId": 0
}
], - "selectedUsers": [
- {
- "id": 0,
- "name": "string",
- "email": "string"
}
]
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "hasMore": true,
- "nextCursor": "string",
- "totalCount": 0
}案件を登録します。
{ "id": N } 形式で指定| itemKeyAsPropertyKey | string Enum: "true" "false" true の場合 dealCustoms を item_key をキーにしたオブジェクト形式で返す(v1と同じ) |
| name required | string 案件名 |
| amount | integer or null 契約金額 |
| expectedContractDate required | string <date> 契約予定日(YYYY-MM-DD) |
| reason | string or null 理由(フェーズが進行中以外のときに endPhaseReasonIds とどちらか必須) |
required | object 取引先 |
required | object 案件タイプ |
required | object フェーズ |
required | object 商品 |
required | object 契約確度 |
required | object チャネル |
required | object 担当者 |
| endPhaseReasonIds | Array of integers 最終・停止理由区分のID配列(フェーズが進行中以外のときに reason とどちらか必須) |
Array of objects (DealCustomCreateParam) 案件詳細項目の登録値の配列。項目は dealCustomItemId か itemKey で特定する | |
Array of objects (DealProductDetailCreateParam) 商品内訳の配列 | |
Array of objects (DealCustomerCreateParam) 関連取引先の配列 | |
Array of objects (CustomObjectAssociationParam) カスタムオブジェクトの関連付け |
{- "name": "string",
- "amount": 0,
- "expectedContractDate": "2019-08-24",
- "reason": "string",
- "customer": {
- "id": 0
}, - "dealType": {
- "id": 0
}, - "phase": {
- "id": 0
}, - "product": {
- "id": 0
}, - "probability": {
- "id": 0
}, - "channel": {
- "id": 0
}, - "user": {
- "id": 0
}, - "endPhaseReasonIds": [
- 0
], - "dealCustoms": [
- {
- "dealCustomItemId": 0,
- "itemKey": "string",
- "value": "string"
}
], - "dealProductDetails": [
- {
- "dealProductDetailTypeId": 0,
- "billingType": {
- "key": "string"
}, - "price": 0,
- "quantity": 0,
- "term": 0,
- "firstSales": "2019-08-24",
- "memo": "string",
- "unitCost": 0,
- "dealProductDetailCustoms": [
- {
- "dealProductDetailTypeCustomItemId": 0,
- "dealProductDetailTypeCustomItemOptionId": 0,
- "text": "string",
- "datetime": "2019-08-24T14:15:22Z",
- "decimalNumber": "string",
- "value": null,
- "dealProductDetailCustomDetails": [
- 0
]
}
]
}
], - "dealCustomers": [
- {
- "dealCustomerTypeId": 0,
- "customerId": 0
}
], - "customObjects": [
- {
- "id": 0,
- "delete": true
}
]
}{- "id": 0,
- "name": "string",
- "amount": 0,
- "closingLeadtime": 0,
- "fromEmail": true,
- "memo": "string",
- "expectedContractDate": "2019-08-24",
- "reason": "string",
- "totalCost": "string",
- "totalProfit": "string",
- "dealType": {
- "id": 0,
- "name": "string"
}, - "customer": {
- "id": 0,
- "name": "string"
}, - "phase": {
- "id": 0,
- "name": "string",
- "status": 0
}, - "product": {
- "id": 0,
- "name": "string"
}, - "probability": {
- "id": 0,
- "name": "string"
}, - "channel": {
- "id": 0,
- "name": "string"
}, - "user": {
- "id": 0,
- "name": "string"
}, - "endPhaseReasons": [
- {
- "id": 0,
- "name": "string"
}
], - "phaseStayDays": [
- {
- "id": 0,
- "name": "string",
- "stayDays": 0,
- "isCurrentPhase": true
}
], - "dealProductDetails": [
- {
- "id": 0,
- "dealProductDetailTypeId": 0,
- "name": "string",
- "billingType": {
- "id": 0,
- "name": "string"
}, - "quantity": 0,
- "unit": "string",
- "price": 0,
- "unitCost": 0,
- "term": 0,
- "subtotal": 0,
- "subtotalCost": 0,
- "subtotalProfit": 0,
- "firstSales": "2019-08-24T14:15:22Z",
- "memo": "string",
- "dealProductDetailCustoms": {
- "property1": {
- "id": 0,
- "dealProductDetailTypeCustomItemId": 0,
- "itemType": 0,
- "name": "string",
- "text": "string",
- "datetime": "2019-08-24T14:15:22Z",
- "decimalNumber": 0,
- "selectedOption": {
- "label": "string",
- "dealProductDetailTypeCustomItemOptionId": 0
}, - "selectedOptions": [
- {
- "id": 0,
- "label": "string",
- "dealProductDetailTypeCustomItemOptionId": 0
}
]
}, - "property2": {
- "id": 0,
- "dealProductDetailTypeCustomItemId": 0,
- "itemType": 0,
- "name": "string",
- "text": "string",
- "datetime": "2019-08-24T14:15:22Z",
- "decimalNumber": 0,
- "selectedOption": {
- "label": "string",
- "dealProductDetailTypeCustomItemOptionId": 0
}, - "selectedOptions": [
- {
- "id": 0,
- "label": "string",
- "dealProductDetailTypeCustomItemOptionId": 0
}
]
}
}
}
], - "dealCustomerTypes": [
- {
- "dealCustomerType": {
- "id": 0,
- "name": "string"
}, - "customers": [
- {
- "id": 0,
- "name": "string"
}
]
}
], - "dealCustoms": [
- {
- "id": 0,
- "dealCustomItemId": 0,
- "itemKey": "string",
- "itemType": "string",
- "name": "string",
- "text": "string",
- "datetime": "2019-08-24T14:15:22Z",
- "number": 0,
- "url": "string",
- "decimalNumber": "string",
- "selectedOption": {
- "label": "string",
- "dealCustomItemOptionId": 0
}, - "selectedOptions": [
- {
- "id": 0,
- "label": "string",
- "dealCustomItemOptionId": 0
}
], - "selectedUsers": [
- {
- "id": 0,
- "name": "string",
- "email": "string"
}
]
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}案件情報を検索します。
{ deals, hasMore, nextCursor, totalCount })dealCustoms は常時返却(compactCustoms=true相当で型別フィールドのみ。noCustoms/compactCustomsのクライアント指定は不可)sort で指定できます(例: name / updated_at / created_at)。省略時は updated_at 降順(id 昇順タイブレーク)| limit | integer [ 1 .. 1000 ] Default: 100 取得件数(1〜1000、デフォルト100) |
| cursor | string 次ページ取得用カーソル。前回レスポンスの nextCursor をそのまま指定する |
required | object (DealSearchFilter) 絞り込み条件
|
object (DealSearchSort) 並び順。省略時は updated_at 降順(id 昇順タイブレーク)。 項目値が NULL のレコードは、昇順では先頭・降順では末尾に並びます。 |
{- "filter": {
- "compositeFilter": {
- "logicalOperator": "AND",
- "subFilters": [
- {
- "compositeFilter": { },
- "valueFilter": {
- "field": {
- "name": "string",
- "customItemId": 0,
- "itemKey": "string"
}, - "comparisonOperator": "=",
- "value": {
- "stringValue": "string",
- "integerValue": 0,
- "decimalValue": 0.1,
- "datetimeValue": "2018-04-01T10:30:00"
}
}
}
]
}
}, - "sort": {
- "field": {
- "name": "updated_at"
}, - "order": "ASC"
}
}{- "deals": [
- {
- "id": 0,
- "name": "string",
- "amount": 0,
- "closingLeadtime": 0,
- "fromEmail": true,
- "memo": "string",
- "expectedContractDate": "2019-08-24",
- "reason": "string",
- "totalCost": "string",
- "totalProfit": "string",
- "dealType": {
- "id": 0,
- "name": "string"
}, - "customer": {
- "id": 0,
- "name": "string"
}, - "phase": {
- "id": 0,
- "name": "string",
- "status": 0
}, - "product": {
- "id": 0,
- "name": "string"
}, - "probability": {
- "id": 0,
- "name": "string"
}, - "channel": {
- "id": 0,
- "name": "string"
}, - "user": {
- "id": 0,
- "name": "string"
}, - "endPhaseReasons": [
- {
- "id": 0,
- "name": "string"
}
], - "phaseStayDays": [
- {
- "id": 0,
- "name": "string",
- "stayDays": 0,
- "isCurrentPhase": true
}
], - "dealProductDetails": [
- {
- "id": 0,
- "dealProductDetailTypeId": 0,
- "name": "string",
- "billingType": {
- "id": 0,
- "name": "string"
}, - "quantity": 0,
- "unit": "string",
- "price": 0,
- "unitCost": 0,
- "term": 0,
- "subtotal": 0,
- "subtotalCost": 0,
- "subtotalProfit": 0,
- "firstSales": "2019-08-24T14:15:22Z",
- "memo": "string",
- "dealProductDetailCustoms": {
- "property1": {
- "id": 0,
- "dealProductDetailTypeCustomItemId": 0,
- "itemType": 0,
- "name": "string",
- "text": "string",
- "datetime": "2019-08-24T14:15:22Z",
- "decimalNumber": 0,
- "selectedOption": {
- "label": "string",
- "dealProductDetailTypeCustomItemOptionId": 0
}, - "selectedOptions": [
- {
- "id": 0,
- "label": "string",
- "dealProductDetailTypeCustomItemOptionId": 0
}
]
}, - "property2": {
- "id": 0,
- "dealProductDetailTypeCustomItemId": 0,
- "itemType": 0,
- "name": "string",
- "text": "string",
- "datetime": "2019-08-24T14:15:22Z",
- "decimalNumber": 0,
- "selectedOption": {
- "label": "string",
- "dealProductDetailTypeCustomItemOptionId": 0
}, - "selectedOptions": [
- {
- "id": 0,
- "label": "string",
- "dealProductDetailTypeCustomItemOptionId": 0
}
]
}
}
}
], - "dealCustomerTypes": [
- {
- "dealCustomerType": {
- "id": 0,
- "name": "string"
}, - "customers": [
- {
- "id": 0,
- "name": "string"
}
]
}
], - "dealCustoms": [
- {
- "id": 0,
- "dealCustomItemId": 0,
- "itemKey": "string",
- "itemType": "string",
- "name": "string",
- "text": "string",
- "datetime": "2019-08-24T14:15:22Z",
- "number": 0,
- "url": "string",
- "decimalNumber": "string",
- "selectedOption": {
- "label": "string",
- "dealCustomItemOptionId": 0
}, - "selectedOptions": [
- {
- "id": 0,
- "label": "string",
- "dealCustomItemOptionId": 0
}
], - "selectedUsers": [
- {
- "id": 0,
- "name": "string",
- "email": "string"
}
]
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "hasMore": true,
- "nextCursor": "string",
- "totalCount": 0
}案件詳細を取得します。
include_related_objects=1 を指定すると関連カスタムオブジェクト情報(customObjects)を含みます| id required | integer 案件ID |
| itemKeyAsPropertyKey | string Enum: "true" "false" true の場合 dealCustoms を item_key をキーにしたオブジェクト形式で返す |
| include_related_objects | integer Default: 0 1 を指定すると、関連付けオブジェクトの情報を含めて返します。 |
{- "id": 0,
- "name": "string",
- "amount": 0,
- "closingLeadtime": 0,
- "fromEmail": true,
- "memo": "string",
- "expectedContractDate": "2019-08-24",
- "reason": "string",
- "totalCost": "string",
- "totalProfit": "string",
- "dealType": {
- "id": 0,
- "name": "string"
}, - "customer": {
- "id": 0,
- "name": "string"
}, - "phase": {
- "id": 0,
- "name": "string",
- "status": 0
}, - "product": {
- "id": 0,
- "name": "string"
}, - "probability": {
- "id": 0,
- "name": "string"
}, - "channel": {
- "id": 0,
- "name": "string"
}, - "user": {
- "id": 0,
- "name": "string"
}, - "endPhaseReasons": [
- {
- "id": 0,
- "name": "string"
}
], - "phaseStayDays": [
- {
- "id": 0,
- "name": "string",
- "stayDays": 0,
- "isCurrentPhase": true
}
], - "dealProductDetails": [
- {
- "id": 0,
- "dealProductDetailTypeId": 0,
- "name": "string",
- "billingType": {
- "id": 0,
- "name": "string"
}, - "quantity": 0,
- "unit": "string",
- "price": 0,
- "unitCost": 0,
- "term": 0,
- "subtotal": 0,
- "subtotalCost": 0,
- "subtotalProfit": 0,
- "firstSales": "2019-08-24T14:15:22Z",
- "memo": "string",
- "dealProductDetailCustoms": {
- "property1": {
- "id": 0,
- "dealProductDetailTypeCustomItemId": 0,
- "itemType": 0,
- "name": "string",
- "text": "string",
- "datetime": "2019-08-24T14:15:22Z",
- "decimalNumber": 0,
- "selectedOption": {
- "label": "string",
- "dealProductDetailTypeCustomItemOptionId": 0
}, - "selectedOptions": [
- {
- "id": 0,
- "label": "string",
- "dealProductDetailTypeCustomItemOptionId": 0
}
]
}, - "property2": {
- "id": 0,
- "dealProductDetailTypeCustomItemId": 0,
- "itemType": 0,
- "name": "string",
- "text": "string",
- "datetime": "2019-08-24T14:15:22Z",
- "decimalNumber": 0,
- "selectedOption": {
- "label": "string",
- "dealProductDetailTypeCustomItemOptionId": 0
}, - "selectedOptions": [
- {
- "id": 0,
- "label": "string",
- "dealProductDetailTypeCustomItemOptionId": 0
}
]
}
}
}
], - "dealCustomerTypes": [
- {
- "dealCustomerType": {
- "id": 0,
- "name": "string"
}, - "customers": [
- {
- "id": 0,
- "name": "string"
}
]
}
], - "dealCustoms": [
- {
- "id": 0,
- "dealCustomItemId": 0,
- "itemKey": "string",
- "itemType": "string",
- "name": "string",
- "text": "string",
- "datetime": "2019-08-24T14:15:22Z",
- "number": 0,
- "url": "string",
- "decimalNumber": "string",
- "selectedOption": {
- "label": "string",
- "dealCustomItemOptionId": 0
}, - "selectedOptions": [
- {
- "id": 0,
- "label": "string",
- "dealCustomItemOptionId": 0
}
], - "selectedUsers": [
- {
- "id": 0,
- "name": "string",
- "email": "string"
}
]
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}案件を部分更新(PATCH)します。
{ "id": N } 形式で指定| id required | integer 案件ID |
| itemKeyAsPropertyKey | string Enum: "true" "false" true の場合 dealCustoms を item_key をキーにしたオブジェクト形式で返す(v1と同じ) |
| name | string 案件名 |
| amount | integer or null 契約金額 |
| expectedContractDate | string <date> 契約予定日(YYYY-MM-DD) |
| reason | string or null 理由(フェーズが進行中以外のときに endPhaseReasonIds とどちらか必須) |
object 取引先 | |
object フェーズ | |
object 商品 | |
object 契約確度 | |
object チャネル | |
object 担当者 | |
| endPhaseReasonIds | Array of integers 最終・停止理由区分のID配列(フェーズが進行中以外のときに reason とどちらか必須) |
Array of objects (DealCustomUpdateParam) 案件詳細項目の更新値の配列。項目は id / dealCustomItemId / itemKey で特定する | |
Array of objects (DealProductDetailUpdateParam) 商品内訳の配列(id 指定で更新、deleted で削除、id なしで追加) | |
Array of objects (DealCustomerUpdateParam) 関連取引先の配列(delete で解除) | |
Array of objects (CustomObjectAssociationParam) カスタムオブジェクトの関連付け |
{- "name": "string",
- "amount": 0,
- "expectedContractDate": "2019-08-24",
- "reason": "string",
- "customer": {
- "id": 0
}, - "phase": {
- "id": 0
}, - "product": {
- "id": 0
}, - "probability": {
- "id": 0
}, - "channel": {
- "id": 0
}, - "user": {
- "id": 0
}, - "endPhaseReasonIds": [
- 0
], - "dealCustoms": [
- {
- "id": 0,
- "dealCustomItemId": 0,
- "itemKey": "string",
- "value": "string"
}
], - "dealProductDetails": [
- {
- "id": 0,
- "deleted": true,
- "dealProductDetailTypeId": 0,
- "billingType": {
- "key": "string"
}, - "price": 0,
- "quantity": 0,
- "term": 0,
- "firstSales": "2019-08-24",
- "memo": "string",
- "unitCost": 0,
- "dealProductDetailCustoms": [
- {
- "dealProductDetailTypeCustomItemId": 0,
- "dealProductDetailTypeCustomItemOptionId": 0,
- "text": "string",
- "datetime": "2019-08-24T14:15:22Z",
- "decimalNumber": "string",
- "value": null,
- "dealProductDetailCustomDetails": [
- 0
]
}
]
}
], - "dealCustomers": [
- {
- "dealCustomerTypeId": 0,
- "customerId": 0,
- "delete": true
}
], - "customObjects": [
- {
- "id": 0,
- "delete": true
}
]
}{- "id": 0,
- "name": "string",
- "amount": 0,
- "closingLeadtime": 0,
- "fromEmail": true,
- "memo": "string",
- "expectedContractDate": "2019-08-24",
- "reason": "string",
- "totalCost": "string",
- "totalProfit": "string",
- "dealType": {
- "id": 0,
- "name": "string"
}, - "customer": {
- "id": 0,
- "name": "string"
}, - "phase": {
- "id": 0,
- "name": "string",
- "status": 0
}, - "product": {
- "id": 0,
- "name": "string"
}, - "probability": {
- "id": 0,
- "name": "string"
}, - "channel": {
- "id": 0,
- "name": "string"
}, - "user": {
- "id": 0,
- "name": "string"
}, - "endPhaseReasons": [
- {
- "id": 0,
- "name": "string"
}
], - "phaseStayDays": [
- {
- "id": 0,
- "name": "string",
- "stayDays": 0,
- "isCurrentPhase": true
}
], - "dealProductDetails": [
- {
- "id": 0,
- "dealProductDetailTypeId": 0,
- "name": "string",
- "billingType": {
- "id": 0,
- "name": "string"
}, - "quantity": 0,
- "unit": "string",
- "price": 0,
- "unitCost": 0,
- "term": 0,
- "subtotal": 0,
- "subtotalCost": 0,
- "subtotalProfit": 0,
- "firstSales": "2019-08-24T14:15:22Z",
- "memo": "string",
- "dealProductDetailCustoms": {
- "property1": {
- "id": 0,
- "dealProductDetailTypeCustomItemId": 0,
- "itemType": 0,
- "name": "string",
- "text": "string",
- "datetime": "2019-08-24T14:15:22Z",
- "decimalNumber": 0,
- "selectedOption": {
- "label": "string",
- "dealProductDetailTypeCustomItemOptionId": 0
}, - "selectedOptions": [
- {
- "id": 0,
- "label": "string",
- "dealProductDetailTypeCustomItemOptionId": 0
}
]
}, - "property2": {
- "id": 0,
- "dealProductDetailTypeCustomItemId": 0,
- "itemType": 0,
- "name": "string",
- "text": "string",
- "datetime": "2019-08-24T14:15:22Z",
- "decimalNumber": 0,
- "selectedOption": {
- "label": "string",
- "dealProductDetailTypeCustomItemOptionId": 0
}, - "selectedOptions": [
- {
- "id": 0,
- "label": "string",
- "dealProductDetailTypeCustomItemOptionId": 0
}
]
}
}
}
], - "dealCustomerTypes": [
- {
- "dealCustomerType": {
- "id": 0,
- "name": "string"
}, - "customers": [
- {
- "id": 0,
- "name": "string"
}
]
}
], - "dealCustoms": [
- {
- "id": 0,
- "dealCustomItemId": 0,
- "itemKey": "string",
- "itemType": "string",
- "name": "string",
- "text": "string",
- "datetime": "2019-08-24T14:15:22Z",
- "number": 0,
- "url": "string",
- "decimalNumber": "string",
- "selectedOption": {
- "label": "string",
- "dealCustomItemOptionId": 0
}, - "selectedOptions": [
- {
- "id": 0,
- "label": "string",
- "dealCustomItemOptionId": 0
}
], - "selectedUsers": [
- {
- "id": 0,
- "name": "string",
- "email": "string"
}
]
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}案件を一括登録します(v1同様の同期実行)。
dealTypeId で指定します| dealTypeId required | integer 案件タイプID |
required | Array of objects (DealBulkCreateItem) 登録する案件の配列(最大1000件) |
{- "deals": [
- {
- "name": "string",
- "amount": 0,
- "expectedContractDate": "2019-08-24",
- "reason": "string",
- "customer": {
- "id": 0
}, - "phase": {
- "id": 0
}, - "product": {
- "id": 0
}, - "probability": {
- "id": 0
}, - "channel": {
- "id": 0
}, - "user": {
- "id": 0
}, - "endPhaseReasonIds": [
- 0
], - "dealLimitedSharingUserIds": [
- 0
], - "dealCustoms": [
- {
- "dealCustomItemId": 0,
- "itemKey": "string",
- "value": "string"
}
], - "dealProductDetails": [
- {
- "dealProductDetailTypeId": 0,
- "billingType": {
- "key": "string"
}, - "price": 0,
- "quantity": 0,
- "term": 0,
- "firstSales": "2019-08-24",
- "memo": "string",
- "unitCost": 0,
- "dealProductDetailCustoms": [
- {
- "dealProductDetailTypeCustomItemId": 0,
- "dealProductDetailTypeCustomItemOptionId": 0,
- "text": "string",
- "datetime": "2019-08-24T14:15:22Z",
- "decimalNumber": "string",
- "value": null,
- "dealProductDetailCustomDetails": [
- 0
]
}
]
}
], - "dealCustomers": [
- {
- "dealCustomerTypeId": 0,
- "customerId": 0
}
]
}
]
}[- 0
]案件を一括更新します(v1同様の同期実行)。
dealTypeId で指定しますid で既存レコードを特定し、送信したフィールドのみ更新します(部分更新)deals)とスキップした案件(skippedDeals)を返しますskippedDeals に含まれます(PAT のみ対象・TAT はロック無視)| dealTypeId required | integer 案件タイプID |
required | Array of objects (DealBulkUpdateItem) 更新する案件の配列(最大1000件) |
{- "deals": [
- {
- "id": 0,
- "name": "string",
- "amount": 0,
- "expectedContractDate": "2019-08-24",
- "reason": "string",
- "customer": {
- "id": 0
}, - "phase": {
- "id": 0
}, - "product": {
- "id": 0
}, - "probability": {
- "id": 0
}, - "channel": {
- "id": 0
}, - "user": {
- "id": 0
}, - "endPhaseReasonIds": [
- 0
], - "dealLimitedSharingUserIds": [
- 0
], - "dealCustoms": [
- {
- "id": 0,
- "dealCustomItemId": 0,
- "itemKey": "string",
- "value": "string"
}
], - "dealProductDetails": [
- {
- "id": 0,
- "deleted": true,
- "dealProductDetailTypeId": 0,
- "billingType": {
- "key": "string"
}, - "price": 0,
- "quantity": 0,
- "term": 0,
- "firstSales": "2019-08-24",
- "memo": "string",
- "unitCost": 0,
- "dealProductDetailCustoms": [
- {
- "dealProductDetailTypeCustomItemId": 0,
- "dealProductDetailTypeCustomItemOptionId": 0,
- "text": "string",
- "datetime": "2019-08-24T14:15:22Z",
- "decimalNumber": "string",
- "value": null,
- "dealProductDetailCustomDetails": [
- 0
]
}
]
}
], - "dealCustomers": [
- {
- "dealCustomerTypeId": 0,
- "customerId": 0,
- "delete": true
}
]
}
]
}{- "deals": [
- {
- "id": 0,
- "name": "string",
- "amount": 0,
- "closingLeadtime": 0,
- "fromEmail": true,
- "memo": "string",
- "expectedContractDate": "2019-08-24",
- "reason": "string",
- "totalCost": "string",
- "totalProfit": "string",
- "dealType": {
- "id": 0,
- "name": "string"
}, - "customer": {
- "id": 0,
- "name": "string"
}, - "phase": {
- "id": 0,
- "name": "string",
- "status": 0
}, - "product": {
- "id": 0,
- "name": "string"
}, - "probability": {
- "id": 0,
- "name": "string"
}, - "channel": {
- "id": 0,
- "name": "string"
}, - "user": {
- "id": 0,
- "name": "string"
}, - "endPhaseReasons": [
- {
- "id": 0,
- "name": "string"
}
], - "phaseStayDays": [
- {
- "id": 0,
- "name": "string",
- "stayDays": 0,
- "isCurrentPhase": true
}
], - "dealProductDetails": [
- {
- "id": 0,
- "dealProductDetailTypeId": 0,
- "name": "string",
- "billingType": {
- "id": 0,
- "name": "string"
}, - "quantity": 0,
- "unit": "string",
- "price": 0,
- "unitCost": 0,
- "term": 0,
- "subtotal": 0,
- "subtotalCost": 0,
- "subtotalProfit": 0,
- "firstSales": "2019-08-24T14:15:22Z",
- "memo": "string",
- "dealProductDetailCustoms": {
- "property1": {
- "id": 0,
- "dealProductDetailTypeCustomItemId": 0,
- "itemType": 0,
- "name": "string",
- "text": "string",
- "datetime": "2019-08-24T14:15:22Z",
- "decimalNumber": 0,
- "selectedOption": {
- "label": "string",
- "dealProductDetailTypeCustomItemOptionId": 0
}, - "selectedOptions": [
- {
- "id": 0,
- "label": "string",
- "dealProductDetailTypeCustomItemOptionId": 0
}
]
}, - "property2": {
- "id": 0,
- "dealProductDetailTypeCustomItemId": 0,
- "itemType": 0,
- "name": "string",
- "text": "string",
- "datetime": "2019-08-24T14:15:22Z",
- "decimalNumber": 0,
- "selectedOption": {
- "label": "string",
- "dealProductDetailTypeCustomItemOptionId": 0
}, - "selectedOptions": [
- {
- "id": 0,
- "label": "string",
- "dealProductDetailTypeCustomItemOptionId": 0
}
]
}
}
}
], - "dealCustomerTypes": [
- {
- "dealCustomerType": {
- "id": 0,
- "name": "string"
}, - "customers": [
- {
- "id": 0,
- "name": "string"
}
]
}
], - "dealCustoms": [
- {
- "id": 0,
- "dealCustomItemId": 0,
- "itemKey": "string",
- "itemType": "string",
- "name": "string",
- "text": "string",
- "datetime": "2019-08-24T14:15:22Z",
- "number": 0,
- "url": "string",
- "decimalNumber": "string",
- "selectedOption": {
- "label": "string",
- "dealCustomItemOptionId": 0
}, - "selectedOptions": [
- {
- "id": 0,
- "label": "string",
- "dealCustomItemOptionId": 0
}
], - "selectedUsers": [
- {
- "id": 0,
- "name": "string",
- "email": "string"
}
]
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "skippedDeals": [
- {
- "index": 0,
- "id": 0,
- "reason": "DEAL_LOCKED"
}
]
}指定した案件に紐づくコンタクト一覧をv1同様のページ方式で取得します。
contacts キー ({ contacts, totalCount, page })| deal_id required | integer 案件ID |
| page | integer >= 1 Default: 1 ページ番号(1始まり)。未指定時は1ページ目 |
{- "contacts": [
- {
- "id": 0,
- "name": "string",
- "email": "string",
- "tel": "string",
- "mobileTel": "string",
- "address": "string",
- "dept": "string",
- "position": "string",
- "memo": "string",
- "marketoLeadScore": 0,
- "customer": {
- "id": 0,
- "name": "string"
}, - "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "contactCustoms": [
- {
- "id": 0,
- "contactCustomItemId": 0,
- "itemKey": "string",
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "selectedValue": 0,
- "selectedOption": {
- "label": "string",
- "contactCustomItemOptionId": 0
}, - "selectedValues": [
- 0
], - "selectedOptions": [
- {
- "id": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
], - "selectedUsers": [
- {
- "id": 0,
- "name": "string",
- "email": "string"
}
]
}
], - "lifecycleStages": [
- {
- "lifecycleStageTypeId": 0,
- "id": 0,
- "name": "string"
}
]
}
], - "totalCount": 0,
- "page": 0
}指定した案件からコンタクトの紐付けを削除します。
| deal_id required | integer 案件ID |
| contact_id required | integer コンタクトID |
{- "error": "The access token is invalid."
}案件アクション一覧をカーソルページネーション形式で取得します。
actions キーの配列を含む構造({ actions, hasMore, nextCursor, totalCount })| limit | integer [ 1 .. 1000 ] Default: 100 取得件数(1〜1000、デフォルト100) |
| cursor | string 次ページ取得用カーソル。前回レスポンスの nextCursor をそのまま指定する |
| sort | string Default: "-startDatetime" Enum: "startDatetime" "-startDatetime" "start_datetime" "-start_datetime" ソート順。 |
| startDatetime | string <date-time> 開始日時の下限フィルタ(以降) |
| endDatetime | string <date-time> 終了日時の上限フィルタ(以前) |
| createdAtFrom | string <date-time> 作成日時の下限フィルタ(以降) |
| createdAtTo | string <date-time> 作成日時の上限フィルタ(以前) |
| updatedAtFrom | string <date-time> 更新日時の下限フィルタ(以降) |
| updatedAtTo | string <date-time> 更新日時の上限フィルタ(以前) |
| users[][id] | Array of integers 担当者IDによる絞り込み(複数指定可) |
| purpose | integer 目的IDによる絞り込み |
| active | string Enum: "true" "false" ステータスによる絞り込み |
| dealId | integer 案件IDによる絞り込み |
{- "actions": [
- {
- "id": 0,
- "startDatetime": "2019-08-24T14:15:22Z",
- "endDatetime": "2019-08-24T14:15:22Z",
- "active": true,
- "syncCalendar": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "preNote": "string",
- "result": "string",
- "extraResult": "string",
- "pattern": {
- "id": 0,
- "name": "string"
}, - "creator": {
- "id": 0,
- "name": "string"
}, - "invitees": [
- {
- "id": 0,
- "name": "string"
}
], - "deal": {
- "id": 0,
- "name": "string"
}, - "purpose": {
- "id": 0,
- "name": "string"
}, - "contacts": [
- {
- "id": 0,
- "name": "string",
- "email": "string",
- "tel": "string",
- "mobileTel": "string",
- "address": "string",
- "dept": "string",
- "position": "string",
- "memo": "string",
- "marketoLeadScore": 0,
- "customer": {
- "id": 0,
- "name": "string"
}, - "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "contactCustoms": [
- {
- "id": 0,
- "contactCustomItemId": 0,
- "itemKey": "string",
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "selectedValue": 0,
- "selectedOption": {
- "label": "string",
- "contactCustomItemOptionId": 0
}, - "selectedValues": [
- 0
], - "selectedOptions": [
- {
- "id": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
], - "selectedUsers": [
- {
- "id": 0,
- "name": "string",
- "email": "string"
}
]
}
], - "lifecycleStages": [
- {
- "lifecycleStageTypeId": 0,
- "id": 0,
- "name": "string"
}
]
}
], - "actionCustoms": [
- {
- "id": 0,
- "actionCustomItemId": 0,
- "itemType": "string",
- "name": "string",
- "text": "string",
- "datetime": "2019-08-24T14:15:22Z",
- "url": "string",
- "decimalNumber": "string",
- "selectedValue": 0,
- "selectedOption": {
- "actionCustomItemOptionId": 0,
- "label": "string",
- "value": 0
}, - "selectedValues": [
- 0
], - "selectedOptions": [
- {
- "id": 0,
- "actionCustomItemOptionId": 0,
- "label": "string",
- "value": 0
}
], - "selectedLabels": [
- "string"
]
}
]
}
], - "hasMore": true,
- "nextCursor": "string",
- "totalCount": 0
}案件アクションを新規登録します。
purpose、startDatetime、endDatetime、creator、deal は必須required | object アクションの目的 |
| startDatetime required | string <date-time> 開始日時 |
| endDatetime required | string <date-time> 終了日時 |
required | object アクション担当者ID |
required | object 案件ID |
Array of objects 他の担当者 | |
Array of objects アクションコンタクト | |
| preNote | string or null アクションの事前メモ |
| result | string or null アクションの実施結果 |
| active | boolean アクションの状態(true=未完了、false=完了) |
Array of objects アクション詳細項目一覧 |
{- "purpose": {
- "id": 0
}, - "startDatetime": "2019-08-24T14:15:22Z",
- "endDatetime": "2019-08-24T14:15:22Z",
- "creator": {
- "id": 0
}, - "deal": {
- "id": 0
}, - "invitees": [
- {
- "id": 0
}
], - "contacts": [
- {
- "id": 0
}
], - "preNote": "string",
- "result": "string",
- "active": true,
- "actionCustoms": [
- {
- "itemKey": "string",
- "value": null
}
]
}{- "id": 0,
- "startDatetime": "2019-08-24T14:15:22Z",
- "endDatetime": "2019-08-24T14:15:22Z",
- "active": true,
- "syncCalendar": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "preNote": "string",
- "result": "string",
- "extraResult": "string",
- "pattern": {
- "id": 0,
- "name": "string"
}, - "creator": {
- "id": 0,
- "name": "string"
}, - "invitees": [
- {
- "id": 0,
- "name": "string"
}
], - "deal": {
- "id": 0,
- "name": "string"
}, - "purpose": {
- "id": 0,
- "name": "string"
}, - "contacts": [
- {
- "id": 0,
- "name": "string",
- "email": "string",
- "tel": "string",
- "mobileTel": "string",
- "address": "string",
- "dept": "string",
- "position": "string",
- "memo": "string",
- "marketoLeadScore": 0,
- "customer": {
- "id": 0,
- "name": "string"
}, - "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "contactCustoms": [
- {
- "id": 0,
- "contactCustomItemId": 0,
- "itemKey": "string",
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "selectedValue": 0,
- "selectedOption": {
- "label": "string",
- "contactCustomItemOptionId": 0
}, - "selectedValues": [
- 0
], - "selectedOptions": [
- {
- "id": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
], - "selectedUsers": [
- {
- "id": 0,
- "name": "string",
- "email": "string"
}
]
}
], - "lifecycleStages": [
- {
- "lifecycleStageTypeId": 0,
- "id": 0,
- "name": "string"
}
]
}
], - "actionCustoms": [
- {
- "id": 0,
- "actionCustomItemId": 0,
- "itemType": "string",
- "name": "string",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "url": "string",
- "decimalNumber": "1234.56",
- "selectedOption": {
- "actionCustomItemOptionId": 0,
- "label": "string"
}, - "selectedOptions": [
- {
- "id": 0,
- "actionCustomItemOptionId": 0,
- "label": "string"
}
], - "selectedLabels": [
- "string"
]
}
]
}案件アクション詳細を取得します。
include_files=1 を指定するとファイル添付情報(files)を含みます| id required | integer アクションID |
| include_files | string Default: "0" Enum: "0" "1"
|
{- "files": [
- {
- "name": "string",
- "mimeType": "string",
- "url": "string"
}
], - "id": 0,
- "startDatetime": "2019-08-24T14:15:22Z",
- "endDatetime": "2019-08-24T14:15:22Z",
- "active": true,
- "syncCalendar": true,
- "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "preNote": "string",
- "result": "string",
- "extraResult": "外部サービスなどから取り込んだ,\nアクションの実施結果",
- "pattern": {
- "id": 0,
- "name": "string"
}, - "creator": {
- "id": 0,
- "name": "string"
}, - "invitees": [
- {
- "id": 0,
- "name": "string"
}
], - "deal": {
- "id": 0,
- "name": "string"
}, - "purpose": {
- "id": 0,
- "name": "string"
}, - "contacts": [
- {
- "id": 0,
- "name": "string",
- "email": "string",
- "tel": "string",
- "mobileTel": "string",
- "address": "string",
- "dept": "string",
- "position": "string",
- "memo": "string",
- "marketoLeadScore": 0,
- "customer": {
- "id": 0,
- "name": "string"
}, - "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "contactCustoms": [
- {
- "id": 0,
- "contactCustomItemId": 0,
- "itemKey": "string",
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "selectedValue": 0,
- "selectedOption": {
- "label": "string",
- "contactCustomItemOptionId": 0
}, - "selectedValues": [
- 0
], - "selectedOptions": [
- {
- "id": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
], - "selectedUsers": [
- {
- "id": 0,
- "name": "string",
- "email": "string"
}
]
}
], - "lifecycleStages": [
- {
- "lifecycleStageTypeId": 0,
- "id": 0,
- "name": "string"
}
]
}
], - "actionCustoms": [
- {
- "id": 0,
- "actionCustomItemId": 0,
- "itemType": "string",
- "name": "string",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "url": "string",
- "decimalNumber": "1234.56",
- "selectedOption": {
- "actionCustomItemOptionId": 0,
- "label": "string"
}, - "selectedOptions": [
- {
- "id": 0,
- "actionCustomItemOptionId": 0,
- "label": "string"
}
], - "selectedLabels": [
- "string"
]
}
]
}案件アクションを更新します。
invitees を指定した場合は全量置き換えになります| id required | integer アクションID |
object アクションの目的 | |
| startDatetime | string <date-time> 開始日時 |
| endDatetime | string <date-time> 終了日時 |
object アクション担当者ID | |
| preNote | string or null アクションの事前メモ |
| result | string or null アクションの実施結果 |
| active | boolean アクションの状態(true=未完了、false=完了) |
Array of objects 他の担当者 | |
Array of objects アクションコンタクト | |
Array of objects アクション詳細項目一覧 |
{- "purpose": {
- "id": 0
}, - "startDatetime": "2019-08-24T14:15:22Z",
- "endDatetime": "2019-08-24T14:15:22Z",
- "creator": {
- "id": 0
}, - "preNote": "string",
- "result": "string",
- "active": true,
- "invitees": [
- {
- "id": 0
}
], - "contacts": [
- {
- "id": 0
}
], - "actionCustoms": [
- {
- "itemKey": "string",
- "value": null
}
]
}{- "id": 0,
- "startDatetime": "2019-08-24T14:15:22Z",
- "endDatetime": "2019-08-24T14:15:22Z",
- "active": true,
- "syncCalendar": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "preNote": "string",
- "result": "string",
- "extraResult": "string",
- "pattern": {
- "id": 0,
- "name": "string"
}, - "creator": {
- "id": 0,
- "name": "string"
}, - "invitees": [
- {
- "id": 0,
- "name": "string"
}
], - "deal": {
- "id": 0,
- "name": "string"
}, - "purpose": {
- "id": 0,
- "name": "string"
}, - "contacts": [
- {
- "id": 0,
- "name": "string",
- "email": "string",
- "tel": "string",
- "mobileTel": "string",
- "address": "string",
- "dept": "string",
- "position": "string",
- "memo": "string",
- "marketoLeadScore": 0,
- "customer": {
- "id": 0,
- "name": "string"
}, - "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "contactCustoms": [
- {
- "id": 0,
- "contactCustomItemId": 0,
- "itemKey": "string",
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "selectedValue": 0,
- "selectedOption": {
- "label": "string",
- "contactCustomItemOptionId": 0
}, - "selectedValues": [
- 0
], - "selectedOptions": [
- {
- "id": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
], - "selectedUsers": [
- {
- "id": 0,
- "name": "string",
- "email": "string"
}
]
}
], - "lifecycleStages": [
- {
- "lifecycleStageTypeId": 0,
- "id": 0,
- "name": "string"
}
]
}
], - "actionCustoms": [
- {
- "id": 0,
- "actionCustomItemId": 0,
- "itemType": "string",
- "name": "string",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "url": "string",
- "decimalNumber": "1234.56",
- "selectedOption": {
- "actionCustomItemOptionId": 0,
- "label": "string"
}, - "selectedOptions": [
- {
- "id": 0,
- "actionCustomItemOptionId": 0,
- "label": "string"
}
], - "selectedLabels": [
- "string"
]
}
]
}案件アクションを一括登録します(v1同様の同期実行)。
| dealTypeId required | integer 案件タイプID |
required | Array of objects 登録するアクションの配列 |
{- "dealTypeId": 0,
- "actions": [
- {
- "deal": {
- "id": 0
}, - "purpose": {
- "id": 0
}, - "startDatetime": "2019-08-24T14:15:22Z",
- "endDatetime": "2019-08-24T14:15:22Z",
- "creator": {
- "id": 0
}, - "invitees": [
- {
- "id": 0
}
], - "contacts": [
- {
- "id": 0
}
], - "preNote": "string",
- "result": "string",
- "active": true,
- "actionCustoms": [
- {
- "itemKey": "string",
- "value": null
}
]
}
]
}[- 0
]コンタクト一覧をカーソルページネーション形式で取得します。
contacts キーの配列 ({ contacts, hasMore, nextCursor, totalCount })GET /api/v1/contacts と互換のあるフィルタを、v2 形式で提供します| limit | integer [ 1 .. 1000 ] Default: 100 取得件数(1〜1000、デフォルト100) |
| cursor | string 次ページ取得用カーソル。前回レスポンスの nextCursor をそのまま指定する |
| searchWord | string 指定した文字列と取引先名、コンタクト名、またはメールアドレスが部分一致するコンタクトを検索します。 |
| updatedAtFrom | string <date-time> Example: updatedAtFrom=2018-04-01T10:30:00 更新日時による検索範囲(開始)
|
| updatedAtTo | string <date-time> Example: updatedAtTo=2018-04-01T10:30:00 更新日時による検索範囲(終了)
|
| phoneNumber | string Example: phoneNumber=03-1111-2222 固定電話番号、携帯電話番号による検索
|
| sort | string Default: "-updated_at" Enum: "updated_at" "-updated_at" "created_at" "-created_at" "updatedAt" "-updatedAt" "createdAt" "-createdAt" 並び順
ソート可能 |
| itemKeyAsPropertyKey | string Enum: "true" "false" true の場合 contactCustoms を item_key をキーにしたオブジェクト形式で返す |
{- "contacts": [
- {
- "id": 0,
- "name": "string",
- "email": "string",
- "tel": "string",
- "mobileTel": "string",
- "address": "string",
- "dept": "string",
- "position": "string",
- "memo": "string",
- "marketoLeadScore": 0,
- "customer": {
- "id": 0,
- "name": "string"
}, - "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "contactCustoms": [
- {
- "id": 0,
- "contactCustomItemId": 0,
- "itemKey": "string",
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "selectedValue": 0,
- "selectedOption": {
- "label": "string",
- "contactCustomItemOptionId": 0
}, - "selectedValues": [
- 0
], - "selectedOptions": [
- {
- "id": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
], - "selectedUsers": [
- {
- "id": 0,
- "name": "string",
- "email": "string"
}
]
}
], - "lifecycleStages": [
- {
- "lifecycleStageTypeId": 0,
- "id": 0,
- "name": "string"
}
]
}
], - "hasMore": true,
- "nextCursor": "string",
- "totalCount": 0
}contactCustoms を常時含みます(compactCustoms相当。v2はnoCustoms/compactCustoms指定不可)| name required | string コンタクト名 |
string or null メールアドレス | |
| tel | string or null 電話番号 |
| mobileTel | string or null 携帯電話番号 |
| address | string or null 住所 |
| dept | string or null 部署 |
| position | string or null 役職 |
| memo | string or null メモ |
object or null 取引先 | |
Array of objects コンタクト詳細項目 | |
Array of objects ライフサイクルステージ | |
Array of objects 関連付けカスタムオブジェクト
|
{- "name": "string",
- "email": "string",
- "tel": "string",
- "mobileTel": "string",
- "address": "string",
- "dept": "string",
- "position": "string",
- "memo": "string",
- "customer": {
- "id": 0
}, - "contactCustoms": [
- {
- "contactCustomItemId": 0,
- "itemKey": "string",
- "value": "string"
}
], - "lifecycleStages": [
- {
- "lifecycleStageTypeId": 0,
- "id": 0,
- "name": "string"
}
], - "customObjects": [
- {
- "id": 0,
- "delete": true
}
]
}{- "id": 0,
- "name": "string",
- "email": "string",
- "tel": "string",
- "mobileTel": "string",
- "address": "string",
- "dept": "string",
- "position": "string",
- "memo": "string",
- "marketoLeadScore": 0,
- "customer": {
- "id": 0,
- "name": "string"
}, - "contactCustoms": [
- {
- "id": 0,
- "contactCustomItemId": 0,
- "itemKey": "string",
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "selectedValue": 0,
- "selectedOption": {
- "label": "string",
- "contactCustomItemOptionId": 0
}, - "selectedValues": [
- 0
], - "selectedOptions": [
- {
- "id": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
], - "selectedUsers": [
- {
- "id": 0,
- "name": "string",
- "email": "string"
}
]
}
], - "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00"
}コンタクト情報を検索します。
field の reference (参照先関連オブジェクト) として以下を指定できます。{ contacts, hasMore, nextCursor, totalCount })contactCustoms は常時返却(compactCustoms=true相当で型別フィールドのみ。noCustoms/compactCustomsのクライアント指定は不可)sort で指定できます(例: name / updated_at / created_at)。省略時は updated_at 降順(id 昇順タイブレーク)| limit | integer [ 1 .. 1000 ] Default: 100 取得件数(1〜1000、デフォルト100) |
| cursor | string 次ページ取得用カーソル。前回レスポンスの nextCursor をそのまま指定する |
required | object (ContactSearchFilter) 絞り込み条件
|
object (ContactSearchSort) 並び順。省略時は updated_at 降順(id 昇順タイブレーク)。 項目値が NULL のレコードは、昇順では先頭・降順では末尾に並びます。 |
{- "filter": {
- "compositeFilter": {
- "logicalOperator": "AND",
- "subFilters": [
- {
- "compositeFilter": { },
- "valueFilter": {
- "field": {
- "reference": "string",
- "name": "string",
- "customItemId": 0,
- "itemKey": "string"
}, - "comparisonOperator": "=",
- "value": {
- "stringValue": "string",
- "integerValue": 0,
- "decimalValue": 0.1,
- "datetimeValue": "2018-04-01T10:30:00"
}
}
}
]
}
}, - "sort": {
- "field": {
- "name": "updated_at"
}, - "order": "ASC"
}
}{- "contacts": [
- {
- "id": 0,
- "name": "string",
- "email": "string",
- "tel": "string",
- "mobileTel": "string",
- "address": "string",
- "dept": "string",
- "position": "string",
- "memo": "string",
- "marketoLeadScore": 0,
- "customer": {
- "id": 0,
- "name": "string"
}, - "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "contactCustoms": [
- {
- "id": 0,
- "contactCustomItemId": 0,
- "itemKey": "string",
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "selectedValue": 0,
- "selectedOption": {
- "label": "string",
- "contactCustomItemOptionId": 0
}, - "selectedValues": [
- 0
], - "selectedOptions": [
- {
- "id": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
], - "selectedUsers": [
- {
- "id": 0,
- "name": "string",
- "email": "string"
}
]
}
], - "lifecycleStages": [
- {
- "lifecycleStageTypeId": 0,
- "id": 0,
- "name": "string"
}
]
}
], - "hasMore": true,
- "nextCursor": "string",
- "totalCount": 0
}コンタクト詳細を取得します。
include_related_objects=1 を指定するとカスタムオブジェクト連携情報(customObjects)を含みます| id required | integer コンタクトID |
| itemKeyAsPropertyKey | string Enum: "true" "false" true の場合 contactCustoms を item_key をキーにしたオブジェクト形式で返す |
| include_related_objects | integer Default: 0 1 を指定すると、関連付けオブジェクトの情報を含めて返します。 |
{- "id": 0,
- "name": "string",
- "email": "string",
- "tel": "string",
- "mobileTel": "string",
- "address": "string",
- "dept": "string",
- "position": "string",
- "memo": "string",
- "marketoLeadScore": 0,
- "customer": {
- "id": 0,
- "name": "string"
}, - "lifecycleStages": [
- {
- "lifecycleStageTypeId": 0,
- "id": 0,
- "name": "string"
}
], - "contactCustoms": [
- {
- "id": 0,
- "contactCustomItemId": 0,
- "itemKey": "string",
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "selectedValue": 0,
- "selectedOption": {
- "label": "string",
- "contactCustomItemOptionId": 0
}, - "selectedValues": [
- 0
], - "selectedOptions": [
- {
- "id": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
], - "selectedUsers": [
- {
- "id": 0,
- "name": "string",
- "email": "string"
}
]
}
], - "customObjects": [
- {
- "id": 0,
- "customObjectDefKey": "string"
}
], - "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00"
}contactCustoms を常時含みます(compactCustoms相当。v2はnoCustoms/compactCustoms指定不可)data ラップなし)。contactCustoms(詳細項目)も常時含めて返却します| id required | integer コンタクトID |
| name | string コンタクト名 |
string or null メールアドレス | |
| tel | string or null 電話番号 |
| mobileTel | string or null 携帯電話番号 |
| address | string or null 住所 |
| dept | string or null 部署 |
| position | string or null 役職 |
| memo | string or null メモ |
object or null 取引先 | |
Array of objects コンタクト詳細項目 | |
Array of objects ライフサイクルステージ | |
Array of objects 関連付けカスタムオブジェクト
|
{- "name": "string",
- "email": "string",
- "tel": "string",
- "mobileTel": "string",
- "address": "string",
- "dept": "string",
- "position": "string",
- "memo": "string",
- "customer": {
- "id": 0
}, - "contactCustoms": [
- {
- "contactCustomItemId": 0,
- "itemKey": "string",
- "value": "string"
}
], - "lifecycleStages": [
- {
- "lifecycleStageTypeId": 0,
- "id": 0,
- "name": "string"
}
], - "customObjects": [
- {
- "id": 0,
- "delete": true
}
]
}{- "id": 0,
- "name": "string",
- "email": "string",
- "tel": "string",
- "mobileTel": "string",
- "address": "string",
- "dept": "string",
- "position": "string",
- "memo": "string",
- "marketoLeadScore": 0,
- "customer": {
- "id": 0,
- "name": "string"
}, - "contactCustoms": [
- {
- "id": 0,
- "contactCustomItemId": 0,
- "itemKey": "string",
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "selectedValue": 0,
- "selectedOption": {
- "label": "string",
- "contactCustomItemOptionId": 0
}, - "selectedValues": [
- 0
], - "selectedOptions": [
- {
- "id": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
], - "selectedUsers": [
- {
- "id": 0,
- "name": "string",
- "email": "string"
}
]
}
], - "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00"
}指定したコンタクトに紐づくアクション一覧をカーソルページネーション形式で取得します。
actions キーの配列を含む構造({ actions, hasMore, nextCursor, totalCount })dataType 未指定時はコンタクトアクション(1)・案件アクション(0)の両方を返します| contact_id required | integer コンタクトID |
| limit | integer [ 1 .. 1000 ] Default: 100 取得件数(1〜1000、デフォルト100) |
| cursor | string 次ページ取得用カーソル。前回レスポンスの nextCursor をそのまま指定する |
| sort | string Default: "-startDatetime" Enum: "startDatetime" "-startDatetime" "start_datetime" "-start_datetime" ソート順。 |
| dataType | integer Enum: 0 1 アクション種別での絞り込み( |
| startDatetime | string <date-time> Example: startDatetime=2018-04-01T10:30:00+09:00 開始日時の下限フィルタ(以降)。タイムゾーンを明示すること(省略時はUTCとして解釈される) |
| endDatetime | string <date-time> Example: endDatetime=2018-04-01T10:30:00+09:00 終了日時の上限フィルタ(以前)。タイムゾーンを明示すること(省略時はUTCとして解釈される) |
| createdAtFrom | string <date-time> Example: createdAtFrom=2018-04-01T10:30:00+09:00 作成日時の下限フィルタ(以降)。タイムゾーンを明示すること(省略時はUTCとして解釈される) |
| createdAtTo | string <date-time> Example: createdAtTo=2018-04-01T10:30:00+09:00 作成日時の上限フィルタ(以前)。タイムゾーンを明示すること(省略時はUTCとして解釈される) |
| updatedAtFrom | string <date-time> Example: updatedAtFrom=2018-04-01T10:30:00+09:00 更新日時の下限フィルタ(以降)。タイムゾーンを明示すること(省略時はUTCとして解釈される) |
| updatedAtTo | string <date-time> Example: updatedAtTo=2018-04-01T10:30:00+09:00 更新日時の上限フィルタ(以前)。タイムゾーンを明示すること(省略時はUTCとして解釈される) |
| users[][id] | Array of integers 担当者IDによる絞り込み(複数指定可) |
| pattern | integer アクションパターンによる絞り込み |
| active | string Enum: "true" "false" ステータスによる絞り込み |
{- "actions": [
- {
- "id": 0,
- "dataType": 0,
- "startDatetime": "2019-08-24T14:15:22Z",
- "endDatetime": "2019-08-24T14:15:22Z",
- "active": true,
- "syncCalendar": true,
- "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "preNote": "string",
- "result": "string",
- "extraResult": "string",
- "pattern": {
- "id": 0,
- "name": "string"
}, - "creator": {
- "id": 0,
- "name": "string"
}, - "invitees": [
- {
- "id": 0,
- "name": "string"
}
], - "contact": {
- "id": 0,
- "name": "string"
}, - "deal": {
- "id": 0,
- "name": "string"
}, - "actionCustoms": [
- {
- "id": 0,
- "actionCustomItemId": 0,
- "itemType": "string",
- "name": "string",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "url": "string",
- "decimalNumber": "1234.56",
- "selectedOption": {
- "actionCustomItemOptionId": 0,
- "label": "string"
}, - "selectedOptions": [
- {
- "id": 0,
- "actionCustomItemOptionId": 0,
- "label": "string"
}
], - "selectedLabels": [
- "string"
]
}
]
}
], - "hasMore": true,
- "nextCursor": "string",
- "totalCount": 0
}コンタクトアクションを登録します。
pattern / startDatetime / endDatetime / creator は必須ですactionCustoms(アクション詳細)を常に含めます+09:00) で返します| contact_id required | integer コンタクトID |
| startDatetime required | string <date-time> 開始日時 |
| endDatetime required | string <date-time> 終了日時 |
required | object アクション担当者ID |
Array of objects 他の担当者 | |
| preNote | string アクションの事前メモ |
| result | string アクションの実施結果 |
| active | boolean アクションの状態(true=未完了、false=完了) |
required | object |
Array of objects アクション詳細項目一覧 | |
Array of objects アクションに紐付ける他のコンタクト |
{- "startDatetime": "2018-04-01T10:30:00+09:00",
- "endDatetime": "2018-04-01T10:30:00+09:00",
- "creator": {
- "id": 0
}, - "invitees": [
- {
- "id": 0
}
], - "preNote": "string",
- "result": "string",
- "active": true,
- "pattern": {
- "id": 0
}, - "actionCustoms": [
- {
- "itemKey": "string",
- "value": "string"
}
], - "contacts": [
- {
- "id": 0
}
]
}{- "id": 0,
- "dataType": 0,
- "startDatetime": "2019-08-24T14:15:22Z",
- "endDatetime": "2019-08-24T14:15:22Z",
- "active": true,
- "syncCalendar": true,
- "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "preNote": "string",
- "result": "string",
- "extraResult": "外部サービスなどから取り込んだ,\nアクションの実施結果",
- "pattern": {
- "id": 0,
- "name": "string"
}, - "creator": {
- "id": 0,
- "name": "string"
}, - "invitees": [
- {
- "id": 0,
- "name": "string"
}
], - "contact": {
- "id": 0,
- "name": "string"
}, - "deal": {
- "id": 0,
- "name": "string"
}, - "actionCustoms": [
- {
- "id": 0,
- "actionCustomItemId": 0,
- "itemType": "string",
- "name": "string",
- "value": "string",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "url": "string",
- "decimalNumber": "1234.56",
- "selectedValue": 1,
- "selectedOption": {
- "actionCustomItemOptionId": 0,
- "label": "string",
- "value": 0
}, - "selectedValues": [
- 1,
- 2,
- 3
], - "selectedOptions": [
- {
- "id": 0,
- "actionCustomItemOptionId": 0,
- "label": "string",
- "value": 0
}
]
}
]
}コンタクトアクション詳細を取得します。
include_files=1 を指定するとファイル添付情報(files)を含みます| contact_id required | integer コンタクトID |
| id required | integer アクションID |
| include_files | string Default: "0" Enum: "0" "1"
|
{- "files": [
- {
- "name": "string",
- "mimeType": "string",
- "url": "string"
}
], - "id": 0,
- "dataType": 0,
- "startDatetime": "2019-08-24T14:15:22Z",
- "endDatetime": "2019-08-24T14:15:22Z",
- "active": true,
- "syncCalendar": true,
- "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "preNote": "string",
- "result": "string",
- "extraResult": "外部サービスなどから取り込んだ,\nアクションの実施結果",
- "pattern": {
- "id": 0,
- "name": "string"
}, - "creator": {
- "id": 0,
- "name": "string"
}, - "invitees": [
- {
- "id": 0,
- "name": "string"
}
], - "contact": {
- "id": 0,
- "name": "string"
}, - "deal": {
- "id": 0,
- "name": "string"
}, - "actionCustoms": [
- {
- "id": 0,
- "actionCustomItemId": 0,
- "itemType": "string",
- "name": "string",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "url": "string",
- "decimalNumber": "1234.56",
- "selectedOption": {
- "actionCustomItemOptionId": 0,
- "label": "string"
}, - "selectedOptions": [
- {
- "id": 0,
- "actionCustomItemOptionId": 0,
- "label": "string"
}
], - "selectedLabels": [
- "string"
]
}
]
}コンタクトアクション情報を更新します。
actionCustoms(アクション詳細)を常に含めます| contact_id required | integer コンタクトID |
| id required | integer アクションID |
| startDatetime | string <date-time> 開始日時 |
| endDatetime | string <date-time> 終了日時 |
object アクション担当者ID | |
Array of objects 他の担当者 | |
| preNote | string アクションの事前メモ |
| result | string アクションの実施結果 |
| active | boolean アクションの状態(true=未完了、false=完了) |
object | |
Array of objects アクション詳細項目一覧 |
{- "startDatetime": "2018-04-01T10:30:00+09:00",
- "endDatetime": "2018-04-01T10:30:00+09:00",
- "creator": {
- "id": 0
}, - "invitees": [
- {
- "id": 0
}
], - "preNote": "string",
- "result": "string",
- "active": true,
- "pattern": {
- "id": 0
}, - "actionCustoms": [
- {
- "itemKey": "string",
- "value": "string"
}
]
}{- "id": 0,
- "dataType": 0,
- "startDatetime": "2019-08-24T14:15:22Z",
- "endDatetime": "2019-08-24T14:15:22Z",
- "active": true,
- "syncCalendar": true,
- "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "preNote": "string",
- "result": "string",
- "extraResult": "外部サービスなどから取り込んだ,\nアクションの実施結果",
- "pattern": {
- "id": 0,
- "name": "string"
}, - "creator": {
- "id": 0,
- "name": "string"
}, - "invitees": [
- {
- "id": 0,
- "name": "string"
}
], - "contact": {
- "id": 0,
- "name": "string"
}, - "deal": {
- "id": 0,
- "name": "string"
}, - "actionCustoms": [
- {
- "id": 0,
- "actionCustomItemId": 0,
- "itemType": "string",
- "name": "string",
- "value": "string",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "url": "string",
- "decimalNumber": "1234.56",
- "selectedValue": 1,
- "selectedOption": {
- "actionCustomItemOptionId": 0,
- "label": "string",
- "value": 0
}, - "selectedValues": [
- 1,
- 2,
- 3
], - "selectedOptions": [
- {
- "id": 0,
- "actionCustomItemOptionId": 0,
- "label": "string",
- "value": 0
}
]
}
]
}コンタクトアクションを一括登録します。
required | Array of objects <= 1000 items 登録するコンタクトアクション一覧 |
{- "actions": [
- {
- "contact": {
- "id": 0
}, - "pattern": {
- "id": 0
}, - "startDatetime": "2018-04-01T10:30:00+09:00",
- "endDatetime": "2018-04-01T11:30:00+09:00",
- "creator": {
- "id": 0
}, - "invitees": [
- {
- "id": 0
}
], - "preNote": "string",
- "result": "string",
- "active": true,
- "actionCustoms": [
- {
- "itemKey": "string",
- "value": "string"
}
], - "files": [
- {
- "name": "string",
- "path": "string"
}
]
}
]
}[- 0
]