Get Opportunity
Everything about one procurement record in a single call: the full untruncated summary, the buyer and its parent, the seller it was awarded to, the amounts and dates, the source files behind it, and the purchase-order line items parsed out of them. Call it with an opportunityId from searchOpportunities, researchBuyerFiles, or an RFP signal’s row.entity.id from listSignals. For an RFP signal, this response’s rfpIds are the source RFP IDs to pass to getRfp; one opportunity may contain several RFPs.
files[] carries each source file’s fileId — pass it to viewFileContents for the extracted text, or to getFileDownloadLinks for the original bytes. Only a file in Processed status has readable text. lineItems[] is the per-line detail of the purchase orders bundled into the opportunity, oldest first and drawn from at most 200 purchase orders; it is empty for an opportunity with none; its per-line purchaseAmount is in whole currency units, the same unit as the opportunity’s own purchaseAmount. Set includeFiles=false or includeLineItems=false when you only need the record — the line-item lookup in particular costs an extra round trip.
status is Future while untilDate is still ahead, Past once it has gone by, which is how you tell an open RFP from a closed one. buyer.id is the handle for everything about the buyer itself: getBuyerSummary, getBuyerAccountContext, searchBuyerContacts, researchBuyerFiles. For line items across several opportunities at once, call getOpportunityLineItems instead of this tool per id.
Query Parameters
Response
The opportunity with its files and line items
Document type. Selling is the wire name for an RFP
Selling, PurchaseOrder, Contract, SalesProposal, BoardMeeting, StrategicPlan, CapitalImprovementPlan, AnnualFinancialReport, BoardMeetingAgenda, BoardMeetingAgendaPacket, ProposedBudget, Budget, BudgetAmendment Past or Future, derived from untilDate — Future means the deadline has not passed
Future, NextTwoYears, NextYear, NextNineMonths, NextSixMonths, NextThreeMonths, NextTwoMonths, NextOneMonth, NextSixtyDays, NextThirtyDays, NextSevenDays, NextOneDay, Present, LastOneDay, LastSevenDays, LastThirtyDays, LastSixtyDays, LastOneMonths, LastTwoMonths, LastThreeMonths, LastSixMonths, LastNineMonths, LastYear, LastTwoYears, Past Purchase-order line items parsed from the files, oldest first, from at most 200 purchase orders. Null when includeLineItems=false, empty when the opportunity has no parsed purchase orders. purchaseAmount here is in whole currency units, like the opportunity's own purchaseAmount.