GETサプライヤー
テナントに属するサプライヤーの一覧を取得します。
エンドポイント
エンドポイント |
|
メソッド | GET |
ヘッダー
ヘッダー | 議論 |
認証 | Bearerトークン |
承認 | application/jsonまたはapplication/xml |
パラメーター
Paremeter | Description |
limit | (任意)レスポンス内の最大アイテム数。 最大値: 50。 |
offset | (任意)先頭からスキップするアイテム数。 既定: 0。 |
ステータス | (任意)サプライヤーのステータス。 例:アクティブ、非アクティブ。 |
sourceSystem | (任意)ソースシステムによるフィルタリング。 |
GETサプライヤー
- エンドポイント
GET
/api/suppliers- cURLリクエスト例
curl --location 'https://<your-instance>.risk.com/api/suppliers' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --header 'Authorization: ••••••'- レスポンス例
{" result ":{" totalCount ": 1 ," suppliers ":[{" entityId ":" 8 df 17 abd -1 ce 4 -47 dd -96 a 9 -03 c 310 dd 230 "," name ":" Auto_BulkUpload_BE_05032023234658_T 2 "," supplierNumber ":" 392 "," status ":" General_Active "," createdAt ":" 2023 -08 -29 T 17:36:04.303 Z "," modifiedAt ":" 2023 -08 -29 T 18:17:07.363 Z "," sourceId ": null ," sourceObjectType ": null ," sourceSystem ": null }]}," errors ":[]," success ": true}