POST /api/cejn/tenders
Price: 20 credits
Get one CeJN tender by its id: contracting authority with address and contacts, procurement officer, procedure and contract type, CPV codes, estimated value, lots with their line items and quantities, the procurement plan lines it implements, eligibility conditions, award criteria, tender documents, phases with submission and opening dates, and the framework agreement a mini call-off is based on.
Pass the id of a cejn/tenders/search row. Contracts concluded under the tender come from cejn/tenders/contracts with the same id.
access-token string requiredtimeout integer — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)tender string required — Tender id (examples: "122843")@type string (default: "CejnTender")id string requirednotes string nullablestatus string nullableprocedure_type string nullablecontract_type string nullablecpvs array (default: [])@type string (default: "CejnCpv")code string nullablename string nullableestimated_value object nullable@type string (default: "CejnMoney")amount number nullablecurrency string nullablebuyer object nullable@type string (default: "CejnOrganizationRef")id string nullablename string nullableshort_name string nullabletax_number string nullableregistration_number string nullableaddress object nullable@type string (default: "CejnAddress")street string nullablehouse_number string nullablepostcode string nullablecity_id string nullablecountry_id string nullableemail string nullablephone string nullablefax string nullablewebsite string nullablebuyer_type string nullableorganization_form string nullableactivity_code string nullableurl string nullablecontact_name string nullableprocurement_officer object nullable@type string (default: "CejnOfficer")first_name string nullablelast_name string nullableemail string nullablephone string nullableposition string nullablehas_certificate boolean nullableframework_agreement object nullable@type string (default: "CejnFrameworkReference")id string nullabledescription string nullableconcluded_date string nullableplanned_value object nullable@type string (default: "CejnMoney")amount number nullablecurrency string nullableplanned_vat object nullable@type string (default: "CejnMoney")amount number nullablecurrency string nullablelots array (default: [])@type string (default: "CejnLot")id string nullablenumber integer nullabledescription string nullableestimated_value object nullable@type string (default: "CejnMoney")amount number nullablecurrency string nullableis_contract_on_estimated_value boolean nullableline_items array (default: [])@type string (default: "CejnLotItem")id string nullablenumber integer nullabledescription string nullablecharacteristics string nullablequantity number nullableunit string nullableplan_lines array (default: [])@type string (default: "CejnPlanLine")id string nullableplan_item_id string nullablenumber integer nullabledescription string nullableplan_year integer nullablecpvs array (default: [])@type string (default: "CejnCpv")code string nullablename string nullableprocedure_type string nullablesubject_type string nullableaccount_code string nullablevalue object nullable@type string (default: "CejnMoney")amount number nullablecurrency string nullablevat object nullable@type string (default: "CejnMoney")amount number nullablecurrency string nullableis_framework_agreement boolean nullableframework_agreement_id string nullableframework_agreement_value object nullable@type string (default: "CejnMoney")amount number nullablecurrency string nullableframework_agreement_vat object nullable@type string (default: "CejnMoney")amount number nullablecurrency string nullableeligibility_conditions array (default: [])@type string (default: "CejnCondition")id string nullabledescription string nullablecondition_type string nullableanswer_type string nullablescoring_method string nullableapplies_to_all_lots boolean nullableis_ranking boolean nullablemax_score number nullableaward_criteria array (default: [])@type string (default: "CejnCondition")id string nullabledescription string nullablecondition_type string nullableanswer_type string nullablescoring_method string nullableapplies_to_all_lots boolean nullableis_ranking boolean nullablemax_score number nullabledocuments array (default: [])@type string (default: "CejnDocument")id string nullablegroup string nullablenote string nullablename string nullablemime_type string nullablesize integer nullablefile_id string nullablepublished_at integer nullablephases array (default: [])@type string (default: "CejnPhase")id string nullablenumber integer nullabledescription string nullablephase_type string nullablestatus string nullablesubmissions_start_at integer nullablesubmissions_end_at integer nullableopening_at integer nullablepublished_at integer nullableis_framework_agreement boolean nullableis_dynamic_purchasing_system boolean nullableis_electronic_auction boolean nullableis_electronic_catalogue boolean nullableis_joint_procurement boolean nullableis_centralised_procurement boolean nullableis_green_procurement boolean nullableis_socially_responsible boolean nullablehas_phases boolean nullablecreated_at integer nullablepublished_at integer nullableupdated_at integer nullablestatus_changed_at integer nullableurl 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 tender with this id in CeJN 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.