POST /api/panamacompra/tenders
Price: 20 credits
One Panamanian public procurement process from PanamaCompra by id: number, title, description, entity and purchasing-unit contact, amount, deadlines, contract conditions, guarantees, items with reference prices, the awarded supplier with its offered items when the process is awarded, the acts of the process and every attached document with a download link.
The id is `<procedure type id>-<flow id>` exactly as panamacompra/tenders/search returns it. `sections` holds every labelled field of the notice, including the free-text conditions; `value.kind` says whether the amount is the contract amount, a reference price or an estimate.
access-token string requiredtimeout integer — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)id string required — PanamaCompra process id from panamacompra/tenders/search (examples: "4-1051316", "7-988318")@type string (default: "PanamacompraTender")id string requiredflow_id string requiredprocedure_type_id string requiredprocess_number string nullabledescription string nullableprocedure_type string nullableaward_modality string nullablecontract_object string nullablelaw string nullableexception_grounds string nullableevaluating_authority string nullablebuyer object nullable@type string (default: "PanamacompraBuyerRef")name string nullabledependency string nullablepurchasing_unit string nullableprovince string nullableaddress string nullablecontact object nullable@type string (default: "PanamacompraContact")name string nullableposition string nullablephone string nullableemail string nullablevalue object nullable@type string (default: "PanamacompraValue")amount number nullablecurrency string nullablekind string nullablebudget_line string nullabledelivery_province string nullablepublished_at integer nullabledeadline_at integer nullableopening_at integer nullablepre_meeting_at integer nullablepre_meeting_place string nullableauction_at integer nullableawarded_at integer nullablecorrection_days string nullablebid_validity string nullablesuppliers array (default: [])@type string (default: "PanamacompraSupplier")name string nullabletrade_name string nullableruc string nullableaddress string nullableprovince string nullabledistrict string nullableemail string nullablephone string nullableawarded_offers array (default: [])@type string (default: "PanamacompraAwardedOffer")offer_id string nullablesupplier_id string nullablesupplier_trade_name string nullablesubmitted_at integer nullableoffered_items array (default: [])@type string (default: "PanamacompraOfferItem")description string nullablerequested_description string nullableunit_price number nullabletotal_price number nullabletax number nullablereference_price number nullableline_items array (default: [])@type string (default: "PanamacompraItem")line_number integer nullablecode string nullableclassification string nullabledescription string nullableunit string nullablequantity number nullablereference_price number nullableprice number nullabletax number nullablebudget_line string nullableprogram string nullablevalidity string nullablemef_code string nullabledocuments array (default: [])@type string (default: "PanamacompraDocument")id string nullablename string nullablekind string nullabledescription string nullableurl string nullablemime_type string nullableis_offer_document boolean (default: false)uploaded_at integer nullableacts array (default: [])@type string (default: "PanamacompraAct")section string nullablename string nullabletrade_name string nullabledate string nullableoccurred_at integer nullablerelated_processes array (default: [])@type string (default: "PanamacompraRelatedProcess")relation string nullableid string nullableprocess_number string nullableprocedure_type string nullableguarantees array (default: [])@type string (default: "PanamacompraGuarantee")name string nullablekind string nullableamount number nullableamount_mode string nullablevalidity_days integer nullablevalidity_mode string nullableevaluation_criteria array (default: [])@type string (default: "PanamacompraCriterion")weight number nullableparent string nullablerequired_documents array (default: [])sections array (default: [])@type string (default: "PanamacompraSection")fields array (default: [])@type string (default: "PanamacompraField")label string nullablevalue string nullablecountry string (default: "PA")url string nullable422 — The request body did not validate Check the fields against this schema. A URN with the wrong prefix is the most common cause.408 — The request ran past its time limit Raise `timeout` in the request body, up to the maximum this endpoint documents. Lowering `count` or turning off the `with_*` flags also helps, because less work finishes sooner.412 — No process with that id, or its procedure type part does not match the process Retrying will not help: either the entity does not exist, or the input points at a different one.429 — Too many requests: a rate limit or a usage window is exhausted When the response carries an X-Retry-After header, wait that many seconds and retry: the same number is in the body as `detail.retry_after`, and the limit clears once that window passes. The message in the body names the limit that was hit.500 — Something broke on our side Retrying will not help. If it keeps happening, send us the X-Request-ID from the response headers.529 — Rate limit reached, or the endpoint is overloaded Wait at least 30 seconds, then retry.X-Error — Error message text (present only on error)X-Request-ID — Unique request identifierX-Execution-Time — Execution time in secondsX-Result-Count — How many records the body carries. 0 means an empty result, which is a normal answer and not by itself an error. A non-zero count can come back together with X-Error when the failure happened partway through — read this header and X-Error independently.X-Total-Available-Results — How many records exist for this query, when the endpoint can say. On a `dry_run` request this is the answer and the body is empty. It saturates: the endpoint's documented maximum means 'at least that many', any smaller number is exact.X-Warning — Present when the request body carried keys this endpoint does not document. They were ignored, so any filter you meant to apply through them did not apply. Check the spelling against this schema and retry.X-Retry-After — Seconds to wait before retrying. Present only on 429.