Download OpenAPI specification:
APIの利用を開始する前に、API利用規約をご確認ください。
現在準備中です。新規発行および key の再発行については、お問い合わせください。
発行された API Key を利用して、APIをリクエストします。
本APIを利用された場合、弊社の「API利用規約」のすべての内容に同意したものとみなされます。 ご利用前に必ずご確認ください。
本APIでは X-Api-Key ヘッダーに API キーを付与して認証を行います。 認証に必要なAPIキーはお問い合わせ頂く必要があります。
クライアントは、APIリクエストを行うときに、Headerで以下の形式でAPIキーを付与して送信する必要があります。
X-Api-Key: <api-key>
APIキーは漏洩リスクが高いため、安全に保管するようにしてください。 Github, Bitbucket などのサードパーティーのホスティングサービスや、フロントエンドのコード内など、外部に公開される場所には絶対に置かないようにしてください。
本APIでは X-Api-Version ヘッダーを使用して、API のバージョンを指定する必要があります。
X-Api-Version: 2024-07-01
X-Api-Version ヘッダーのないリクエストは、最新のバージョンが使用されます。
現在は次の API バージョンがサポートされています。
本APIには、安定したサービス提供のため、以下の利用制限があります。 これらの制限は外部APIにのみ適用されます。
| 項目 | 制限 |
|---|---|
| リクエスト回数 | APIキーごとに 100,000 リクエスト/日 |
| リクエストレート | APIキーごとに 100 リクエスト/秒 |
| バースト | APIキーごとに 100 リクエスト |
| タイムアウト | 29秒 |
| リクエストサイズ | 10 MB 以下 |
| 利用可能時間帯 | 24時間利用可能。ただし、メンテナンス、障害、その他当社が必要と判断した場合を除きます。 |
| データ形式 | 各APIの仕様に定める JSON 形式に従うものとします。 |
上記の利用制限を超過した場合、または本サービスの安定した運用に影響を及ぼすおそれがあると当社が判断した場合、リクエストの制限またはAPIの利用停止を行うことがあります。
短時間に多数のリクエストが行われた場合など、429 Too Many Requests 等のエラーが返却されることがあります。
429 Too Many Requests を受け取った場合は、一定時間を空けてからリトライしてください。
本 API は一般的な HTTP レスポンスコードを利用しています。
2xx の範囲の、ステータスコードは正常処理を表します。
4xx の範囲は、リクエストの Parameter などの入力に起因するエラーで、リクエストが受付られない状態を表します。
5xx の範囲は、サーバ内部で正常に処理が行われなかった状態を表します。
| ステータスコード | 説明 |
|---|---|
| 400 - Bad Request | Parameter の不備などでリクエストを受け付けられない。 |
| 401 - Unauthorized | 認証ができない。api-key が不正である。 |
| 403 - Forbidden | 対象の API 実行が認可されていない。 |
| 404 - Not Found | 指定したリソースが存在しない。 |
| 429 - Too Many Requests | レートリミットを超えてリクエストされた。 |
| 500, 502, 503, 504 - Server Errros | サーバ内で処理が正常に行われなかった。 |
エラー発生時には、下記のようなエラーを返します。
| 項目名 | 型 | 説明 |
|---|---|---|
| statusCode | string | エラーコード文字列 |
| message | string | エラーメッセージ |
本APIでは、pageパラメータ(1始まり)を指定することでページネーションすることができます。
また、perPageで1ページ当たりの件数を指定することができます。
ページネーションのあるAPIエンドポイントでは以下の形式でデータが返却されます。
| 項目名 | 型 | 説明 |
|---|---|---|
| data | array | 目的の Object のリスト。array 形式になっています。 |
| total | number | 目的の Object の総数 |
複雑な検索条件に対応するためにメソッドを変更し、リクエストボディに検索条件を含めるようにしました。 それに伴いエンドポイントも変更しました。 変更があるAPIは以下の通りです。
| - | 変更前 | 変更後 |
|---|---|---|
| 1 | GET /api/jobs |
POST /api/jobs/list |
| 2 | GET /api/estiamtes |
POST /api/estimates/list |
| 3 | GET /api/addresses |
POST /api/addresses/list |
| 4 | GET /api/clients |
POST /api/clients/list |
API のドメインを変更しました。新しいドメインは api-external.meetsone.com です。
※古いドメイン api.meetsone.com は引き続き利用可能ですが、将来的に廃止される予定です。
Authorization ヘッダーでの Bearer 認証を廃止し、X-Api-Key ヘッダーでの認証に変更しました。
(しばらくの間は両方の認証方法を受け付けますが、X-Api-Key への移行をお願いします)
仕事詳細データを取得するためのAPIです。
| id required | string Example: clhhayfgu0003015kcsx0hvid 仕事ID |
| x-api-key required | string |
| x-api-version | string |
required | object 仕事詳細情報 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "data": {
- "id": "clhhayfgu0003015kcsx0hvid",
- "externalId": "string",
- "slug": "2024-02-003",
- "title": "TESTInc.様/エアコンクリーニング",
- "cancelledAt": "2021-06-01T00:00:00.000Z",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2021-06-01T00:00:00.000Z",
- "finishedAt": "2021-06-07T00:00:00.000Z",
- "expectedOrderAmount": "200000",
- "expectedOrderDate": "2023-05-05T00:00:00.000Z",
- "orderStatus": "ordered",
- "jobStatus": "progress",
- "invoiceStatus": "paid",
- "purchaseOrderStatus": "issued",
- "purchaseOrderPaymentStatus": "received",
- "documentStatus": "issued",
- "isAssignedToMe": true,
- "updatedAt": "2023-06-09T00:00:00.000Z",
- "dataUpdatedAt": "2023-06-09T00:00:00.000Z",
- "contact": {
- "id": "clsjzuyef0000u0r2626k5e00",
- "externalId": "string",
- "lastname": "山田",
- "firstname": "太郎",
- "lastnameKana": "やまだ",
- "firstnameKana": "たろう",
- "phone": "09000000000",
- "email": "example@example.com",
- "divisionName": "営業部",
- "internalNote": "これは社内メモです。",
- "isArchive": false,
- "useClientAddressForBilling": true,
- "billingInformation": {
- "id": "clsjzuyef0020u0r3626k5e32",
- "name": "山田太郎",
- "compellation": "様",
- "zipcode": "1234567",
- "state": "東京都",
- "city": "中央区",
- "address1": "銀座7-16-12",
- "address2": "G7ビル8階"
}, - "client": {
- "id": "clsjzuyef0032u2r20l6k3s30",
- "externalId": "string",
- "createdAt": "2020-10-23T01:08:01.109Z",
- "updatedAt": "2020-10-23T01:08:01.109Z",
- "name": "string",
- "companyName": "株式会社ミツモア",
- "companyNameKana": "カブシキガイシャミツモア",
- "phone": "0312345678",
- "email": "example@meetsmore.com",
- "zipcode": "1040061",
- "state": "東京都",
- "city": "中央区",
- "address1": "銀座7-16-12",
- "address2": "G7ビル8階",
- "isCompany": true,
- "isArchive": false,
- "cutoffDateCode": 99,
- "paymentDateCode": 199,
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "leadSourceId": "cl2457uox0201frx9puwnqzxm",
- "divisionId": "dvzuyef0032u2r20l6k3s30"
}, - "clientId": "clq5z3bi8008s5p011j24pj6i"
}, - "estimates": [
- {
- "id": "clptk0yf302315o01wq9zbo6g",
- "createdAt": "2023-06-01T00:00:00.000Z",
- "updatedAt": "2023-06-01T00:00:00.000Z",
- "title": "string",
- "slug": "2024-02-003-E01",
- "effectiveDuration": "発行日から30日間",
- "issuedAt": "2023-06-01T00:00:00.000Z",
- "note": "特になし",
- "taxType": "TaxIncluded",
- "unitCostRoundingDigit": 2,
- "unitCostRoundingType": "Off",
- "unitPriceRoundingDigit": 2,
- "unitPriceRoundingType": "Off",
- "subTotalRoundingType": "Off",
- "taxRoundingType": "Off",
- "total": "11000",
- "subTotal": "10000",
- "salesTax": "1000",
- "cost": "5000",
- "isArchive": false,
- "orderStatus": "ordered",
- "approvalStatus": "InProgress"
}
], - "invoices": [
- {
- "id": "clei758p6001u5l01w5ztspw6",
- "externalId": "string",
- "createdAt": "2023-06-01T00:00:00.000Z",
- "updatedAt": "2023-06-01T00:00:00.000Z",
- "title": "string",
- "slug": "2024-02-003-I01",
- "dueAt": "2023-06-30T00:00:00.000Z",
- "note": "特になし",
- "taxType": "TaxIncluded",
- "unitCostRoundingDigit": 2,
- "unitCostRoundingType": "Off",
- "unitPriceRoundingDigit": 2,
- "unitPriceRoundingType": "Off",
- "subTotalRoundingType": "Off",
- "taxRoundingType": "Off",
- "total": "11000",
- "subTotal": "10000",
- "salesTax": "1000",
- "cost": "5000",
- "issuedAt": "2023-06-01T00:00:00.000Z",
- "billedAt": "2023-06-01T02:00:00.000Z",
- "requestedAt": "2023-06-01T02:00:00.000Z",
- "paidAt": "2023-06-05T02:00:00.000Z",
- "partiallyPaidAt": "2023-06-05T02:00:00.000Z",
- "isArchive": false,
- "approvalStatus": "InProgress",
- "estimateId": "clptk0yf302315o01wq9zbo6g"
}
], - "expectedCosts": [
- {
- "id": "clc5yxs9y000f5mr60iqw61qu",
- "createdAt": "2023-06-01T00:00:00.000Z",
- "updatedAt": "2023-06-01T00:00:00.000Z",
- "title": "備品費",
- "taxType": "TaxIncluded",
- "unitPriceRoundingDigit": 2,
- "unitPriceRoundingType": "Off",
- "subTotalRoundingType": "Off",
- "taxRoundingType": "Off",
- "slug": "2023-06-01-I01",
- "note": "特になし",
- "total": "11000",
- "subTotal": "10000",
- "salesTax": "1000",
- "issuedAt": "2023-06-01T00:00:00.000Z",
- "deletedAt": "2023-06-01T02:00:00.000Z"
}
], - "appointments": [
- {
- "id": "cl5c0bcz318351015l39r39wao",
- "slug": "2024-02-003-A01",
- "title": "作業当日",
- "startTime": "2023-05-01T09:00:00.000Z",
- "endTime": "2023-05-01T18:00:00.000Z",
- "finishedAt": "2023-05-01T17:00:00.000Z",
- "dispatchedAt": "2023-05-01T08:00:00.000Z",
- "arrivedAt": "2023-05-01T08:30:00.000Z",
- "acceptedAt": "2023-05-01T00:00:00.000Z",
- "allDay": false,
- "isFixed": true,
- "isStartDateFixed": true,
- "duration": 480,
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "arrivalWindow": {
- "id": "clnyjk3fj00ut5s012looknz7",
- "name": "午後イチ",
- "startTime": "2000-01-01T06:00:00.000Z",
- "endTime": "2000-01-01T07:45:00.000Z"
}, - "assignments": [
- {
- "user": {
- "id": "ckz21yyek2147015jhdem6o0h",
- "lastname": "斉藤",
- "firstname": "次郎",
- "externalId": "clsl932010000u9r2h8bkbe00"
}
}
]
}
], - "jobTags": [
- {
- "id": "clq5z3bi8008q5p0187stneu4",
- "name": "2022-01-03T02:00:00.000Z",
- "shortcode": "H",
- "color": "#E9967A",
- "isArchive": false
}
], - "jobType": {
- "id": "clexrnhoc00044j01qxgt84c6",
- "name": "エアコンクリーニング",
- "durationMinutes": 60,
- "memo": "壁掛けタイプのエアコンのみ対応",
- "isActive": true,
- "color": "#FF0999"
}, - "address": {
- "id": "cl2451eh700002gx9ju799nat",
- "externalId": "string",
- "createdAt": "2021-08-01T00:00:00.000Z",
- "updatedAt": "2021-08-01T00:00:00.000Z",
- "name": "山田様邸",
- "nameKana": "ヤマダ タロウ",
- "zipcode": "1040061",
- "state": "東京都",
- "city": "中央区",
- "address1": "銀座7-16-12",
- "address2": "G7ビル8階",
- "phone": "09000000000",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "isArchive": false,
- "divisionId": "string",
- "buildingId": "string",
- "addressTags": [
- {
- "id": "cl3l7lqsj3303015nraag2rho",
- "name": "エレベーターなし",
- "color": "#FF0000"
}
]
}, - "divisions": [
- {
- "id": "cl5ais9zo8089015sbda9dhmq",
- "name": "第一営業部"
}
], - "leadSource": {
- "id": "cl5c0gaoe19534015l29i76dzl",
- "name": "広告会社A"
}, - "personInChargeUsers": [
- {
- "id": "ckz21yyek2147015jhdem6o0h",
- "lastname": "斉藤",
- "firstname": "次郎",
- "externalId": "clsl932010000u9r2h8bkbe00"
}
], - "balance": {
- "summary": {
- "expense": 100000,
- "netSales": 250000,
- "totalProfitRatio": 1.24,
- "costPrice": 150000,
- "sales": 400000,
- "grossProfit": 50000,
- "profitRatio": 0.125
}
}, - "memo": "特になし",
- "paymentMethod": {
- "id": "clhe6u5gb00m14d0125nx2cjz",
- "name": "クレジットカード"
}, - "phase": {
- "id": "clf7oz88g007w4e01caey9nmy",
- "name": "営業中",
- "type": "Inquiry",
- "sortNum": 1,
- "orderProbability": 50
}, - "pipeline": {
- "id": "clkm13i0x00945w01t57rk37i",
- "name": "パイプラインB",
- "phases": [
- {
- "id": "clf7oz88g007w4e01caey9nmy",
- "name": "営業中",
- "type": "Inquiry",
- "sortNum": 1,
- "orderProbability": 50
}
]
}, - "failureReason": "string",
- "orderFailureReasons": [
- {
- "apiName": "string",
- "reason": "string"
}
]
}
}テナントの仕事一覧を取得するためのAPIです。
| x-api-key required | string |
| x-api-version | string |
| perPage | number or null Default: 10 1ページあたりの件数(最大50) | ||||||||
| page | number or null Default: 1 ページ番号 | ||||||||
| phaseId | string or null フェーズID | ||||||||
| pipelineId | string or null パイプラインID | ||||||||
| clientId | string or null 顧客ID | ||||||||
| addressId | string or null 現場ID | ||||||||
| equipmentId | string or null 機器ID | ||||||||
| userIds | Array of strings 訪問担当者のユーザーID | ||||||||
| personInChargeUserIds | Array of strings 仕事担当者のユーザーID | ||||||||
| divisionIds | Array of strings 担当部署ID | ||||||||
| jobIds | Array of strings 仕事ID | ||||||||
| jobTypeIds | Array of strings 仕事タイプID | ||||||||
| jobTagIds | Array of strings 仕事タグID | ||||||||
| jobTitle | string or null 仕事名 | ||||||||
| orderStatuses | Array of strings or null Enum: "cancelled" "ordered" "estimating" "before estimating" "request" 受注状況
| ||||||||
| jobStatuses | Array of strings or null Enum: "completed" "no appointment" "appointment completed" "progress" 仕事状況
| ||||||||
| invoiceStatuses | Array of strings or null Enum: "cancelled" "partiallyPaid" "paid" "requested" "issued" "waiting" 請求状況
| ||||||||
| jobLeadSourceIds | Array of strings 仕事の集客元ID | ||||||||
| clientLeadSourceIds | Array of strings 顧客の集客元ID | ||||||||
object 更新日の範囲 | |||||||||
| |||||||||
object 更新日の範囲 | |||||||||
| |||||||||
object 更新日の範囲 | |||||||||
| |||||||||
object 仕事日の範囲 | |||||||||
| |||||||||
object 見積書発行日の範囲 | |||||||||
| |||||||||
object 請求書発行日の範囲 | |||||||||
| |||||||||
object 発注書発行日の範囲 | |||||||||
| |||||||||
| query | string or null 自由文字列の検索ワード | ||||||||
| hasExpectedCosts | boolean or null 実行予算を持っているフラグ 持つ場合はtrue | ||||||||
| isProgressInvoiceEstimate | boolean or null 出来高請求書を持っているフラグ 持つ場合はtrue | ||||||||
Array of objects (ExternalSearchConditionFilterForPhase) フェーズ情報の配列 | |||||||||
Array
| |||||||||
| total required | number トータル件数 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | Array of objects (ExternalJob) 仕事情報の配列 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "perPage": 50,
- "page": 1,
- "phaseId": "string",
- "pipelineId": "string",
- "clientId": "string",
- "addressId": "string",
- "equipmentId": "string",
- "userIds": [
- "string"
], - "personInChargeUserIds": [
- "string"
], - "divisionIds": [
- "string"
], - "jobIds": [
- "string"
], - "jobTypeIds": [
- "string"
], - "jobTagIds": [
- "string"
], - "jobTitle": "エアコンクリーニング",
- "orderStatuses": [
- "request",
- "before estimating",
- "estimating",
- "ordered",
- "cancelled"
], - "jobStatuses": [
- "no appointment",
- "progress",
- "appointment completed",
- "completed"
], - "invoiceStatuses": [
- "waiting",
- "issued",
- "paid"
], - "jobLeadSourceIds": [
- "string"
], - "clientLeadSourceIds": [
- "string"
], - "createdAt": {
- "start": "2020-11-30T15%3A00%3A00.000Z",
- "end": "2020-11-31T15%3A00%3A00.000Z"
}, - "updatedAt": {
- "start": "2020-11-30T15%3A00%3A00.000Z",
- "end": "2020-11-31T15%3A00%3A00.000Z"
}, - "dataUpdatedAt": {
- "start": "2020-11-30T15%3A00%3A00.000Z",
- "end": "2020-11-31T15%3A00%3A00.000Z"
}, - "jobDate": {
- "start": "2020-11-30T15%3A00%3A00.000Z",
- "end": "2020-11-31T15%3A00%3A00.000Z"
}, - "estimateIssuedAt": {
- "start": "2020-11-30T15%3A00%3A00.000Z",
- "end": "2020-11-31T15%3A00%3A00.000Z"
}, - "invoiceIssuedAt": {
- "start": "2020-11-30T15%3A00%3A00.000Z",
- "end": "2020-11-31T15%3A00%3A00.000Z"
}, - "purchaseOrderIssuedAt": {
- "start": "2020-11-30T15%3A00%3A00.000Z",
- "end": "2020-11-31T15%3A00%3A00.000Z"
}, - "query": "エアコンクリーニング",
- "hasExpectedCosts": true,
- "isProgressInvoiceEstimate": true,
- "phases": [
- {
- "start": "2020-11-30T15%3A00%3A00.000Z",
- "end": "2020-11-31T15%3A00%3A00.000Z",
- "phaseId": "string",
- "pipelineId": "string"
}
]
}{- "total": 1,
- "data": [
- {
- "id": "clhhayfgu0003015kcsx0hvid",
- "externalId": "string",
- "slug": "2024-02-003",
- "title": "TESTInc.様/エアコンクリーニング",
- "cancelledAt": "2021-06-01T00:00:00.000Z",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2021-06-01T00:00:00.000Z",
- "finishedAt": "2021-06-07T00:00:00.000Z",
- "expectedOrderAmount": "200000",
- "expectedOrderDate": "2023-05-05T00:00:00.000Z",
- "orderStatus": "ordered",
- "jobStatus": "progress",
- "invoiceStatus": "paid",
- "purchaseOrderStatus": "issued",
- "purchaseOrderPaymentStatus": "received",
- "documentStatus": "issued",
- "isAssignedToMe": true,
- "updatedAt": "2023-06-09T00:00:00.000Z",
- "dataUpdatedAt": "2023-06-09T00:00:00.000Z",
- "contact": {
- "id": "clsjzuyef0000u0r2626k5e00",
- "externalId": "string",
- "lastname": "山田",
- "firstname": "太郎",
- "lastnameKana": "やまだ",
- "firstnameKana": "たろう",
- "phone": "09000000000",
- "email": "example@example.com",
- "divisionName": "営業部",
- "internalNote": "これは社内メモです。",
- "isArchive": false,
- "useClientAddressForBilling": true,
- "billingInformation": {
- "id": "clsjzuyef0020u0r3626k5e32",
- "name": "山田太郎",
- "compellation": "様",
- "zipcode": "1234567",
- "state": "東京都",
- "city": "中央区",
- "address1": "銀座7-16-12",
- "address2": "G7ビル8階"
}, - "client": {
- "id": "clsjzuyef0032u2r20l6k3s30",
- "externalId": "string",
- "createdAt": "2020-10-23T01:08:01.109Z",
- "updatedAt": "2020-10-23T01:08:01.109Z",
- "name": "string",
- "companyName": "株式会社ミツモア",
- "companyNameKana": "カブシキガイシャミツモア",
- "phone": "0312345678",
- "email": "example@meetsmore.com",
- "zipcode": "1040061",
- "state": "東京都",
- "city": "中央区",
- "address1": "銀座7-16-12",
- "address2": "G7ビル8階",
- "isCompany": true,
- "isArchive": false,
- "cutoffDateCode": 99,
- "paymentDateCode": 199,
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "leadSourceId": "cl2457uox0201frx9puwnqzxm",
- "divisionId": "dvzuyef0032u2r20l6k3s30"
}, - "clientId": "clq5z3bi8008s5p011j24pj6i"
}, - "estimates": [
- {
- "id": "clptk0yf302315o01wq9zbo6g",
- "createdAt": "2023-06-01T00:00:00.000Z",
- "updatedAt": "2023-06-01T00:00:00.000Z",
- "title": "string",
- "slug": "2024-02-003-E01",
- "effectiveDuration": "発行日から30日間",
- "issuedAt": "2023-06-01T00:00:00.000Z",
- "note": "特になし",
- "taxType": "TaxIncluded",
- "unitCostRoundingDigit": 2,
- "unitCostRoundingType": "Off",
- "unitPriceRoundingDigit": 2,
- "unitPriceRoundingType": "Off",
- "subTotalRoundingType": "Off",
- "taxRoundingType": "Off",
- "total": "11000",
- "subTotal": "10000",
- "salesTax": "1000",
- "cost": "5000",
- "isArchive": false,
- "orderStatus": "ordered",
- "approvalStatus": "InProgress"
}
], - "invoices": [
- {
- "id": "clei758p6001u5l01w5ztspw6",
- "externalId": "string",
- "createdAt": "2023-06-01T00:00:00.000Z",
- "updatedAt": "2023-06-01T00:00:00.000Z",
- "title": "string",
- "slug": "2024-02-003-I01",
- "dueAt": "2023-06-30T00:00:00.000Z",
- "note": "特になし",
- "taxType": "TaxIncluded",
- "unitCostRoundingDigit": 2,
- "unitCostRoundingType": "Off",
- "unitPriceRoundingDigit": 2,
- "unitPriceRoundingType": "Off",
- "subTotalRoundingType": "Off",
- "taxRoundingType": "Off",
- "total": "11000",
- "subTotal": "10000",
- "salesTax": "1000",
- "cost": "5000",
- "issuedAt": "2023-06-01T00:00:00.000Z",
- "billedAt": "2023-06-01T02:00:00.000Z",
- "requestedAt": "2023-06-01T02:00:00.000Z",
- "paidAt": "2023-06-05T02:00:00.000Z",
- "partiallyPaidAt": "2023-06-05T02:00:00.000Z",
- "isArchive": false,
- "approvalStatus": "InProgress",
- "estimateId": "clptk0yf302315o01wq9zbo6g"
}
], - "expectedCosts": [
- {
- "id": "clc5yxs9y000f5mr60iqw61qu",
- "createdAt": "2023-06-01T00:00:00.000Z",
- "updatedAt": "2023-06-01T00:00:00.000Z",
- "title": "備品費",
- "taxType": "TaxIncluded",
- "unitPriceRoundingDigit": 2,
- "unitPriceRoundingType": "Off",
- "subTotalRoundingType": "Off",
- "taxRoundingType": "Off",
- "slug": "2023-06-01-I01",
- "note": "特になし",
- "total": "11000",
- "subTotal": "10000",
- "salesTax": "1000",
- "issuedAt": "2023-06-01T00:00:00.000Z",
- "deletedAt": "2023-06-01T02:00:00.000Z"
}
], - "appointments": [
- {
- "id": "cl5c0bcz318351015l39r39wao",
- "slug": "2024-02-003-A01",
- "title": "作業当日",
- "startTime": "2023-05-01T09:00:00.000Z",
- "endTime": "2023-05-01T18:00:00.000Z",
- "finishedAt": "2023-05-01T17:00:00.000Z",
- "dispatchedAt": "2023-05-01T08:00:00.000Z",
- "arrivedAt": "2023-05-01T08:30:00.000Z",
- "acceptedAt": "2023-05-01T00:00:00.000Z",
- "allDay": false,
- "isFixed": true,
- "isStartDateFixed": true,
- "duration": 480,
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "arrivalWindow": {
- "id": "clnyjk3fj00ut5s012looknz7",
- "name": "午後イチ",
- "startTime": "2000-01-01T06:00:00.000Z",
- "endTime": "2000-01-01T07:45:00.000Z"
}, - "assignments": [
- {
- "user": {
- "id": "ckz21yyek2147015jhdem6o0h",
- "lastname": "斉藤",
- "firstname": "次郎",
- "externalId": "clsl932010000u9r2h8bkbe00"
}
}
]
}
], - "jobTags": [
- {
- "id": "clq5z3bi8008q5p0187stneu4",
- "name": "2022-01-03T02:00:00.000Z",
- "shortcode": "H",
- "color": "#E9967A",
- "isArchive": false
}
], - "jobType": {
- "id": "clexrnhoc00044j01qxgt84c6",
- "name": "エアコンクリーニング",
- "durationMinutes": 60,
- "memo": "壁掛けタイプのエアコンのみ対応",
- "isActive": true,
- "color": "#FF0999"
}, - "address": {
- "id": "cl2451eh700002gx9ju799nat",
- "externalId": "string",
- "createdAt": "2021-08-01T00:00:00.000Z",
- "updatedAt": "2021-08-01T00:00:00.000Z",
- "name": "山田様邸",
- "nameKana": "ヤマダ タロウ",
- "zipcode": "1040061",
- "state": "東京都",
- "city": "中央区",
- "address1": "銀座7-16-12",
- "address2": "G7ビル8階",
- "phone": "09000000000",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "isArchive": false,
- "divisionId": "string",
- "buildingId": "string",
- "addressTags": [
- {
- "id": "cl3l7lqsj3303015nraag2rho",
- "name": "エレベーターなし",
- "color": "#FF0000"
}
]
}, - "divisions": [
- {
- "id": "cl5ais9zo8089015sbda9dhmq",
- "name": "第一営業部"
}
], - "leadSource": {
- "id": "cl5c0gaoe19534015l29i76dzl",
- "name": "広告会社A"
}, - "personInChargeUsers": [
- {
- "id": "ckz21yyek2147015jhdem6o0h",
- "lastname": "斉藤",
- "firstname": "次郎",
- "externalId": "clsl932010000u9r2h8bkbe00"
}
], - "balance": {
- "summary": {
- "expense": 100000,
- "netSales": 250000,
- "totalProfitRatio": 1.24,
- "costPrice": 150000,
- "sales": 400000,
- "grossProfit": 50000,
- "profitRatio": 0.125
}
}, - "memo": "特になし",
- "paymentMethod": {
- "id": "clhe6u5gb00m14d0125nx2cjz",
- "name": "クレジットカード"
}, - "phase": {
- "id": "clf7oz88g007w4e01caey9nmy",
- "name": "営業中",
- "type": "Inquiry",
- "sortNum": 1,
- "orderProbability": 50
}, - "pipeline": {
- "id": "clkm13i0x00945w01t57rk37i",
- "name": "パイプラインB",
- "phases": [
- {
- "id": "clf7oz88g007w4e01caey9nmy",
- "name": "営業中",
- "type": "Inquiry",
- "sortNum": 1,
- "orderProbability": 50
}
]
}, - "failureReason": "string",
- "orderFailureReasons": [
- {
- "apiName": "string",
- "reason": "string"
}
]
}
]
}仕事を作成または更新するためのAPIです。
| x-api-key required | string |
| x-api-version | string |
| id | string or null 仕事ID | ||||||||||||||||||||||||||||||||||||||||||
| externalId | string or null 外部ID | ||||||||||||||||||||||||||||||||||||||||||
object 会社情報 | |||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||
object 現場情報 | |||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||
object 顧客情報 | |||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||
object 顧客情報 | |||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||
| title | string or null 仕事名 | ||||||||||||||||||||||||||||||||||||||||||
| titleFormat | string or null 仕事タイトルのテンプレート文字列 | ||||||||||||||||||||||||||||||||||||||||||
| memo | string or null <= 10000 characters メモ | ||||||||||||||||||||||||||||||||||||||||||
| memoMode | string (MemoMode) Enum: "append" "overwrite" メモモード overwrite: 既存メモを上書き(追記せず新しいメモで置換) 指定なし(デフォルト): append(従来通り追記) @default append | ||||||||||||||||||||||||||||||||||||||||||
Array of objects (JobTagsForExternalUpsertJob) 仕事タグ情報の配列 | |||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||
object 仕事タイプ情報 | |||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||
object or null 支払い方法 | |||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||
Array of objects (AppointmentForExternalUpsertJob) 仕事日程情報の配列 | |||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||
Array of objects (DivisionForExternalUpsertJob) 部署一覧情報の配列 | |||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||
Array of objects (PersonInChargeForExternalUpsertJob) 仕事担当者情報の配列 | |||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||
object or null カスタム項目 | |||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||
object or null 集客元情報 | |||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||
object フェーズ情報 | |||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||
| createdAt | string or null <date-time> 作成日 | ||||||||||||||||||||||||||||||||||||||||||
required | object 仕事詳細情報 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "id": "clhhayfgu0003015kcsx0hvid",
- "externalId": "string",
- "company": {
- "externalId": "string",
- "id": "cl2451eh700002gx9ju799nt3"
}, - "address": {
- "externalId": "string",
- "id": "cl2451eh700002gx9ju799nat"
}, - "contact": {
- "externalId": "string",
- "id": "clsjzuyef0000u0r2626k5e00"
}, - "client": {
- "externalId": "string",
- "id": "clsjzuyef0032u2r20l6k3s30"
}, - "title": "TESTInc.様/エアコンクリーニング",
- "titleFormat": "[{{slug}}] {{clientName}}様",
- "memo": "特になし",
- "memoMode": "append",
- "jobTags": [
- {
- "externalId": "string",
- "id": "clq5z3bi8008q5p0187stneu4"
}
], - "jobType": {
- "externalId": "string",
- "id": "clexrnhoc00044j01qxgt84c6"
}, - "paymentMethod": {
- "externalId": "string",
- "id": "clhe6u5gb00m14d0125nx2cjz"
}, - "appointments": [
- {
- "id": "cl5c0bcz318351015l39r39wao",
- "externalId": "string",
- "startTime": "2023-05-01T09:00:00.000Z",
- "endTime": "2023-05-01T18:00:00.000Z",
- "acceptedAt": "2023-05-01T00:00:00.000Z",
- "arrivalWindow": {
- "externalId": "string",
- "id": "clnyjk3fj00ut5s012looknz7"
}, - "assignments": [
- {
- "externalId": "string",
- "id": "clnyjk3fj00ut5s012looknz7"
}
], - "title": "作業当日",
- "allDay": false,
- "isFixed": true,
- "isStartDateFixed": true,
- "customFields": {
- "property1": "string",
- "property2": "string"
}
}
], - "divisions": [
- {
- "externalId": "string",
- "id": "cl5ais9zo8089015sbda9dhmq"
}
], - "personInChargeUsers": [
- {
- "externalId": "string",
- "id": "ckz21yyek2147015jhdem6o0h"
}
], - "customFields": {
- "property1": "string",
- "property2": "string"
}, - "leadSource": {
- "externalId": "string",
- "id": "cl5c0gaoe19534015l29i76dzl"
}, - "phase": {
- "id": "clf7oz88g007w4e01caey9nmy",
- "estimateId": "clptk0yf302315o01wq9zbo6g",
- "appointmentIds": "cl5c0bcz318351015l39r39wao",
- "invoice": {
- "title": "エアコンクリーニング 見積",
- "unitPrice": "10000"
}, - "jobLostOrderReasonsAndFailureReason": {
- "selectedLostOrderReasonIds": [
- "string"
], - "failureReason": "string"
}
}, - "createdAt": "2019-08-24T14:15:22Z"
}{- "data": {
- "id": "clhhayfgu0003015kcsx0hvid",
- "externalId": "string",
- "slug": "2024-02-003",
- "title": "TESTInc.様/エアコンクリーニング",
- "cancelledAt": "2021-06-01T00:00:00.000Z",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2021-06-01T00:00:00.000Z",
- "finishedAt": "2021-06-07T00:00:00.000Z",
- "expectedOrderAmount": "200000",
- "expectedOrderDate": "2023-05-05T00:00:00.000Z",
- "orderStatus": "ordered",
- "jobStatus": "progress",
- "invoiceStatus": "paid",
- "purchaseOrderStatus": "issued",
- "purchaseOrderPaymentStatus": "received",
- "documentStatus": "issued",
- "isAssignedToMe": true,
- "updatedAt": "2023-06-09T00:00:00.000Z",
- "dataUpdatedAt": "2023-06-09T00:00:00.000Z",
- "contact": {
- "id": "clsjzuyef0000u0r2626k5e00",
- "externalId": "string",
- "lastname": "山田",
- "firstname": "太郎",
- "lastnameKana": "やまだ",
- "firstnameKana": "たろう",
- "phone": "09000000000",
- "email": "example@example.com",
- "divisionName": "営業部",
- "internalNote": "これは社内メモです。",
- "isArchive": false,
- "useClientAddressForBilling": true,
- "billingInformation": {
- "id": "clsjzuyef0020u0r3626k5e32",
- "name": "山田太郎",
- "compellation": "様",
- "zipcode": "1234567",
- "state": "東京都",
- "city": "中央区",
- "address1": "銀座7-16-12",
- "address2": "G7ビル8階"
}, - "client": {
- "id": "clsjzuyef0032u2r20l6k3s30",
- "externalId": "string",
- "createdAt": "2020-10-23T01:08:01.109Z",
- "updatedAt": "2020-10-23T01:08:01.109Z",
- "name": "string",
- "companyName": "株式会社ミツモア",
- "companyNameKana": "カブシキガイシャミツモア",
- "phone": "0312345678",
- "email": "example@meetsmore.com",
- "zipcode": "1040061",
- "state": "東京都",
- "city": "中央区",
- "address1": "銀座7-16-12",
- "address2": "G7ビル8階",
- "isCompany": true,
- "isArchive": false,
- "cutoffDateCode": 99,
- "paymentDateCode": 199,
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "leadSourceId": "cl2457uox0201frx9puwnqzxm",
- "divisionId": "dvzuyef0032u2r20l6k3s30"
}, - "clientId": "clq5z3bi8008s5p011j24pj6i"
}, - "estimates": [
- {
- "id": "clptk0yf302315o01wq9zbo6g",
- "createdAt": "2023-06-01T00:00:00.000Z",
- "updatedAt": "2023-06-01T00:00:00.000Z",
- "title": "string",
- "slug": "2024-02-003-E01",
- "effectiveDuration": "発行日から30日間",
- "issuedAt": "2023-06-01T00:00:00.000Z",
- "note": "特になし",
- "taxType": "TaxIncluded",
- "unitCostRoundingDigit": 2,
- "unitCostRoundingType": "Off",
- "unitPriceRoundingDigit": 2,
- "unitPriceRoundingType": "Off",
- "subTotalRoundingType": "Off",
- "taxRoundingType": "Off",
- "total": "11000",
- "subTotal": "10000",
- "salesTax": "1000",
- "cost": "5000",
- "isArchive": false,
- "orderStatus": "ordered",
- "approvalStatus": "InProgress"
}
], - "invoices": [
- {
- "id": "clei758p6001u5l01w5ztspw6",
- "externalId": "string",
- "createdAt": "2023-06-01T00:00:00.000Z",
- "updatedAt": "2023-06-01T00:00:00.000Z",
- "title": "string",
- "slug": "2024-02-003-I01",
- "dueAt": "2023-06-30T00:00:00.000Z",
- "note": "特になし",
- "taxType": "TaxIncluded",
- "unitCostRoundingDigit": 2,
- "unitCostRoundingType": "Off",
- "unitPriceRoundingDigit": 2,
- "unitPriceRoundingType": "Off",
- "subTotalRoundingType": "Off",
- "taxRoundingType": "Off",
- "total": "11000",
- "subTotal": "10000",
- "salesTax": "1000",
- "cost": "5000",
- "issuedAt": "2023-06-01T00:00:00.000Z",
- "billedAt": "2023-06-01T02:00:00.000Z",
- "requestedAt": "2023-06-01T02:00:00.000Z",
- "paidAt": "2023-06-05T02:00:00.000Z",
- "partiallyPaidAt": "2023-06-05T02:00:00.000Z",
- "isArchive": false,
- "approvalStatus": "InProgress",
- "estimateId": "clptk0yf302315o01wq9zbo6g"
}
], - "expectedCosts": [
- {
- "id": "clc5yxs9y000f5mr60iqw61qu",
- "createdAt": "2023-06-01T00:00:00.000Z",
- "updatedAt": "2023-06-01T00:00:00.000Z",
- "title": "備品費",
- "taxType": "TaxIncluded",
- "unitPriceRoundingDigit": 2,
- "unitPriceRoundingType": "Off",
- "subTotalRoundingType": "Off",
- "taxRoundingType": "Off",
- "slug": "2023-06-01-I01",
- "note": "特になし",
- "total": "11000",
- "subTotal": "10000",
- "salesTax": "1000",
- "issuedAt": "2023-06-01T00:00:00.000Z",
- "deletedAt": "2023-06-01T02:00:00.000Z"
}
], - "appointments": [
- {
- "id": "cl5c0bcz318351015l39r39wao",
- "slug": "2024-02-003-A01",
- "title": "作業当日",
- "startTime": "2023-05-01T09:00:00.000Z",
- "endTime": "2023-05-01T18:00:00.000Z",
- "finishedAt": "2023-05-01T17:00:00.000Z",
- "dispatchedAt": "2023-05-01T08:00:00.000Z",
- "arrivedAt": "2023-05-01T08:30:00.000Z",
- "acceptedAt": "2023-05-01T00:00:00.000Z",
- "allDay": false,
- "isFixed": true,
- "isStartDateFixed": true,
- "duration": 480,
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "arrivalWindow": {
- "id": "clnyjk3fj00ut5s012looknz7",
- "name": "午後イチ",
- "startTime": "2000-01-01T06:00:00.000Z",
- "endTime": "2000-01-01T07:45:00.000Z"
}, - "assignments": [
- {
- "user": {
- "id": "ckz21yyek2147015jhdem6o0h",
- "lastname": "斉藤",
- "firstname": "次郎",
- "externalId": "clsl932010000u9r2h8bkbe00"
}
}
]
}
], - "jobTags": [
- {
- "id": "clq5z3bi8008q5p0187stneu4",
- "name": "2022-01-03T02:00:00.000Z",
- "shortcode": "H",
- "color": "#E9967A",
- "isArchive": false
}
], - "jobType": {
- "id": "clexrnhoc00044j01qxgt84c6",
- "name": "エアコンクリーニング",
- "durationMinutes": 60,
- "memo": "壁掛けタイプのエアコンのみ対応",
- "isActive": true,
- "color": "#FF0999"
}, - "address": {
- "id": "cl2451eh700002gx9ju799nat",
- "externalId": "string",
- "createdAt": "2021-08-01T00:00:00.000Z",
- "updatedAt": "2021-08-01T00:00:00.000Z",
- "name": "山田様邸",
- "nameKana": "ヤマダ タロウ",
- "zipcode": "1040061",
- "state": "東京都",
- "city": "中央区",
- "address1": "銀座7-16-12",
- "address2": "G7ビル8階",
- "phone": "09000000000",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "isArchive": false,
- "divisionId": "string",
- "buildingId": "string",
- "addressTags": [
- {
- "id": "cl3l7lqsj3303015nraag2rho",
- "name": "エレベーターなし",
- "color": "#FF0000"
}
]
}, - "divisions": [
- {
- "id": "cl5ais9zo8089015sbda9dhmq",
- "name": "第一営業部"
}
], - "leadSource": {
- "id": "cl5c0gaoe19534015l29i76dzl",
- "name": "広告会社A"
}, - "personInChargeUsers": [
- {
- "id": "ckz21yyek2147015jhdem6o0h",
- "lastname": "斉藤",
- "firstname": "次郎",
- "externalId": "clsl932010000u9r2h8bkbe00"
}
], - "balance": {
- "summary": {
- "expense": 100000,
- "netSales": 250000,
- "totalProfitRatio": 1.24,
- "costPrice": 150000,
- "sales": 400000,
- "grossProfit": 50000,
- "profitRatio": 0.125
}
}, - "memo": "特になし",
- "paymentMethod": {
- "id": "clhe6u5gb00m14d0125nx2cjz",
- "name": "クレジットカード"
}, - "phase": {
- "id": "clf7oz88g007w4e01caey9nmy",
- "name": "営業中",
- "type": "Inquiry",
- "sortNum": 1,
- "orderProbability": 50
}, - "pipeline": {
- "id": "clkm13i0x00945w01t57rk37i",
- "name": "パイプラインB",
- "phases": [
- {
- "id": "clf7oz88g007w4e01caey9nmy",
- "name": "営業中",
- "type": "Inquiry",
- "sortNum": 1,
- "orderProbability": 50
}
]
}, - "failureReason": "string",
- "orderFailureReasons": [
- {
- "apiName": "string",
- "reason": "string"
}
]
}
}顧客の詳細データを取得するためのAPIです。
| id required | string 顧客ID |
| x-api-key required | string |
| x-api-version | string |
required | object 顧客の詳細情報 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "data": {
- "id": "clsjzuyef0032u2r20l6k3s30",
- "externalId": "string",
- "createdAt": "2020-10-23T01:08:01.109Z",
- "updatedAt": "2020-10-23T01:08:01.109Z",
- "name": "string",
- "companyName": "株式会社ミツモア",
- "companyNameKana": "カブシキガイシャミツモア",
- "phone": "0312345678",
- "email": "example@meetsmore.com",
- "zipcode": "1040061",
- "state": "東京都",
- "city": "中央区",
- "address1": "銀座7-16-12",
- "address2": "G7ビル8階",
- "isCompany": true,
- "isArchive": false,
- "cutoffDateCode": 99,
- "paymentDateCode": 199,
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "leadSourceId": "cl2457uox0201frx9puwnqzxm",
- "divisionId": "dvzuyef0032u2r20l6k3s30",
- "addresses": {
- "id": "cl2451eh700002gx9ju799nat",
- "externalId": "string"
}, - "contacts": {
- "id": "clsjzuyef0000u0r2626k5e00",
- "externalId": "string",
- "lastname": "山田",
- "firstname": "太郎",
- "lastnameKana": "やまだ",
- "firstnameKana": "たろう",
- "phone": "09000000000",
- "email": "example@example.com",
- "divisionName": "営業部",
- "internalNote": "これは社内メモです。",
- "isArchive": false,
- "billingInformation": {
- "id": "clsjzuyef0020u0r3626k5e32",
- "name": "山田太郎",
- "compellation": "様",
- "zipcode": "1234567",
- "state": "東京都",
- "city": "中央区",
- "address1": "銀座7-16-12",
- "address2": "G7ビル8階"
}
}
}
}顧客一覧を取得するためのAPIです。
| x-api-key required | string |
| x-api-version | string |
| perPage | number or null Default: 10 1ページあたりの件数(最大50) | ||||
| page | number or null Default: 1 ページ番号 | ||||
| ids | Array of strings 顧客IDの配列(完全一致) | ||||
| externalIds | Array of strings 外部IDの配列(完全一致) | ||||
| isCompany | boolean or null 法人フラグによるフィルタ | ||||
| isArchive | boolean or null アーカイブフラグによるフィルタ | ||||
Array of objects (IdOrExternalIdReferenceDto) 部署の配列(idまたはexternalIdで指定) | |||||
Array
| |||||
object 作成日の範囲フィルタ | |||||
| |||||
object 更新日の範囲フィルタ | |||||
| |||||
| total required | number トータル件数 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | Array of objects (ClientForExternalFindAllResponse) 顧客情報の配列 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "perPage": 50,
- "page": 1,
- "ids": [
- "cl3l7lqsj3303015nraag2rho"
], - "externalIds": [
- "ext_client_12345"
], - "isCompany": true,
- "isArchive": false,
- "division": [
- {
- "id": "cl3l7lqsj3303015nraag2rho"
}
], - "createdAt": {
- "start": "2020-11-30T15%3A00%3A00.000Z",
- "end": "2020-11-31T15%3A00%3A00.000Z"
}, - "updatedAt": {
- "start": "2020-11-30T15%3A00%3A00.000Z",
- "end": "2020-11-31T15%3A00%3A00.000Z"
}
}{- "total": 1,
- "data": [
- {
- "id": "cl3l7lqsj3303015nraag2rho",
- "externalId": "ext_client_12345",
- "createdAt": "2025-01-01T00:00:00.000Z",
- "updatedAt": "2025-01-01T00:00:00.000Z",
- "name": "山田 太郎",
- "companyName": "株式会社ミツモア",
- "phone": "0312345678",
- "email": "example@meetsmore.com",
- "isCompany": true,
- "isArchive": false,
- "customFields": {
- "Text_1": "example"
}, - "divisionId": "dvzuyef0032u2r20l6k3s30",
- "addresses": [
- {
- "id": "cl3l7lqsj3303015nraag2rho",
- "externalId": "ext_address_12345"
}
], - "contacts": [
- {
- "id": "cl3l7lqsj3303015nraag2rho",
- "externalId": "ext_contact_12345",
- "lastname": "山田",
- "firstname": "太郎",
- "lastnameKana": "ヤマダ",
- "firstnameKana": "タロウ",
- "phone": "09012345678",
- "email": "taro@example.com",
- "divisionName": "営業部",
- "internalNote": "要注意顧客",
- "isArchive": false,
- "billingInformation": {
- "id": "cl3l7lqsj3303015nraag2rho",
- "name": "株式会社ミツモア",
- "compellation": "様",
- "zipcode": "1040061",
- "state": "東京都",
- "city": "中央区",
- "address1": "銀座7-16-12",
- "address2": "G7ビル8階"
}
}
]
}
]
}顧客(個人)を作成または更新するためのAPIです。
| x-api-key required | string |
| x-api-version | string |
| externalId | string or null 外部ID | ||||
| id | string or null 顧客(個人)ID | ||||
| lastname | string or null 姓 | ||||
| firstname | string or null 名前 | ||||
| lastnameKana | string or null 姓カナ | ||||
| firstnameKana | string or null 名前カナ | ||||
| phone | string or null 電話番号 | ||||
string or null メールアドレス | |||||
| zipcode | string or null 郵便番号 | ||||
| state | string or null 都道府県 | ||||
| city | string or null 市区町村 | ||||
| address1 | string or null 住所1 | ||||
| address2 | string or null 住所2 | ||||
| cutoffDateCode | number or null Enum: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 99 締め日コード
| ||||
| paymentDateCode | number or null Enum: 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 199 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 299 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 399 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 499 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 599 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 699 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 799 支払日コード
| ||||
object or null カスタム項目 | |||||
| |||||
object 集客元情報 | |||||
| |||||
object 会社情報 | |||||
| |||||
object 部署情報 | |||||
| |||||
Array of objects (AddressForExternalUpsertClient) 現場情報の配列 | |||||
Array
| |||||
required | object 顧客の詳細情報 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "externalId": "string",
- "id": "cl5c0bcz318351015l39r39wao",
- "lastname": "string",
- "firstname": "string",
- "lastnameKana": "string",
- "firstnameKana": "string",
- "phone": "03-1234-5678",
- "email": "example@meetsmore.com",
- "zipcode": "1040061",
- "state": "東京都",
- "city": "新宿区",
- "address1": "西新宿2-8-1",
- "address2": "ビル名や部屋番号",
- "cutoffDateCode": 99,
- "paymentDateCode": 199,
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "leadSource": {
- "externalId": "string",
- "id": "clhhayfgu0003015kcsx0hvid"
}, - "company": {
- "externalId": "string",
- "id": "clhhayfgu0003015kcsx0hvdd"
}, - "division": {
- "externalId": "string",
- "id": "clhhayfgu0003015kcsx0hvid"
}, - "addresses": "[{ id: \"address123\" }]"
}{- "data": {
- "id": "clsjzuyef0032u2r20l6k3s30",
- "externalId": "string",
- "createdAt": "2020-10-23T01:08:01.109Z",
- "updatedAt": "2020-10-23T01:08:01.109Z",
- "name": "string",
- "companyName": "株式会社ミツモア",
- "companyNameKana": "カブシキガイシャミツモア",
- "phone": "0312345678",
- "email": "example@meetsmore.com",
- "zipcode": "1040061",
- "state": "東京都",
- "city": "中央区",
- "address1": "銀座7-16-12",
- "address2": "G7ビル8階",
- "isCompany": true,
- "isArchive": false,
- "cutoffDateCode": 99,
- "paymentDateCode": 199,
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "leadSourceId": "cl2457uox0201frx9puwnqzxm",
- "divisionId": "dvzuyef0032u2r20l6k3s30",
- "addresses": {
- "id": "cl2451eh700002gx9ju799nat",
- "externalId": "string"
}, - "contacts": {
- "id": "clsjzuyef0000u0r2626k5e00",
- "externalId": "string",
- "lastname": "山田",
- "firstname": "太郎",
- "lastnameKana": "やまだ",
- "firstnameKana": "たろう",
- "phone": "09000000000",
- "email": "example@example.com",
- "divisionName": "営業部",
- "internalNote": "これは社内メモです。",
- "isArchive": false,
- "billingInformation": {
- "id": "clsjzuyef0020u0r3626k5e32",
- "name": "山田太郎",
- "compellation": "様",
- "zipcode": "1234567",
- "state": "東京都",
- "city": "中央区",
- "address1": "銀座7-16-12",
- "address2": "G7ビル8階"
}
}
}
}顧客(個人)を更新するためのAPIです。idまたはexternalIdで指定された顧客が存在しない場合はエラーを返します。
| x-api-key required | string |
| x-api-version | string |
required | object 顧客参照。:id, :externalIdのいずれか1つを指定。 | ||||
| |||||
| lastname | string or null 姓 | ||||
| firstname | string or null 名前 | ||||
| lastnameKana | string or null 姓カナ | ||||
| firstnameKana | string or null 名前カナ | ||||
| phone | string or null 電話番号 | ||||
string or null メールアドレス | |||||
| zipcode | string or null 郵便番号 | ||||
| state | string or null 都道府県 | ||||
| city | string or null 市区町村 | ||||
| address1 | string or null 住所1 | ||||
| address2 | string or null 住所2 | ||||
| cutoffDateCode | number or null Enum: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 99 締め日コード
| ||||
| paymentDateCode | number or null Enum: 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 199 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 299 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 399 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 499 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 599 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 699 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 799 支払日コード
| ||||
object or null カスタム項目 | |||||
| |||||
object 集客元情報 | |||||
| |||||
object 会社情報 | |||||
| |||||
object 部署情報 | |||||
| |||||
Array of objects (AddressForExternalUpsertClient) 現場情報の配列 | |||||
Array
| |||||
required | object 顧客の詳細情報 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "client": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "lastname": "string",
- "firstname": "string",
- "lastnameKana": "string",
- "firstnameKana": "string",
- "phone": "03-1234-5678",
- "email": "example@meetsmore.com",
- "zipcode": "1040061",
- "state": "東京都",
- "city": "新宿区",
- "address1": "西新宿2-8-1",
- "address2": "ビル名や部屋番号",
- "cutoffDateCode": 99,
- "paymentDateCode": 199,
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "leadSource": {
- "externalId": "string",
- "id": "clhhayfgu0003015kcsx0hvid"
}, - "company": {
- "externalId": "string",
- "id": "clhhayfgu0003015kcsx0hvdd"
}, - "division": {
- "externalId": "string",
- "id": "clhhayfgu0003015kcsx0hvid"
}, - "addresses": "[{ id: \"address123\" }]"
}{- "data": {
- "id": "clsjzuyef0032u2r20l6k3s30",
- "externalId": "string",
- "createdAt": "2020-10-23T01:08:01.109Z",
- "updatedAt": "2020-10-23T01:08:01.109Z",
- "name": "string",
- "companyName": "株式会社ミツモア",
- "companyNameKana": "カブシキガイシャミツモア",
- "phone": "0312345678",
- "email": "example@meetsmore.com",
- "zipcode": "1040061",
- "state": "東京都",
- "city": "中央区",
- "address1": "銀座7-16-12",
- "address2": "G7ビル8階",
- "isCompany": true,
- "isArchive": false,
- "cutoffDateCode": 99,
- "paymentDateCode": 199,
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "leadSourceId": "cl2457uox0201frx9puwnqzxm",
- "divisionId": "dvzuyef0032u2r20l6k3s30",
- "addresses": {
- "id": "cl2451eh700002gx9ju799nat",
- "externalId": "string"
}, - "contacts": {
- "id": "clsjzuyef0000u0r2626k5e00",
- "externalId": "string",
- "lastname": "山田",
- "firstname": "太郎",
- "lastnameKana": "やまだ",
- "firstnameKana": "たろう",
- "phone": "09000000000",
- "email": "example@example.com",
- "divisionName": "営業部",
- "internalNote": "これは社内メモです。",
- "isArchive": false,
- "billingInformation": {
- "id": "clsjzuyef0020u0r3626k5e32",
- "name": "山田太郎",
- "compellation": "様",
- "zipcode": "1234567",
- "state": "東京都",
- "city": "中央区",
- "address1": "銀座7-16-12",
- "address2": "G7ビル8階"
}
}
}
}顧客(法人)を作成または更新するためのAPIです。
| x-api-key required | string |
| x-api-version | string |
| externalId | string or null 外部ID | ||||||||||||||||||||||||||||||||||||||||
| id | string or null 顧客(法人)ID | ||||||||||||||||||||||||||||||||||||||||
| companyName | string or null 法人名 | ||||||||||||||||||||||||||||||||||||||||
| companyNameKana | string or null 法人名カナ | ||||||||||||||||||||||||||||||||||||||||
| phone | string or null 電話番号 | ||||||||||||||||||||||||||||||||||||||||
string or null メールアドレス | |||||||||||||||||||||||||||||||||||||||||
| zipcode | string or null 郵便番号 | ||||||||||||||||||||||||||||||||||||||||
| state | string or null 都道府県 | ||||||||||||||||||||||||||||||||||||||||
| city | string or null 市区町村 | ||||||||||||||||||||||||||||||||||||||||
| address1 | string or null 住所1 | ||||||||||||||||||||||||||||||||||||||||
| address2 | string or null 住所2 | ||||||||||||||||||||||||||||||||||||||||
| cutoffDateCode | number or null Enum: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 99 締め日コード
| ||||||||||||||||||||||||||||||||||||||||
| paymentDateCode | number or null Enum: 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 199 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 299 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 399 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 499 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 599 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 699 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 799 支払日コード
| ||||||||||||||||||||||||||||||||||||||||
object or null カスタム項目 | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
object 集客元情報 | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
object 会社情報 | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
object 部署情報 | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
Array of objects (AddressForExternalUpsertClient) 現場情報の配列 | |||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||
Array of objects (ContactForExternalUpsertClient) 客先担当者情報の配列 | |||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||
required | object 顧客の詳細情報 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "externalId": "string",
- "id": "cl5c0bcz318351015l39r39wao",
- "companyName": "株式会社ミツモア",
- "companyNameKana": "カブシキガイシャミツモア",
- "phone": "03-1234-5678",
- "email": "example@meetsmore.com",
- "zipcode": "1040061",
- "state": "東京都",
- "city": "新宿区",
- "address1": "西新宿2-8-1",
- "address2": "ビル名や部屋番号",
- "cutoffDateCode": 99,
- "paymentDateCode": 199,
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "leadSource": {
- "externalId": "string",
- "id": "clhhayfgu0003015kcsx0hvid"
}, - "company": {
- "externalId": "string",
- "id": "clhhayfgu0003015kcsx0hvdd"
}, - "division": {
- "externalId": "string",
- "id": "clhhayfgu0003015kcsx0hvid"
}, - "addresses": "[{ id: \"address123\" }]",
- "contacts": "[{ id: \"contact123\" }]"
}{- "data": {
- "id": "clsjzuyef0032u2r20l6k3s30",
- "externalId": "string",
- "createdAt": "2020-10-23T01:08:01.109Z",
- "updatedAt": "2020-10-23T01:08:01.109Z",
- "name": "string",
- "companyName": "株式会社ミツモア",
- "companyNameKana": "カブシキガイシャミツモア",
- "phone": "0312345678",
- "email": "example@meetsmore.com",
- "zipcode": "1040061",
- "state": "東京都",
- "city": "中央区",
- "address1": "銀座7-16-12",
- "address2": "G7ビル8階",
- "isCompany": true,
- "isArchive": false,
- "cutoffDateCode": 99,
- "paymentDateCode": 199,
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "leadSourceId": "cl2457uox0201frx9puwnqzxm",
- "divisionId": "dvzuyef0032u2r20l6k3s30",
- "addresses": {
- "id": "cl2451eh700002gx9ju799nat",
- "externalId": "string"
}, - "contacts": {
- "id": "clsjzuyef0000u0r2626k5e00",
- "externalId": "string",
- "lastname": "山田",
- "firstname": "太郎",
- "lastnameKana": "やまだ",
- "firstnameKana": "たろう",
- "phone": "09000000000",
- "email": "example@example.com",
- "divisionName": "営業部",
- "internalNote": "これは社内メモです。",
- "isArchive": false,
- "billingInformation": {
- "id": "clsjzuyef0020u0r3626k5e32",
- "name": "山田太郎",
- "compellation": "様",
- "zipcode": "1234567",
- "state": "東京都",
- "city": "中央区",
- "address1": "銀座7-16-12",
- "address2": "G7ビル8階"
}
}
}
}顧客(法人)を更新するためのAPIです。idまたはexternalIdで指定された顧客が存在しない場合はエラーを返します。
| x-api-key required | string |
| x-api-version | string |
required | object 顧客参照。:id, :externalIdのいずれか1つを指定。 | ||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
| companyName | string or null 法人名 | ||||||||||||||||||||||||||||||||||||||||
| companyNameKana | string or null 法人名カナ | ||||||||||||||||||||||||||||||||||||||||
| phone | string or null 電話番号 | ||||||||||||||||||||||||||||||||||||||||
string or null メールアドレス | |||||||||||||||||||||||||||||||||||||||||
| zipcode | string or null 郵便番号 | ||||||||||||||||||||||||||||||||||||||||
| state | string or null 都道府県 | ||||||||||||||||||||||||||||||||||||||||
| city | string or null 市区町村 | ||||||||||||||||||||||||||||||||||||||||
| address1 | string or null 住所1 | ||||||||||||||||||||||||||||||||||||||||
| address2 | string or null 住所2 | ||||||||||||||||||||||||||||||||||||||||
| cutoffDateCode | number or null Enum: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 99 締め日コード
| ||||||||||||||||||||||||||||||||||||||||
| paymentDateCode | number or null Enum: 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 199 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 299 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 399 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 499 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 599 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 699 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 799 支払日コード
| ||||||||||||||||||||||||||||||||||||||||
object or null カスタム項目 | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
object 集客元情報 | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
object 会社情報 | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
object 部署情報 | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
Array of objects (AddressForExternalUpsertClient) 現場情報の配列 | |||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||
Array of objects (ContactForExternalUpdateClient) 客先担当者情報の配列 | |||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||
required | object 顧客の詳細情報 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "client": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "companyName": "株式会社ミツモア",
- "companyNameKana": "カブシキガイシャミツモア",
- "phone": "03-1234-5678",
- "email": "example@meetsmore.com",
- "zipcode": "1040061",
- "state": "東京都",
- "city": "新宿区",
- "address1": "西新宿2-8-1",
- "address2": "ビル名や部屋番号",
- "cutoffDateCode": 99,
- "paymentDateCode": 199,
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "leadSource": {
- "externalId": "string",
- "id": "clhhayfgu0003015kcsx0hvid"
}, - "company": {
- "externalId": "string",
- "id": "clhhayfgu0003015kcsx0hvdd"
}, - "division": {
- "externalId": "string",
- "id": "clhhayfgu0003015kcsx0hvid"
}, - "addresses": "[{ id: \"address123\" }]",
- "contacts": "[{ id: \"contact123\" }]"
}{- "data": {
- "id": "clsjzuyef0032u2r20l6k3s30",
- "externalId": "string",
- "createdAt": "2020-10-23T01:08:01.109Z",
- "updatedAt": "2020-10-23T01:08:01.109Z",
- "name": "string",
- "companyName": "株式会社ミツモア",
- "companyNameKana": "カブシキガイシャミツモア",
- "phone": "0312345678",
- "email": "example@meetsmore.com",
- "zipcode": "1040061",
- "state": "東京都",
- "city": "中央区",
- "address1": "銀座7-16-12",
- "address2": "G7ビル8階",
- "isCompany": true,
- "isArchive": false,
- "cutoffDateCode": 99,
- "paymentDateCode": 199,
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "leadSourceId": "cl2457uox0201frx9puwnqzxm",
- "divisionId": "dvzuyef0032u2r20l6k3s30",
- "addresses": {
- "id": "cl2451eh700002gx9ju799nat",
- "externalId": "string"
}, - "contacts": {
- "id": "clsjzuyef0000u0r2626k5e00",
- "externalId": "string",
- "lastname": "山田",
- "firstname": "太郎",
- "lastnameKana": "やまだ",
- "firstnameKana": "たろう",
- "phone": "09000000000",
- "email": "example@example.com",
- "divisionName": "営業部",
- "internalNote": "これは社内メモです。",
- "isArchive": false,
- "billingInformation": {
- "id": "clsjzuyef0020u0r3626k5e32",
- "name": "山田太郎",
- "compellation": "様",
- "zipcode": "1234567",
- "state": "東京都",
- "city": "中央区",
- "address1": "銀座7-16-12",
- "address2": "G7ビル8階"
}
}
}
}顧客(個人)をアーカイブするためのAPIです。
| x-api-key required | string |
| x-api-version | string |
| id | string or null 顧客ID |
| externalId | string or null 外部ID |
| id required | string クライアントID |
| externalId | string or null 外部ID |
| isArchive required | boolean アーカイブ状態 |
{- "id": "cl5c0bcz318351015l39r39wao",
- "externalId": "string"
}{- "id": "string",
- "externalId": "string",
- "isArchive": true
}リクエストしたID/外部IDで対象の1件の顧客(個人)のアーカイブを解除するためのAPIです。
| x-api-key required | string |
| x-api-version | string |
| id | string or null 顧客ID |
| externalId | string or null 外部ID |
| id required | string クライアントID |
| externalId | string or null 外部ID |
| isArchive required | boolean アーカイブ状態 |
{- "id": "cl5c0bcz318351015l39r39wao",
- "externalId": "string"
}{- "id": "string",
- "externalId": "string",
- "isArchive": true
}顧客(法人)をアーカイブするためのAPIです。
| x-api-key required | string |
| x-api-version | string |
| id | string or null 顧客ID |
| externalId | string or null 外部ID |
| id required | string クライアントID |
| externalId | string or null 外部ID |
| isArchive required | boolean アーカイブ状態 |
{- "id": "cl5c0bcz318351015l39r39wao",
- "externalId": "string"
}{- "id": "string",
- "externalId": "string",
- "isArchive": true
}リクエストしたID/外部IDで対象の1件の顧客(法人)のアーカイブを解除するためのAPIです。
| x-api-key required | string |
| x-api-version | string |
| id | string or null 顧客ID |
| externalId | string or null 外部ID |
| id required | string クライアントID |
| externalId | string or null 外部ID |
| isArchive required | boolean アーカイブ状態 |
{- "id": "cl5c0bcz318351015l39r39wao",
- "externalId": "string"
}{- "id": "string",
- "externalId": "string",
- "isArchive": true
}指定した案件の実績(Actual)を更新します。profitLines / lossLines は全置換。documentTemplate は未送信の場合のみ既存値を維持。
| x-api-key required | string |
| x-api-version | string |
required | object 対象案件参照。:id, :externalIdのいずれか1つ以上を指定。 | ||||||||||||||||||||||
| |||||||||||||||||||||||
object or null 書類テンプレート参照。未指定は既存維持、null でクリア。。:id, :externalIdのいずれか1つ以上を指定。 | |||||||||||||||||||||||
| |||||||||||||||||||||||
required | Array of objects (ExternalUpdateBalanceActualLineDto) 収入明細(必須・全置換) | ||||||||||||||||||||||
Array
| |||||||||||||||||||||||
required | Array of objects (ExternalUpdateBalanceActualLineDto) 支出明細(必須・全置換) | ||||||||||||||||||||||
Array
| |||||||||||||||||||||||
| statusCode required | boolean Default: 200 ステータスコード |
| success required | boolean Default: true 成功フラグ |
{- "job": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "documentTemplate": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "profitLines": [
- {
- "label": "材料費",
- "unitPrice": "10000",
- "quantity": "1",
- "note": "予備費含む",
- "lineType": "Group",
- "discountPrice": "0",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "children": [
- { }
]
}
], - "lossLines": [
- {
- "label": "材料費",
- "unitPrice": "10000",
- "quantity": "1",
- "note": "予備費含む",
- "lineType": "Group",
- "discountPrice": "0",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "children": [
- { }
]
}
]
}{- "statusCode": 200,
- "success": true
}建物を作成または更新するためのAPIです。
| x-api-key required | string |
| x-api-version | string |
| externalId | string or null 外部ID | ||||||||||||
| id | string or null 建物ID | ||||||||||||
| name | string or null 建物名 | ||||||||||||
| zipcode | string or null 郵便番号 | ||||||||||||
| state | string or null 都道府県 | ||||||||||||
| city | string or null 市区町村 | ||||||||||||
| address1 | string or null 住所1 | ||||||||||||
| address2 | string or null 住所2 | ||||||||||||
| phone | string or null 電話番号 | ||||||||||||
object or null カスタム項目 | |||||||||||||
| |||||||||||||
object 部署情報 | |||||||||||||
| |||||||||||||
object 部署情報 | |||||||||||||
| |||||||||||||
Array of objects (BuildingOwnerForExternalUpsertBuilding) 関連する所有者情報の配列 | |||||||||||||
Array
| |||||||||||||
Array of objects (AddressForExternalUpsertBuilding) 関連する現場情報の配列 | |||||||||||||
Array
| |||||||||||||
required | object 建物の詳細情報 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "externalId": "string",
- "id": "clhhayfgu0003015kcsx0hvid",
- "name": "青山ビルディング",
- "zipcode": "123-4567",
- "state": "東京都",
- "city": "新宿区",
- "address1": "西新宿2-8-1",
- "address2": "ビル名や部屋番号",
- "phone": "03-1234-5678",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "company": {
- "externalId": "string",
- "id": "clhhayfgu0003015kcsx0hvdd"
}, - "division": {
- "externalId": "string",
- "id": "clhhayfgu0003015kcsx0hvid"
}, - "owners": [
- {
- "externalId": "string",
- "id": "clhhayfgu0003015kcsx0hvid",
- "tags": [
- {
- "externalId": "string",
- "id": "clhhayfgu0003015kcsx0hvid"
}
]
}
], - "addresses": [
- {
- "externalId": "string",
- "id": "cl2451eh700002gx9ju799nat"
}
]
}{- "data": {
- "id": "clhhayfgu0003015kcsx0hvid",
- "externalId": "string",
- "tenantId": "tenantId123",
- "createdAt": "2021-08-01T00:00:00.000Z",
- "updatedAt": "2021-08-01T00:00:00.000Z",
- "name": "青山ビルディング",
- "zipcode": "123-4567",
- "state": "東京都",
- "city": "新宿区",
- "address1": "西新宿2-8-1",
- "address2": "ビル名や部屋番号",
- "phone": "03-1234-5678",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "division": {
- "id": "clhhayfgu0003015kcsx0hvid",
- "externalId": "string"
}, - "owners": [
- {
- "id": "clhhayfgu0003015kcsx0hvid",
- "externalId": "string",
- "tags": [
- {
- "id": "clhhayfgu0003015kcsx0hvid"
}
]
}
], - "addresses": [
- {
- "id": "cl2451eh700002gx9ju799nat",
- "externalId": "string"
}
]
}
}建物をアーカイブするためのAPIです。
| x-api-key required | string |
| x-api-version | string |
| id | string or null 建物ID |
| externalId | string or null 外部ID |
| id required | string 建物ID |
| externalId | string or null 外部ID |
| isArchive required | boolean アーカイブフラグ |
{- "id": "cl5c0bcz318351015l39r39wao",
- "externalId": "string"
}{- "id": "cl5c0bcz318351015l39r39wao",
- "externalId": "building-123",
- "isArchive": true
}リクエストしたID/外部IDで対象の1件の建物のアーカイブを解除するためのAPIです。
| x-api-key required | string |
| x-api-version | string |
| id | string or null 建物ID |
| externalId | string or null 外部ID |
| id required | string 建物ID |
| externalId | string or null 外部ID |
| isArchive required | boolean アーカイブフラグ |
{- "id": "cl5c0bcz318351015l39r39wao",
- "externalId": "string"
}{- "id": "cl5c0bcz318351015l39r39wao",
- "externalId": "building-123",
- "isArchive": true
}現場の詳細データを取得するためのAPIです。
| id required | string Example: cl3l7lqsj3303015nraag2rho 現場ID |
| x-api-key required | string |
| x-api-version | string |
required | object 現場の詳細情報 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "data": {
- "id": "cl2451eh700002gx9ju799nat",
- "externalId": "string",
- "createdAt": "2021-08-01T00:00:00.000Z",
- "updatedAt": "2021-08-01T00:00:00.000Z",
- "name": "山田様邸",
- "nameKana": "ヤマダ タロウ",
- "zipcode": "1040061",
- "state": "東京都",
- "city": "中央区",
- "address1": "銀座7-16-12",
- "address2": "G7ビル8階",
- "phone": "09000000000",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "isArchive": false,
- "divisionId": "string",
- "buildingId": "string",
- "addressTags": [
- {
- "id": "cl3l7lqsj3303015nraag2rho",
- "name": "エレベーターなし",
- "color": "#FF0000"
}
], - "jobs": [
- {
- "id": "cl3l7lqsj3303015nraag2rho"
}
], - "clients": [
- {
- "id": "cl3l7lqsj3303015nraag2rho"
}
], - "equipments": [
- {
- "id": "cl3l7lqsj3303015nraag2rho"
}
]
}
}外部ID(externalId)で現場の詳細データを取得するためのAPIです。
| externalId required | string Example: ext_address_12345 現場の外部ID |
| x-api-key required | string |
| x-api-version | string |
required | object 現場の詳細情報 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "data": {
- "id": "cl2451eh700002gx9ju799nat",
- "externalId": "string",
- "createdAt": "2021-08-01T00:00:00.000Z",
- "updatedAt": "2021-08-01T00:00:00.000Z",
- "name": "山田様邸",
- "nameKana": "ヤマダ タロウ",
- "zipcode": "1040061",
- "state": "東京都",
- "city": "中央区",
- "address1": "銀座7-16-12",
- "address2": "G7ビル8階",
- "phone": "09000000000",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "isArchive": false,
- "divisionId": "string",
- "buildingId": "string",
- "addressTags": [
- {
- "id": "cl3l7lqsj3303015nraag2rho",
- "name": "エレベーターなし",
- "color": "#FF0000"
}
], - "jobs": [
- {
- "id": "cl3l7lqsj3303015nraag2rho"
}
], - "clients": [
- {
- "id": "cl3l7lqsj3303015nraag2rho"
}
], - "equipments": [
- {
- "id": "cl3l7lqsj3303015nraag2rho"
}
]
}
}現場一覧を取得するためのAPIです。
| x-api-key required | string |
| x-api-version | string |
| perPage | number or null Default: 10 1ページあたりの件数(最大50) | ||||
| page | number or null Default: 1 ページ番号 | ||||
| ids | Array of strings or null 現場IDの配列(完全一致) | ||||
| externalIds | Array of strings or null 外部IDの配列(完全一致) | ||||
| managementNumbers | Array of strings or null 管理番号の配列(完全一致) | ||||
| name | string or null 現場名(完全一致) | ||||
| nameKana | string or null 現場名カナ(完全一致) | ||||
| isArchive | boolean or null アーカイブフラグによるフィルタ | ||||
Array of objects (IdOrExternalIdReferenceDto) 仕事の配列(idまたはexternalIdで指定) | |||||
Array
| |||||
Array of objects (IdOrExternalIdReferenceDto) 顧客の配列(idまたはexternalIdで指定) | |||||
Array
| |||||
Array of objects (IdOrExternalIdReferenceDto) 部署の配列(idまたはexternalIdで指定) | |||||
Array
| |||||
Array of objects (IdOrExternalIdReferenceDto) 建物の配列(idまたはexternalIdで指定) | |||||
Array
| |||||
Array of objects (IdOrExternalIdReferenceDto) 法人の配列(idまたはexternalIdで指定) | |||||
Array
| |||||
object 作成日の範囲フィルタ | |||||
| |||||
object 更新日の範囲フィルタ | |||||
| |||||
| total required | number トータル件数 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | Array of objects (ExternalAddressForFindAll) 現場情報の配列 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "perPage": 50,
- "page": 1,
- "ids": [
- "cl3l7lqsj3303015nraag2rho"
], - "externalIds": [
- "ext_address_12345"
], - "managementNumbers": [
- "ADR-2025-0001"
], - "name": "山田様邸",
- "nameKana": "ヤマダサマテイ",
- "isArchive": false,
- "job": [
- {
- "id": "cl3l7lqsj3303015nraag2rho"
}
], - "client": [
- {
- "id": "cl3l7lqsj3303015nraag2rho"
}
], - "division": [
- {
- "id": "cl3l7lqsj3303015nraag2rho"
}
], - "building": [
- {
- "id": "cl3l7lqsj3303015nraag2rho"
}
], - "company": [
- {
- "id": "cl3l7lqsj3303015nraag2rho"
}
], - "createdAt": {
- "start": "2020-11-30T15%3A00%3A00.000Z",
- "end": "2020-11-31T15%3A00%3A00.000Z"
}, - "updatedAt": {
- "start": "2020-11-30T15%3A00%3A00.000Z",
- "end": "2020-11-31T15%3A00%3A00.000Z"
}
}{- "total": 1,
- "data": [
- {
- "id": "cl2451eh700002gx9ju799nat",
- "externalId": "string",
- "managementNumber": "ADR-2025-0001",
- "createdAt": "2021-08-01T00:00:00.000Z",
- "updatedAt": "2021-08-01T00:00:00.000Z",
- "name": "山田様邸",
- "nameKana": "ヤマダ タロウ",
- "zipcode": "1040061",
- "state": "東京都",
- "city": "中央区",
- "address1": "銀座7-16-12",
- "address2": "G7ビル8階",
- "phone": "09000000000",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "isArchive": false,
- "divisionId": "string",
- "buildingId": "string",
- "companyId": "string",
- "addressTags": [
- {
- "id": "cl3l7lqsj3303015nraag2rho"
}
], - "jobs": [
- {
- "id": "cl3l7lqsj3303015nraag2rho",
- "externalId": "string"
}
], - "clients": [
- {
- "id": "cl3l7lqsj3303015nraag2rho",
- "externalId": "string"
}
], - "equipments": [
- {
- "id": "cl3l7lqsj3303015nraag2rho",
- "externalId": "string"
}
]
}
]
}現場を作成または更新するためのAPIです。
| x-api-key required | string |
| x-api-version | string |
| id | string or null 現場ID | ||||
| externalId | string or null 外部ID | ||||
| name | string or null 現場名 | ||||
| nameKana | string or null 現場名のカナ | ||||
| zipcode | string or null 郵便番号 | ||||
| state | string or null 都道府県 | ||||
| city | string or null 市区町村 | ||||
| address1 | string or null 住所1 | ||||
| address2 | string or null 住所2 | ||||
| phone | string or null 電話番号 | ||||
object or null カスタム項目 | |||||
| |||||
object 会社情報 | |||||
| |||||
object 部署情報 | |||||
| |||||
object 建物情報 | |||||
| |||||
Array of objects (AddressTagForExternalUpsertAddress) 現場タグ情報の配列 | |||||
Array
| |||||
Array of objects (ClientForExternalUpsertAddress) 顧客情報の配列 | |||||
Array
| |||||
Array of objects (JobForExternalUpsertAddress) 仕事情報の配列 | |||||
Array
| |||||
Array of objects (EquipmentForExternalUpsertAddress) 機器情報の配列 | |||||
Array
| |||||
required | object 現場の詳細情報 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "id": "cl2451eh700002gx9ju799nat",
- "externalId": "string",
- "name": "作業エリア",
- "nameKana": "サギョウエリア",
- "zipcode": "104-0061",
- "state": "東京都",
- "city": "新宿区",
- "address1": "西新宿2-8-1",
- "address2": "ビル名や部屋番号",
- "phone": "03-1234-5678",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "company": "clhhayfgu0003015kcsx0hvdd",
- "division": "clhhayfgu0003015kcsx0hvid",
- "building": "clhhayfgu0003015kcsx0hvid",
- "addressTags": [
- {
- "id": "cl3l7lqsj3303015nraag2rho"
}
], - "clients": [
- {
- "externalId": "string",
- "id": "clzjnq0j200vw8l1wxic5dj15"
}
], - "jobs": [
- {
- "externalId": "string",
- "id": "clzjnq14x0007b3ucbqzy03iw"
}
], - "equipments": [
- {
- "externalId": "string",
- "id": "clzkzxeg0000yca7w5daeqshx"
}
]
}{- "data": {
- "id": "cl2451eh700002gx9ju799nat",
- "externalId": "string",
- "createdAt": "2021-08-01T00:00:00.000Z",
- "updatedAt": "2021-08-01T00:00:00.000Z",
- "name": "山田様邸",
- "nameKana": "ヤマダ タロウ",
- "zipcode": "1040061",
- "state": "東京都",
- "city": "中央区",
- "address1": "銀座7-16-12",
- "address2": "G7ビル8階",
- "phone": "09000000000",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "isArchive": false,
- "divisionId": "string",
- "buildingId": "string",
- "addressTags": [
- {
- "id": "cl3l7lqsj3303015nraag2rho",
- "name": "エレベーターなし",
- "color": "#FF0000"
}
], - "jobs": [
- {
- "id": "cl3l7lqsj3303015nraag2rho"
}
], - "clients": [
- {
- "id": "cl3l7lqsj3303015nraag2rho"
}
], - "equipments": [
- {
- "id": "cl3l7lqsj3303015nraag2rho"
}
]
}
}現場をアーカイブするためのAPIです。
| x-api-key required | string |
| x-api-version | string |
| id | string or null 現場ID |
| externalId | string or null 外部ID |
| id required | string 現場ID |
| externalId | string or null 外部ID |
| isArchive required | boolean アーカイブ状態 |
{- "id": "cl5c0bcz318351015l39r39wao",
- "externalId": "string"
}{- "id": "string",
- "externalId": "string",
- "isArchive": true
}リクエストしたID/外部IDで対象の1件の現場のアーカイブを解除するためのAPIです。
| x-api-key required | string |
| x-api-version | string |
| id | string or null 現場ID |
| externalId | string or null 外部ID |
| id required | string 現場ID |
| externalId | string or null 外部ID |
| isArchive required | boolean アーカイブ状態 |
{- "id": "cl5c0bcz318351015l39r39wao",
- "externalId": "string"
}{- "id": "string",
- "externalId": "string",
- "isArchive": true
}見積書の詳細データを取得するためのAPIです。
| id required | string Example: clptk0yf302315o01wq9zbo6g 見積書ID |
| x-api-key required | string |
| x-api-version | string |
required | object 見積書詳細情報 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "data": {
- "id": "clptk0yf302315o01wq9zbo6g",
- "createdAt": "2023-06-01T00:00:00.000Z",
- "updatedAt": "2023-06-01T00:00:00.000Z",
- "title": "string",
- "slug": "2024-02-003-E01",
- "effectiveDuration": "発行日から30日間",
- "issuedAt": "2023-06-01T00:00:00.000Z",
- "note": "特になし",
- "taxType": "TaxIncluded",
- "unitCostRoundingDigit": 2,
- "unitCostRoundingType": "Off",
- "unitPriceRoundingDigit": 2,
- "unitPriceRoundingType": "Off",
- "subTotalRoundingType": "Off",
- "taxRoundingType": "Off",
- "total": "11000",
- "subTotal": "10000",
- "salesTax": "1000",
- "cost": "5000",
- "isArchive": false,
- "orderStatus": "ordered",
- "approvalStatus": "InProgress",
- "jobId": "clptk0yf302315o01wq9zbo6g",
- "estimateLines": [
- {
- "id": "cm3nwvnz2000bjzsgmqrc5su0",
- "label": "清掃代",
- "unitPrice": "10000",
- "unitCost": "5000",
- "quantity": "1",
- "keyPath": "fb9c0b29-3685-4c67-a5a5-ad33a75d1c74.962db167-8c0b-41d5-b9c7-6f99fd4d1456",
- "taxCode": "003",
- "unitName": "件",
- "priceBookItem": {
- "id": "clptk15w602335o01d9fdr0g8",
- "name": "string",
- "modelName": "R22LJXS",
- "manufacturer": {
- "id": "cl5c0j27d20027015lkcfehwvt",
- "name": "ダイキン"
}, - "manufacturerId": "cl5c0j27d20027015lkcfehwvt",
- "category": {
- "id": "cl5c4y3av7540015j9nhy0xdw",
- "name": "室外機",
- "code": "EXT"
}, - "categoryId": "cl5c4y3av7540015j9nhy0xdw",
- "unitPrice": 10000,
- "unitCost": "5000",
- "unitName": "件",
- "note": "特になし",
- "internalNote": "特になし",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "associated": "[clptk15w602335o01d9fdr0g8]",
- "parentIds": "[clptk15w602335o01d9fdr0g8]"
}, - "priceBookItemId": "clptk15w602335o01d9fdr0g8",
- "note": "特になし",
- "internalNote": "特になし",
- "isTextLine": false,
- "sortNum": 1,
- "customFields": {
- "property1": "string",
- "property2": "string"
}
}
], - "customFields": {
- "property1": "string",
- "property2": "string"
}
}
}見積書一覧を取得するためのAPIです。
| x-api-key required | string |
| x-api-version | string |
| perPage | number or null Default: 10 1ページあたりの件数(最大50) | ||||
| page | number or null Default: 1 ページ番号 | ||||
| jobIds | Array of strings 仕事ID | ||||
| addressIds | Array of strings 現場ID | ||||
| clientIds | Array of strings 顧客ID | ||||
object 作成日の範囲 | |||||
| |||||
| slug | string or null 見積書番号 | ||||
| isArchive | boolean or null アーカイブフラグによるフィルタ trueの場合アーカイブ済みの見積書のみ、falseの場合非アーカイブの見積書のみ、未指定の場合は全件取得 nullを指定した場合はバリデーションエラーとなります | ||||
| total required | number トータル件数 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | Array of objects (ExternalEstimateFull) 仕事情報の配列 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "perPage": 50,
- "page": 1,
- "jobIds": [
- "string"
], - "addressIds": [
- "string"
], - "clientIds": [
- "string"
], - "issuedAt": {
- "start": "2020-11-30T15%3A00%3A00.000Z",
- "end": "2020-11-31T15%3A00%3A00.000Z"
}, - "slug": "2024-02-003-E01",
- "isArchive": false
}{- "total": 1,
- "data": [
- {
- "id": "clptk0yf302315o01wq9zbo6g",
- "createdAt": "2023-06-01T00:00:00.000Z",
- "updatedAt": "2023-06-01T00:00:00.000Z",
- "title": "string",
- "slug": "2024-02-003-E01",
- "effectiveDuration": "発行日から30日間",
- "issuedAt": "2023-06-01T00:00:00.000Z",
- "note": "特になし",
- "taxType": "TaxIncluded",
- "unitCostRoundingDigit": 2,
- "unitCostRoundingType": "Off",
- "unitPriceRoundingDigit": 2,
- "unitPriceRoundingType": "Off",
- "subTotalRoundingType": "Off",
- "taxRoundingType": "Off",
- "total": "11000",
- "subTotal": "10000",
- "salesTax": "1000",
- "cost": "5000",
- "isArchive": false,
- "orderStatus": "ordered",
- "approvalStatus": "InProgress",
- "jobId": "clptk0yf302315o01wq9zbo6g",
- "estimateLines": [
- {
- "id": "cm3nwvnz2000bjzsgmqrc5su0",
- "label": "清掃代",
- "unitPrice": "10000",
- "unitCost": "5000",
- "quantity": "1",
- "keyPath": "fb9c0b29-3685-4c67-a5a5-ad33a75d1c74.962db167-8c0b-41d5-b9c7-6f99fd4d1456",
- "taxCode": "003",
- "unitName": "件",
- "priceBookItem": {
- "id": "clptk15w602335o01d9fdr0g8",
- "name": "string",
- "modelName": "R22LJXS",
- "manufacturer": {
- "id": "cl5c0j27d20027015lkcfehwvt",
- "name": "ダイキン"
}, - "manufacturerId": "cl5c0j27d20027015lkcfehwvt",
- "category": {
- "id": "cl5c4y3av7540015j9nhy0xdw",
- "name": "室外機",
- "code": "EXT"
}, - "categoryId": "cl5c4y3av7540015j9nhy0xdw",
- "unitPrice": 10000,
- "unitCost": "5000",
- "unitName": "件",
- "note": "特になし",
- "internalNote": "特になし",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "associated": "[clptk15w602335o01d9fdr0g8]",
- "parentIds": "[clptk15w602335o01d9fdr0g8]"
}, - "priceBookItemId": "clptk15w602335o01d9fdr0g8",
- "note": "特になし",
- "internalNote": "特になし",
- "isTextLine": false,
- "sortNum": 1,
- "customFields": {
- "property1": "string",
- "property2": "string"
}
}
]
}
]
}見積書の承認ステータスを承認・否認に更新するためのAPIです。
| id required | string Example: clptk0yf302315o01wq9zbo6g 見積書ID |
| x-api-key required | string |
| x-api-version | string |
| approvalStatus required | string Enum: "InProgress" "Approved" "SentBack" "Rejected" "Deleted" 見積書承認ステータス |
{- "approvalStatus": "Approved"
}{ }見積書を新規作成するためのAPIです。
| x-api-key required | string |
| x-api-version | string |
| title required | string タイトル | ||||||||||||||||||||||||||||||||||||||||||||||||
| effectiveDuration required | string 有効期限(YYYY/MM/DD) | ||||||||||||||||||||||||||||||||||||||||||||||||
| issuedAt | string or null <date-time> 発行日(未発行はnull) | ||||||||||||||||||||||||||||||||||||||||||||||||
| note | string or null 備考 | ||||||||||||||||||||||||||||||||||||||||||||||||
| jobId required | string ジョブID | ||||||||||||||||||||||||||||||||||||||||||||||||
| taxType required | string Enum: "TaxIncluded" "TaxExcluded" "TaxExempted" 税区分(TaxIncluded/TaxExcluded/TaxExempted) | ||||||||||||||||||||||||||||||||||||||||||||||||
object カスタム項目 | |||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||
| clientId | string or null 取引先ID | ||||||||||||||||||||||||||||||||||||||||||||||||
| contactId | string or null 担当者ID | ||||||||||||||||||||||||||||||||||||||||||||||||
| unitCostRoundingType | string Enum: "Down" "Up" "Off" 原価の端数処理(Down/Up/Off) | ||||||||||||||||||||||||||||||||||||||||||||||||
| unitCostRoundingDigit | number [ 0 .. 2 ] 原価の端数桁(0/1/2) | ||||||||||||||||||||||||||||||||||||||||||||||||
| unitPriceRoundingType | string Enum: "Down" "Up" "Off" 単価の端数処理(Down/Up/Off) | ||||||||||||||||||||||||||||||||||||||||||||||||
| unitPriceRoundingDigit | number [ 0 .. 2 ] 単価の端数桁(0/1/2) | ||||||||||||||||||||||||||||||||||||||||||||||||
| subTotalRoundingType | string Enum: "Down" "Up" "Off" 小計の端数処理(Down/Up/Off) | ||||||||||||||||||||||||||||||||||||||||||||||||
| taxRoundingType | string Enum: "Down" "Up" "Off" 消費税の端数処理(Down/Up/Off) | ||||||||||||||||||||||||||||||||||||||||||||||||
required | Array of objects (ExternalCreateEstimateLineDto) 見積明細(1行以上) | ||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects (ExternalCreateEstimateTagDto) タグ(最大50件) | |||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||
required | object 見積書詳細情報 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "title": "○○工事 見積書",
- "effectiveDuration": "2025/12/31",
- "issuedAt": "2025-01-01T00:00:00.000Z",
- "note": "string",
- "jobId": "idを指定",
- "taxType": "TaxExcluded",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "clientId": "idを指定",
- "contactId": "idを指定",
- "unitCostRoundingType": "Down",
- "unitCostRoundingDigit": 2,
- "unitPriceRoundingType": "Off",
- "unitPriceRoundingDigit": 2,
- "subTotalRoundingType": "Off",
- "taxRoundingType": "Off",
- "estimateLines": [
- {
- "label": "基礎工事",
- "quantity": "10",
- "unitPrice": "5000",
- "unitCost": "3000",
- "unitName": "式",
- "priceBookItemId": "idを指定",
- "originalUnitPrice": "5000",
- "originalUnitCost": "3000",
- "note": "string",
- "internalNote": "string",
- "taxCode": "001",
- "unitListPrice": "5000",
- "unitListPriceString": "5000",
- "isTextLine": false,
- "modelName": "R22LJXS",
- "manufacturerId": "idを指定",
- "discountPrice": "0",
- "splitBillingOriginalUnitPrice": "5000",
- "billedAmount": "0",
- "progressInvoiceDetailLineId": "idを指定",
- "customFields": {
- "property1": "string",
- "property2": "string"
}
}
], - "tags": [
- {
- "name": "重要",
- "color": "#e43"
}
]
}{- "data": {
- "id": "clptk0yf302315o01wq9zbo6g",
- "createdAt": "2023-06-01T00:00:00.000Z",
- "updatedAt": "2023-06-01T00:00:00.000Z",
- "title": "string",
- "slug": "2024-02-003-E01",
- "effectiveDuration": "発行日から30日間",
- "issuedAt": "2023-06-01T00:00:00.000Z",
- "note": "特になし",
- "taxType": "TaxIncluded",
- "unitCostRoundingDigit": 2,
- "unitCostRoundingType": "Off",
- "unitPriceRoundingDigit": 2,
- "unitPriceRoundingType": "Off",
- "subTotalRoundingType": "Off",
- "taxRoundingType": "Off",
- "total": "11000",
- "subTotal": "10000",
- "salesTax": "1000",
- "cost": "5000",
- "isArchive": false,
- "orderStatus": "ordered",
- "approvalStatus": "InProgress",
- "jobId": "clptk0yf302315o01wq9zbo6g",
- "estimateLines": [
- {
- "id": "cm3nwvnz2000bjzsgmqrc5su0",
- "label": "清掃代",
- "unitPrice": "10000",
- "unitCost": "5000",
- "quantity": "1",
- "keyPath": "fb9c0b29-3685-4c67-a5a5-ad33a75d1c74.962db167-8c0b-41d5-b9c7-6f99fd4d1456",
- "taxCode": "003",
- "unitName": "件",
- "priceBookItem": {
- "id": "clptk15w602335o01d9fdr0g8",
- "name": "string",
- "modelName": "R22LJXS",
- "manufacturer": {
- "id": "cl5c0j27d20027015lkcfehwvt",
- "name": "ダイキン"
}, - "manufacturerId": "cl5c0j27d20027015lkcfehwvt",
- "category": {
- "id": "cl5c4y3av7540015j9nhy0xdw",
- "name": "室外機",
- "code": "EXT"
}, - "categoryId": "cl5c4y3av7540015j9nhy0xdw",
- "unitPrice": 10000,
- "unitCost": "5000",
- "unitName": "件",
- "note": "特になし",
- "internalNote": "特になし",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "associated": "[clptk15w602335o01d9fdr0g8]",
- "parentIds": "[clptk15w602335o01d9fdr0g8]"
}, - "priceBookItemId": "clptk15w602335o01d9fdr0g8",
- "note": "特になし",
- "internalNote": "特になし",
- "isTextLine": false,
- "sortNum": 1,
- "customFields": {
- "property1": "string",
- "property2": "string"
}
}
], - "customFields": {
- "property1": "string",
- "property2": "string"
}
}
}見積書を更新するためのAPIです。
| x-api-key required | string |
| x-api-version | string |
required | object 更新対象の見積書参照。:id, :externalIdのいずれか1つ以上を指定。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object or null 取引先参照。:id, :externalIdのいずれか1つ以上を指定。 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object or null 担当者参照。:idのいずれか1つ以上を指定。 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| title | string or null タイトル | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| effectiveDuration | string or null 有効期限(YYYY/MM/DD) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| issuedAt | string or null <date-time> 発行日(未発行はnull) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| note | string or null 備考 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| taxType | string Enum: "TaxIncluded" "TaxExcluded" "TaxExempted" 税区分(TaxIncluded/TaxExcluded/TaxExempted) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| unitCostRoundingType | string (RoundingType) Enum: "Down" "Up" "Off" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| unitCostRoundingDigit | number | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| unitPriceRoundingType | string (RoundingType) Enum: "Down" "Up" "Off" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| unitPriceRoundingDigit | number | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| subTotalRoundingType | string (RoundingType) Enum: "Down" "Up" "Off" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| taxRoundingType | string (RoundingType) Enum: "Down" "Up" "Off" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object カスタム項目 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects (ExternalUpdateEstimateLineDto) 見積明細。指定時は全置換 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects (ExternalUpdateEstimateTagDto) タグ(指定時の扱いは内部仕様に準拠) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object 見積書詳細情報 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "estimate": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "client": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "contact": {
- "id": "clgwykodu0000hjlh5v3of2p6"
}, - "title": "string",
- "effectiveDuration": "2025/12/31",
- "issuedAt": "2019-08-24T14:15:22Z",
- "note": "string",
- "taxType": "TaxIncluded",
- "unitCostRoundingType": "Down",
- "unitCostRoundingDigit": 0,
- "unitPriceRoundingType": "Down",
- "unitPriceRoundingDigit": 0,
- "subTotalRoundingType": "Down",
- "taxRoundingType": "Down",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "estimateLines": [
- {
- "priceBookItem": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "manufacturer": {
- "id": "clgwykodu0000hjlh5v3of2p6"
}, - "label": "string",
- "quantity": "10",
- "unitPrice": "5000",
- "unitCost": "3000",
- "unitName": "式",
- "originalUnitPrice": "5000",
- "originalUnitCost": "3000",
- "note": "string",
- "internalNote": "string",
- "taxCode": "string",
- "unitListPrice": "string",
- "unitListPriceString": "string",
- "isTextLine": false,
- "modelName": "string",
- "discountPrice": "0",
- "splitBillingOriginalUnitPrice": "5000",
- "billedAmount": "0",
- "progressInvoiceDetailLineId": "string",
- "customFields": {
- "property1": "string",
- "property2": "string"
}
}
], - "tags": [
- {
- "name": "string",
- "color": "#RRGGBB"
}
]
}{- "data": {
- "id": "clptk0yf302315o01wq9zbo6g",
- "createdAt": "2023-06-01T00:00:00.000Z",
- "updatedAt": "2023-06-01T00:00:00.000Z",
- "title": "string",
- "slug": "2024-02-003-E01",
- "effectiveDuration": "発行日から30日間",
- "issuedAt": "2023-06-01T00:00:00.000Z",
- "note": "特になし",
- "taxType": "TaxIncluded",
- "unitCostRoundingDigit": 2,
- "unitCostRoundingType": "Off",
- "unitPriceRoundingDigit": 2,
- "unitPriceRoundingType": "Off",
- "subTotalRoundingType": "Off",
- "taxRoundingType": "Off",
- "total": "11000",
- "subTotal": "10000",
- "salesTax": "1000",
- "cost": "5000",
- "isArchive": false,
- "orderStatus": "ordered",
- "approvalStatus": "InProgress",
- "jobId": "clptk0yf302315o01wq9zbo6g",
- "estimateLines": [
- {
- "id": "cm3nwvnz2000bjzsgmqrc5su0",
- "label": "清掃代",
- "unitPrice": "10000",
- "unitCost": "5000",
- "quantity": "1",
- "keyPath": "fb9c0b29-3685-4c67-a5a5-ad33a75d1c74.962db167-8c0b-41d5-b9c7-6f99fd4d1456",
- "taxCode": "003",
- "unitName": "件",
- "priceBookItem": {
- "id": "clptk15w602335o01d9fdr0g8",
- "name": "string",
- "modelName": "R22LJXS",
- "manufacturer": {
- "id": "cl5c0j27d20027015lkcfehwvt",
- "name": "ダイキン"
}, - "manufacturerId": "cl5c0j27d20027015lkcfehwvt",
- "category": {
- "id": "cl5c4y3av7540015j9nhy0xdw",
- "name": "室外機",
- "code": "EXT"
}, - "categoryId": "cl5c4y3av7540015j9nhy0xdw",
- "unitPrice": 10000,
- "unitCost": "5000",
- "unitName": "件",
- "note": "特になし",
- "internalNote": "特になし",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "associated": "[clptk15w602335o01d9fdr0g8]",
- "parentIds": "[clptk15w602335o01d9fdr0g8]"
}, - "priceBookItemId": "clptk15w602335o01d9fdr0g8",
- "note": "特になし",
- "internalNote": "特になし",
- "isTextLine": false,
- "sortNum": 1,
- "customFields": {
- "property1": "string",
- "property2": "string"
}
}
], - "customFields": {
- "property1": "string",
- "property2": "string"
}
}
}請求書の詳細データを取得するためのAPIです。
| id required | string Example: clptk0yf302315o01wq9zbo6g 請求書ID |
| x-api-key required | string |
| x-api-version | string |
required | object 請求書の詳細情報 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "data": {
- "id": "clei758p6001u5l01w5ztspw6",
- "externalId": "string",
- "createdAt": "2023-06-01T00:00:00.000Z",
- "updatedAt": "2023-06-01T00:00:00.000Z",
- "title": "string",
- "slug": "2024-02-003-I01",
- "dueAt": "2023-06-30T00:00:00.000Z",
- "note": "特になし",
- "taxType": "TaxIncluded",
- "unitCostRoundingDigit": 2,
- "unitCostRoundingType": "Off",
- "unitPriceRoundingDigit": 2,
- "unitPriceRoundingType": "Off",
- "subTotalRoundingType": "Off",
- "taxRoundingType": "Off",
- "total": "11000",
- "subTotal": "10000",
- "salesTax": "1000",
- "cost": "5000",
- "issuedAt": "2023-06-01T00:00:00.000Z",
- "billedAt": "2023-06-01T02:00:00.000Z",
- "requestedAt": "2023-06-01T02:00:00.000Z",
- "paidAt": "2023-06-05T02:00:00.000Z",
- "partiallyPaidAt": "2023-06-05T02:00:00.000Z",
- "isArchive": false,
- "approvalStatus": "InProgress",
- "estimateId": "clptk0yf302315o01wq9zbo6g",
- "jobId": "string",
- "invoiceLines": [
- {
- "id": "cm3nwvnz2000bjzsgmqrc5su0",
- "label": "清掃代",
- "unitPrice": "10000",
- "unitCost": "5000",
- "quantity": "1",
- "keyPath": "fb9c0b29-3685-4c67-a5a5-ad33a75d1c74.962db167-8c0b-41d5-b9c7-6f99fd4d1456",
- "taxCode": "003",
- "unitName": "件",
- "priceBookItem": {
- "id": "clptk15w602335o01d9fdr0g8",
- "name": "string",
- "modelName": "R22LJXS",
- "manufacturer": {
- "id": "cl5c0j27d20027015lkcfehwvt",
- "name": "ダイキン"
}, - "manufacturerId": "cl5c0j27d20027015lkcfehwvt",
- "category": {
- "id": "cl5c4y3av7540015j9nhy0xdw",
- "name": "室外機",
- "code": "EXT"
}, - "categoryId": "cl5c4y3av7540015j9nhy0xdw",
- "unitPrice": 10000,
- "unitCost": "5000",
- "unitName": "件",
- "note": "特になし",
- "internalNote": "特になし",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "associated": "[clptk15w602335o01d9fdr0g8]",
- "parentIds": "[clptk15w602335o01d9fdr0g8]"
}, - "priceBookItemId": "clptk15w602335o01d9fdr0g8",
- "note": "特になし",
- "internalNote": "特になし",
- "isTextLine": false,
- "sortNum": 1,
- "customFields": {
- "property1": "string",
- "property2": "string"
}
}
], - "customFields": {
- "property1": "string",
- "property2": "string"
}
}
}請求書の承認ステータスを承認・否認に更新するためのAPIです。
| id required | string Example: clptk0yf302315o01wq9zbo6g 請求書ID |
| x-api-key required | string |
| x-api-version | string |
| approvalStatus required | string Enum: "InProgress" "Approved" "SentBack" "Rejected" "Deleted" 請求書承認ステータス |
{- "approvalStatus": "Approved"
}{ }未送信キーは不変。invoiceLines 指定時のみ全置換。
| x-api-key required | string |
| x-api-version | string |
required | object 更新対象の請求書参照。:id, :externalIdのいずれか1つ以上を指定。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object or null 取引先参照。:id, :externalIdのいずれか1つ以上を指定。 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object or null 請求先担当者参照。:idのいずれか1つ以上を指定。 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object or null ドキュメントテンプレート参照。:id, :externalIdのいずれか1つ以上を指定。 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| title | string or null タイトル | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| dueAt | string or null <date-time> 支払期限日 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| billedAt | string or null <date-time> 請求日 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| note | string or null 備考 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| taxType | string Enum: "TaxIncluded" "TaxExcluded" "TaxExempted" 税区分(TaxIncluded/TaxExcluded/TaxExempted) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| unitCostRoundingType | string Enum: "Down" "Up" "Off" 原価の端数処理方法 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| unitCostRoundingDigit | number [ 0 .. 2 ] 原価の端数を処理する桁数(0〜2) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| unitPriceRoundingType | string Enum: "Down" "Up" "Off" 単価の端数処理方法 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| unitPriceRoundingDigit | number [ 0 .. 2 ] 単価の端数を処理する桁数(0〜2) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| subTotalRoundingType | string Enum: "Down" "Up" "Off" 小計の端数処理方法 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| taxRoundingType | string Enum: "Down" "Up" "Off" 税の端数処理方法 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| internalNote | string or null 社内メモ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object カスタム項目 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects (ExternalUpdateInvoiceLineDto) 請求書明細。指定時は全置換 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects (ExternalUpdateInvoiceTagDto) タグ(指定時の扱いは内部仕様に準拠) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object 請求書の詳細情報 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "invoice": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "client": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "contact": {
- "id": "clgwykodu0000hjlh5v3of2p6"
}, - "documentTemplate": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "title": "string",
- "dueAt": "2019-08-24T14:15:22Z",
- "billedAt": "2019-08-24T14:15:22Z",
- "note": "string",
- "taxType": "TaxIncluded",
- "unitCostRoundingType": "Down",
- "unitCostRoundingDigit": 2,
- "unitPriceRoundingType": "Down",
- "unitPriceRoundingDigit": 2,
- "subTotalRoundingType": "Down",
- "taxRoundingType": "Down",
- "internalNote": "string",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "invoiceLines": [
- {
- "priceBookItem": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "manufacturer": {
- "id": "clgwykodu0000hjlh5v3of2p6"
}, - "label": "string",
- "quantity": "10",
- "unitPrice": "5000",
- "unitCost": "3000",
- "unitName": "式",
- "originalUnitPrice": "5000",
- "originalUnitCost": "3000",
- "note": "string",
- "internalNote": "string",
- "taxCode": "string",
- "unitListPrice": "string",
- "unitListPriceString": "string",
- "isTextLine": false,
- "modelName": "string",
- "discountPrice": "0",
- "splitBillingOriginalUnitPrice": "5000",
- "billedAmount": "0",
- "progressInvoiceDetailLineId": "string",
- "customFields": {
- "property1": "string",
- "property2": "string"
}
}
], - "tags": [
- {
- "name": "string",
- "color": "#RRGGBB"
}
]
}{- "data": {
- "id": "clei758p6001u5l01w5ztspw6",
- "externalId": "string",
- "createdAt": "2023-06-01T00:00:00.000Z",
- "updatedAt": "2023-06-01T00:00:00.000Z",
- "title": "string",
- "slug": "2024-02-003-I01",
- "dueAt": "2023-06-30T00:00:00.000Z",
- "note": "特になし",
- "taxType": "TaxIncluded",
- "unitCostRoundingDigit": 2,
- "unitCostRoundingType": "Off",
- "unitPriceRoundingDigit": 2,
- "unitPriceRoundingType": "Off",
- "subTotalRoundingType": "Off",
- "taxRoundingType": "Off",
- "total": "11000",
- "subTotal": "10000",
- "salesTax": "1000",
- "cost": "5000",
- "issuedAt": "2023-06-01T00:00:00.000Z",
- "billedAt": "2023-06-01T02:00:00.000Z",
- "requestedAt": "2023-06-01T02:00:00.000Z",
- "paidAt": "2023-06-05T02:00:00.000Z",
- "partiallyPaidAt": "2023-06-05T02:00:00.000Z",
- "isArchive": false,
- "approvalStatus": "InProgress",
- "estimateId": "clptk0yf302315o01wq9zbo6g",
- "jobId": "string",
- "invoiceLines": [
- {
- "id": "cm3nwvnz2000bjzsgmqrc5su0",
- "label": "清掃代",
- "unitPrice": "10000",
- "unitCost": "5000",
- "quantity": "1",
- "keyPath": "fb9c0b29-3685-4c67-a5a5-ad33a75d1c74.962db167-8c0b-41d5-b9c7-6f99fd4d1456",
- "taxCode": "003",
- "unitName": "件",
- "priceBookItem": {
- "id": "clptk15w602335o01d9fdr0g8",
- "name": "string",
- "modelName": "R22LJXS",
- "manufacturer": {
- "id": "cl5c0j27d20027015lkcfehwvt",
- "name": "ダイキン"
}, - "manufacturerId": "cl5c0j27d20027015lkcfehwvt",
- "category": {
- "id": "cl5c4y3av7540015j9nhy0xdw",
- "name": "室外機",
- "code": "EXT"
}, - "categoryId": "cl5c4y3av7540015j9nhy0xdw",
- "unitPrice": 10000,
- "unitCost": "5000",
- "unitName": "件",
- "note": "特になし",
- "internalNote": "特になし",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "associated": "[clptk15w602335o01d9fdr0g8]",
- "parentIds": "[clptk15w602335o01d9fdr0g8]"
}, - "priceBookItemId": "clptk15w602335o01d9fdr0g8",
- "note": "特になし",
- "internalNote": "特になし",
- "isTextLine": false,
- "sortNum": 1,
- "customFields": {
- "property1": "string",
- "property2": "string"
}
}
], - "customFields": {
- "property1": "string",
- "property2": "string"
}
}
}API to preview PDF
| x-api-key required | string |
| x-api-version | string |
| id required | string |
{- "id": "string"
}{- "statusCode": 400,
- "message": "リクエストが不正です"
}領収書の承認ステータスを承認・否認に更新するためのAPIです。
| id required | string Example: clptk0yf302315o01wq9zbo6g 領収書ID |
| x-api-key required | string |
| x-api-version | string |
| approvalStatus required | string Enum: "InProgress" "Approved" "SentBack" "Rejected" "Deleted" 領収書承認ステータス |
{- "approvalStatus": "Approved"
}{ }仕事日程の詳細データを取得するためのAPIです。
| id required | string Example: cm5lvz5q50132he57wdc1gbmx 仕事日程ID |
| x-api-key required | string |
| x-api-version | string |
required | object 仕事日程の詳細情報 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "data": {
- "id": "cl5c0bcz318351015l39r39wao",
- "externalId": "cl5c0bcz318351015l39r39wao",
- "jobId": "string",
- "createdAt": "2021-08-01T00:00:00.000Z",
- "updatedAt": "2021-08-01T00:00:00.000Z",
- "slug": "2024-02-003-A01",
- "title": "作業当日",
- "startTime": "2023-05-01T09:00:00.000Z",
- "endTime": "2023-05-01T18:00:00.000Z",
- "finishedAt": "2023-05-01T17:00:00.000Z",
- "dispatchedAt": "2023-05-01T08:00:00.000Z",
- "arrivedAt": "2023-05-01T08:30:00.000Z",
- "acceptedAt": "2023-05-01T00:00:00.000Z",
- "allDay": false,
- "isArchive": false,
- "isFixed": true,
- "isStartDateFixed": true,
- "duration": 480,
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "arrivalWindow": {
- "id": "clnyjk3fj00ut5s012looknz7",
- "name": "午後イチ",
- "startTime": "2000-01-01T06:00:00.000Z",
- "endTime": "2000-01-01T07:45:00.000Z"
}, - "assignments": [
- {
- "user": {
- "id": "ckz21yyek2147015jhdem6o0h",
- "lastname": "斉藤",
- "firstname": "次郎",
- "externalId": "clsl932010000u9r2h8bkbe00"
}
}
]
}
}内部IDで仕事日程を指定して更新するためのAPIです。
| id required | string Example: cm5lvz5q50132he57wdc1gbmx 仕事日程ID |
| x-api-key required | string |
| x-api-version | string |
| externalId | string or null 外部ID | ||||
| startTime | string <date-time> 仕事日程開始日時 | ||||
| endTime | string <date-time> 仕事日程終了日時 | ||||
| acceptedAt | string or null <date-time> 検収日 | ||||
| title | string or null 仕事日程タイトル | ||||
| allDay | boolean 終日フラグ。trueの場合は終日の仕事とみなす | ||||
| isFixed | boolean 仕事日程が確定しているかどうかのフラグ | ||||
| isStartDateFixed | boolean 仕事日程の開始日付が確定しているかどうかのフラグ | ||||
object 仕事参照。:id, :externalIdのいずれか1つを指定。 | |||||
| |||||
object 到着時間帯参照。:id, :externalIdのいずれか1つを指定。 | |||||
| |||||
Array of objects (IdOrExternalIdReferenceDto) アサインするユーザー参照 | |||||
Array
| |||||
object カスタム項目 | |||||
| |||||
required | object 仕事日程の詳細情報 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "externalId": "ext-appointment-12345",
- "startTime": "2023-05-01T09:00:00.000Z",
- "endTime": "2023-05-01T18:00:00.000Z",
- "acceptedAt": "2023-05-01T00:00:00.000Z",
- "title": "作業当日",
- "allDay": false,
- "isFixed": true,
- "isStartDateFixed": true,
- "job": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "arrivalWindow": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "assignments": [
- {
- "id": "cl3l7lqsj3303015nraag2rho"
}
], - "customFields": {
- "property1": "string",
- "property2": "string"
}
}{- "data": {
- "id": "cl5c0bcz318351015l39r39wao",
- "externalId": "cl5c0bcz318351015l39r39wao",
- "jobId": "string",
- "createdAt": "2021-08-01T00:00:00.000Z",
- "updatedAt": "2021-08-01T00:00:00.000Z",
- "slug": "2024-02-003-A01",
- "title": "作業当日",
- "startTime": "2023-05-01T09:00:00.000Z",
- "endTime": "2023-05-01T18:00:00.000Z",
- "finishedAt": "2023-05-01T17:00:00.000Z",
- "dispatchedAt": "2023-05-01T08:00:00.000Z",
- "arrivedAt": "2023-05-01T08:30:00.000Z",
- "acceptedAt": "2023-05-01T00:00:00.000Z",
- "allDay": false,
- "isArchive": false,
- "isFixed": true,
- "isStartDateFixed": true,
- "duration": 480,
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "arrivalWindow": {
- "id": "clnyjk3fj00ut5s012looknz7",
- "name": "午後イチ",
- "startTime": "2000-01-01T06:00:00.000Z",
- "endTime": "2000-01-01T07:45:00.000Z"
}, - "assignments": [
- {
- "user": {
- "id": "ckz21yyek2147015jhdem6o0h",
- "lastname": "斉藤",
- "firstname": "次郎",
- "externalId": "clsl932010000u9r2h8bkbe00"
}
}
]
}
}仕事日程のID一覧を取得するためのAPIです。
| x-api-key required | string |
| x-api-version | string |
| perPage | number or null Default: 10 1ページあたりの件数(最大50) | ||||
| page | number or null Default: 1 ページ番号 | ||||
| ids | Array of strings 仕事日程ID | ||||
| externalIds | Array of strings 仕事日程外部ID | ||||
| jobIds | Array of strings 仕事ID | ||||
| addressIds | Array of strings 現場ID | ||||
| clientIds | Array of strings 顧客ID | ||||
| slug | string or null 仕事日程の管理番号 | ||||
object 仕事日程の作成日範囲 | |||||
| |||||
object 仕事日程の更新日範囲 | |||||
| |||||
| isArchive | boolean or null アーカイブフラグによるフィルタ trueの場合アーカイブ済みの仕事日程のみ、falseの場合非アーカイブの仕事日程のみ、未指定の場合は全件取得 | ||||
| total required | number トータル件数 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | Array of objects (ExternalAppointment) 仕事情報の配列 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "perPage": 50,
- "page": 1,
- "ids": [
- "string"
], - "externalIds": [
- "string"
], - "jobIds": [
- "string"
], - "addressIds": [
- "string"
], - "clientIds": [
- "string"
], - "slug": "2024-02-003-A01",
- "createdAt": {
- "start": "2020-11-30T15%3A00%3A00.000Z",
- "end": "2020-11-31T15%3A00%3A00.000Z"
}, - "updatedAt": {
- "start": "2020-11-30T15%3A00%3A00.000Z",
- "end": "2020-11-31T15%3A00%3A00.000Z"
}, - "isArchive": false
}{- "total": 1,
- "data": [
- {
- "id": "cl5c0bcz318351015l39r39wao",
- "externalId": "cl5c0bcz318351015l39r39wao",
- "jobId": "string",
- "createdAt": "2021-08-01T00:00:00.000Z",
- "updatedAt": "2021-08-01T00:00:00.000Z",
- "slug": "2024-02-003-A01",
- "title": "作業当日",
- "startTime": "2023-05-01T09:00:00.000Z",
- "endTime": "2023-05-01T18:00:00.000Z",
- "finishedAt": "2023-05-01T17:00:00.000Z",
- "dispatchedAt": "2023-05-01T08:00:00.000Z",
- "arrivedAt": "2023-05-01T08:30:00.000Z",
- "acceptedAt": "2023-05-01T00:00:00.000Z",
- "allDay": false,
- "isArchive": false,
- "isFixed": true,
- "isStartDateFixed": true,
- "duration": 480,
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "arrivalWindow": {
- "id": "clnyjk3fj00ut5s012looknz7",
- "name": "午後イチ",
- "startTime": "2000-01-01T06:00:00.000Z",
- "endTime": "2000-01-01T07:45:00.000Z"
}, - "assignments": [
- {
- "user": {
- "id": "ckz21yyek2147015jhdem6o0h",
- "lastname": "斉藤",
- "firstname": "次郎",
- "externalId": "clsl932010000u9r2h8bkbe00"
}
}
]
}
]
}仕事日程を作成または更新するためのAPIです。
| x-api-key required | string |
| x-api-version | string |
| id | string or null 仕事日程ID | ||||
| externalId | string or null 外部ID | ||||
| startTime | string or null <date-time> 仕事日程開始日時 | ||||
| endTime | string or null <date-time> 仕事日程終了日時 | ||||
| acceptedAt | string or null <date-time> 検収日 | ||||
| title | string or null 仕事日程タイトル | ||||
| allDay | boolean or null Default: false 終日フラグ trueの場合は終日の仕事とみなす | ||||
| isFixed | boolean or null Default: true 仕事日程が確定しているかどうかのフラグ trueの場合は仕事日程が確定している | ||||
| isStartDateFixed | boolean or null Default: true 仕事日程の開始日付が確定しているかどうかのフラグ trueの場合は仕事日程の開始日時が確定している | ||||
object 会社情報 | |||||
| |||||
object 仕事情報 | |||||
| |||||
object 到着時間帯情報 | |||||
| |||||
Array of objects (AssignmentForExternalUpsertAppointment) アサインするユーザー情報 | |||||
Array
| |||||
object or null カスタム項目 | |||||
| |||||
required | object 仕事日程の詳細情報 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "id": "cl5c0bcz318351015l39r39wao",
- "externalId": "string",
- "startTime": "2023-05-01T09:00:00.000Z",
- "endTime": "2023-05-01T18:00:00.000Z",
- "acceptedAt": "2023-05-01T00:00:00.000Z",
- "title": "作業当日",
- "allDay": false,
- "isFixed": true,
- "isStartDateFixed": true,
- "company": {
- "externalId": "string",
- "id": "clnyjk3fj00ut5s012looknz7"
}, - "job": {
- "externalId": "string",
- "id": "clnyjk3fj00ut5s012looknz7"
}, - "arrivalWindow": {
- "externalId": "string",
- "id": "clnyjk3fj00ut5s012looknz7"
}, - "assignments": [
- {
- "externalId": "string",
- "id": "clnyjk3fj00ut5s012looknz7"
}
], - "customFields": {
- "property1": "string",
- "property2": "string"
}
}{- "data": {
- "id": "cl5c0bcz318351015l39r39wao",
- "externalId": "cl5c0bcz318351015l39r39wao",
- "jobId": "string",
- "createdAt": "2021-08-01T00:00:00.000Z",
- "updatedAt": "2021-08-01T00:00:00.000Z",
- "slug": "2024-02-003-A01",
- "title": "作業当日",
- "startTime": "2023-05-01T09:00:00.000Z",
- "endTime": "2023-05-01T18:00:00.000Z",
- "finishedAt": "2023-05-01T17:00:00.000Z",
- "dispatchedAt": "2023-05-01T08:00:00.000Z",
- "arrivedAt": "2023-05-01T08:30:00.000Z",
- "acceptedAt": "2023-05-01T00:00:00.000Z",
- "allDay": false,
- "isArchive": false,
- "isFixed": true,
- "isStartDateFixed": true,
- "duration": 480,
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "arrivalWindow": {
- "id": "clnyjk3fj00ut5s012looknz7",
- "name": "午後イチ",
- "startTime": "2000-01-01T06:00:00.000Z",
- "endTime": "2000-01-01T07:45:00.000Z"
}, - "assignments": [
- {
- "user": {
- "id": "ckz21yyek2147015jhdem6o0h",
- "lastname": "斉藤",
- "firstname": "次郎",
- "externalId": "clsl932010000u9r2h8bkbe00"
}
}
]
}
}外部IDで仕事日程を指定して更新するためのAPIです。
| externalId required | string Example: ext-appointment-12345 仕事日程の外部ID |
| x-api-key required | string |
| x-api-version | string |
| externalId | string or null 外部ID | ||||
| startTime | string <date-time> 仕事日程開始日時 | ||||
| endTime | string <date-time> 仕事日程終了日時 | ||||
| acceptedAt | string or null <date-time> 検収日 | ||||
| title | string or null 仕事日程タイトル | ||||
| allDay | boolean 終日フラグ。trueの場合は終日の仕事とみなす | ||||
| isFixed | boolean 仕事日程が確定しているかどうかのフラグ | ||||
| isStartDateFixed | boolean 仕事日程の開始日付が確定しているかどうかのフラグ | ||||
object 仕事参照。:id, :externalIdのいずれか1つを指定。 | |||||
| |||||
object 到着時間帯参照。:id, :externalIdのいずれか1つを指定。 | |||||
| |||||
Array of objects (IdOrExternalIdReferenceDto) アサインするユーザー参照 | |||||
Array
| |||||
object カスタム項目 | |||||
| |||||
required | object 仕事日程の詳細情報 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "externalId": "ext-appointment-12345",
- "startTime": "2023-05-01T09:00:00.000Z",
- "endTime": "2023-05-01T18:00:00.000Z",
- "acceptedAt": "2023-05-01T00:00:00.000Z",
- "title": "作業当日",
- "allDay": false,
- "isFixed": true,
- "isStartDateFixed": true,
- "job": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "arrivalWindow": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "assignments": [
- {
- "id": "cl3l7lqsj3303015nraag2rho"
}
], - "customFields": {
- "property1": "string",
- "property2": "string"
}
}{- "data": {
- "id": "cl5c0bcz318351015l39r39wao",
- "externalId": "cl5c0bcz318351015l39r39wao",
- "jobId": "string",
- "createdAt": "2021-08-01T00:00:00.000Z",
- "updatedAt": "2021-08-01T00:00:00.000Z",
- "slug": "2024-02-003-A01",
- "title": "作業当日",
- "startTime": "2023-05-01T09:00:00.000Z",
- "endTime": "2023-05-01T18:00:00.000Z",
- "finishedAt": "2023-05-01T17:00:00.000Z",
- "dispatchedAt": "2023-05-01T08:00:00.000Z",
- "arrivedAt": "2023-05-01T08:30:00.000Z",
- "acceptedAt": "2023-05-01T00:00:00.000Z",
- "allDay": false,
- "isArchive": false,
- "isFixed": true,
- "isStartDateFixed": true,
- "duration": 480,
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "arrivalWindow": {
- "id": "clnyjk3fj00ut5s012looknz7",
- "name": "午後イチ",
- "startTime": "2000-01-01T06:00:00.000Z",
- "endTime": "2000-01-01T07:45:00.000Z"
}, - "assignments": [
- {
- "user": {
- "id": "ckz21yyek2147015jhdem6o0h",
- "lastname": "斉藤",
- "firstname": "次郎",
- "externalId": "clsl932010000u9r2h8bkbe00"
}
}
]
}
}カスタム帳票の詳細データを取得するためのAPIです。
| id required | string Example: clptk0yf302315o01wq9zbo6g カスタム帳票ID |
| x-api-key required | string |
| x-api-version | string |
required | object カスタム帳票詳細情報 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "data": {
- "id": "cm3idfnja000bt1bx7s370h1w",
- "createdAt": "2024-11-15T00:00:00.000Z",
- "updatedAt": "2024-11-21T00:00:00.000Z",
- "jobId": "cm3762m6400005yuc1vgqaewu",
- "title": "",
- "issuedAt": "2024-11-31T00:00:00.000Z",
- "note": "特になし",
- "taxType": "TaxIncluded",
- "document": { },
- "documentTemplateId": "cm3idbtg10006t1bxw0pznc30",
- "isArchive": false,
- "slug": "2024-11-003-E01",
- "effectiveDuration": "発行日から30日間",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "customDocumentLines": [
- {
- "id": "cm3idfnja000bt1bx7s370h1w",
- "label": "清掃代",
- "keyPath": "594ed7ec-a517-472e-aa8c-7997b7c92629",
- "sortNum": 1,
- "isTextLine": false,
- "group": "cm3e9ohtl00041htbrilsfp46",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "officialFields": {
- "note": null,
- "internalNote": null,
- "taxCode": null,
- "priceBookItemId": null,
- "modelName": null,
- "quantity": "string",
- "unitName": null,
- "unitCost": null,
- "unitPrice": "string",
- "unitListPrice": null,
- "unitListPriceString": null,
- "discountPrice": null,
- "billedAmount": null,
- "deliveryTime": null,
- "originalUnitCost": null,
- "originalUnitPrice": null
}, - "note": null,
- "internalNote": null,
- "taxCode": null,
- "priceBookItemId": null,
- "modelName": null,
- "quantity": "string",
- "unitName": null,
- "unitCost": null,
- "unitPrice": "string",
- "unitListPrice": null,
- "unitListPriceString": null,
- "discountPrice": null,
- "billedAmount": null,
- "deliveryTime": null,
- "originalUnitCost": null,
- "originalUnitPrice": null,
- "manufacturerId": "string",
- "manufacturer": "cm3idfnja000ct1bxx3mypuvi"
}
]
}
}発注先を作成または更新するためのAPIです。
| x-api-key required | string |
| x-api-version | string |
| id | string or null 発注先ID | ||||
| externalId | string or null 外部ID | ||||
| companyName | string or null 企業名 | ||||
| compellation | string or null 敬称 | ||||
string or null メールアドレス | |||||
| fax | string or null FAX番号 | ||||
| phone | string or null 電話番号 | ||||
| zipcode | string or null 郵便番号 | ||||
| state | string or null 都道府県 | ||||
| city | string or null 市区町村 | ||||
| address1 | string or null 番地 | ||||
| address2 | string or null 建物・部屋番号 | ||||
| cutoffDateCode | number or null 締め日 | ||||
| paymentDateCode | number or null 支払日 | ||||
object (DivisionForExternalUpsertSeller) | |||||
| |||||
object or null カスタム項目 | |||||
| |||||
required | object 発注先の詳細情報 | ||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||
{- "id": "cm5lvz5q50132he57wdc1gbmx",
- "externalId": "string",
- "companyName": "山田電気株式会社",
- "compellation": "様",
- "email": "string",
- "fax": "string",
- "phone": "string",
- "zipcode": "string",
- "state": "string",
- "city": "string",
- "address1": "string",
- "address2": "string",
- "cutoffDateCode": "99",
- "paymentDateCode": "216",
- "division": {
- "externalId": "string",
- "id": "clhhayfgu0003015kcsx0hvid"
}, - "customFields": {
- "property1": "string",
- "property2": "string"
}
}{- "data": {
- "id": "cm5lvz5q50132he57wdc1gbmx",
- "externalId": "string",
- "createdAt": "2021-08-01T00:00:00.000Z",
- "updatedAt": "2021-08-01T00:00:00.000Z",
- "companyName": "山田電気株式会社",
- "compellation": "様",
- "email": "string",
- "fax": "string",
- "phone": "string",
- "zipcode": "string",
- "state": "string",
- "city": "string",
- "address1": "string",
- "address2": "string",
- "cutoffDateCode": "99",
- "paymentDateCode": "216",
- "divisionId": "cm5lvz29a000bhe57qseo2ush",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "isArchive": false
}
}IDで発注先を指定して更新するためのAPIです。部分更新が可能です。
| id required | string Example: cl3l7lqsj3303015nraag2rho 発注先ID |
| x-api-key required | string |
| x-api-version | string |
| companyName | string or null 企業名 | ||||
| compellation | string or null Enum: "様" "御中" "殿" 敬称 | ||||
string or null メールアドレス | |||||
| fax | string or null FAX番号 | ||||
| phone | string or null 電話番号 | ||||
| zipcode | string or null 郵便番号 | ||||
| state | string or null 都道府県 | ||||
| city | string or null 市区町村 | ||||
| address1 | string or null 番地 | ||||
| address2 | string or null 建物・部屋番号 | ||||
| cutoffDateCode | number or null 締め日 | ||||
| paymentDateCode | number or null 支払日 | ||||
object 部署情報。:externalId, :idのいずれか1つを指定。 | |||||
| |||||
object カスタム項目 | |||||
| |||||
required | object 発注先の詳細情報 | ||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||
{- "companyName": "山田電気株式会社",
- "compellation": "様",
- "email": "info@example.com",
- "fax": "03-1234-5679",
- "phone": "03-1234-5678",
- "zipcode": "100-0001",
- "state": "東京都",
- "city": "中央区",
- "address1": "銀座7-16-12",
- "address2": "G7ビル8階",
- "cutoffDateCode": 99,
- "paymentDateCode": 216,
- "division": {
- "externalId": "string",
- "id": "clhhayfgu0003015kcsx0hvid"
}, - "customFields": {
- "property1": "string",
- "property2": "string"
}
}{- "data": {
- "id": "cm5lvz5q50132he57wdc1gbmx",
- "externalId": "string",
- "createdAt": "2021-08-01T00:00:00.000Z",
- "updatedAt": "2021-08-01T00:00:00.000Z",
- "companyName": "山田電気株式会社",
- "compellation": "様",
- "email": "string",
- "fax": "string",
- "phone": "string",
- "zipcode": "string",
- "state": "string",
- "city": "string",
- "address1": "string",
- "address2": "string",
- "cutoffDateCode": "99",
- "paymentDateCode": "216",
- "divisionId": "cm5lvz29a000bhe57qseo2ush",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "isArchive": false
}
}外部ID(externalId)で発注先を指定して更新するためのAPIです。部分更新が可能です。
| externalId required | string Example: seller-123 発注先の外部ID |
| x-api-key required | string |
| x-api-version | string |
| companyName | string or null 企業名 | ||||
| compellation | string or null Enum: "様" "御中" "殿" 敬称 | ||||
string or null メールアドレス | |||||
| fax | string or null FAX番号 | ||||
| phone | string or null 電話番号 | ||||
| zipcode | string or null 郵便番号 | ||||
| state | string or null 都道府県 | ||||
| city | string or null 市区町村 | ||||
| address1 | string or null 番地 | ||||
| address2 | string or null 建物・部屋番号 | ||||
| cutoffDateCode | number or null 締め日 | ||||
| paymentDateCode | number or null 支払日 | ||||
object 部署情報。:externalId, :idのいずれか1つを指定。 | |||||
| |||||
object カスタム項目 | |||||
| |||||
required | object 発注先の詳細情報 | ||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||
{- "companyName": "山田電気株式会社",
- "compellation": "様",
- "email": "info@example.com",
- "fax": "03-1234-5679",
- "phone": "03-1234-5678",
- "zipcode": "100-0001",
- "state": "東京都",
- "city": "中央区",
- "address1": "銀座7-16-12",
- "address2": "G7ビル8階",
- "cutoffDateCode": 99,
- "paymentDateCode": 216,
- "division": {
- "externalId": "string",
- "id": "clhhayfgu0003015kcsx0hvid"
}, - "customFields": {
- "property1": "string",
- "property2": "string"
}
}{- "data": {
- "id": "cm5lvz5q50132he57wdc1gbmx",
- "externalId": "string",
- "createdAt": "2021-08-01T00:00:00.000Z",
- "updatedAt": "2021-08-01T00:00:00.000Z",
- "companyName": "山田電気株式会社",
- "compellation": "様",
- "email": "string",
- "fax": "string",
- "phone": "string",
- "zipcode": "string",
- "state": "string",
- "city": "string",
- "address1": "string",
- "address2": "string",
- "cutoffDateCode": "99",
- "paymentDateCode": "216",
- "divisionId": "cm5lvz29a000bhe57qseo2ush",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "isArchive": false
}
}発注先の一覧データを絞り込み条件やソート、ページネーションで取得するためのAPIです。
| x-api-key required | string |
| x-api-version | string |
| perPage | number or null Default: 10 1ページあたりの件数(最大50) | ||||
| page | number or null Default: 1 ページ番号 | ||||
| sort | string or null Enum: "id" "externalId" "companyName" "createdAt" "updatedAt" "cutoffDateCode" "paymentDateCode" ソートフィールド | ||||
| order | string or null Enum: "asc" "desc" ソート順序 | ||||
| ids | Array of strings 発注先IDの配列でフィルタ | ||||
| externalIds | Array of strings 外部IDの配列でフィルタ | ||||
| companyName | string or null 企業名で部分一致検索 | ||||
object 作成日の範囲フィルタ | |||||
| |||||
object 更新日の範囲フィルタ | |||||
| |||||
| isArchive | boolean or null アーカイブフラグによるフィルタ trueの場合アーカイブ済みの発注先のみ、falseの場合非アーカイブの発注先のみ、未指定の場合は全件取得 nullを指定した場合はバリデーションエラーとなります | ||||
| total required | number トータル件数 | ||||||||||||||||||||||||||||||||||||||||||||
required | Array of objects (ExternalSeller) 発注先情報の配列 | ||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||
{- "perPage": 50,
- "page": 1,
- "sort": "companyName",
- "order": "asc",
- "ids": [
- "id1",
- "id2"
], - "externalIds": [
- "ext1",
- "ext2"
], - "companyName": "株式会社",
- "createdAt": {
- "start": "2020-11-30T15%3A00%3A00.000Z",
- "end": "2020-11-31T15%3A00%3A00.000Z"
}, - "updatedAt": {
- "start": "2020-11-30T15%3A00%3A00.000Z",
- "end": "2020-11-31T15%3A00%3A00.000Z"
}, - "isArchive": false
}{- "total": 1,
- "data": [
- {
- "id": "cm5lvz5q50132he57wdc1gbmx",
- "externalId": "string",
- "createdAt": "2021-08-01T00:00:00.000Z",
- "updatedAt": "2021-08-01T00:00:00.000Z",
- "companyName": "山田電気株式会社",
- "compellation": "様",
- "email": "string",
- "fax": "string",
- "phone": "string",
- "zipcode": "string",
- "state": "string",
- "city": "string",
- "address1": "string",
- "address2": "string",
- "cutoffDateCode": "99",
- "paymentDateCode": "216",
- "divisionId": "cm5lvz29a000bhe57qseo2ush",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "isArchive": false
}
]
}発注先をアーカイブするためのAPIです。
| x-api-key required | string |
| x-api-version | string |
| id | string or null 発注先ID |
| externalId | string or null 外部ID |
| id required | string 発注先ID |
| externalId | string or null 外部ID |
| isArchive required | boolean アーカイブ状態 |
{- "id": "cl5c0bcz318351015l39r39wao",
- "externalId": "string"
}{- "id": "string",
- "externalId": "string",
- "isArchive": true
}リクエストしたID/外部IDで対象の1件の発注先のアーカイブを解除するためのAPIです。
| x-api-key required | string |
| x-api-version | string |
| id | string or null 発注先ID |
| externalId | string or null 外部ID |
| id required | string 発注先ID |
| externalId | string or null 外部ID |
| isArchive required | boolean アーカイブ状態 |
{- "id": "cl5c0bcz318351015l39r39wao",
- "externalId": "string"
}{- "id": "string",
- "externalId": "string",
- "isArchive": true
}発注先担当者を新規作成するためのAPIです。
| x-api-key required | string |
| x-api-version | string |
required | object 発注先(idまたはexternalIdのいずれかを指定)。:id, :externalIdのいずれか1つを指定。 | ||||
| |||||
| lastname required | string 担当者姓 | ||||
| firstname | string or null 担当者名 | ||||
| lastnameKana | string or null 担当者姓(カナ) | ||||
| firstnameKana | string or null 担当者名(カナ) | ||||
| phone | string or null 電話番号 | ||||
string or null メールアドレス | |||||
| internalNote | string or null 社内メモ | ||||
| externalId | string or null 外部ID | ||||
required | object 発注先担当者の詳細情報 | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
{- "seller": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "lastname": "山田",
- "firstname": "太郎",
- "lastnameKana": "ヤマダ",
- "firstnameKana": "タロウ",
- "phone": "03-1234-5678",
- "email": "yamada@example.com",
- "internalNote": "月末締め対応",
- "externalId": "ext-contact-12345"
}{- "data": {
- "id": "cm5lvz5q50132he57wdc1gbmx",
- "externalId": "ext-contact-12345",
- "sellerId": "cm5lvz29a000bhe57qseo2ush",
- "lastname": "山田",
- "firstname": "太郎",
- "lastnameKana": "ヤマダ",
- "firstnameKana": "タロウ",
- "phone": "03-1234-5678",
- "email": "yamada@example.com",
- "internalNote": "月末締め対応",
- "isArchive": false,
- "createdAt": "2017-12-08T00:00:00.000Z",
- "updatedAt": "2017-12-08T00:00:00.000Z"
}
}IDで発注先担当者の詳細データを取得するためのAPIです。
| id required | string Example: cm5lvz5q50132he57wdc1gbmx 発注先担当者ID |
| x-api-key required | string |
| x-api-version | string |
required | object 発注先担当者の詳細情報 | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
{- "data": {
- "id": "cm5lvz5q50132he57wdc1gbmx",
- "externalId": "ext-contact-12345",
- "sellerId": "cm5lvz29a000bhe57qseo2ush",
- "lastname": "山田",
- "firstname": "太郎",
- "lastnameKana": "ヤマダ",
- "firstnameKana": "タロウ",
- "phone": "03-1234-5678",
- "email": "yamada@example.com",
- "internalNote": "月末締め対応",
- "isArchive": false,
- "createdAt": "2017-12-08T00:00:00.000Z",
- "updatedAt": "2017-12-08T00:00:00.000Z"
}
}IDで発注先担当者を指定して更新するためのAPIです。部分更新が可能です。
| id required | string Example: cm5lvz5q50132he57wdc1gbmx 発注先担当者ID |
| x-api-key required | string |
| x-api-version | string |
| lastname | string or null 担当者姓 |
| firstname | string or null 担当者名 |
| lastnameKana | string or null 担当者姓(カナ) |
| firstnameKana | string or null 担当者名(カナ) |
| phone | string or null 電話番号 |
string or null メールアドレス | |
| internalNote | string or null 社内メモ |
| externalId | string or null 外部ID |
required | object 発注先担当者の詳細情報 | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
{- "lastname": "山田",
- "firstname": "太郎",
- "lastnameKana": "ヤマダ",
- "firstnameKana": "タロウ",
- "phone": "03-1234-5678",
- "email": "yamada@example.com",
- "internalNote": "月末締め対応",
- "externalId": "ext-contact-12345"
}{- "data": {
- "id": "cm5lvz5q50132he57wdc1gbmx",
- "externalId": "ext-contact-12345",
- "sellerId": "cm5lvz29a000bhe57qseo2ush",
- "lastname": "山田",
- "firstname": "太郎",
- "lastnameKana": "ヤマダ",
- "firstnameKana": "タロウ",
- "phone": "03-1234-5678",
- "email": "yamada@example.com",
- "internalNote": "月末締め対応",
- "isArchive": false,
- "createdAt": "2017-12-08T00:00:00.000Z",
- "updatedAt": "2017-12-08T00:00:00.000Z"
}
}外部ID(externalId)で発注先担当者の詳細データを取得するためのAPIです。
| externalId required | string Example: ext-contact-12345 発注先担当者の外部ID |
| x-api-key required | string |
| x-api-version | string |
required | object 発注先担当者の詳細情報 | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
{- "data": {
- "id": "cm5lvz5q50132he57wdc1gbmx",
- "externalId": "ext-contact-12345",
- "sellerId": "cm5lvz29a000bhe57qseo2ush",
- "lastname": "山田",
- "firstname": "太郎",
- "lastnameKana": "ヤマダ",
- "firstnameKana": "タロウ",
- "phone": "03-1234-5678",
- "email": "yamada@example.com",
- "internalNote": "月末締め対応",
- "isArchive": false,
- "createdAt": "2017-12-08T00:00:00.000Z",
- "updatedAt": "2017-12-08T00:00:00.000Z"
}
}外部ID(externalId)で発注先担当者を指定して更新するためのAPIです。部分更新が可能です。
| externalId required | string Example: ext-contact-12345 発注先担当者の外部ID |
| x-api-key required | string |
| x-api-version | string |
| lastname | string or null 担当者姓 |
| firstname | string or null 担当者名 |
| lastnameKana | string or null 担当者姓(カナ) |
| firstnameKana | string or null 担当者名(カナ) |
| phone | string or null 電話番号 |
string or null メールアドレス | |
| internalNote | string or null 社内メモ |
| externalId | string or null 外部ID |
required | object 発注先担当者の詳細情報 | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
{- "lastname": "山田",
- "firstname": "太郎",
- "lastnameKana": "ヤマダ",
- "firstnameKana": "タロウ",
- "phone": "03-1234-5678",
- "email": "yamada@example.com",
- "internalNote": "月末締め対応",
- "externalId": "ext-contact-12345"
}{- "data": {
- "id": "cm5lvz5q50132he57wdc1gbmx",
- "externalId": "ext-contact-12345",
- "sellerId": "cm5lvz29a000bhe57qseo2ush",
- "lastname": "山田",
- "firstname": "太郎",
- "lastnameKana": "ヤマダ",
- "firstnameKana": "タロウ",
- "phone": "03-1234-5678",
- "email": "yamada@example.com",
- "internalNote": "月末締め対応",
- "isArchive": false,
- "createdAt": "2017-12-08T00:00:00.000Z",
- "updatedAt": "2017-12-08T00:00:00.000Z"
}
}リクエストしたID/外部IDで対象の1件の発注先担当者をアーカイブするためのAPIです。
| x-api-key required | string |
| x-api-version | string |
| id | string or null 発注先担当者ID |
| externalId | string or null 外部ID |
| id required | string 発注先担当者ID |
| externalId | string or null 外部ID |
| isArchive required | boolean アーカイブフラグ |
{- "id": "cl5c0bcz318351015l39r39wao",
- "externalId": "string"
}{- "id": "string",
- "externalId": "string",
- "isArchive": true
}リクエストしたID/外部IDで対象の1件の発注先担当者のアーカイブを解除するためのAPIです。
| x-api-key required | string |
| x-api-version | string |
| id | string or null 発注先担当者ID |
| externalId | string or null 外部ID |
| id required | string 発注先担当者ID |
| externalId | string or null 外部ID |
| isArchive required | boolean アーカイブフラグ |
{- "id": "cl5c0bcz318351015l39r39wao",
- "externalId": "string"
}{- "id": "string",
- "externalId": "string",
- "isArchive": true
}テナントのユーザー一覧を取得するためのAPIです。
| x-api-key required | string |
| x-api-version | string |
| perPage | number or null Default: 10 1ページあたりの件数(最大50) |
| page | number or null Default: 1 ページ番号 |
| ids | Array of strings or null ユーザーIDの配列(完全一致) |
| externalIds | Array of strings or null 外部IDの配列(完全一致) |
| lastname | string or null 姓(部分一致) |
| firstname | string or null 名(部分一致) |
| isArchive | boolean or null アーカイブユーザーを含めるか(未指定時はアクティブのみ) |
| divisionIds | Array of strings or null 部署IDの配列 |
| isTechnician | boolean or null 訪問担当者のみを取得するかどうか |
| total required | number トータル件数 | ||||||||||||||||||||
required | Array of objects (UserForExternalUserFindAllResponse) ユーザー情報の配列 | ||||||||||||||||||||
Array
| |||||||||||||||||||||
{- "perPage": 50,
- "page": 1,
- "ids": [
- "clqc7ub2i048l5l01kps84bn4"
], - "externalIds": [
- "EXTERNAL-USER-0001"
], - "lastname": "山田",
- "firstname": "太郎",
- "isArchive": true,
- "divisionIds": [
- "clpv02z6a002r5j013zfa9f9g",
- "clpv02z6a002r5j013zfa9f9h"
], - "isTechnician": true
}{- "total": 1,
- "data": [
- {
- "id": "clqc7ub2i048l5l01kps84bn4",
- "email": "sample@meetsmore.com",
- "phone": "09012345678",
- "lastname": "山田",
- "firstname": "太郎",
- "isTechnician": true,
- "divisionId": "clqc7ub2i048l5l01kps84bn4",
- "isArchive": true,
- "externalId": "EXTERNAL-USER-0001"
}
]
}テナントの発注書一覧を取得するためのAPIです。
| x-api-key required | string |
| x-api-version | string |
| perPage | number or null Default: 10 1ページあたりの件数(最大50) | ||||
| page | number or null Default: 1 ページ番号 | ||||
| ids | Array of strings 発注書IDの配列(完全一致) | ||||
| externalIds | Array of strings 外部IDの配列(完全一致) | ||||
| slug | Array of strings 発注番号の配列(完全一致) | ||||
| title | string or null 発注書名(部分一致) | ||||
| isArchive | boolean or null アーカイブフラグによるフィルタ | ||||
Array of objects (IdOrExternalIdReferenceDto) 仕事の配列(idまたはexternalIdで指定) | |||||
Array
| |||||
Array of objects (IdOrExternalIdReferenceDto) 発注先の配列(idまたはexternalIdで指定) | |||||
Array
| |||||
Array of objects (IdOrExternalIdReferenceDto) 担当者の配列(idまたはexternalIdで指定) | |||||
Array
| |||||
Array of objects (IdOrExternalIdReferenceDto) 部署の配列(idまたはexternalIdで指定) | |||||
Array
| |||||
Array of objects (IdOrExternalIdReferenceDto) 受取人の配列(idまたはexternalIdで指定) | |||||
Array
| |||||
object 発注日の範囲フィルタ | |||||
| |||||
object 納品日の範囲フィルタ | |||||
| |||||
object 作成日の範囲フィルタ | |||||
| |||||
object 支払日の範囲フィルタ | |||||
| |||||
object 納期の範囲フィルタ | |||||
| |||||
| total required | number トータル件数 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | Array of objects (ExternalPurchaseOrderForFindAll) 発注書情報の配列 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "perPage": 50,
- "page": 1,
- "ids": [
- "cl3l7lqsj3303015nraag2rho"
], - "externalIds": [
- "ext_purchase_order_12345"
], - "slug": [
- "PO-2025-0001"
], - "title": "〇〇様向け",
- "isArchive": false,
- "job": [
- {
- "id": "cl3l7lqsj3303015nraag2rho"
}
], - "seller": [
- {
- "id": "cl3l7lqsj3303015nraag2rho"
}
], - "user": [
- {
- "id": "cl3l7lqsj3303015nraag2rho"
}
], - "division": [
- {
- "id": "cl3l7lqsj3303015nraag2rho"
}
], - "recipient": [
- {
- "id": "cl3l7lqsj3303015nraag2rho"
}
], - "issuedAt": {
- "start": "2020-11-30T15%3A00%3A00.000Z",
- "end": "2020-11-31T15%3A00%3A00.000Z"
}, - "deliveredAt": {
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z"
}, - "createdAt": {
- "start": "2020-11-30T15%3A00%3A00.000Z",
- "end": "2020-11-31T15%3A00%3A00.000Z"
}, - "paidAt": {
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z"
}, - "deliveryTime": {
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z"
}
}{- "total": 1,
- "data": [
- {
- "id": "cl3l7lqsj3303015nraag2rho",
- "createdAt": "2025-01-01T00:00:00.000Z",
- "updatedAt": "2025-01-01T00:00:00.000Z",
- "slug": "PO-2025-0001",
- "title": "〇〇様向け発注書",
- "type": "JOB",
- "taxType": "TaxExcluded",
- "unitPriceRoundingDigit": 2,
- "unitPriceRoundingType": "Down",
- "subTotalRoundingType": "Down",
- "taxRoundingType": "Down",
- "issuedAt": "2025-01-01T00:00:00.000Z",
- "receivedAt": "2025-01-05T00:00:00.000Z",
- "deliveredAt": "2025-01-10T00:00:00.000Z",
- "paidAt": "2025-01-15T00:00:00.000Z",
- "partiallyPaidAt": "2025-01-12T00:00:00.000Z",
- "paidAmount": "50000",
- "note": "至急手配お願いします",
- "deliveryAddress": "CompanyAddress",
- "deliveryTime": "2025-01-31T00:00:00.000Z",
- "billingDate": "2025-02-01T00:00:00.000Z",
- "paymentDueDate": "2025-02-28T00:00:00.000Z",
- "externalId": "ext_purchase_order_12345",
- "isArchive": false,
- "job": {
- "id": "cl3l7lqsj3303015nraag2rho",
- "externalId": "ext-job-12345"
}, - "seller": {
- "id": "cl3l7lqsj3303015nraag2rho",
- "externalId": "ext-seller-12345",
- "isArchive": true,
- "sellerContacts": [
- {
- "id": "cl3l7lqsj3303015nraag2rho",
- "isArchive": true
}
]
}, - "user": {
- "id": "cl3l7lqsj3303015nraag2rho",
- "externalId": "ext-user-12345",
- "isArchive": true
}, - "recipient": {
- "id": "cl3l7lqsj3303015nraag2rho",
- "externalId": "ext-user-12345",
- "isArchive": true
}, - "tags": [
- {
- "id": "cl3l7lqsj3303015nraag2rho",
- "name": "緊急",
- "color": "#FF0000"
}
], - "customFields": {
- "property1": "string",
- "property2": "string"
}, - "purchaseOrderLines": [
- {
- "id": "cl3l7lqsj3303015nraag2rho",
- "label": "配管材料一式",
- "unitPrice": "1000",
- "quantity": "2",
- "unitName": "式",
- "modelName": "ABC-123",
- "deliveryTime": "2025-01-31T00:00:00.000Z",
- "priceBookItemId": "pb_item_12345",
- "note": "至急手配お願いします",
- "keyPath": "a4b54201-b64c-4d97-8abb-5581ffb68496.9a70feab-5a56-48f6-a47f-e892c6739d84",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "deliveredAt": "2025-02-01T00:00:00.000Z",
- "billingDate": "2025-02-05T00:00:00.000Z",
- "paymentDueDate": "2025-02-29T00:00:00.000Z",
- "sortNum": 0,
- "isTextLine": true,
- "manufacturerId": "cl3l7lqsj3303015nraag2rho"
}
], - "purchaseOrderLinesCount": 5
}
]
}IDで発注書の詳細データを取得するAPIです。
| id required | string Example: cxp13i0x00945w01t57rk37i 発注書ID |
| x-api-key required | string |
| x-api-version | string |
required | object (ExternalPurchaseOrderFull) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "data": {
- "id": "cl3l7lqsj3303015nraag2rho",
- "createdAt": "2025-01-01T00:00:00.000Z",
- "updatedAt": "2025-01-01T00:00:00.000Z",
- "slug": "PO-2025-0001",
- "title": "〇〇様向け発注書",
- "type": "JOB",
- "taxType": "TaxExcluded",
- "unitPriceRoundingDigit": 2,
- "unitPriceRoundingType": "Down",
- "subTotalRoundingType": "Down",
- "taxRoundingType": "Down",
- "issuedAt": "2025-01-01T00:00:00.000Z",
- "receivedAt": "2025-01-05T00:00:00.000Z",
- "deliveredAt": "2025-01-10T00:00:00.000Z",
- "paidAt": "2025-01-15T00:00:00.000Z",
- "partiallyPaidAt": "2025-01-12T00:00:00.000Z",
- "paidAmount": "50000",
- "note": "至急手配お願いします",
- "deliveryAddress": "CompanyAddress",
- "deliveryTime": "2025-01-31T00:00:00.000Z",
- "billingDate": "2025-02-01T00:00:00.000Z",
- "paymentDueDate": "2025-02-28T00:00:00.000Z",
- "externalId": "ext_purchase_order_12345",
- "isArchive": false,
- "job": {
- "id": "cl3l7lqsj3303015nraag2rho",
- "externalId": "ext-job-12345"
}, - "seller": {
- "id": "cl3l7lqsj3303015nraag2rho",
- "externalId": "ext-seller-12345",
- "isArchive": true,
- "sellerContacts": [
- {
- "id": "cl3l7lqsj3303015nraag2rho",
- "isArchive": true
}
]
}, - "user": {
- "id": "cl3l7lqsj3303015nraag2rho",
- "externalId": "ext-user-12345",
- "isArchive": true
}, - "recipient": {
- "id": "cl3l7lqsj3303015nraag2rho",
- "externalId": "ext-user-12345",
- "isArchive": true
}, - "tags": [
- {
- "id": "cl3l7lqsj3303015nraag2rho",
- "name": "緊急",
- "color": "#FF0000"
}
], - "customFields": {
- "property1": "string",
- "property2": "string"
}, - "purchaseOrderLines": [
- {
- "id": "cl3l7lqsj3303015nraag2rho",
- "label": "配管材料一式",
- "unitPrice": "1000",
- "quantity": "2",
- "unitName": "式",
- "modelName": "ABC-123",
- "deliveryTime": "2025-01-31T00:00:00.000Z",
- "priceBookItemId": "pb_item_12345",
- "note": "至急手配お願いします",
- "keyPath": "a4b54201-b64c-4d97-8abb-5581ffb68496.9a70feab-5a56-48f6-a47f-e892c6739d84",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "deliveredAt": "2025-02-01T00:00:00.000Z",
- "billingDate": "2025-02-05T00:00:00.000Z",
- "paymentDueDate": "2025-02-29T00:00:00.000Z",
- "sortNum": 0,
- "isTextLine": true,
- "manufacturerId": "cl3l7lqsj3303015nraag2rho",
- "manufacturer": {
- "id": "cl3l7lqsj3303015nraag2rho"
}
}
], - "payments": [
- {
- "id": "cl3l7lqsj3303015nraag2rho",
- "createdAt": "2025-01-10T00:00:00.000Z",
- "updatedAt": "2025-01-10T00:00:00.000Z",
- "date": "2025-01-10T00:00:00.000Z",
- "amount": "50000",
- "notes": "前払分"
}
], - "latestDocumentHistory": {
- "id": "cl3l7lqsj3303015nraag2rho"
}, - "documentHistoryId": "cl3l7lqsj3303015nraag2rho",
- "hasBeenIssuedBefore": true,
- "latestApprovalRequestDraft": { },
- "latestApprovalRequest": { },
- "approvalRequestSetting": {
- "id": "cl3l7lqsj3303015nraag2rho",
- "isRequired": true,
- "isArchive": true
}
}
}外部ID(externalId)で発注書の詳細データを取得するAPIです。
| externalId required | string Example: ext_po_12345 発注書の外部ID |
| x-api-key required | string |
| x-api-version | string |
required | object (ExternalPurchaseOrderFull) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "data": {
- "id": "cl3l7lqsj3303015nraag2rho",
- "createdAt": "2025-01-01T00:00:00.000Z",
- "updatedAt": "2025-01-01T00:00:00.000Z",
- "slug": "PO-2025-0001",
- "title": "〇〇様向け発注書",
- "type": "JOB",
- "taxType": "TaxExcluded",
- "unitPriceRoundingDigit": 2,
- "unitPriceRoundingType": "Down",
- "subTotalRoundingType": "Down",
- "taxRoundingType": "Down",
- "issuedAt": "2025-01-01T00:00:00.000Z",
- "receivedAt": "2025-01-05T00:00:00.000Z",
- "deliveredAt": "2025-01-10T00:00:00.000Z",
- "paidAt": "2025-01-15T00:00:00.000Z",
- "partiallyPaidAt": "2025-01-12T00:00:00.000Z",
- "paidAmount": "50000",
- "note": "至急手配お願いします",
- "deliveryAddress": "CompanyAddress",
- "deliveryTime": "2025-01-31T00:00:00.000Z",
- "billingDate": "2025-02-01T00:00:00.000Z",
- "paymentDueDate": "2025-02-28T00:00:00.000Z",
- "externalId": "ext_purchase_order_12345",
- "isArchive": false,
- "job": {
- "id": "cl3l7lqsj3303015nraag2rho",
- "externalId": "ext-job-12345"
}, - "seller": {
- "id": "cl3l7lqsj3303015nraag2rho",
- "externalId": "ext-seller-12345",
- "isArchive": true,
- "sellerContacts": [
- {
- "id": "cl3l7lqsj3303015nraag2rho",
- "isArchive": true
}
]
}, - "user": {
- "id": "cl3l7lqsj3303015nraag2rho",
- "externalId": "ext-user-12345",
- "isArchive": true
}, - "recipient": {
- "id": "cl3l7lqsj3303015nraag2rho",
- "externalId": "ext-user-12345",
- "isArchive": true
}, - "tags": [
- {
- "id": "cl3l7lqsj3303015nraag2rho",
- "name": "緊急",
- "color": "#FF0000"
}
], - "customFields": {
- "property1": "string",
- "property2": "string"
}, - "purchaseOrderLines": [
- {
- "id": "cl3l7lqsj3303015nraag2rho",
- "label": "配管材料一式",
- "unitPrice": "1000",
- "quantity": "2",
- "unitName": "式",
- "modelName": "ABC-123",
- "deliveryTime": "2025-01-31T00:00:00.000Z",
- "priceBookItemId": "pb_item_12345",
- "note": "至急手配お願いします",
- "keyPath": "a4b54201-b64c-4d97-8abb-5581ffb68496.9a70feab-5a56-48f6-a47f-e892c6739d84",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "deliveredAt": "2025-02-01T00:00:00.000Z",
- "billingDate": "2025-02-05T00:00:00.000Z",
- "paymentDueDate": "2025-02-29T00:00:00.000Z",
- "sortNum": 0,
- "isTextLine": true,
- "manufacturerId": "cl3l7lqsj3303015nraag2rho",
- "manufacturer": {
- "id": "cl3l7lqsj3303015nraag2rho"
}
}
], - "payments": [
- {
- "id": "cl3l7lqsj3303015nraag2rho",
- "createdAt": "2025-01-10T00:00:00.000Z",
- "updatedAt": "2025-01-10T00:00:00.000Z",
- "date": "2025-01-10T00:00:00.000Z",
- "amount": "50000",
- "notes": "前払分"
}
], - "latestDocumentHistory": {
- "id": "cl3l7lqsj3303015nraag2rho"
}, - "documentHistoryId": "cl3l7lqsj3303015nraag2rho",
- "hasBeenIssuedBefore": true,
- "latestApprovalRequestDraft": { },
- "latestApprovalRequest": { },
- "approvalRequestSetting": {
- "id": "cl3l7lqsj3303015nraag2rho",
- "isRequired": true,
- "isArchive": true
}
}
}発注書を新規作成するためのAPIです。
| x-api-key required | string |
| x-api-version | string |
required | object 発注先。:id, :externalIdのいずれか1つ以上を指定。 | ||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
object 発注先担当者参照。:id, :externalIdのいずれか1つ以上を指定。 | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
object 作成ユーザ参照(省略時はサービスアカウントが自動割り当て)。:id, :externalIdのいずれか1つ以上を指定。 | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
object 仕事参照(JOBタイプの場合は必須、INVENTORYタイプの場合は省略可)。:id, :externalIdのいずれか1つ以上を指定。 | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
| type | string (PurchaseOrderType) Enum: "JOB" "INVENTORY" | ||||||||||||||||||||||||||||||||||||
object 部署参照。:id, :externalIdのいずれか1つ以上を指定。 | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
object 宛先ユーザ参照。:id, :externalIdのいずれか1つ以上を指定。 | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
| title | string or null 表題 | ||||||||||||||||||||||||||||||||||||
| issuedAt | string or null <date-time> 発行日 | ||||||||||||||||||||||||||||||||||||
| receivedAt | string or null <date-time> 受領日 | ||||||||||||||||||||||||||||||||||||
| deliveredAt | string or null <date-time> 納品日 | ||||||||||||||||||||||||||||||||||||
| paidAt | string or null <date-time> 支払日 | ||||||||||||||||||||||||||||||||||||
| partiallyPaidAt | string <date-time> 一部支払日 | ||||||||||||||||||||||||||||||||||||
| paidAmount | string or null^-?\d+(\.\d+)?$ 既支払金額(Decimal文字列または数値) | ||||||||||||||||||||||||||||||||||||
| deliveryAddress | string or null Enum: "CompanyAddress" "SiteAddress" 配送先区分 | ||||||||||||||||||||||||||||||||||||
| note | string or null 備考 | ||||||||||||||||||||||||||||||||||||
| internalNote | string or null 社内メモ | ||||||||||||||||||||||||||||||||||||
| taxType required | string Enum: "TaxIncluded" "TaxExcluded" "TaxExempted" 税区分 | ||||||||||||||||||||||||||||||||||||
object ドキュメントテンプレート参照。:id, :externalIdのいずれか1つ以上を指定。 | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
| deliveryTime | string <date-time> 発注書単位の納期 | ||||||||||||||||||||||||||||||||||||
required | Array of objects (ExternalCreatePurchaseOrderLineDto) 発注書明細(1行以上) | ||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||
Array of objects (ExternalCreatePurchaseOrderTagDto) タグ(最大50件) | |||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||
required | object (ExternalPurchaseOrderFull) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "seller": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "sellerContact": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "user": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "job": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "type": "JOB",
- "division": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "recipient": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "title": "string",
- "issuedAt": "2019-08-24T14:15:22Z",
- "receivedAt": "2019-08-24T14:15:22Z",
- "deliveredAt": "2019-08-24T14:15:22Z",
- "paidAt": "2019-08-24T14:15:22Z",
- "partiallyPaidAt": "2019-08-24T14:15:22Z",
- "paidAmount": "0",
- "deliveryAddress": "CompanyAddress",
- "note": "string",
- "internalNote": "string",
- "taxType": "TaxIncluded",
- "documentTemplate": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "deliveryTime": "2019-08-24T14:15:22Z",
- "purchaseOrderLines": [
- {
- "label": "室外機",
- "quantity": "1",
- "unitPrice": "75000",
- "unitName": "台",
- "modelName": "R22LJXS",
- "priceBookItem": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "note": "string",
- "isTextLine": false,
- "manufacturer": {
- "id": "clgwykodu0000hjlh5v3of2p6"
}, - "customFields": {
- "property1": "string",
- "property2": "string"
}
}
], - "tags": [
- {
- "name": "重要",
- "color": "#RRGGBB"
}
]
}{- "data": {
- "id": "cl3l7lqsj3303015nraag2rho",
- "createdAt": "2025-01-01T00:00:00.000Z",
- "updatedAt": "2025-01-01T00:00:00.000Z",
- "slug": "PO-2025-0001",
- "title": "〇〇様向け発注書",
- "type": "JOB",
- "taxType": "TaxExcluded",
- "unitPriceRoundingDigit": 2,
- "unitPriceRoundingType": "Down",
- "subTotalRoundingType": "Down",
- "taxRoundingType": "Down",
- "issuedAt": "2025-01-01T00:00:00.000Z",
- "receivedAt": "2025-01-05T00:00:00.000Z",
- "deliveredAt": "2025-01-10T00:00:00.000Z",
- "paidAt": "2025-01-15T00:00:00.000Z",
- "partiallyPaidAt": "2025-01-12T00:00:00.000Z",
- "paidAmount": "50000",
- "note": "至急手配お願いします",
- "deliveryAddress": "CompanyAddress",
- "deliveryTime": "2025-01-31T00:00:00.000Z",
- "billingDate": "2025-02-01T00:00:00.000Z",
- "paymentDueDate": "2025-02-28T00:00:00.000Z",
- "externalId": "ext_purchase_order_12345",
- "isArchive": false,
- "job": {
- "id": "cl3l7lqsj3303015nraag2rho",
- "externalId": "ext-job-12345"
}, - "seller": {
- "id": "cl3l7lqsj3303015nraag2rho",
- "externalId": "ext-seller-12345",
- "isArchive": true,
- "sellerContacts": [
- {
- "id": "cl3l7lqsj3303015nraag2rho",
- "isArchive": true
}
]
}, - "user": {
- "id": "cl3l7lqsj3303015nraag2rho",
- "externalId": "ext-user-12345",
- "isArchive": true
}, - "recipient": {
- "id": "cl3l7lqsj3303015nraag2rho",
- "externalId": "ext-user-12345",
- "isArchive": true
}, - "tags": [
- {
- "id": "cl3l7lqsj3303015nraag2rho",
- "name": "緊急",
- "color": "#FF0000"
}
], - "customFields": {
- "property1": "string",
- "property2": "string"
}, - "purchaseOrderLines": [
- {
- "id": "cl3l7lqsj3303015nraag2rho",
- "label": "配管材料一式",
- "unitPrice": "1000",
- "quantity": "2",
- "unitName": "式",
- "modelName": "ABC-123",
- "deliveryTime": "2025-01-31T00:00:00.000Z",
- "priceBookItemId": "pb_item_12345",
- "note": "至急手配お願いします",
- "keyPath": "a4b54201-b64c-4d97-8abb-5581ffb68496.9a70feab-5a56-48f6-a47f-e892c6739d84",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "deliveredAt": "2025-02-01T00:00:00.000Z",
- "billingDate": "2025-02-05T00:00:00.000Z",
- "paymentDueDate": "2025-02-29T00:00:00.000Z",
- "sortNum": 0,
- "isTextLine": true,
- "manufacturerId": "cl3l7lqsj3303015nraag2rho",
- "manufacturer": {
- "id": "cl3l7lqsj3303015nraag2rho"
}
}
], - "payments": [
- {
- "id": "cl3l7lqsj3303015nraag2rho",
- "createdAt": "2025-01-10T00:00:00.000Z",
- "updatedAt": "2025-01-10T00:00:00.000Z",
- "date": "2025-01-10T00:00:00.000Z",
- "amount": "50000",
- "notes": "前払分"
}
], - "latestDocumentHistory": {
- "id": "cl3l7lqsj3303015nraag2rho"
}, - "documentHistoryId": "cl3l7lqsj3303015nraag2rho",
- "hasBeenIssuedBefore": true,
- "latestApprovalRequestDraft": { },
- "latestApprovalRequest": { },
- "approvalRequestSetting": {
- "id": "cl3l7lqsj3303015nraag2rho",
- "isRequired": true,
- "isArchive": true
}
}
}未送信キーは不変。purchaseOrderLines 指定時のみ全置換。
| x-api-key required | string |
| x-api-version | string |
required | object 更新対象の発注書参照。:id, :externalIdのいずれか1つ以上を指定。 | ||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||
object or null 発注先。:id, :externalIdのいずれか1つ以上を指定。 | |||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||
object or null 発注先担当者参照。:idのいずれか1つ以上を指定。 | |||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||
object or null 担当ユーザ参照。:id, :externalIdのいずれか1つ以上を指定。 | |||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||
object or null 部署参照。:id, :externalIdのいずれか1つ以上を指定。 | |||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||
object or null 宛先ユーザ参照。:id, :externalIdのいずれか1つ以上を指定。 | |||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||
| title | string or null 表題 | ||||||||||||||||||||||||||||||||||||||||||
| deliveryAddress | string or null Enum: "CompanyAddress" "SiteAddress" 配送先区分 | ||||||||||||||||||||||||||||||||||||||||||
| note | string or null 備考 | ||||||||||||||||||||||||||||||||||||||||||
| taxType | string Enum: "TaxIncluded" "TaxExcluded" "TaxExempted" 税区分 | ||||||||||||||||||||||||||||||||||||||||||
object or null ドキュメントテンプレート参照。:id, :externalIdのいずれか1つ以上を指定。 | |||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||
| deliveredAt | string or null <date-time> 納品日(ヘッダ) | ||||||||||||||||||||||||||||||||||||||||||
| deliveryTime | string or null <date-time> 納期(ヘッダ) | ||||||||||||||||||||||||||||||||||||||||||
| unitPriceRoundingType | string Enum: "Down" "Up" "Off" 単価の端数処理方法 | ||||||||||||||||||||||||||||||||||||||||||
| unitPriceRoundingDigit | number [ 0 .. 2 ] 単価の端数を処理する桁数(0〜2) | ||||||||||||||||||||||||||||||||||||||||||
| subTotalRoundingType | string Enum: "Down" "Up" "Off" 小計の端数処理方法 | ||||||||||||||||||||||||||||||||||||||||||
| taxRoundingType | string Enum: "Down" "Up" "Off" 税の端数処理方法 | ||||||||||||||||||||||||||||||||||||||||||
object カスタム項目 | |||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||
Array of objects (ExternalUpdatePurchaseOrderLineDto) 発注書明細。指定時は全置換 | |||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||
Array of objects (ExternalUpdatePurchaseOrderTagDto) タグ(指定時の扱いは内部仕様に準拠) | |||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||
required | object (ExternalPurchaseOrderFull) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "purchaseOrder": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "seller": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "sellerContact": {
- "id": "clgwykodu0000hjlh5v3of2p6"
}, - "user": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "division": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "recipient": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "title": "string",
- "deliveryAddress": "CompanyAddress",
- "note": "string",
- "taxType": "TaxIncluded",
- "documentTemplate": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "deliveredAt": "2019-08-24T14:15:22Z",
- "deliveryTime": "2019-08-24T14:15:22Z",
- "unitPriceRoundingType": "Down",
- "unitPriceRoundingDigit": 2,
- "subTotalRoundingType": "Down",
- "taxRoundingType": "Down",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "purchaseOrderLines": [
- {
- "label": "室外機",
- "quantity": "1",
- "unitPrice": "75000",
- "unitName": "台",
- "modelName": "R22LJXS",
- "priceBookItem": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "note": "string",
- "sortNum": 0,
- "isParentLine": false,
- "isTextLine": false,
- "manufacturer": {
- "id": "clgwykodu0000hjlh5v3of2p6"
}, - "customFields": {
- "property1": "string",
- "property2": "string"
}, - "deliveryTime": "2019-08-24T14:15:22Z"
}
], - "tags": [
- {
- "name": "重要",
- "color": "#RRGGBB"
}
]
}{- "data": {
- "id": "cl3l7lqsj3303015nraag2rho",
- "createdAt": "2025-01-01T00:00:00.000Z",
- "updatedAt": "2025-01-01T00:00:00.000Z",
- "slug": "PO-2025-0001",
- "title": "〇〇様向け発注書",
- "type": "JOB",
- "taxType": "TaxExcluded",
- "unitPriceRoundingDigit": 2,
- "unitPriceRoundingType": "Down",
- "subTotalRoundingType": "Down",
- "taxRoundingType": "Down",
- "issuedAt": "2025-01-01T00:00:00.000Z",
- "receivedAt": "2025-01-05T00:00:00.000Z",
- "deliveredAt": "2025-01-10T00:00:00.000Z",
- "paidAt": "2025-01-15T00:00:00.000Z",
- "partiallyPaidAt": "2025-01-12T00:00:00.000Z",
- "paidAmount": "50000",
- "note": "至急手配お願いします",
- "deliveryAddress": "CompanyAddress",
- "deliveryTime": "2025-01-31T00:00:00.000Z",
- "billingDate": "2025-02-01T00:00:00.000Z",
- "paymentDueDate": "2025-02-28T00:00:00.000Z",
- "externalId": "ext_purchase_order_12345",
- "isArchive": false,
- "job": {
- "id": "cl3l7lqsj3303015nraag2rho",
- "externalId": "ext-job-12345"
}, - "seller": {
- "id": "cl3l7lqsj3303015nraag2rho",
- "externalId": "ext-seller-12345",
- "isArchive": true,
- "sellerContacts": [
- {
- "id": "cl3l7lqsj3303015nraag2rho",
- "isArchive": true
}
]
}, - "user": {
- "id": "cl3l7lqsj3303015nraag2rho",
- "externalId": "ext-user-12345",
- "isArchive": true
}, - "recipient": {
- "id": "cl3l7lqsj3303015nraag2rho",
- "externalId": "ext-user-12345",
- "isArchive": true
}, - "tags": [
- {
- "id": "cl3l7lqsj3303015nraag2rho",
- "name": "緊急",
- "color": "#FF0000"
}
], - "customFields": {
- "property1": "string",
- "property2": "string"
}, - "purchaseOrderLines": [
- {
- "id": "cl3l7lqsj3303015nraag2rho",
- "label": "配管材料一式",
- "unitPrice": "1000",
- "quantity": "2",
- "unitName": "式",
- "modelName": "ABC-123",
- "deliveryTime": "2025-01-31T00:00:00.000Z",
- "priceBookItemId": "pb_item_12345",
- "note": "至急手配お願いします",
- "keyPath": "a4b54201-b64c-4d97-8abb-5581ffb68496.9a70feab-5a56-48f6-a47f-e892c6739d84",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "deliveredAt": "2025-02-01T00:00:00.000Z",
- "billingDate": "2025-02-05T00:00:00.000Z",
- "paymentDueDate": "2025-02-29T00:00:00.000Z",
- "sortNum": 0,
- "isTextLine": true,
- "manufacturerId": "cl3l7lqsj3303015nraag2rho",
- "manufacturer": {
- "id": "cl3l7lqsj3303015nraag2rho"
}
}
], - "payments": [
- {
- "id": "cl3l7lqsj3303015nraag2rho",
- "createdAt": "2025-01-10T00:00:00.000Z",
- "updatedAt": "2025-01-10T00:00:00.000Z",
- "date": "2025-01-10T00:00:00.000Z",
- "amount": "50000",
- "notes": "前払分"
}
], - "latestDocumentHistory": {
- "id": "cl3l7lqsj3303015nraag2rho"
}, - "documentHistoryId": "cl3l7lqsj3303015nraag2rho",
- "hasBeenIssuedBefore": true,
- "latestApprovalRequestDraft": { },
- "latestApprovalRequest": { },
- "approvalRequestSetting": {
- "id": "cl3l7lqsj3303015nraag2rho",
- "isRequired": true,
- "isArchive": true
}
}
}IDで部署の詳細データを取得するためのAPIです。
| id required | string Example: cl3l7lqsj3303015nraag2rho 部署ID |
| x-api-key required | string |
| x-api-version | string |
required | object (ExternalDivisionFull) | ||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||
{- "data": {
- "id": "cl3l7lqsj3303015nraag2rho",
- "externalId": "ext-div-12345",
- "name": "営業部",
- "phone": "03-1234-5678",
- "fax": "03-1234-5679",
- "zipcode": "100-0001",
- "state": "東京都",
- "city": "千代田区",
- "address1": "千代田1-1-1",
- "address2": "オフィスビル5F",
- "shortcode": "DIV001",
- "isArchive": false,
- "parentDivisionId": "cl3l7lqsj3303015nraag2rhp",
- "createdAt": "2024-01-01T09:00:00.000Z",
- "updatedAt": "2024-01-02T10:00:00.000Z",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "keyPath": "division1.division2",
- "companyId": "cl3l7lqsj3303015nraag2rhc",
- "childIds": [
- "div_child_1",
- "div_child_2"
]
}
}IDで部署を指定して更新するためのAPIです。部分更新が可能です。
| id required | string Example: cl3l7lqsj3303015nraag2rho 部署ID |
| x-api-key required | string |
| x-api-version | string |
| name | string or null 部署名(同一階層で重複不可) | ||||
| shortcode | string or null <= 6 characters 部署記号(最大6文字) | ||||
| parentDivisionId | string or null 親部署のID(最上位部署の場合はTOP_LEVEL_IDを指定)。親部署を指定して部署の階層を移動すると、その配下の全ての子部署も一緒に移動し、keyPath(階層)が自動的に更新されます。例:子部署をトップレベルに移動すると、孫部署も一緒に移動しますが、孫部署の親は子部署のまま維持されます | ||||
| externalId | string or null 部署外部ID | ||||
| phone | string or null 電話番号 | ||||
| fax | string or null FAX番号 | ||||
| zipcode | string or null 郵便番号 | ||||
| state | string or null 都道府県(正式名称) | ||||
| city | string or null 市区町村 | ||||
| address1 | string or null 住所1 | ||||
| address2 | string or null 住所2 | ||||
object カスタム項目 | |||||
| |||||
required | object (ExternalDivisionFull) | ||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||
{- "name": "営業部",
- "shortcode": "DIV001",
- "parentDivisionId": "cl3l7lqsj3303015nraag2rhp",
- "externalId": "ext-div-12345",
- "phone": "03-1234-5678",
- "fax": "03-1234-5679",
- "zipcode": "100-0001",
- "state": "東京都",
- "city": "中央区",
- "address1": "銀座7-16-12",
- "address2": "G7ビル8階",
- "customFields": {
- "property1": "string",
- "property2": "string"
}
}{- "data": {
- "id": "cl3l7lqsj3303015nraag2rho",
- "externalId": "ext-div-12345",
- "name": "営業部",
- "phone": "03-1234-5678",
- "fax": "03-1234-5679",
- "zipcode": "100-0001",
- "state": "東京都",
- "city": "千代田区",
- "address1": "千代田1-1-1",
- "address2": "オフィスビル5F",
- "shortcode": "DIV001",
- "isArchive": false,
- "parentDivisionId": "cl3l7lqsj3303015nraag2rhp",
- "createdAt": "2024-01-01T09:00:00.000Z",
- "updatedAt": "2024-01-02T10:00:00.000Z",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "keyPath": "division1.division2",
- "companyId": "cl3l7lqsj3303015nraag2rhc",
- "childIds": [
- "div_child_1",
- "div_child_2"
]
}
}外部ID(externalId)で部署の詳細データを取得するためのAPIです。
| externalId required | string Example: division-123 部署の外部ID |
| x-api-key required | string |
| x-api-version | string |
required | object (ExternalDivisionFull) | ||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||
{- "data": {
- "id": "cl3l7lqsj3303015nraag2rho",
- "externalId": "ext-div-12345",
- "name": "営業部",
- "phone": "03-1234-5678",
- "fax": "03-1234-5679",
- "zipcode": "100-0001",
- "state": "東京都",
- "city": "千代田区",
- "address1": "千代田1-1-1",
- "address2": "オフィスビル5F",
- "shortcode": "DIV001",
- "isArchive": false,
- "parentDivisionId": "cl3l7lqsj3303015nraag2rhp",
- "createdAt": "2024-01-01T09:00:00.000Z",
- "updatedAt": "2024-01-02T10:00:00.000Z",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "keyPath": "division1.division2",
- "companyId": "cl3l7lqsj3303015nraag2rhc",
- "childIds": [
- "div_child_1",
- "div_child_2"
]
}
}外部ID(externalId)で部署を指定して更新するためのAPIです。部分更新が可能です。
| externalId required | string Example: division-123 部署の外部ID |
| x-api-key required | string |
| x-api-version | string |
| name | string or null 部署名(同一階層で重複不可) | ||||
| shortcode | string or null <= 6 characters 部署記号(最大6文字) | ||||
| parentDivisionId | string or null 親部署のID(最上位部署の場合はTOP_LEVEL_IDを指定)。親部署を指定して部署の階層を移動すると、その配下の全ての子部署も一緒に移動し、keyPath(階層)が自動的に更新されます。例:子部署をトップレベルに移動すると、孫部署も一緒に移動しますが、孫部署の親は子部署のまま維持されます | ||||
| externalId | string or null 部署外部ID | ||||
| phone | string or null 電話番号 | ||||
| fax | string or null FAX番号 | ||||
| zipcode | string or null 郵便番号 | ||||
| state | string or null 都道府県(正式名称) | ||||
| city | string or null 市区町村 | ||||
| address1 | string or null 住所1 | ||||
| address2 | string or null 住所2 | ||||
object カスタム項目 | |||||
| |||||
required | object (ExternalDivisionFull) | ||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||
{- "name": "営業部",
- "shortcode": "DIV001",
- "parentDivisionId": "cl3l7lqsj3303015nraag2rhp",
- "externalId": "ext-div-12345",
- "phone": "03-1234-5678",
- "fax": "03-1234-5679",
- "zipcode": "100-0001",
- "state": "東京都",
- "city": "中央区",
- "address1": "銀座7-16-12",
- "address2": "G7ビル8階",
- "customFields": {
- "property1": "string",
- "property2": "string"
}
}{- "data": {
- "id": "cl3l7lqsj3303015nraag2rho",
- "externalId": "ext-div-12345",
- "name": "営業部",
- "phone": "03-1234-5678",
- "fax": "03-1234-5679",
- "zipcode": "100-0001",
- "state": "東京都",
- "city": "千代田区",
- "address1": "千代田1-1-1",
- "address2": "オフィスビル5F",
- "shortcode": "DIV001",
- "isArchive": false,
- "parentDivisionId": "cl3l7lqsj3303015nraag2rhp",
- "createdAt": "2024-01-01T09:00:00.000Z",
- "updatedAt": "2024-01-02T10:00:00.000Z",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "keyPath": "division1.division2",
- "companyId": "cl3l7lqsj3303015nraag2rhc",
- "childIds": [
- "div_child_1",
- "div_child_2"
]
}
}部署を新規作成するためのAPIです。
| x-api-key required | string |
| x-api-version | string |
| name required | string 部署名 | ||||
| shortcode required | string <= 6 characters 部署記号(最大6文字) | ||||
| parentDivisionId required | string 親部署のID(最上位部署の場合はTOP_LEVEL_IDを指定) | ||||
| externalId | string or null 部署外部ID | ||||
| phone | string or null 電話番号 | ||||
| fax | string or null FAX番号 | ||||
| zipcode | string or null 郵便番号 | ||||
| state | string or null 都道府県(正式名称) | ||||
| city | string or null 市区町村 | ||||
| address1 | string or null 住所1 | ||||
| address2 | string or null 住所2 | ||||
required | object カスタム項目 | ||||
| |||||
required | object (ExternalDivisionFull) | ||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||
{- "name": "営業部",
- "shortcode": "DIV001",
- "parentDivisionId": "cl3l7lqsj3303015nraag2rhp",
- "externalId": "ext-div-12345",
- "phone": "03-1234-5678",
- "fax": "03-1234-5679",
- "zipcode": "100-0001",
- "state": "東京都",
- "city": "中央区",
- "address1": "銀座7-16-12",
- "address2": "G7ビル8階",
- "customFields": {
- "property1": "string",
- "property2": "string"
}
}{- "data": {
- "id": "cl3l7lqsj3303015nraag2rho",
- "externalId": "ext-div-12345",
- "name": "営業部",
- "phone": "03-1234-5678",
- "fax": "03-1234-5679",
- "zipcode": "100-0001",
- "state": "東京都",
- "city": "千代田区",
- "address1": "千代田1-1-1",
- "address2": "オフィスビル5F",
- "shortcode": "DIV001",
- "isArchive": false,
- "parentDivisionId": "cl3l7lqsj3303015nraag2rhp",
- "createdAt": "2024-01-01T09:00:00.000Z",
- "updatedAt": "2024-01-02T10:00:00.000Z",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "keyPath": "division1.division2",
- "companyId": "cl3l7lqsj3303015nraag2rhc",
- "childIds": [
- "div_child_1",
- "div_child_2"
]
}
}リクエストしたID/外部IDで対象の1件の部署をアーカイブするためのAPIです。
| x-api-key required | string |
| x-api-version | string |
| id | string or null 部署ID |
| externalId | string or null 外部ID |
| id required | string 部署ID |
| externalId | string or null 外部ID |
| isArchive required | boolean アーカイブフラグ |
{- "id": "cl5c0bcz318351015l39r39wao",
- "externalId": "div-123"
}{- "id": "cl5c0bcz318351015l39r39wao",
- "externalId": "div-123",
- "isArchive": true
}リクエストしたID/外部IDで対象の1件の部署のアーカイブを解除するためのAPIです。
| x-api-key required | string |
| x-api-version | string |
| id | string or null 部署ID |
| externalId | string or null 外部ID |
| id required | string 部署ID |
| externalId | string or null 外部ID |
| isArchive required | boolean アーカイブフラグ |
{- "id": "cl5c0bcz318351015l39r39wao",
- "externalId": "div-123"
}{- "id": "cl5c0bcz318351015l39r39wao",
- "externalId": "div-123",
- "isArchive": true
}価格表アイテムを一括で作成する。非同期処理でジョブIDを返す。
本APIの利用をご希望の場合は、担当営業までお問い合わせください。
| x-api-key required | string |
| x-api-version | string |
required | Array of objects (ExternalBulkCreatePriceBookItemDto) [ 1 .. 100 ] items 作成するアイテム一覧 (1〜100 件) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array ([ 1 .. 100 ] items)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| statusCode required | boolean Default: 200 ステータスコード |
| success required | boolean Default: true 成功フラグ |
| jobId required | string ジョブID |
| status required | string ジョブステータス |
| statusUrl required | string 進捗確認URL |
{- "items": [
- {
- "name": "string",
- "priceBook": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "unitPrice": "1000",
- "unitCost": "string",
- "unitName": "string",
- "unitListPrice": "string",
- "unitListPriceString": "string",
- "discountPrice": "string",
- "note": "string",
- "internalNote": "string",
- "modelName": "string",
- "taxCode": "string",
- "externalId": "string",
- "imagePath": "string",
- "directory": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "manufacturer": {
- "id": "clgwykodu0000hjlh5v3of2p6"
}, - "category": {
- "id": "clgwykodu0000hjlh5v3of2p6"
}, - "customFields": {
- "property1": "string",
- "property2": "string"
}, - "childItems": [
- {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}
]
}
]
}{- "statusCode": 200,
- "success": true,
- "jobId": "string",
- "status": "queued",
- "statusUrl": "string"
}価格表アイテムを一括で更新する。非同期処理でジョブIDを返す。
本APIの利用をご希望の場合は、担当営業までお問い合わせください。
| x-api-key required | string |
| x-api-version | string |
required | Array of objects (ExternalBulkUpdatePriceBookItemDto) [ 1 .. 100 ] items 更新するアイテム一覧 (1〜100 件) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array ([ 1 .. 100 ] items)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| statusCode required | boolean Default: 200 ステータスコード |
| success required | boolean Default: true 成功フラグ |
| jobId required | string ジョブID |
| status required | string ジョブステータス |
| statusUrl required | string 進捗確認URL |
{- "items": [
- {
- "unitCost": "string",
- "unitName": "string",
- "unitListPrice": "string",
- "unitListPriceString": "string",
- "discountPrice": "string",
- "note": "string",
- "internalNote": "string",
- "modelName": "string",
- "taxCode": "string",
- "externalId": "string",
- "directory": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "manufacturer": {
- "id": "clgwykodu0000hjlh5v3of2p6"
}, - "category": {
- "id": "clgwykodu0000hjlh5v3of2p6"
}, - "item": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "name": "string",
- "priceBook": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "unitPrice": "string",
- "customFields": {
- "property1": "string",
- "property2": "string"
}, - "childItems": [
- {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}
], - "imagePath": "string"
}
]
}{- "statusCode": 200,
- "success": true,
- "jobId": "string",
- "status": "queued",
- "statusUrl": "string"
}価格表アイテムを一括で論理削除する。非同期処理でジョブIDを返す。
本APIの利用をご希望の場合は、担当営業までお問い合わせください。
| x-api-key required | string |
| x-api-version | string |
required | Array of objects (ExternalBulkDeletePriceBookItemDto) [ 1 .. 100 ] items 削除するアイテム一覧 (1〜100 件) | ||||||||
Array ([ 1 .. 100 ] items)
| |||||||||
| statusCode required | boolean Default: 200 ステータスコード |
| success required | boolean Default: true 成功フラグ |
| jobId required | string ジョブID |
| status required | string ジョブステータス |
| statusUrl required | string 進捗確認URL |
{- "items": [
- {
- "item": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}
}
]
}{- "statusCode": 200,
- "success": true,
- "jobId": "string",
- "status": "queued",
- "statusUrl": "string"
}ジョブの進捗状況を取得する。
本APIの利用をご希望の場合は、担当営業までお問い合わせください。
| jobId required | string |
| x-api-key required | string |
| x-api-version | string |
| statusCode required | boolean Default: 200 ステータスコード | ||||||||||
| success required | boolean Default: true 成功フラグ | ||||||||||
| jobId required | string ジョブID | ||||||||||
| resourceType required | string リソースタイプ | ||||||||||
| operationType required | string 操作タイプ | ||||||||||
| status required | string ジョブステータス | ||||||||||
required | object 進捗サマリ | ||||||||||
| |||||||||||
| createdAt required | string <date-time> 作成日時 | ||||||||||
| startedAt | string or null <date-time> 処理開始日時 | ||||||||||
| finishedAt | string or null <date-time> 処理完了日時 | ||||||||||
Array of objects (ExternalBulkRowResult) 成功行一覧(GET /:jobId/results) | |||||||||||
Array
| |||||||||||
| resultTotal | number 成功行の総数 | ||||||||||
Array of objects (ExternalBulkRowError) エラー行一覧(GET /:jobId/errors) | |||||||||||
Array
| |||||||||||
| errorTotal | number エラー行の総数 | ||||||||||
| page | number 現在のページ | ||||||||||
| perPage | number 1ページあたりの件数 | ||||||||||
| hasNext | boolean 次ページがあるか | ||||||||||
{- "statusCode": 200,
- "success": true,
- "jobId": "string",
- "resourceType": "string",
- "operationType": "string",
- "status": "string",
- "summary": {
- "total": 0,
- "queued": 0,
- "processing": 0,
- "succeeded": 0,
- "failed": 0
}, - "createdAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "results": [
- {
- "rowNumber": 0,
- "id": "string",
- "externalId": "string"
}
], - "resultTotal": 0,
- "errors": [
- {
- "rowNumber": 0,
- "id": "string",
- "externalId": "string",
- "errorCode": "UNEXPECTED_ERROR",
- "message": "PriceBook not found"
}
], - "errorTotal": 0,
- "page": 0,
- "perPage": 0,
- "hasNext": true
}成功した行の一覧をページングで取得する。
本APIの利用をご希望の場合は、担当営業までお問い合わせください。
| jobId required | string |
| page | number >= 1 Default: 1 ページ番号 (1 始まり) |
| perPage | number [ 1 .. 1000 ] Default: 100 1 ページあたりの件数 (上限 1000) |
| x-api-key required | string |
| x-api-version | string |
| statusCode required | boolean Default: 200 ステータスコード | ||||||||||
| success required | boolean Default: true 成功フラグ | ||||||||||
| jobId required | string ジョブID | ||||||||||
| resourceType required | string リソースタイプ | ||||||||||
| operationType required | string 操作タイプ | ||||||||||
| status required | string ジョブステータス | ||||||||||
required | object 進捗サマリ | ||||||||||
| |||||||||||
| createdAt required | string <date-time> 作成日時 | ||||||||||
| startedAt | string or null <date-time> 処理開始日時 | ||||||||||
| finishedAt | string or null <date-time> 処理完了日時 | ||||||||||
Array of objects (ExternalBulkRowResult) 成功行一覧(GET /:jobId/results) | |||||||||||
Array
| |||||||||||
| resultTotal | number 成功行の総数 | ||||||||||
Array of objects (ExternalBulkRowError) エラー行一覧(GET /:jobId/errors) | |||||||||||
Array
| |||||||||||
| errorTotal | number エラー行の総数 | ||||||||||
| page | number 現在のページ | ||||||||||
| perPage | number 1ページあたりの件数 | ||||||||||
| hasNext | boolean 次ページがあるか | ||||||||||
{- "statusCode": 200,
- "success": true,
- "jobId": "string",
- "resourceType": "string",
- "operationType": "string",
- "status": "string",
- "summary": {
- "total": 0,
- "queued": 0,
- "processing": 0,
- "succeeded": 0,
- "failed": 0
}, - "createdAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "results": [
- {
- "rowNumber": 0,
- "id": "string",
- "externalId": "string"
}
], - "resultTotal": 0,
- "errors": [
- {
- "rowNumber": 0,
- "id": "string",
- "externalId": "string",
- "errorCode": "UNEXPECTED_ERROR",
- "message": "PriceBook not found"
}
], - "errorTotal": 0,
- "page": 0,
- "perPage": 0,
- "hasNext": true
}エラーが発生した行の一覧をページングで取得する。
本APIの利用をご希望の場合は、担当営業までお問い合わせください。
| jobId required | string |
| page | number >= 1 Default: 1 ページ番号 (1 始まり) |
| perPage | number [ 1 .. 1000 ] Default: 100 1 ページあたりの件数 (上限 1000) |
| x-api-key required | string |
| x-api-version | string |
| statusCode required | boolean Default: 200 ステータスコード | ||||||||||
| success required | boolean Default: true 成功フラグ | ||||||||||
| jobId required | string ジョブID | ||||||||||
| resourceType required | string リソースタイプ | ||||||||||
| operationType required | string 操作タイプ | ||||||||||
| status required | string ジョブステータス | ||||||||||
required | object 進捗サマリ | ||||||||||
| |||||||||||
| createdAt required | string <date-time> 作成日時 | ||||||||||
| startedAt | string or null <date-time> 処理開始日時 | ||||||||||
| finishedAt | string or null <date-time> 処理完了日時 | ||||||||||
Array of objects (ExternalBulkRowResult) 成功行一覧(GET /:jobId/results) | |||||||||||
Array
| |||||||||||
| resultTotal | number 成功行の総数 | ||||||||||
Array of objects (ExternalBulkRowError) エラー行一覧(GET /:jobId/errors) | |||||||||||
Array
| |||||||||||
| errorTotal | number エラー行の総数 | ||||||||||
| page | number 現在のページ | ||||||||||
| perPage | number 1ページあたりの件数 | ||||||||||
| hasNext | boolean 次ページがあるか | ||||||||||
{- "statusCode": 200,
- "success": true,
- "jobId": "string",
- "resourceType": "string",
- "operationType": "string",
- "status": "string",
- "summary": {
- "total": 0,
- "queued": 0,
- "processing": 0,
- "succeeded": 0,
- "failed": 0
}, - "createdAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "results": [
- {
- "rowNumber": 0,
- "id": "string",
- "externalId": "string"
}
], - "resultTotal": 0,
- "errors": [
- {
- "rowNumber": 0,
- "id": "string",
- "externalId": "string",
- "errorCode": "UNEXPECTED_ERROR",
- "message": "PriceBook not found"
}
], - "errorTotal": 0,
- "page": 0,
- "perPage": 0,
- "hasNext": true
}価格表本体を一括で作成する。非同期処理でジョブIDを返す。
本APIの利用をご希望の場合は、担当営業までお問い合わせください。
| x-api-key required | string |
| x-api-version | string |
required | Array of objects (ExternalBulkCreatePriceBookDto) [ 1 .. 100 ] items 作成する価格表一覧 (1〜100 件) | ||||||||||||
Array ([ 1 .. 100 ] items)
| |||||||||||||
| statusCode required | boolean Default: 200 ステータスコード |
| success required | boolean Default: true 成功フラグ |
| jobId required | string ジョブID |
| status required | string ジョブステータス |
| statusUrl required | string 進捗確認URL |
{- "items": [
- {
- "name": "string",
- "division": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "externalId": "string"
}
]
}{- "statusCode": 200,
- "success": true,
- "jobId": "string",
- "status": "queued",
- "statusUrl": "string"
}価格表本体を一括で更新する。非同期処理でジョブIDを返す。
本APIの利用をご希望の場合は、担当営業までお問い合わせください。
| x-api-key required | string |
| x-api-version | string |
required | Array of objects (ExternalBulkUpdatePriceBookDto) [ 1 .. 100 ] items 更新する価格表一覧 (1〜100 件) | ||||||||||||||||||||
Array ([ 1 .. 100 ] items)
| |||||||||||||||||||||
| statusCode required | boolean Default: 200 ステータスコード |
| success required | boolean Default: true 成功フラグ |
| jobId required | string ジョブID |
| status required | string ジョブステータス |
| statusUrl required | string 進捗確認URL |
{- "items": [
- {
- "externalId": "string",
- "priceBook": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "name": "string",
- "division": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}
}
]
}{- "statusCode": 200,
- "success": true,
- "jobId": "string",
- "status": "queued",
- "statusUrl": "string"
}価格表本体を一括で論理削除する。非同期処理でジョブIDを返す。bulk-delete は親 PriceBook を archive (isArchive=true) した時点で row 成功を返す。配下の PriceBookItem / PriceBookDirectory および関連 EstimateTemplateLine の cleanup は非同期で実行されるため (eventual consistency)、ジョブ完了直後は配下が未消化である場合がある。
本APIの利用をご希望の場合は、担当営業までお問い合わせください。
| x-api-key required | string |
| x-api-version | string |
required | Array of objects (ExternalBulkDeletePriceBookDto) [ 1 .. 100 ] items 削除する価格表一覧 (1〜100 件) | ||||||||
Array ([ 1 .. 100 ] items)
| |||||||||
| statusCode required | boolean Default: 200 ステータスコード |
| success required | boolean Default: true 成功フラグ |
| jobId required | string ジョブID |
| status required | string ジョブステータス |
| statusUrl required | string 進捗確認URL |
{- "items": [
- {
- "priceBook": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}
}
]
}{- "statusCode": 200,
- "success": true,
- "jobId": "string",
- "status": "queued",
- "statusUrl": "string"
}ジョブの進捗状況を取得する。
本APIの利用をご希望の場合は、担当営業までお問い合わせください。
| jobId required | string |
| x-api-key required | string |
| x-api-version | string |
| statusCode required | boolean Default: 200 ステータスコード | ||||||||||
| success required | boolean Default: true 成功フラグ | ||||||||||
| jobId required | string ジョブID | ||||||||||
| resourceType required | string リソースタイプ | ||||||||||
| operationType required | string 操作タイプ | ||||||||||
| status required | string ジョブステータス | ||||||||||
required | object 進捗サマリ | ||||||||||
| |||||||||||
| createdAt required | string <date-time> 作成日時 | ||||||||||
| startedAt | string or null <date-time> 処理開始日時 | ||||||||||
| finishedAt | string or null <date-time> 処理完了日時 | ||||||||||
Array of objects (ExternalBulkRowResult) 成功行一覧(GET /:jobId/results) | |||||||||||
Array
| |||||||||||
| resultTotal | number 成功行の総数 | ||||||||||
Array of objects (ExternalBulkRowError) エラー行一覧(GET /:jobId/errors) | |||||||||||
Array
| |||||||||||
| errorTotal | number エラー行の総数 | ||||||||||
| page | number 現在のページ | ||||||||||
| perPage | number 1ページあたりの件数 | ||||||||||
| hasNext | boolean 次ページがあるか | ||||||||||
{- "statusCode": 200,
- "success": true,
- "jobId": "string",
- "resourceType": "string",
- "operationType": "string",
- "status": "string",
- "summary": {
- "total": 0,
- "queued": 0,
- "processing": 0,
- "succeeded": 0,
- "failed": 0
}, - "createdAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "results": [
- {
- "rowNumber": 0,
- "id": "string",
- "externalId": "string"
}
], - "resultTotal": 0,
- "errors": [
- {
- "rowNumber": 0,
- "id": "string",
- "externalId": "string",
- "errorCode": "UNEXPECTED_ERROR",
- "message": "PriceBook not found"
}
], - "errorTotal": 0,
- "page": 0,
- "perPage": 0,
- "hasNext": true
}成功した行の一覧をページングで取得する。
本APIの利用をご希望の場合は、担当営業までお問い合わせください。
| jobId required | string |
| page | number >= 1 Default: 1 ページ番号 (1 始まり) |
| perPage | number [ 1 .. 1000 ] Default: 100 1 ページあたりの件数 (上限 1000) |
| x-api-key required | string |
| x-api-version | string |
| statusCode required | boolean Default: 200 ステータスコード | ||||||||||
| success required | boolean Default: true 成功フラグ | ||||||||||
| jobId required | string ジョブID | ||||||||||
| resourceType required | string リソースタイプ | ||||||||||
| operationType required | string 操作タイプ | ||||||||||
| status required | string ジョブステータス | ||||||||||
required | object 進捗サマリ | ||||||||||
| |||||||||||
| createdAt required | string <date-time> 作成日時 | ||||||||||
| startedAt | string or null <date-time> 処理開始日時 | ||||||||||
| finishedAt | string or null <date-time> 処理完了日時 | ||||||||||
Array of objects (ExternalBulkRowResult) 成功行一覧(GET /:jobId/results) | |||||||||||
Array
| |||||||||||
| resultTotal | number 成功行の総数 | ||||||||||
Array of objects (ExternalBulkRowError) エラー行一覧(GET /:jobId/errors) | |||||||||||
Array
| |||||||||||
| errorTotal | number エラー行の総数 | ||||||||||
| page | number 現在のページ | ||||||||||
| perPage | number 1ページあたりの件数 | ||||||||||
| hasNext | boolean 次ページがあるか | ||||||||||
{- "statusCode": 200,
- "success": true,
- "jobId": "string",
- "resourceType": "string",
- "operationType": "string",
- "status": "string",
- "summary": {
- "total": 0,
- "queued": 0,
- "processing": 0,
- "succeeded": 0,
- "failed": 0
}, - "createdAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "results": [
- {
- "rowNumber": 0,
- "id": "string",
- "externalId": "string"
}
], - "resultTotal": 0,
- "errors": [
- {
- "rowNumber": 0,
- "id": "string",
- "externalId": "string",
- "errorCode": "UNEXPECTED_ERROR",
- "message": "PriceBook not found"
}
], - "errorTotal": 0,
- "page": 0,
- "perPage": 0,
- "hasNext": true
}エラーが発生した行の一覧をページングで取得する。
本APIの利用をご希望の場合は、担当営業までお問い合わせください。
| jobId required | string |
| page | number >= 1 Default: 1 ページ番号 (1 始まり) |
| perPage | number [ 1 .. 1000 ] Default: 100 1 ページあたりの件数 (上限 1000) |
| x-api-key required | string |
| x-api-version | string |
| statusCode required | boolean Default: 200 ステータスコード | ||||||||||
| success required | boolean Default: true 成功フラグ | ||||||||||
| jobId required | string ジョブID | ||||||||||
| resourceType required | string リソースタイプ | ||||||||||
| operationType required | string 操作タイプ | ||||||||||
| status required | string ジョブステータス | ||||||||||
required | object 進捗サマリ | ||||||||||
| |||||||||||
| createdAt required | string <date-time> 作成日時 | ||||||||||
| startedAt | string or null <date-time> 処理開始日時 | ||||||||||
| finishedAt | string or null <date-time> 処理完了日時 | ||||||||||
Array of objects (ExternalBulkRowResult) 成功行一覧(GET /:jobId/results) | |||||||||||
Array
| |||||||||||
| resultTotal | number 成功行の総数 | ||||||||||
Array of objects (ExternalBulkRowError) エラー行一覧(GET /:jobId/errors) | |||||||||||
Array
| |||||||||||
| errorTotal | number エラー行の総数 | ||||||||||
| page | number 現在のページ | ||||||||||
| perPage | number 1ページあたりの件数 | ||||||||||
| hasNext | boolean 次ページがあるか | ||||||||||
{- "statusCode": 200,
- "success": true,
- "jobId": "string",
- "resourceType": "string",
- "operationType": "string",
- "status": "string",
- "summary": {
- "total": 0,
- "queued": 0,
- "processing": 0,
- "succeeded": 0,
- "failed": 0
}, - "createdAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "results": [
- {
- "rowNumber": 0,
- "id": "string",
- "externalId": "string"
}
], - "resultTotal": 0,
- "errors": [
- {
- "rowNumber": 0,
- "id": "string",
- "externalId": "string",
- "errorCode": "UNEXPECTED_ERROR",
- "message": "PriceBook not found"
}
], - "errorTotal": 0,
- "page": 0,
- "perPage": 0,
- "hasNext": true
}価格表ディレクトリを一括で作成する。非同期処理でジョブIDを返す。
本APIの利用をご希望の場合は、担当営業までお問い合わせください。
| x-api-key required | string |
| x-api-version | string |
required | Array of objects (ExternalBulkCreatePriceBookDirectoryDto) [ 1 .. 100 ] items 作成するディレクトリ一覧 (1〜100 件) | ||||||||||||||||||||||
Array ([ 1 .. 100 ] items)
| |||||||||||||||||||||||
| statusCode required | boolean Default: 200 ステータスコード |
| success required | boolean Default: true 成功フラグ |
| jobId required | string ジョブID |
| status required | string ジョブステータス |
| statusUrl required | string 進捗確認URL |
{- "items": [
- {
- "name": "string",
- "priceBook": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "superDirectory": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "imagePath": "string",
- "externalId": "string"
}
]
}{- "statusCode": 200,
- "success": true,
- "jobId": "string",
- "status": "queued",
- "statusUrl": "string"
}価格表ディレクトリを一括で更新する。非同期処理でジョブIDを返す。priceBook(所属価格表)は変更不可(UI境界整合)。制約: 同一 row 内で name と superDirectory を同時に送信した場合、service 側の整合性チェックにより該当 row は UNEXPECTED_ERROR で失敗する。名前変更と階層変更を行う場合は、別 row(同一ジョブ内の別エントリ)もしくは別ジョブに分割すること。
本APIの利用をご希望の場合は、担当営業までお問い合わせください。
| x-api-key required | string |
| x-api-version | string |
required | Array of objects (ExternalBulkUpdatePriceBookDirectoryDto) [ 1 .. 100 ] items 更新するディレクトリ一覧 (1〜100 件) | ||||||||||||||||||||||
Array ([ 1 .. 100 ] items)
| |||||||||||||||||||||||
| statusCode required | boolean Default: 200 ステータスコード |
| success required | boolean Default: true 成功フラグ |
| jobId required | string ジョブID |
| status required | string ジョブステータス |
| statusUrl required | string 進捗確認URL |
{- "items": [
- {
- "superDirectory": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "imagePath": "string",
- "externalId": "string",
- "directory": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}, - "name": "string"
}
]
}{- "statusCode": 200,
- "success": true,
- "jobId": "string",
- "status": "queued",
- "statusUrl": "string"
}価格表ディレクトリを一括で論理削除する。非同期処理でジョブIDを返す。配下のディレクトリ・価格表アイテムも連動して論理削除される。
本APIの利用をご希望の場合は、担当営業までお問い合わせください。
| x-api-key required | string |
| x-api-version | string |
required | Array of objects (ExternalBulkDeletePriceBookDirectoryDto) [ 1 .. 100 ] items 削除するディレクトリ一覧 (1〜100 件) | ||||||||
Array ([ 1 .. 100 ] items)
| |||||||||
| statusCode required | boolean Default: 200 ステータスコード |
| success required | boolean Default: true 成功フラグ |
| jobId required | string ジョブID |
| status required | string ジョブステータス |
| statusUrl required | string 進捗確認URL |
{- "items": [
- {
- "directory": {
- "id": "clgwykodu0000hjlh5v3of2p6",
- "externalId": "ex_001"
}
}
]
}{- "statusCode": 200,
- "success": true,
- "jobId": "string",
- "status": "queued",
- "statusUrl": "string"
}ジョブの進捗状況を取得する。
本APIの利用をご希望の場合は、担当営業までお問い合わせください。
| jobId required | string |
| x-api-key required | string |
| x-api-version | string |
| statusCode required | boolean Default: 200 ステータスコード | ||||||||||
| success required | boolean Default: true 成功フラグ | ||||||||||
| jobId required | string ジョブID | ||||||||||
| resourceType required | string リソースタイプ | ||||||||||
| operationType required | string 操作タイプ | ||||||||||
| status required | string ジョブステータス | ||||||||||
required | object 進捗サマリ | ||||||||||
| |||||||||||
| createdAt required | string <date-time> 作成日時 | ||||||||||
| startedAt | string or null <date-time> 処理開始日時 | ||||||||||
| finishedAt | string or null <date-time> 処理完了日時 | ||||||||||
Array of objects (ExternalBulkRowResult) 成功行一覧(GET /:jobId/results) | |||||||||||
Array
| |||||||||||
| resultTotal | number 成功行の総数 | ||||||||||
Array of objects (ExternalBulkRowError) エラー行一覧(GET /:jobId/errors) | |||||||||||
Array
| |||||||||||
| errorTotal | number エラー行の総数 | ||||||||||
| page | number 現在のページ | ||||||||||
| perPage | number 1ページあたりの件数 | ||||||||||
| hasNext | boolean 次ページがあるか | ||||||||||
{- "statusCode": 200,
- "success": true,
- "jobId": "string",
- "resourceType": "string",
- "operationType": "string",
- "status": "string",
- "summary": {
- "total": 0,
- "queued": 0,
- "processing": 0,
- "succeeded": 0,
- "failed": 0
}, - "createdAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "results": [
- {
- "rowNumber": 0,
- "id": "string",
- "externalId": "string"
}
], - "resultTotal": 0,
- "errors": [
- {
- "rowNumber": 0,
- "id": "string",
- "externalId": "string",
- "errorCode": "UNEXPECTED_ERROR",
- "message": "PriceBook not found"
}
], - "errorTotal": 0,
- "page": 0,
- "perPage": 0,
- "hasNext": true
}成功した行の一覧をページングで取得する。
本APIの利用をご希望の場合は、担当営業までお問い合わせください。
| jobId required | string |
| page | number >= 1 Default: 1 ページ番号 (1 始まり) |
| perPage | number [ 1 .. 1000 ] Default: 100 1 ページあたりの件数 (上限 1000) |
| x-api-key required | string |
| x-api-version | string |
| statusCode required | boolean Default: 200 ステータスコード | ||||||||||
| success required | boolean Default: true 成功フラグ | ||||||||||
| jobId required | string ジョブID | ||||||||||
| resourceType required | string リソースタイプ | ||||||||||
| operationType required | string 操作タイプ | ||||||||||
| status required | string ジョブステータス | ||||||||||
required | object 進捗サマリ | ||||||||||
| |||||||||||
| createdAt required | string <date-time> 作成日時 | ||||||||||
| startedAt | string or null <date-time> 処理開始日時 | ||||||||||
| finishedAt | string or null <date-time> 処理完了日時 | ||||||||||
Array of objects (ExternalBulkRowResult) 成功行一覧(GET /:jobId/results) | |||||||||||
Array
| |||||||||||
| resultTotal | number 成功行の総数 | ||||||||||
Array of objects (ExternalBulkRowError) エラー行一覧(GET /:jobId/errors) | |||||||||||
Array
| |||||||||||
| errorTotal | number エラー行の総数 | ||||||||||
| page | number 現在のページ | ||||||||||
| perPage | number 1ページあたりの件数 | ||||||||||
| hasNext | boolean 次ページがあるか | ||||||||||
{- "statusCode": 200,
- "success": true,
- "jobId": "string",
- "resourceType": "string",
- "operationType": "string",
- "status": "string",
- "summary": {
- "total": 0,
- "queued": 0,
- "processing": 0,
- "succeeded": 0,
- "failed": 0
}, - "createdAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "results": [
- {
- "rowNumber": 0,
- "id": "string",
- "externalId": "string"
}
], - "resultTotal": 0,
- "errors": [
- {
- "rowNumber": 0,
- "id": "string",
- "externalId": "string",
- "errorCode": "UNEXPECTED_ERROR",
- "message": "PriceBook not found"
}
], - "errorTotal": 0,
- "page": 0,
- "perPage": 0,
- "hasNext": true
}エラーが発生した行の一覧をページングで取得する。
本APIの利用をご希望の場合は、担当営業までお問い合わせください。
| jobId required | string |
| page | number >= 1 Default: 1 ページ番号 (1 始まり) |
| perPage | number [ 1 .. 1000 ] Default: 100 1 ページあたりの件数 (上限 1000) |
| x-api-key required | string |
| x-api-version | string |
| statusCode required | boolean Default: 200 ステータスコード | ||||||||||
| success required | boolean Default: true 成功フラグ | ||||||||||
| jobId required | string ジョブID | ||||||||||
| resourceType required | string リソースタイプ | ||||||||||
| operationType required | string 操作タイプ | ||||||||||
| status required | string ジョブステータス | ||||||||||
required | object 進捗サマリ | ||||||||||
| |||||||||||
| createdAt required | string <date-time> 作成日時 | ||||||||||
| startedAt | string or null <date-time> 処理開始日時 | ||||||||||
| finishedAt | string or null <date-time> 処理完了日時 | ||||||||||
Array of objects (ExternalBulkRowResult) 成功行一覧(GET /:jobId/results) | |||||||||||
Array
| |||||||||||
| resultTotal | number 成功行の総数 | ||||||||||
Array of objects (ExternalBulkRowError) エラー行一覧(GET /:jobId/errors) | |||||||||||
Array
| |||||||||||
| errorTotal | number エラー行の総数 | ||||||||||
| page | number 現在のページ | ||||||||||
| perPage | number 1ページあたりの件数 | ||||||||||
| hasNext | boolean 次ページがあるか | ||||||||||
{- "statusCode": 200,
- "success": true,
- "jobId": "string",
- "resourceType": "string",
- "operationType": "string",
- "status": "string",
- "summary": {
- "total": 0,
- "queued": 0,
- "processing": 0,
- "succeeded": 0,
- "failed": 0
}, - "createdAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "results": [
- {
- "rowNumber": 0,
- "id": "string",
- "externalId": "string"
}
], - "resultTotal": 0,
- "errors": [
- {
- "rowNumber": 0,
- "id": "string",
- "externalId": "string",
- "errorCode": "UNEXPECTED_ERROR",
- "message": "PriceBook not found"
}
], - "errorTotal": 0,
- "page": 0,
- "perPage": 0,
- "hasNext": true
}