ビジネスエンティティAPI (/business_entities)
予算明細APIを使用すると、アカウントに関連付けられている予算明細を作成および更新できます。
ビジネスエンティティにアクセスするためのURLは次のとおりです。 https ://<instance>/api/business_entities
詳細については、統合のベストプラクティスを参照してください。
アクション
ビジネスエンティティAPIでは以下の操作が可能です。
| 動詞 | パス | アクション | Description |
|---|---|---|---|
| GET | /api/business_entities | query | ビジネスエンティティを検索 |
| POST | /api/business_entities | 作成 | ビジネスエンティティを作成 |
| GET | /api/business_entities /: id | 表示 | ビジネスエンティティを表示 |
| PATCH | /api/business_entities /: id | 更新 | ビジネスエンティティを更新 |
| PUT | /api/business_entities /: id | 更新 | ビジネスエンティティを更新 |
Elements
ビジネスエンティティAPIでは、次の要素を使用できます。
| 要素 | Description | 必須フィールド? | 一意? | 許容値 | Api_Inフィールド? | Api_Outフィールド? | データタイプ |
|---|---|---|---|---|---|---|---|
| 名前 | Name (名前) | yes | yes | any | yes | yes | string(100) |
| display-name | 表示名 | no | no | any | yes | yes | string (100) |
| タイプ | Type | no | no | LegalBusinessEntity、OrganizationalBusinessEntity | yes | yes | string(255) |
| formation-type | フォーメーションタイプ | no | no | 組織、従業員 | yes | yes | string(255) |
| status | Status | no | no | any | yes | yes | string(255) |
| primary-address | 代表住所 | no | no | any | yes | yes | |
| primary-contact | 代表連絡先 | no | no | any | yes | yes | |
| addresses | 住所 | no | no | any | yes | yes | [] |
| business-entity-account-owners | ビジネスエンティティアカウント所有者 | no | no | any | yes | yes | [] |
| business-entity-relationships | ビジネスエンティティの関係 | no | no | any | yes | yes | [] |
| business-entity-alternate- names | ビジネスエンティティ別称 | no | no | any | yes | yes | [] |
| business-entity-external-references | ビジネスエンティティ外部参照 | no | no | any | yes | yes | [] |
| country-of-origin | 発行元の国/地域 | no | no | any | yes | yes | |
| ID | Coupaの内部ID | no | no | any | yes | yes | 整数 |
| 作成日時 | CoupaがYYY-MM-DDTHH:MM:SS+HH:MMZの形式で自動的に作成します | no | no | any | yes | yes | datetime |
| updated-at | CoupaがYYY-MM-DDTHH:MM:SS+HH:MMZの形式で自動的に作成します | no | no | any | yes | yes | datetime |
| created-by | 作成したユーザー | no | no | any | yes | yes | |
| updated-by | 更新したユーザー | no | no | any | yes | yes | |
| external-src-ref | 外部ソース参照 | yes | string(255) | ||||
| external-src-name | 外部ソース名 | yes | string(255) |