見積回答API

見積回答APIエンドポイントを使用すると、ソーシングイベントに対するサプライヤーの回答、および選定明細とロットを確認できます。

アクション

動詞パスアクションDescription
POST/api/quote_responses /: id/awardaward見積回答を選定します。
GET/api/quote_requests /: quote_request_id/quote_responsesインデックスサプライヤーごとに最新の回答を取得します。 すべての応答を表示するには、 /api/quote_requests /: quote_request_id/quote_responses/all エンドポイントを使用します。
GET/api/quote_requests /: quote_request_id/quote_responses/allall送信された回答とドラフトの回答を含む、ソーシングイベントのすべての回答を取得します。
GET/api/quote_responsesインデックス特定のソーシングイベントのすべての回答を取得します。
DELETE/api/quote_responses /: id/awardremove_award見積回答から選定を削除します。
GET/api/quote_responses /: id表示特定の回答に関する情報を取得します。
GET/api/quote_responses/allall送信された回答とドラフトの回答を含む、すべての回答を取得します。

Elements

要素Description必須一意許容値入力出力データタイプ
awardedAwardedyes
boolean
コメントCommentsyes
テキスト
作成日時CoupaがYYY-MM-DDTHH:MM:SS+HH:MMZの形式で自動的に作成しますyes
datetime
created-by作成したユーザーyes
ユーザー
IDCoupaの一意の識別子yes
整数
lines明細yes
QuoteResponseLine
positionpositionyes
整数
promotedpromotedyes
boolean
quote-request-idquote_request_idyes
整数
quote-request-original-id元のソーシングイベントのCoupaの一意の識別子yes
文字列
quote-request-revisionソーシングイベント修正yes
文字列
quote-supplierquote_supplieryes
yes
QuoteSupplier
statestateyes
string(255)
submitted-atsubmitted_atyes
yes
datetime
updated-atCoupaがYYY-MM-DDTHH:MM:SS+HH:MMZの形式で自動的に作成しますyes
datetime
updated-by更新したユーザーyes
ユーザー
quote-request-attachment-responseイベントレベルでのサプライヤーの添付ファイルの詳細。yes
見積依頼添付ファイルの回答

見積回答の添付ファイル

見積回答の添付ファイルにアクセスするには、 /api/quote_requests /: quote_request_id/quote_responses エンドポイントを使用してサプライヤーごとに最新の提出された回答を取得するか、 /api/quote_requests /: quote_request_id/quote_responses/all エンドポイントを使用して過去の回答と下書きの回答を含むすべての回答を取得します。 応答本文の オブジェクトの下に、添付ファイル配列の id フィールドがあります。 添付ファイルIDを取得したら、添付ファイルAPIを使用して添付ファイルにアクセスできます。

たとえば、GET要求から /api/quote_requests /: quote_request_id/quote_responses/all エンドポイントへのこのサンプル応答には、サンプル添付ファイルIDが含まれています。

[{" id ": 1, "created - at ":" 2023 -05 -03 T 08:14:37 - 07:00 ", "updated - at ":" 2023 -05 -03 T 08:48 - 07:00 ", "quote - request - id ": 1," submitted - at ": "2023 -05 -03 T 08:14:48 - 07:00 "," state ": "submitted "," promoted ": false, "position ": null," comments ": null, "exported ": false," quote - request - original - id ": null, "quote - request - revision ": null," award ": false, "lines ": [{" id ": 1," created - at ": "2023 -05 -03 T 08:37 - 07:00 "," updated - at ": "2023 -05 -24 T 04:26:55 - 07:00 "," price - amount ": "1.0 "," quantity ": "1.0 "," reporting - price - amount ":" 1.0 ", "report" null ", "cost - evalues ":"," supplier - name ": null - description ", "nesc - description ": null - description "," nesc - number ": ": ", "null - number ": ":" null - number ":", ":" null - name ": ": "," attached - name ": ", "null - name ": "," ull - attachment ": ", "ull - name ": "," Attaching - name ": "Attachment ":" null - at ", "ull - name ":" Attachment ": "null - name ":" attach ": ", "null "," Attachment ": "null - name ":" ull ", "Attachment ":" ull ": "source - file ":" file ": "source - xl ":" file ": ".x "file ":" source - xl ", "file ":" source - xl ": "http:// ": "," source - name ": ", "source - file ": ":" http:// ".xl "source - file ".xl" path ": ": ", ". xl ", ".xl ": "source - name" file ": "http://" Attchment ": ", "source - file ": ": ":" http:// "http://" file "nxl" path "n "," nxl ", ", "Attchment "," file ", "i" t ": ": ": "n" n "n ". ". "." f ", "attachment" at "d" n ", ", "uxl - name" t "n "," t "n ", "," t ", ": ": "s - name ", "," t "t" t ", "t ": ":" t "t "," t "s ":" t ", "t ":" t "t "," t "d ":" d "s "," d ", ": ": "d" d ", "ull - name "," n "s ":" ull - name ", "n" s ": "t ": ":" t ": "t" n ": "t" t "n "," t "t" s "t" n "n "," n ": "Att" t ", ", "