Download OpenAPI specification:Download
Mazricaユーザ向けAPIです。本ドキュメントを確認頂き、ご利用ください。 また随時APIは拡張していきますので、ご希望のものがない場合は右下のチャットサポートからリクエストください。今後の開発の参考とさせて頂きます。
APIのエンドポイントのベースURLは以下になります。バージョンの v1
も含めてリクエストしてください。
{PATH_TO_REQUEST}
は利用するAPIのパスを指定してください。
https://senses-open-api.mazrica.com/v1/{PATH_TO_REQUEST}
APIのリクエストには以下の制限があります。制限を超過した場合は 429 Too Many Requests
がレスポンスされます。
UTC
となりますリストを返す API では、要素が「更新日時の降順」でソートされて返ってきます。ソート順を変更するには sort
パラメータに並び替えのキーとなるプロパティを指定します。キーの前に -
(ダッシュ) をつけると 降順 となります。以下を参考にしてください。
https://senses-open-api.mazrica.com/v1/customers?sort=updatedAt
https://senses-open-api.mazrica.com/v1/customers?sort=-updatedAt,id
APIの利用には APK Key が必要です。以下をご参考にMazricaの管理機能から API Key を発行できます。APIをリクエストする際、発行した API Key をリクエストに含めてください。
X-Api-Key
に指定してくださいcurl -X GET \
https://senses-open-api.mazrica.com/v1/domains/settings \
-H 'X-Api-Key: YOUR_API_KEY'
Security Scheme Type | API Key |
---|---|
Header parameter name: | X-Api-Key |
The Open API Service by Mazrica
{- "dealTypes": [
- {
- "id": 0,
- "name": "string",
- "phases": [
- {
- "id": 0,
- "name": "string",
- "status": 1
}
], - "products": [
- {
- "id": 0,
- "name": "string"
}
], - "probabilities": [
- {
- "id": 0,
- "name": "string"
}
], - "channels": [
- {
- "id": 0,
- "name": "string"
}
], - "endPhaseReasons": [
- {
- "id": 0,
- "name": "string"
}
], - "actionsPurposes": [
- {
- "id": 0,
- "name": "string",
- "pattern": 0,
- "patternName": "string"
}
], - "dealCustomItems": [
- {
- "id": 0,
- "itemKey": "string",
- "itemType": "string",
- "name": null,
- "orderNum": "string",
- "customItemOptions": [
- {
- "id": 0,
- "value": "string",
- "label": "string"
}
]
}
], - "dealProductDetailTypes": [
- {
- "id": 0,
- "name": "string",
- "unit": "string",
- "price": 0,
- "billingType": {
- "id": 1,
- "key": "lump",
- "name": "一括"
}, - "roundType": {
- "id": 1,
- "key": "round_down",
- "name": "切り捨て"
}, - "memo": "string"
}
]
}
], - "users": [
- {
- "id": 0,
- "name": "string",
- "email": "string"
}
], - "roles": [
- {
- "id": 0,
- "name": "string"
}
]
}
page | integer ページ |
deleted | integer
|
string 指定したEメールアドレスのユーザーのみ取得します |
OK
Internal Server Error
The Open API Service by Mazrica
{- "totalCount": 0,
- "page": 0,
- "users": [
- {
- "id": 0,
- "name": "string",
- "email": "string",
- "userGroups": [
- {
- "id": 0,
- "name": "string"
}
], - "profile": {
- "id": 0,
- "name": "string"
}, - "role": {
- "id": 0,
- "name": "string"
}
}
]
}
userId | integer ユーザーID |
page | integer ページ |
OK
Internal Server Error
The Open API Service by Mazrica
{- "totalCount": 0,
- "page": 0,
- "userGroups": [
- {
- "id": 0,
- "name": "string",
- "orderNum": 0,
- "users": [
- {
- "id": 0,
- "name": "string",
- "email": "string"
}
]
}
]
}
id required | integer ユーザーグループID |
name | string Nullable ユーザーグループ名 name指定なし->ユーザーグループ名は更新されない nameが空文字->ユーザーグループ名は更新されない |
OK
Bad Request
Not Found
Internal Server Error
The Open API Service by Mazrica
{- "name": "string"
}
{- "id": 0,
- "name": "string",
- "orderNum": 0
}
userGroupId required | integer ユーザーグループID |
userId required | integer ユーザーID |
userId | integer 指定したユーザーグループに追加するユーザのID userId指定なし->何も追加されず200を返却 |
OK
Bad Request
Not Found
Internal Server Error
The Open API Service by Mazrica
{- "userId": 0
}
{- "id": 0,
- "name": "string",
- "orderNum": 0,
- "users": [
- {
- "id": 0,
- "name": "string",
- "email": "string"
}
]
}
userGroupId required | integer ユーザーグループID |
userId required | integer ユーザーID |
OK
Bad Request
Not Found
Internal Server Error
The Open API Service by Mazrica
userGroupId required | integer ユーザーグループID |
userIds | Array of integers Nullable ユーザーID(複数指定) userIds指定なし->ユーザーグループメンバーは更新されない userIds:[]->対象グループの所属ユーザーを全除外 |
OK
Bad Request
Not Found
Internal Server Error
The Open API Service by Mazrica
{- "userIds": [
- 0
]
}
{- "id": 0,
- "name": "string",
- "orderNum": 0,
- "users": [
- {
- "id": 0,
- "name": "string",
- "email": "string"
}
]
}
page | integer ページ |
OK
Internal Server Error
The Open API Service by Mazrica
{- "totalCount": 0,
- "page": 0,
- "roles": [
- {
- "id": 0,
- "name": "string"
}
]
}
The Open API Service by Mazrica
{- "actionCustomItems": [
- {
- "id": 0,
- "itemKey": "string",
- "itemType": "string",
- "name": "string",
- "actionCustomItemOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string"
}
]
}
]
}
name required | string 項目名 |
itemKey | string 項目キー。API指定用の任意のキーを指定できます。 省略した場合、自動的に一意となる値が設定されます。 |
itemType required | string アクション詳細項目タイプ。以下のいずれかになります。
|
actionCustomItemOptions | Array of objects 選択肢一覧。 |
before | string 指定した項目キーの手前に項目を追加します。指定がない場合は最後に追加されます。 |
Created
Bad Request
Internal Server Error
The Open API Service by Mazrica
{- "name": "string",
- "itemKey": "string",
- "itemType": "string",
- "actionCustomItemOptions": [
- {
- "value": 0,
- "label": "string"
}
], - "before": "string"
}
{- "id": 0,
- "itemKey": "string",
- "itemType": "string",
- "name": "string",
- "actionCustomItemOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string"
}
]
}
item_key required | string 項目キー |
name | string 項目名 |
newItemKey | string 新しい項目キー 項目キーを変更した場合、元の項目キーの値を前提とした処理が動作しなくなる可能性があります。 |
actionCustomItemOptions | Array of objects 選択肢一覧。 この一覧で指定した通りの並び順で登録されます。 |
delete | boolean 削除する場合は true を指定してください |
OK
Bad Request
Not Found
Internal Server Error
The Open API Service by Mazrica
{- "name": "string",
- "newItemKey": "string",
- "actionCustomItemOptions": [
- {
- "value": 0,
- "newValue": "string",
- "delete": true,
- "label": "string"
}
], - "delete": true
}
{- "id": 0,
- "itemKey": "string",
- "itemType": "string",
- "name": "string",
- "actionCustomItemOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string"
}
]
}
actionCustomItemKey required | string アクション詳細の項目キー。パス内の {actionCustomItemKey} に指定します。 |
searchWord | string 指定した文字列と部分一致するラベルを検索します。 |
sort | string
|
page | integer 取得対象のページ番号。デフォルトは1(1ページ目)。 |
limit | integer 1ページあたりの件数。最大1000。省略した場合、デフォルトは100。 |
OK
Bad Request
Not Found
Internal Server Error
The Open API Service by Mazrica
{- "actionCustomItemKey": "string",
- "totalCount": 0,
- "page": 0,
- "labels": [
- {
- "id": 0,
- "name": "string",
- "createdAt": "2018-04-01T10:30:00+09:00"
}
]
}
The Open API Service by Mazrica
{- "customerCustomItems": [
- {
- "id": 0,
- "itemKey": "string",
- "itemType": "string",
- "name": "string",
- "orderNum": 0,
- "customItemOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string"
}
]
}
]
}
searchWord | string 指定した文字列と取引先名が部分一致する取引先を検索します。 |
sort | string 並び順
ソート可能 |
updatedAtFrom | string <date-time> Example: updatedAtFrom=2018-04-01T10:30:00 更新日時による検索範囲(開始)
|
updatedAtTo | string <date-time> Example: updatedAtTo=2018-04-01T10:30:00 更新日時による検索範囲(終了)
|
page | integer ページ |
OK
Internal Server Error
The Open API Service by Mazrica
{- "totalCount": 0,
- "page": 0,
- "customers": [
- {
- "id": 0,
- "name": "string",
- "address": "string",
- "telNo": "string",
- "webUrl": "string",
- "employee": 0,
- "capital": 0,
- "closingMonth": 0,
- "ownerRole": {
- "id": 0,
- "name": "string"
}, - "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "customerCustoms": [
- {
- "id": 0,
- "customerCustomItemId": 0,
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "selectedValue": 1,
- "selectedValues": [
- 1,
- 2,
- 3
], - "selectedOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string",
- "customerCustomItemOptionId": 0
}
]
}
]
}
]
}
name required | string 取引先名 |
address | string 住所 |
telNo | string 電話番号 |
webUrl | string URL |
employee | integer 従業員数 |
capital | integer 資本金 |
closingMonth | integer [ 1 .. 12 ] 決算月(1〜12) |
ownerRoleId | integer 所有ロールID。 |
customerCustoms | Array of objects 取引先詳細項目 |
Created
Internal Server Error
The Open API Service by Mazrica
{- "name": "string",
- "address": "string",
- "telNo": "string",
- "webUrl": "string",
- "employee": 0,
- "capital": 0,
- "closingMonth": 1,
- "ownerRoleId": 0,
- "customerCustoms": [
- {
- "customerCustomItemId": 0,
- "itemKey": "string",
- "value": "string"
}
]
}
{- "id": 0,
- "name": "string",
- "address": "string",
- "telNo": "string",
- "webUrl": "string",
- "employee": 0,
- "capital": 0,
- "closingMonth": 0,
- "ownerRole": {
- "id": 0,
- "name": "string"
}, - "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "customerCustoms": [
- {
- "id": 0,
- "customerCustomItemId": 0,
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "selectedValue": 1,
- "selectedValues": [
- 1,
- 2,
- 3
], - "selectedOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string",
- "customerCustomItemOptionId": 0
}
]
}
]
}
取引先情報を検索します。
field
の reference
(参照先関連オブジェクト) 指定には対応していません。filter required | object 絞り込み条件
|
sort | object 並び替え条件。
|
page | integer ページ |
OK
検索条件が不正
Internal Server Error
The Open API Service by Mazrica
{- "filter": {
- "compositeFilter": {
- "logicalOperator": "AND",
- "subFilters": [
- {
- "compositeFilter": { },
- "valueFilter": {
- "field": {
- "reference": "string",
- "name": "string",
- "customItemId": 0,
- "itemKey": "string"
}, - "comparisonOperator": "=",
- "value": {
- "stringValue": "string",
- "integerValue": 0,
- "decimalValue": 0,
- "datetimeValue": "2018-04-01T10:30:00"
}
}
}
]
}
}, - "sort": {
- "field": {
- "name": "string"
}, - "order": "ASC"
}, - "page": 0
}
{- "totalCount": 0,
- "page": 0,
- "customers": [
- {
- "id": 0,
- "name": "string",
- "address": "string",
- "telNo": "string",
- "webUrl": "string",
- "employee": 0,
- "capital": 0,
- "closingMonth": 0,
- "ownerRole": {
- "id": 0,
- "name": "string"
}, - "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "customerCustoms": [
- {
- "id": 0,
- "customerCustomItemId": 0,
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "selectedValue": 1,
- "selectedValues": [
- 1,
- 2,
- 3
], - "selectedOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string",
- "customerCustomItemOptionId": 0
}
]
}
]
}
]
}
id required | integer 取引先ID |
OK
Not Found
Internal Server Error
The Open API Service by Mazrica
{- "id": 0,
- "name": "string",
- "address": "string",
- "telNo": "string",
- "webUrl": "string",
- "employee": 0,
- "capital": 0,
- "closingMonth": 0,
- "ownerRole": {
- "id": 0,
- "name": "string"
}, - "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "customerCustoms": [
- {
- "id": 0,
- "customerCustomItemId": 0,
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "selectedValue": 1,
- "selectedValues": [
- 1,
- 2,
- 3
], - "selectedOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string",
- "customerCustomItemOptionId": 0
}
]
}
]
}
id required | integer 取引先ID |
name | string 取引先名 |
address | string 住所 |
telNo | string 電話番号 |
webUrl | string URL |
employee | integer 従業員数 |
capital | integer 資本金 |
closingMonth | integer [ 1 .. 12 ] 決算月(1〜12) |
ownerRoleId | integer 所有ロールID。 |
customerCustoms | Array of objects 取引先詳細項目 |
OK
Bad Request
Internal Server Error
The Open API Service by Mazrica
{- "name": "string",
- "address": "string",
- "telNo": "string",
- "webUrl": "string",
- "employee": 0,
- "capital": 0,
- "closingMonth": 1,
- "ownerRoleId": 0,
- "customerCustoms": [
- {
- "customerCustomItemId": 0,
- "itemKey": "string",
- "value": "string"
}
]
}
{- "id": 0,
- "name": "string",
- "address": "string",
- "telNo": "string",
- "webUrl": "string",
- "employee": 0,
- "capital": 0,
- "closingMonth": 0,
- "ownerRole": {
- "id": 0,
- "name": "string"
}, - "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "customerCustoms": [
- {
- "id": 0,
- "customerCustomItemId": 0,
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "selectedValue": 1,
- "selectedValues": [
- 1,
- 2,
- 3
], - "selectedOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string",
- "customerCustomItemOptionId": 0
}
]
}
]
}
customers | Array of objects |
Internal Server Error
The Open API Service by Mazrica
{- "customers": [
- {
- "name": "string",
- "address": "string",
- "telNo": "string",
- "webUrl": "string",
- "employee": 0,
- "capital": 0,
- "closingMonth": 1,
- "ownerRoleId": 0,
- "customerCustoms": [
- {
- "customerCustomItemId": 0,
- "itemKey": "string",
- "value": "string"
}
]
}
]
}
[- 0
]
customerId required | integer 取引先IDを指定してアクションを検索します。 取引先IDの代わりに、allと指定することで取引先IDを跨いだアクションの取得が可能です。 |
sort | string 並び順
ソート可能 |
startDatetime | string <date-time> Example: startDatetime=2018-04-01T10:30:00 開始日時 ex)
上記のように指定した場合、開始日時2019-01-01 09:00 から 終了日時2019-01-01 11:00のアクションを検索します。 |
endDatetime | string <date-time> Example: endDatetime=2018-04-01T10:30:00 終了日時 ex)
上記のように指定した場合、開始日時2019-01-01 09:00 から 終了日時2019-01-01 11:00のアクションを検索します。 |
createdAtFrom | string <date-time> Example: createdAtFrom=2018-04-01T10:30:00 登録日時開始時間 ex)
上記のように指定した場合、登録日時が2019-01-01 09:00 から 2019-01-01 11:00のアクションを検索します。 |
createdAtTo | string <date-time> Example: createdAtTo=2018-04-01T10:30:00 登録日時終了時間 ex)
上記のように指定した場合、登録日時が2019-01-01 09:00 から 2019-01-01 11:00のアクションを検索します。 |
updatedAtFrom | string <date-time> Example: updatedAtFrom=2018-04-01T10:30:00 最終更新日時開始時間 ex)
上記のように指定した場合、最終更新日時が2019-01-01 09:00 から 2019-01-01 11:00のアクションを検索します。 |
updatedAtTo | string <date-time> Example: updatedAtTo=2018-04-01T10:30:00 最終更新日時終了時間 ex)
上記のように指定した場合、最終更新日時が2019-01-01 09:00 から 2019-01-01 11:00のアクションを検索します。 |
users | Array of objects アクション担当者、その他の担当者を検索します。 GETパラメータで指定する場合、以下の形式で指定します。
|
pattern | integer アクションの種別 |
active | boolean true:予定 false:完了 |
page | integer ページ |
OK
Internal Server Error
The Open API Service by Mazrica
{- "totalCount": 0,
- "page": 0,
- "actions": [
- {
- "id": 0,
- "pattern": {
- "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,
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "selectedValue": 1,
- "selectedValues": [
- 1,
- 2,
- 3
], - "selectedOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
]
}
], - "lifecycleStages": [
- {
- "lifecycleStageTypeId": 0,
- "id": 0,
- "name": "string"
}
]
}
], - "customer": {
- "id": 0,
- "name": "string"
}, - "startDatetime": null,
- "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "preNote": "string",
- "endDatetime": null,
- "active": true,
- "result": "string",
- "extraResult": "外部サービスなどから取り込んだ,\nアクションの実施結果",
- "syncCalendar": true,
- "creator": {
- "id": 0,
- "name": "string"
}, - "invitees": [
- {
- "id": 0,
- "name": "string"
}
], - "actionCustoms": [
- {
- "id": 0,
- "actionCustomItemId": 0,
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "decimalNumber": "1234.56",
- "selectedValue": 1,
- "selectedValues": [
- 1,
- 2,
- 3
], - "selectedOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
]
}
]
}
]
}
startDatetime required | string <date-time> 開始日時 |
endDatetime required | string <date-time> 終了日時 |
creator required | object アクション担当者ID |
invitees | Array of objects 他の担当者 |
preNote | string アクションの事前メモ |
result | string アクションの実施結果 |
active | boolean アクションの状態(true=未完了、false=完了) |
pattern required | object |
contacts | Array of objects アクションコンタクト |
actionCustoms | Array of objects アクション詳細項目一覧 |
Created
Bad Request
Not Found
Internal Server Error
The Open API Service by Mazrica
{- "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
}, - "contacts": [
- {
- "id": 0
}
], - "actionCustoms": [
- {
- "itemKey": "string",
- "value": "テキスト"
}
]
}
{- "id": 0,
- "pattern": {
- "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,
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "selectedValue": 1,
- "selectedValues": [
- 1,
- 2,
- 3
], - "selectedOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
]
}
], - "lifecycleStages": [
- {
- "lifecycleStageTypeId": 0,
- "id": 0,
- "name": "string"
}
]
}
], - "customer": {
- "id": 0,
- "name": "string"
}, - "startDatetime": null,
- "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "preNote": "string",
- "endDatetime": null,
- "active": true,
- "result": "string",
- "extraResult": "外部サービスなどから取り込んだ,\nアクションの実施結果",
- "syncCalendar": true,
- "creator": {
- "id": 0,
- "name": "string"
}, - "invitees": [
- {
- "id": 0,
- "name": "string"
}
], - "actionCustoms": [
- {
- "id": 0,
- "actionCustomItemId": 0,
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "decimalNumber": "1234.56",
- "selectedValue": 1,
- "selectedValues": [
- 1,
- 2,
- 3
], - "selectedOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
]
}
]
}
customerId required | integer 取引先ID |
id required | integer アクションID |
include_files | integer
|
OK
Not Found
Internal Server Error
The Open API Service by Mazrica
{- "id": 0,
- "pattern": {
- "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,
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "selectedValue": 1,
- "selectedValues": [
- 1,
- 2,
- 3
], - "selectedOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
]
}
], - "lifecycleStages": [
- {
- "lifecycleStageTypeId": 0,
- "id": 0,
- "name": "string"
}
]
}
], - "customer": {
- "id": 0,
- "name": "string"
}, - "startDatetime": null,
- "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "preNote": "string",
- "endDatetime": null,
- "active": true,
- "result": "string",
- "extraResult": "外部サービスなどから取り込んだ,\nアクションの実施結果",
- "syncCalendar": true,
- "creator": {
- "id": 0,
- "name": "string"
}, - "invitees": [
- {
- "id": 0,
- "name": "string"
}
], - "actionCustoms": [
- {
- "id": 0,
- "actionCustomItemId": 0,
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "decimalNumber": "1234.56",
- "selectedValue": 1,
- "selectedValues": [
- 1,
- 2,
- 3
], - "selectedOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
]
}
], - "files": [
- {
- "name": "string",
- "mimeType": "string",
- "url": "string"
}
]
}
customerId required | integer 取引先ID |
id required | integer アクションID |
startDatetime | string <date-time> 開始日時 |
endDatetime | string <date-time> 終了日時 |
creator | object アクション担当者ID |
invitees | Array of objects 他の担当者 |
preNote | string アクションの事前メモ |
result | string アクションの実施結果 |
active | boolean アクションの状態(true=未完了、false=完了) |
pattern | object |
contacts | Array of objects アクションコンタクト |
actionCustoms | Array of objects アクション詳細項目一覧 |
OK
Bad Request
Internal Server Error
The Open API Service by Mazrica
{- "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
}, - "contacts": [
- {
- "id": 0
}
], - "actionCustoms": [
- {
- "itemKey": "string",
- "value": "テキスト"
}
]
}
{- "id": 0,
- "pattern": {
- "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,
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "selectedValue": 1,
- "selectedValues": [
- 1,
- 2,
- 3
], - "selectedOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
]
}
], - "lifecycleStages": [
- {
- "lifecycleStageTypeId": 0,
- "id": 0,
- "name": "string"
}
]
}
], - "customer": {
- "id": 0,
- "name": "string"
}, - "startDatetime": null,
- "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "preNote": "string",
- "endDatetime": null,
- "active": true,
- "result": "string",
- "extraResult": "外部サービスなどから取り込んだ,\nアクションの実施結果",
- "syncCalendar": true,
- "creator": {
- "id": 0,
- "name": "string"
}, - "invitees": [
- {
- "id": 0,
- "name": "string"
}
], - "actionCustoms": [
- {
- "id": 0,
- "actionCustomItemId": 0,
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "decimalNumber": "1234.56",
- "selectedValue": 1,
- "selectedValues": [
- 1,
- 2,
- 3
], - "selectedOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
]
}
]
}
customerId required | integer 取引先ID |
id required | integer アクションID |
OK
Not Found
Internal Server Error
The Open API Service by Mazrica
actions | Array of objects |
Internal Server Error
The Open API Service by Mazrica
{- "actions": [
- {
- "customer": {
- "id": 0
}, - "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
}, - "contacts": [
- {
- "id": 0
}
], - "actionCustoms": [
- {
- "itemKey": "string",
- "value": "テキスト"
}
], - "files": [
- {
- "name": "string",
- "path": "string"
}
]
}
]
}
[- 0
]
The Open API Service by Mazrica
{- "id": 0,
- "name": "string"
}
id required | integer 案件タイプID |
OK
Not Found
Internal Server Error
The Open API Service by Mazrica
{- "id": 0,
- "name": "string",
- "phases": [
- {
- "id": 0,
- "name": "string",
- "status": 1
}
], - "products": [
- {
- "id": 0,
- "name": "string"
}
], - "probabilities": [
- {
- "id": 0,
- "name": "string"
}
], - "channels": [
- {
- "id": 0,
- "name": "string"
}
], - "endPhaseReasons": [
- {
- "id": 0,
- "name": "string"
}
], - "actionsPurposes": [
- {
- "id": 0,
- "name": "string",
- "pattern": 0,
- "patternName": "string"
}
], - "dealCustomItems": [
- {
- "id": 0,
- "itemKey": "string",
- "itemType": "string",
- "name": null,
- "orderNum": "string",
- "customItemOptions": [
- {
- "id": 0,
- "value": "string",
- "label": "string"
}
]
}
], - "dealProductDetailTypes": [
- {
- "id": 0,
- "name": "string",
- "unit": "string",
- "price": 0,
- "billingType": {
- "id": 1,
- "key": "lump",
- "name": "一括"
}, - "roundType": {
- "id": 1,
- "key": "round_down",
- "name": "切り捨て"
}, - "memo": "string"
}
]
}
searchWord | string 指定した文字列と取引先名、または案件名が部分一致する案件を検索します。 |
dealTypeId | number 案件タイプID |
sort | string 並び順
ソート可能 |
updatedAtFrom | string <date-time> Example: updatedAtFrom=2018-04-01T10:30:00 更新日時による検索範囲(開始)
|
updatedAtTo | string <date-time> Example: updatedAtTo=2018-04-01T10:30:00 更新日時による検索範囲指定(終了)
|
page | integer ページ |
limit | integer 1ページあたりの件数。最大1000。省略した場合、デフォルトは100。 |
OK
Internal Server Error
The Open API Service by Mazrica
{- "totalCount": 0,
- "page": 0,
- "deals": [
- {
- "id": 0,
- "name": "string",
- "dealCode": "string",
- "amount": 0,
- "closingLeadtime": 0,
- "fromEmail": true,
- "memo": "string",
- "expectedContractDate": "2018-04-11",
- "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "reason": "string",
- "dealType": {
- "id": 0,
- "name": "string"
}, - "endPhaseReasons": [
- {
- "id": 0,
- "name": "string"
}
], - "customer": {
- "id": 0,
- "name": "string"
}, - "phase": {
- "id": 0,
- "name": "string",
- "status": 1
}, - "phaseStayDays": [
- {
- "id": 0,
- "name": "string",
- "phaseStayDays": 0,
- "isCurrentPhase": true
}
], - "product": {
- "id": 0,
- "name": "string"
}, - "probability": {
- "id": 0,
- "name": "string"
}, - "channel": {
- "id": 0,
- "name": "string"
}, - "user": {
- "id": 0,
- "name": "string"
}, - "dealCustoms": [
- {
- "id": 0,
- "dealCustomItemId": 0,
- "itemKey": "string",
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "calculationResult": 0,
- "selectedValue": 1,
- "selectedValues": [
- 1,
- 2,
- 3
], - "selectedOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string",
- "dealCustomItemOptionId": 0
}
], - "selectedUsers": [
- {
- "id": 0,
- "name": "string",
- "email": "string"
}
]
}
], - "dealProductDetails": [
- {
- "id": 0,
- "dealProductDetailTypeId": 0,
- "name": "string",
- "billingType": {
- "id": 1,
- "key": "lump",
- "name": "一括"
}, - "quantity": 0,
- "unit": "string",
- "price": 0,
- "unitCost": 0,
- "term": 0,
- "subtotal": 0,
- "firstSales": "2018-04-01T00:00:00+09:00",
- "memo": "string"
}
]
}
]
}
dealType required | object 案件タイプ |
name required | string 案件名 |
amount | integer 契約金額 |
expectedContractDate required | string <date> 契約予定日 |
reason | string 最終停止理由 |
endPhaseReasonIds | Array of integers 最終停止理由ID 配列 |
dealProductDetails | Array of objects 商品内訳 |
customer required | object 取引先 |
phase required | object フェーズ |
product required | object 商品 |
probability required | object 契約確度 |
channel required | object チャネル |
user required | object ユーザー |
dealCustoms | Array of objects 案件詳細項目 |
Created
Internal Server Error
The Open API Service by Mazrica
{- "dealType": {
- "id": 0
}, - "name": "string",
- "amount": 0,
- "expectedContractDate": "2018-04-11",
- "reason": "string",
- "endPhaseReasonIds": [
- 0
], - "dealProductDetails": [
- {
- "id": 0,
- "dealProductDetailTypeId": 0,
- "quantity": 0,
- "price": 0,
- "unitCost": 0,
- "term": 0,
- "firstSales": "2018-04-01T00:00:00+09:00",
- "memo": "string"
}
], - "customer": {
- "id": 0
}, - "phase": {
- "id": 0
}, - "product": {
- "id": 0
}, - "probability": {
- "id": 0
}, - "channel": {
- "id": 0
}, - "user": {
- "id": 0
}, - "dealCustoms": [
- {
- "dealCustomItemId": 0,
- "itemKey": "string",
- "value": "string"
}
]
}
{- "id": 0,
- "name": "string",
- "dealCode": "string",
- "amount": 0,
- "closingLeadtime": 0,
- "fromEmail": true,
- "memo": "string",
- "expectedContractDate": "2018-04-11",
- "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "reason": "string",
- "dealType": {
- "id": 0,
- "name": "string"
}, - "endPhaseReasons": [
- {
- "id": 0,
- "name": "string"
}
], - "customer": {
- "id": 0,
- "name": "string"
}, - "phase": {
- "id": 0,
- "name": "string",
- "status": 1
}, - "phaseStayDays": [
- {
- "id": 0,
- "name": "string",
- "phaseStayDays": 0,
- "isCurrentPhase": true
}
], - "product": {
- "id": 0,
- "name": "string"
}, - "probability": {
- "id": 0,
- "name": "string"
}, - "channel": {
- "id": 0,
- "name": "string"
}, - "user": {
- "id": 0,
- "name": "string"
}, - "dealCustoms": [
- {
- "id": 0,
- "dealCustomItemId": 0,
- "itemKey": "string",
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "calculationResult": 0,
- "selectedValue": 1,
- "selectedValues": [
- 1,
- 2,
- 3
], - "selectedOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string",
- "dealCustomItemOptionId": 0
}
], - "selectedUsers": [
- {
- "id": 0,
- "name": "string",
- "email": "string"
}
]
}
], - "dealProductDetails": [
- {
- "id": 0,
- "dealProductDetailTypeId": 0,
- "name": "string",
- "billingType": {
- "id": 1,
- "key": "lump",
- "name": "一括"
}, - "quantity": 0,
- "unit": "string",
- "price": 0,
- "unitCost": 0,
- "term": 0,
- "subtotal": 0,
- "firstSales": "2018-04-01T00:00:00+09:00",
- "memo": "string"
}
]
}
id required | integer 案件ID |
OK
Not Found
Internal Server Error
The Open API Service by Mazrica
{- "id": 0,
- "name": "string",
- "dealCode": "string",
- "amount": 0,
- "closingLeadtime": 0,
- "fromEmail": true,
- "memo": "string",
- "expectedContractDate": "2018-04-11",
- "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "reason": "string",
- "dealType": {
- "id": 0,
- "name": "string"
}, - "endPhaseReasons": [
- {
- "id": 0,
- "name": "string"
}
], - "customer": {
- "id": 0,
- "name": "string"
}, - "phase": {
- "id": 0,
- "name": "string",
- "status": 1
}, - "phaseStayDays": [
- {
- "id": 0,
- "name": "string",
- "phaseStayDays": 0,
- "isCurrentPhase": true
}
], - "product": {
- "id": 0,
- "name": "string"
}, - "probability": {
- "id": 0,
- "name": "string"
}, - "channel": {
- "id": 0,
- "name": "string"
}, - "user": {
- "id": 0,
- "name": "string"
}, - "dealCustoms": [
- {
- "id": 0,
- "dealCustomItemId": 0,
- "itemKey": "string",
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "calculationResult": 0,
- "selectedValue": 1,
- "selectedValues": [
- 1,
- 2,
- 3
], - "selectedOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string",
- "dealCustomItemOptionId": 0
}
], - "selectedUsers": [
- {
- "id": 0,
- "name": "string",
- "email": "string"
}
]
}
], - "dealProductDetails": [
- {
- "id": 0,
- "dealProductDetailTypeId": 0,
- "name": "string",
- "billingType": {
- "id": 1,
- "key": "lump",
- "name": "一括"
}, - "quantity": 0,
- "unit": "string",
- "price": 0,
- "unitCost": 0,
- "term": 0,
- "subtotal": 0,
- "firstSales": "2018-04-01T00:00:00+09:00",
- "memo": "string"
}
]
}
id required | integer 案件ID |
dealType | object 案件タイプ |
name | string 案件名 |
amount | integer 契約金額 |
expectedContractDate | string <date> 契約予定日 |
reason | string 最終停止理由 |
endPhaseReasonIds | Array of integers 最終停止理由ID 配列 |
dealProductDetails | Array of objects 商品内訳 |
customer | object 取引先 |
phase | object フェーズ |
product | object 商品 |
probability | object 契約確度 |
channel | object チャネル |
user | object ユーザー |
dealCustoms | Array of objects 案件詳細項目 |
OK
Bad Request
Internal Server Error
The Open API Service by Mazrica
{- "dealType": {
- "id": 0
}, - "name": "string",
- "amount": 0,
- "expectedContractDate": "2018-04-11",
- "reason": "string",
- "endPhaseReasonIds": [
- 0
], - "dealProductDetails": [
- {
- "id": 0,
- "dealProductDetailTypeId": 0,
- "quantity": 0,
- "price": 0,
- "unitCost": 0,
- "term": 0,
- "firstSales": "2018-04-01T00:00:00+09:00",
- "memo": "string"
}
], - "customer": {
- "id": 0
}, - "phase": {
- "id": 0
}, - "product": {
- "id": 0
}, - "probability": {
- "id": 0
}, - "channel": {
- "id": 0
}, - "user": {
- "id": 0
}, - "dealCustoms": [
- {
- "dealCustomItemId": 0,
- "itemKey": "string",
- "value": "string"
}
]
}
{- "id": 0,
- "name": "string",
- "dealCode": "string",
- "amount": 0,
- "closingLeadtime": 0,
- "fromEmail": true,
- "memo": "string",
- "expectedContractDate": "2018-04-11",
- "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "reason": "string",
- "dealType": {
- "id": 0,
- "name": "string"
}, - "endPhaseReasons": [
- {
- "id": 0,
- "name": "string"
}
], - "customer": {
- "id": 0,
- "name": "string"
}, - "phase": {
- "id": 0,
- "name": "string",
- "status": 1
}, - "phaseStayDays": [
- {
- "id": 0,
- "name": "string",
- "phaseStayDays": 0,
- "isCurrentPhase": true
}
], - "product": {
- "id": 0,
- "name": "string"
}, - "probability": {
- "id": 0,
- "name": "string"
}, - "channel": {
- "id": 0,
- "name": "string"
}, - "user": {
- "id": 0,
- "name": "string"
}, - "dealCustoms": [
- {
- "id": 0,
- "dealCustomItemId": 0,
- "itemKey": "string",
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "calculationResult": 0,
- "selectedValue": 1,
- "selectedValues": [
- 1,
- 2,
- 3
], - "selectedOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string",
- "dealCustomItemOptionId": 0
}
], - "selectedUsers": [
- {
- "id": 0,
- "name": "string",
- "email": "string"
}
]
}
], - "dealProductDetails": [
- {
- "id": 0,
- "dealProductDetailTypeId": 0,
- "name": "string",
- "billingType": {
- "id": 1,
- "key": "lump",
- "name": "一括"
}, - "quantity": 0,
- "unit": "string",
- "price": 0,
- "unitCost": 0,
- "term": 0,
- "subtotal": 0,
- "firstSales": "2018-04-01T00:00:00+09:00",
- "memo": "string"
}
]
}
deal_type_id required | integer 案件タイプID |
deals | Array of objects |
Internal Server Error
The Open API Service by Mazrica
{- "deals": [
- {
- "dealType": {
- "id": 0
}, - "name": "string",
- "amount": 0,
- "expectedContractDate": "2018-04-11",
- "reason": "string",
- "endPhaseReasonIds": [
- 0
], - "dealProductDetails": [
- {
- "id": 0,
- "dealProductDetailTypeId": 0,
- "quantity": 0,
- "price": 0,
- "unitCost": 0,
- "term": 0,
- "firstSales": "2018-04-01T00:00:00+09:00",
- "memo": "string"
}
], - "customer": {
- "id": 0
}, - "phase": {
- "id": 0
}, - "product": {
- "id": 0
}, - "probability": {
- "id": 0
}, - "channel": {
- "id": 0
}, - "user": {
- "id": 0
}, - "dealCustoms": [
- {
- "dealCustomItemId": 0,
- "itemKey": "string",
- "value": "string"
}
]
}
]
}
[- 0
]
deal_type_id required | integer 案件タイプID |
deals | Array of objects |
Internal Server Error
The Open API Service by Mazrica
{- "deals": [
- {
- "id": 0,
- "dealType": {
- "id": 0
}, - "name": "string",
- "amount": 0,
- "expectedContractDate": "2018-04-11",
- "reason": "string",
- "endPhaseReasonIds": [
- 0
], - "dealProductDetails": [
- {
- "id": 0,
- "dealProductDetailTypeId": 0,
- "quantity": 0,
- "price": 0,
- "unitCost": 0,
- "term": 0,
- "firstSales": "2018-04-01T00:00:00+09:00",
- "memo": "string"
}
], - "customer": {
- "id": 0
}, - "phase": {
- "id": 0
}, - "product": {
- "id": 0
}, - "probability": {
- "id": 0
}, - "channel": {
- "id": 0
}, - "user": {
- "id": 0
}, - "dealCustoms": [
- {
- "dealCustomItemId": 0,
- "itemKey": "string",
- "value": "string"
}
]
}
]
}
{- "error": "string",
- "messages": [
- "string"
], - "bulkErrors": [
- {
- "index": 0,
- "massages": [
- "string"
]
}
]
}
dealId required | integer 案件ID |
OK
Bad Request
Not Found
Internal Server Error
The Open API Service by Mazrica
{- "totalCount": 0,
- "page": 0,
- "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,
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "selectedValue": 1,
- "selectedValues": [
- 1,
- 2,
- 3
], - "selectedOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
]
}
], - "lifecycleStages": [
- {
- "lifecycleStageTypeId": 0,
- "id": 0,
- "name": "string"
}
]
}
]
}
dealId required | integer 案件ID |
id required | integer コンタクトID |
Created
Bad Request
Not Found
Internal Server Error
The Open API Service by Mazrica
dealId required | integer 案件ID |
id required | integer コンタクトID |
OK
Bad Request
Not Found
Internal Server Error
The Open API Service by Mazrica
sort | string 並び順
ソート可能 |
startDatetime | string <date-time> Example: startDatetime=2018-04-01T10:30:00 開始日時 ex)
上記のように指定した場合、開始日時2019-01-01 09:00 から 終了日時2019-01-01 11:00のアクションを検索します。 |
endDatetime | string <date-time> Example: endDatetime=2018-04-01T10:30:00 終了日時 ex)
上記のように指定した場合、開始日時2019-01-01 09:00 から 終了日時2019-01-01 11:00のアクションを検索します。 |
createdAtFrom | string <date-time> Example: createdAtFrom=2018-04-01T10:30:00 登録日時開始時間 ex)
上記のように指定した場合、登録日時が2019-01-01 09:00 から 2019-01-01 11:00のアクションを検索します。 |
createdAtTo | string <date-time> Example: createdAtTo=2018-04-01T10:30:00 登録日時終了時間 ex)
上記のように指定した場合、登録日時が2019-01-01 09:00 から 2019-01-01 11:00のアクションを検索します。 |
updatedAtFrom | string <date-time> Example: updatedAtFrom=2018-04-01T10:30:00 最終更新日時開始時間 ex)
上記のように指定した場合、最終更新日時が2019-01-01 09:00 から 2019-01-01 11:00のアクションを検索します。 |
updatedAtTo | string <date-time> Example: updatedAtTo=2018-04-01T10:30:00 最終更新日時終了時間 ex)
上記のように指定した場合、最終更新日時が2019-01-01 09:00 から 2019-01-01 11:00のアクションを検索します。 |
users | Array of objects アクション担当者、その他の担当者を検索します。 GETパラメータで指定する場合、以下の形式で指定します。
|
purpose | integer アクションの目的 |
active | boolean true:予定 false:完了 |
dealId | integer 案件IDを指定して検索します。 |
page | integer ページ |
OK
Internal Server Error
The Open API Service by Mazrica
{- "totalCount": 0,
- "page": 0,
- "actions": [
- {
- "id": 0,
- "pattern": {
- "id": 0,
- "name": "string"
}, - "purpose": {
- "id": 0,
- "name": "string"
}, - "deal": {
- "id": 0,
- "name": "string"
}, - "startDatetime": null,
- "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "preNote": "string",
- "endDatetime": null,
- "active": true,
- "result": "string",
- "extraResult": "外部サービスなどから取り込んだ,\nアクションの実施結果",
- "syncCalendar": true,
- "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,
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "selectedValue": 1,
- "selectedValues": [
- 1,
- 2,
- 3
], - "selectedOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
]
}
], - "lifecycleStages": [
- {
- "lifecycleStageTypeId": 0,
- "id": 0,
- "name": "string"
}
]
}
], - "creator": {
- "id": 0,
- "name": "string"
}, - "invitees": [
- {
- "id": 0,
- "name": "string"
}
], - "actionCustoms": [
- {
- "id": 0,
- "actionCustomItemId": 0,
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "decimalNumber": "1234.56",
- "selectedValue": 1,
- "selectedValues": [
- 1,
- 2,
- 3
], - "selectedOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
]
}
]
}
]
}
startDatetime required | string <date-time> 開始日時 |
endDatetime required | string <date-time> 終了日時 |
creator required | object アクション担当者ID |
invitees | Array of objects 他の担当者 |
preNote | string アクションの事前メモ |
result | string アクションの実施結果 |
active | boolean アクションの状態(true=未完了、false=完了) |
purpose required | object アクションの目的
|
deal required | object 案件ID |
contacts | Array of objects アクションコンタクト |
actionCustoms | Array of objects アクション詳細項目一覧 |
Created
Bad Request
Not Found
Internal Server Error
The Open API Service by Mazrica
{- "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,
- "purpose": {
- "id": 0
}, - "deal": {
- "id": 0
}, - "contacts": [
- {
- "id": 0
}
], - "actionCustoms": [
- {
- "itemKey": "string",
- "value": "テキスト"
}
]
}
{- "id": 0,
- "pattern": {
- "id": 0,
- "name": "string"
}, - "purpose": {
- "id": 0,
- "name": "string"
}, - "deal": {
- "id": 0,
- "name": "string"
}, - "startDatetime": null,
- "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "preNote": "string",
- "endDatetime": null,
- "active": true,
- "result": "string",
- "extraResult": "外部サービスなどから取り込んだ,\nアクションの実施結果",
- "syncCalendar": true,
- "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,
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "selectedValue": 1,
- "selectedValues": [
- 1,
- 2,
- 3
], - "selectedOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
]
}
], - "lifecycleStages": [
- {
- "lifecycleStageTypeId": 0,
- "id": 0,
- "name": "string"
}
]
}
], - "creator": {
- "id": 0,
- "name": "string"
}, - "invitees": [
- {
- "id": 0,
- "name": "string"
}
], - "actionCustoms": [
- {
- "id": 0,
- "actionCustomItemId": 0,
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "decimalNumber": "1234.56",
- "selectedValue": 1,
- "selectedValues": [
- 1,
- 2,
- 3
], - "selectedOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
]
}
]
}
id required | integer アクションID |
include_files | integer
|
OK
Not Found
Internal Server Error
The Open API Service by Mazrica
{- "id": 0,
- "pattern": {
- "id": 0,
- "name": "string"
}, - "purpose": {
- "id": 0,
- "name": "string"
}, - "deal": {
- "id": 0,
- "name": "string"
}, - "startDatetime": null,
- "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "preNote": "string",
- "endDatetime": null,
- "active": true,
- "result": "string",
- "extraResult": "外部サービスなどから取り込んだ,\nアクションの実施結果",
- "syncCalendar": true,
- "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,
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "selectedValue": 1,
- "selectedValues": [
- 1,
- 2,
- 3
], - "selectedOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
]
}
], - "lifecycleStages": [
- {
- "lifecycleStageTypeId": 0,
- "id": 0,
- "name": "string"
}
]
}
], - "creator": {
- "id": 0,
- "name": "string"
}, - "invitees": [
- {
- "id": 0,
- "name": "string"
}
], - "actionCustoms": [
- {
- "id": 0,
- "actionCustomItemId": 0,
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "decimalNumber": "1234.56",
- "selectedValue": 1,
- "selectedValues": [
- 1,
- 2,
- 3
], - "selectedOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
]
}
], - "files": [
- {
- "name": "string",
- "mimeType": "string",
- "url": "string"
}
]
}
id required | integer アクションID |
startDatetime | string <date-time> 開始日時 |
endDatetime | string <date-time> 終了日時 |
creator | object アクション担当者ID |
invitees | Array of objects 他の担当者 |
preNote | string アクションの事前メモ |
result | string アクションの実施結果 |
active | boolean アクションの状態(true=未完了、false=完了) |
purpose | object アクションの目的
|
deal required | object 案件ID |
contacts | Array of objects アクションコンタクト |
actionCustoms | Array of objects アクション詳細項目一覧 |
OK
Bad Request
Internal Server Error
The Open API Service by Mazrica
{- "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,
- "purpose": {
- "id": 0
}, - "deal": {
- "id": 0
}, - "contacts": [
- {
- "id": 0
}
], - "actionCustoms": [
- {
- "itemKey": "string",
- "value": "テキスト"
}
]
}
{- "id": 0,
- "pattern": {
- "id": 0,
- "name": "string"
}, - "purpose": {
- "id": 0,
- "name": "string"
}, - "deal": {
- "id": 0,
- "name": "string"
}, - "startDatetime": null,
- "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "preNote": "string",
- "endDatetime": null,
- "active": true,
- "result": "string",
- "extraResult": "外部サービスなどから取り込んだ,\nアクションの実施結果",
- "syncCalendar": true,
- "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,
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "selectedValue": 1,
- "selectedValues": [
- 1,
- 2,
- 3
], - "selectedOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
]
}
], - "lifecycleStages": [
- {
- "lifecycleStageTypeId": 0,
- "id": 0,
- "name": "string"
}
]
}
], - "creator": {
- "id": 0,
- "name": "string"
}, - "invitees": [
- {
- "id": 0,
- "name": "string"
}
], - "actionCustoms": [
- {
- "id": 0,
- "actionCustomItemId": 0,
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "decimalNumber": "1234.56",
- "selectedValue": 1,
- "selectedValues": [
- 1,
- 2,
- 3
], - "selectedOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
]
}
]
}
dealTypeId | integer 案件タイプID 指定した一つの案件タイプのアクションのみ一括作成可能です。 案件タイプを跨った一括登録には対応しておりません。 |
actions | Array of objects |
Internal Server Error
The Open API Service by Mazrica
{- "dealTypeId": 0,
- "actions": [
- {
- "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,
- "purpose": {
- "id": 0
}, - "deal": {
- "id": 0
}, - "contacts": [
- {
- "id": 0
}
], - "actionCustoms": [
- {
- "itemKey": "string",
- "value": "テキスト"
}
], - "files": [
- {
- "name": "string",
- "path": "string"
}
]
}
]
}
[- 0
]
The Open API Service by Mazrica
{- "contactCustomItems": [
- {
- "id": 0,
- "itemKey": "string",
- "itemType": "string",
- "name": "string",
- "orderNum": 0,
- "customItemOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string"
}
]
}
]
}
searchWord | string 指定した文字列と取引先名、コンタクト名、またはメールアドレスが部分一致するコンタクトを検索します。 |
sort | string 並び順
ソート可能 |
updatedAtFrom | string <date-time> Example: updatedAtFrom=2018-04-01T10:30:00 更新日時による検索範囲(開始)
|
updatedAtTo | string <date-time> Example: updatedAtTo=2018-04-01T10:30:00 更新日時による検索範囲(終了)
|
page | integer ページ |
phoneNumber | string Example: phoneNumber=03-1111-2222 固定電話番号、携帯電話番号による検索
|
OK
Internal Server Error
The Open API Service by Mazrica
{- "totalCount": 0,
- "page": 0,
- "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,
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "selectedValue": 1,
- "selectedValues": [
- 1,
- 2,
- 3
], - "selectedOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
]
}
], - "lifecycleStages": [
- {
- "lifecycleStageTypeId": 0,
- "id": 0,
- "name": "string"
}
]
}
]
}
name required | string コンタクト名 |
string Nullable メールアドレス | |
tel | string Nullable 電話番号 |
mobileTel | string Nullable 携帯電話番号 |
address | string Nullable 住所 |
dept | string Nullable 部署 |
position | string Nullable 役職 |
memo | string Nullable メモ |
customer | object Nullable 取引先 |
contactCustoms | Array of objects コンタクト詳細項目 |
lifecycleStages | Array of objects |
Created
Internal Server Error
The Open API Service by Mazrica
{- "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"
}
]
}
{- "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,
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "selectedValue": 1,
- "selectedValues": [
- 1,
- 2,
- 3
], - "selectedOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
]
}
], - "lifecycleStages": [
- {
- "lifecycleStageTypeId": 0,
- "id": 0,
- "name": "string"
}
]
}
コンタクト情報を検索します。
field
の reference
(参照先関連オブジェクト) として以下を指定できます。filter required | object 絞り込み条件
|
sort | object 並び替え条件。
|
page | integer ページ |
OK
検索条件が不正
Internal Server Error
The Open API Service by Mazrica
{- "filter": {
- "compositeFilter": {
- "logicalOperator": "AND",
- "subFilters": [
- {
- "compositeFilter": { },
- "valueFilter": {
- "field": {
- "reference": "string",
- "name": "string",
- "customItemId": 0,
- "itemKey": "string"
}, - "comparisonOperator": "=",
- "value": {
- "stringValue": "string",
- "integerValue": 0,
- "decimalValue": 0,
- "datetimeValue": "2018-04-01T10:30:00"
}
}
}
]
}
}, - "sort": {
- "field": {
- "name": "string"
}, - "order": "ASC"
}, - "page": 0
}
{- "totalCount": 0,
- "page": 0,
- "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,
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "selectedValue": 1,
- "selectedValues": [
- 1,
- 2,
- 3
], - "selectedOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
]
}
], - "lifecycleStages": [
- {
- "lifecycleStageTypeId": 0,
- "id": 0,
- "name": "string"
}
]
}
]
}
id required | integer コンタクトID |
OK
Not Found
Internal Server Error
The Open API Service by Mazrica
{- "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,
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "selectedValue": 1,
- "selectedValues": [
- 1,
- 2,
- 3
], - "selectedOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
]
}
], - "lifecycleStages": [
- {
- "lifecycleStageTypeId": 0,
- "id": 0,
- "name": "string"
}
]
}
id required | integer コンタクトID |
name | string コンタクト名 |
string Nullable メールアドレス | |
tel | string Nullable 電話番号 |
mobileTel | string Nullable 携帯電話番号 |
address | string Nullable 住所 |
dept | string Nullable 部署 |
position | string Nullable 役職 |
memo | string Nullable メモ |
customer | object Nullable 取引先 |
contactCustoms | Array of objects コンタクト詳細項目 |
lifecycleStages | Array of objects |
OK
Bad Request
Internal Server Error
The Open API Service by Mazrica
{- "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"
}
]
}
{- "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,
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "number": 123456,
- "decimalNumber": "1234.56",
- "selectedValue": 1,
- "selectedValues": [
- 1,
- 2,
- 3
], - "selectedOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
]
}
], - "lifecycleStages": [
- {
- "lifecycleStageTypeId": 0,
- "id": 0,
- "name": "string"
}
]
}
contactId required | integer コンタクトIDを指定してアクションを検索します。 コンタクトIDの代わりに、allと指定することでコンタクトIDを跨いだアクションの取得が可能です。 また、data_typeを指定することで、アクションの種類を絞り込むことも可能です。 data_type: 0 → コンタクトが紐付いている案件アクション data_type: 1 → コンタクトアクション |
sort | string 並び順
ソート可能 |
startDatetime | string <date-time> Example: startDatetime=2018-04-01T10:30:00 開始日時 ex)
上記のように指定した場合、開始日時2019-01-01 09:00 から 終了日時2019-01-01 11:00のアクションを検索します。 |
endDatetime | string <date-time> Example: endDatetime=2018-04-01T10:30:00 終了日時 ex)
上記のように指定した場合、開始日時2019-01-01 09:00 から 終了日時2019-01-01 11:00のアクションを検索します。 |
createdAtFrom | string <date-time> Example: createdAtFrom=2018-04-01T10:30:00 登録日時開始時間 ex)
上記のように指定した場合、登録日時が2019-01-01 09:00 から 2019-01-01 11:00のアクションを検索します。 |
createdAtTo | string <date-time> Example: createdAtTo=2018-04-01T10:30:00 登録日時終了時間 ex)
上記のように指定した場合、登録日時が2019-01-01 09:00 から 2019-01-01 11:00のアクションを検索します。 |
updatedAtFrom | string <date-time> Example: updatedAtFrom=2018-04-01T10:30:00 最終更新日時開始時間 ex)
上記のように指定した場合、最終更新日時が2019-01-01 09:00 から 2019-01-01 11:00のアクションを検索します。 |
updatedAtTo | string <date-time> Example: updatedAtTo=2018-04-01T10:30:00 最終更新日時終了時間 ex)
上記のように指定した場合、最終更新日時が2019-01-01 09:00 から 2019-01-01 11:00のアクションを検索します。 |
users | Array of objects アクション担当者、その他の担当者を検索します。 GETパラメータで指定する場合、以下の形式で指定します。
|
pattern | integer アクションの種別 |
active | boolean true:予定 false:完了 |
dataType | integer コンタクトの種類:
|
page | integer ページ |
OK
Internal Server Error
The Open API Service by Mazrica
{- "totalCount": 0,
- "page": 0,
- "actions": [
- {
- "id": 0,
- "pattern": {
- "id": 0,
- "name": "string"
}, - "dataType": 0,
- "deal": {
- "id": 0,
- "name": "string"
}, - "contact": {
- "id": 0,
- "name": "string"
}, - "startDatetime": null,
- "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "preNote": "string",
- "endDatetime": null,
- "active": true,
- "result": "string",
- "extraResult": "外部サービスなどから取り込んだ,\nアクションの実施結果",
- "syncCalendar": true,
- "creator": {
- "id": 0,
- "name": "string"
}, - "invitees": [
- {
- "id": 0,
- "name": "string"
}
], - "actionCustoms": [
- {
- "id": 0,
- "actionCustomItemId": 0,
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "decimalNumber": "1234.56",
- "selectedValue": 1,
- "selectedValues": [
- 1,
- 2,
- 3
], - "selectedOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
]
}
]
}
]
}
startDatetime required | string <date-time> 開始日時 |
endDatetime required | string <date-time> 終了日時 |
creator required | object アクション担当者ID |
invitees | Array of objects 他の担当者 |
preNote | string アクションの事前メモ |
result | string アクションの実施結果 |
active | boolean アクションの状態(true=未完了、false=完了) |
pattern required | object |
actionCustoms | Array of objects アクション詳細項目一覧 |
Created
Bad Request
Not Found
Internal Server Error
The Open API Service by Mazrica
{- "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": "テキスト"
}
]
}
{- "id": 0,
- "pattern": {
- "id": 0,
- "name": "string"
}, - "dataType": 0,
- "deal": {
- "id": 0,
- "name": "string"
}, - "contact": {
- "id": 0,
- "name": "string"
}, - "startDatetime": null,
- "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "preNote": "string",
- "endDatetime": null,
- "active": true,
- "result": "string",
- "extraResult": "外部サービスなどから取り込んだ,\nアクションの実施結果",
- "syncCalendar": true,
- "creator": {
- "id": 0,
- "name": "string"
}, - "invitees": [
- {
- "id": 0,
- "name": "string"
}
], - "actionCustoms": [
- {
- "id": 0,
- "actionCustomItemId": 0,
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "decimalNumber": "1234.56",
- "selectedValue": 1,
- "selectedValues": [
- 1,
- 2,
- 3
], - "selectedOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
]
}
]
}
contactId required | integer コンタクトID |
id required | integer アクションID |
include_files | integer
|
OK
Not Found
Internal Server Error
The Open API Service by Mazrica
{- "id": 0,
- "pattern": {
- "id": 0,
- "name": "string"
}, - "dataType": 0,
- "deal": {
- "id": 0,
- "name": "string"
}, - "contact": {
- "id": 0,
- "name": "string"
}, - "startDatetime": null,
- "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "preNote": "string",
- "endDatetime": null,
- "active": true,
- "result": "string",
- "extraResult": "外部サービスなどから取り込んだ,\nアクションの実施結果",
- "syncCalendar": true,
- "creator": {
- "id": 0,
- "name": "string"
}, - "invitees": [
- {
- "id": 0,
- "name": "string"
}
], - "actionCustoms": [
- {
- "id": 0,
- "actionCustomItemId": 0,
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "decimalNumber": "1234.56",
- "selectedValue": 1,
- "selectedValues": [
- 1,
- 2,
- 3
], - "selectedOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
]
}
], - "files": [
- {
- "name": "string",
- "mimeType": "string",
- "url": "string"
}
]
}
contactId required | integer コンタクトID |
id required | integer アクションID |
startDatetime | string <date-time> 開始日時 |
endDatetime | string <date-time> 終了日時 |
creator | object アクション担当者ID |
invitees | Array of objects 他の担当者 |
preNote | string アクションの事前メモ |
result | string アクションの実施結果 |
active | boolean アクションの状態(true=未完了、false=完了) |
pattern | object |
actionCustoms | Array of objects アクション詳細項目一覧 |
OK
Bad Request
Internal Server Error
The Open API Service by Mazrica
{- "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": "テキスト"
}
]
}
{- "id": 0,
- "pattern": {
- "id": 0,
- "name": "string"
}, - "dataType": 0,
- "deal": {
- "id": 0,
- "name": "string"
}, - "contact": {
- "id": 0,
- "name": "string"
}, - "startDatetime": null,
- "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "preNote": "string",
- "endDatetime": null,
- "active": true,
- "result": "string",
- "extraResult": "外部サービスなどから取り込んだ,\nアクションの実施結果",
- "syncCalendar": true,
- "creator": {
- "id": 0,
- "name": "string"
}, - "invitees": [
- {
- "id": 0,
- "name": "string"
}
], - "actionCustoms": [
- {
- "id": 0,
- "actionCustomItemId": 0,
- "itemType": "string",
- "name": "string",
- "value": "テキスト",
- "text": "テキスト",
- "datetime": "2018-04-01T10:30:00+09:00",
- "decimalNumber": "1234.56",
- "selectedValue": 1,
- "selectedValues": [
- 1,
- 2,
- 3
], - "selectedOptions": [
- {
- "id": 0,
- "value": 0,
- "label": "string",
- "contactCustomItemOptionId": 0
}
]
}
]
}
contactId required | integer コンタクトID |
id required | integer アクションID |
OK
Not Found
Internal Server Error
The Open API Service by Mazrica
actions | Array of objects |
Internal Server Error
The Open API Service by Mazrica
{- "actions": [
- {
- "contact": {
- "id": 0
}, - "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": "テキスト"
}
], - "files": [
- {
- "name": "string",
- "path": "string"
}
]
}
]
}
[- 0
]
The Open API Service by Mazrica
{- "lifecycleStageTypes": [
- {
- "id": 0,
- "name": "string",
- "lifecycleStages": [
- {
- "id": 0,
- "name": "string"
}
]
}
]
}
searchWord | string 名前が部分一致するカスタムオブジェクト定義を検索します。 |
page | integer ページ |
OK
カスタムオブジェクトが利用可能な契約プランではない
Internal Server Error
The Open API Service by Mazrica
{- "totalCount": 0,
- "page": 0,
- "customObjectDefs": [
- {
- "key": "string",
- "name": "string",
- "enableBi": true,
- "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00"
}
]
}
name required | string カスタムオブジェクト名 |
enable_bi | boolean BIのデータソースとして使用するかどうか
|
key required | string カスタムオブジェクト定義キー。API指定用のキーになります。 |
customObjectItemDefs | Array of objects 項目定義一覧 |
Created
Bad Request
カスタムオブジェクトが利用可能な契約プランではない
Internal Server Error
The Open API Service by Mazrica
{- "name": "string",
- "enable_bi": true,
- "key": "string",
- "customObjectItemDefs": [
- {
- "name": "string",
- "key": "string",
- "itemType": "string",
- "customObjectOptionDefs": [
- [
- {
- "key": "string",
- "name": "string"
}
]
]
}
]
}
{- "key": "string",
- "name": "string",
- "enableBi": true,
- "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "customObjectItemDefs": [
- {
- "key": "string",
- "name": "string",
- "itemType": "string",
- "customObjectOptionDefs": [
- {
- "key": "string",
- "name": "string"
}
]
}
]
}
key required | string カスタムオブジェクト定義キー |
OK
Bad Request
カスタムオブジェクトが利用可能な契約プランではない
Internal Server Error
The Open API Service by Mazrica
{- "key": "string",
- "name": "string",
- "enableBi": true,
- "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "customObjectItemDefs": [
- {
- "key": "string",
- "name": "string",
- "itemType": "string",
- "customObjectOptionDefs": [
- {
- "key": "string",
- "name": "string"
}
]
}
]
}
key required | string カスタムオブジェクト定義キー |
name | string カスタムオブジェクト名 |
enable_bi | boolean BIのデータソースとして使用するかどうか
|
newKey | string 新しい定義キーを指定します。 |
customObjectItemDefs | Array of objects 項目定義一覧 |
OK
Bad Request
カスタムオブジェクトが利用可能な契約プランではない
Internal Server Error
The Open API Service by Mazrica
{- "name": "string",
- "enable_bi": true,
- "newKey": "string",
- "customObjectItemDefs": [
- {
- "key": "string",
- "delete": true,
- "name": "string",
- "newKey": "string",
- "customObjectOptionDefs": [
- [
- {
- "key": "string",
- "name": "string",
- "newKey": "string",
- "delete": true
}
]
]
}
]
}
{- "key": "string",
- "name": "string",
- "enableBi": true,
- "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "customObjectItemDefs": [
- {
- "key": "string",
- "name": "string",
- "itemType": "string",
- "customObjectOptionDefs": [
- {
- "key": "string",
- "name": "string"
}
]
}
]
}
key required | string カスタムオブジェクト定義キー |
OK
カスタムオブジェクトが利用可能な契約プランではない
Not Found
Internal Server Error
The Open API Service by Mazrica
{- "error": "string",
- "messages": [
- "string"
]
}
custom_object_def_key required | string カスタムオブジェクト定義キー |
name required | string 項目名 |
key required | string 項目キー。API指定用のキーになります。 |
itemType required | string
|
customObjectOptionDefs | Array of Array of objects 選択肢定義一覧 |
before | string 指定した項目キーの手前に項目を追加します。指定がない場合は最後に追加されます。 |
Created
Bad Request
カスタムオブジェクトが利用可能な契約プランではない
Not Found
Internal Server Error
The Open API Service by Mazrica
{- "name": "string",
- "key": "string",
- "itemType": "string",
- "customObjectOptionDefs": [
- [
- {
- "key": "string",
- "name": "string"
}
]
], - "before": "string"
}
{- "key": "string",
- "name": "string",
- "itemType": "string",
- "customObjectOptionDefs": [
- {
- "key": "string",
- "name": "string"
}
]
}
custom_object_def_key required | string カスタムオブジェクト定義キー |
key required | string 項目キー |
name | string 項目名 |
newKey | string 新しい項目キーを指定します。 |
customObjectOptionDefs | Array of Array of objects 選択肢定義一覧 |
delete | boolean 削除する場合は true を指定してください |
OK
Bad Request
カスタムオブジェクトが利用可能な契約プランではない
Not Found
Internal Server Error
The Open API Service by Mazrica
{- "name": "string",
- "newKey": "string",
- "customObjectOptionDefs": [
- [
- {
- "key": "string",
- "name": "string",
- "newKey": "string",
- "delete": true
}
]
], - "delete": true
}
{- "key": "string",
- "name": "string",
- "itemType": "string",
- "customObjectOptionDefs": [
- {
- "key": "string",
- "name": "string"
}
]
}
custom_object_def_key required | string カスタムオブジェクト定義キー |
key required | string 項目キー |
OK
カスタムオブジェクトが利用可能な契約プランではない
Not Found
Internal Server Error
The Open API Service by Mazrica
{- "error": "string",
- "messages": [
- "string"
]
}
custom_object_def_key required | string カスタムオブジェクト定義キー |
createdAtFrom | string <date-time> Example: createdAtFrom=2018-04-01T10:30:00+900 作成日時による検索範囲(開始) |
createdAtTo | string <date-time> Example: createdAtTo=2018-04-01T10:30:00+900 作成日時による検索範囲指定(終了) |
updatedAtFrom | string <date-time> Example: updatedAtFrom=2018-04-01T10:30:00+900 更新日時による検索範囲(開始) |
updatedAtTo | string <date-time> Example: updatedAtTo=2018-04-01T10:30:00+900 更新日時による検索範囲指定(終了) |
sort | string 並び順
ソート可能 |
page | integer ページ |
OK
カスタムオブジェクトが利用可能な契約プランではない
Not Found
Internal Server Error
The Open API Service by Mazrica
{- "totalCount": 0,
- "page": 0,
- "customObjects": [
- {
- "id": 0,
- "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "カスタムオブジェクト項目": null
}
]
}
custom_object_def_key required | string カスタムオブジェクト定義キー |
カスタムオブジェクト項目 | any カスタムオブジェクト項目定義の「項目キー」をJSONのプロパティキーとして指定します。 項目タイプごとに以下の値を設定してください。
例)カスタムオブジェクト「商品」の定義が以下だった場合
というデータを追加するリクエストペイロードは以下になります。
|
Created
Bad Request
カスタムオブジェクトが利用可能な契約プランではない
Not Found
Internal Server Error
The Open API Service by Mazrica
{- "カスタムオブジェクト項目": null
}
{- "id": 0,
- "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "カスタムオブジェクト項目": null
}
custom_object_def_key required | string カスタムオブジェクト定義キー |
id required | integer カスタムオブジェクトID |
OK
カスタムオブジェクトが利用可能な契約プランではない
Not Found
Internal Server Error
The Open API Service by Mazrica
{- "id": 0,
- "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "カスタムオブジェクト項目": null
}
custom_object_def_key required | string カスタムオブジェクト定義キー |
id required | integer カスタムオブジェクトID |
カスタムオブジェクト項目 | any カスタムオブジェクト項目定義の「項目キー」をJSONのプロパティキーとして指定します。 項目タイプごとに以下の値を設定してください。
例)カスタムオブジェクト「商品」の定義が以下だった場合
というデータを追加するリクエストペイロードは以下になります。
|
OK
Bad Request
カスタムオブジェクトが利用可能な契約プランではない
Not Found
Internal Server Error
The Open API Service by Mazrica
{- "カスタムオブジェクト項目": null
}
{- "id": 0,
- "createdAt": "2018-04-01T10:30:00+09:00",
- "updatedAt": "2018-04-01T10:30:00+09:00",
- "カスタムオブジェクト項目": null
}
custom_object_def_key required | string カスタムオブジェクト定義キー |
id required | integer カスタムオブジェクトID |
OK
カスタムオブジェクトが利用可能な契約プランではない
Not Found
Internal Server Error
The Open API Service by Mazrica
{- "error": "string",
- "messages": [
- "string"
]
}
custom_object_def_key required | string カスタムオブジェクト定義キー |
customObjects | Array of objects |
Internal Server Error
The Open API Service by Mazrica
{- "customObjects": [
- {
- "カスタムオブジェクト項目": null
}
]
}
[- 0
]
custom_object_def_key required | string カスタムオブジェクト定義キー |
createdAtFrom | string <date-time> Example: createdAtFrom=2018-04-01T10:30:00+900 作成日時による検索範囲(開始) |
createdAtTo | string <date-time> Example: createdAtTo=2018-04-01T10:30:00+900 作成日時による検索範囲指定(終了) |
updatedAtFrom | string <date-time> Example: updatedAtFrom=2018-04-01T10:30:00+900 更新日時による検索範囲(開始) |
updatedAtTo | string <date-time> Example: updatedAtTo=2018-04-01T10:30:00+900 更新日時による検索範囲指定(終了) |
OK
Not Found
Internal Server Error
The Open API Service by Mazrica
page | integer ページ |
startTime | string <date-time> Example: startTime=2018-04-01T10:30:00+09:00 開始日時 ex)
上記のように指定した場合、開始日時2019-01-01 09:00 から 終了日時2019-01-01 11:00を検索します。 |
endTime | string <date-time> Example: endTime=2018-04-01T10:30:00+09:00 終了日時 ex)
上記のように指定した場合、開始日時 2019-01-01 09:00(日本時間) から 終了日時2019-01-01 11:00(日本時間) を検索します。 |
OK
Internal Server Error
The Open API Service by Mazrica
{- "totalCount": 0,
- "page": 0,
- "audits": [
- {
- "id": 0,
- "dataType": "案件",
- "operationType": "create",
- "details": "string",
- "user": {
- "id": 0,
- "name": "string",
- "email": "string"
}, - "time": "2018-04-01T10:30:00+09:00"
}
]
}