Compare quotes on a request for quote
GET
Returns a side-by-side matrix with one row per item and one column per vendor, showing rate, lead time, minimum order quantity and extended amount, with flags for cheapest rate, shortest lead time and quantities below the vendor minimum. The award step validates against this same comparison.
BearerAuthheader
AuthorizationBearer <JWT>id*stringID of the record (UUID).
Format
uuidX-TenantID*stringYour merchant's tenant code — the value typed in the Domain field on the iotoms login screen. See Concepts.
OK
*/*- response
status*stringOutcome of the call: SUCCESS when the request worked, ERROR when it did not.
message*stringShort human-readable message describing the result, for logs or display; do not parse it.
data?The side-by-side comparison of every quote received on the request for quote.
Example Request
curl -X GET 'https://beta.iotoms.com/api/v1/procurement/rfqs/497f6eca-6276-4993-bfeb-53cbbbba6f08/comparison' \ -H 'X-TenantID: your-tenant-code'Example Response
{ "status": "string", "message": "string", "data": { "rfqId": "5483c05b-f58d-4a80-82f1-a80d2c5d2632", "rfqNumber": "string", "rfqStatus": "string", "neededBy": "2019-08-24", "vendors": [ { "vendorId": "e9b57fab-1850-44d4-8499-71fd15c845a0", "vendorName": "string", "quotationId": "98c8afab-b1d9-462f-9483-5a2dbf34985f", "quoteNumber": "string", "vendorQuoteRef": "string", "quoteDate": "2019-08-24", "validUntil": "2019-08-24", "expired": true, "linesQuoted": 0, "status": "string" } ], "rows": [ { "rfqItemId": 0, "itemId": "string", "itemName": "string", "requiredQty": 0, "unitOfMeasure": "string", "cells": [ { "vendorId": "e9b57fab-1850-44d4-8499-71fd15c845a0", "quotationId": "98c8afab-b1d9-462f-9483-5a2dbf34985f", "quotationItemId": 0, "unitPrice": 0, "extendedAmount": 0, "leadTimeDays": 0, "minimumOrderQty": 0, "quotedQty": 0, "taxInclusive": true, "notes": "string", "bestRate": true, "bestLeadTime": true, "moqMiss": true, "premiumOverBestPct": 0, "awardStatus": "string", "expired": true } ], "lowestUnitPrice": 0, "shortestLeadTimeDays": 0, "quotedCount": 0 } ], "vendorTotals": [ { "vendorId": "e9b57fab-1850-44d4-8499-71fd15c845a0", "vendorName": "string", "linesQuoted": 0, "totalLines": 0, "quotedTotal": 0, "coversAllLines": true } ], "bestCaseTotal": 0, "awaitingVendors": [ { "vendorId": "e9b57fab-1850-44d4-8499-71fd15c845a0", "vendorName": "string", "quotationId": "98c8afab-b1d9-462f-9483-5a2dbf34985f", "quoteNumber": "string", "vendorQuoteRef": "string", "quoteDate": "2019-08-24", "validUntil": "2019-08-24", "expired": true, "linesQuoted": 0, "status": "string" } ] }}