Entity response
Endpoints that are returning OCDS entity data from the TerminusDB instance in
plain JSON format. This is an example response for a Tender
entity:
{
"id": "85461865-e619-46bd-911d-58261e05a581",
"title": "Travel agency and similar services [Organisation de séjours de vacances 3ème AGE 2017 lot 3 Prague]",
"description": null,
"status": "active",
"date": null,
"value": null,
"suppliers": [
{
"id": "e33827c0-45fd-532a-b922-13deedc3db30",
"name": "Société Française Touristique Sofratour",
"identifier": {
"scheme": "National-ID",
"legalName": "Société Française Touristique Sofratour",
"uri": null
},
"additionalIdentifiers": [],
"address": {
"country": null,
"postal_code": null,
"street": null
},
"contactPoint": null,
"roles": ["supplier"],
"details": []
}
],
"items": [],
"contractPeriod": null,
"documents": [],
"amendments": [],
"amendment": null
}
Awards
- GET /entities/award/{id} - returns Award where ID matches the requested one
- GET /entities/awards/supplier/{id} - returns a list of Awards that are associated with Organization of provided ID
Organizations
- GET /entities/organization/{id} - returns Organization where ID matches the requested one
- *GET /entities/organization/{name}* - returns Organizations where provided name is in the name of Organization
Contracts
- GET /entities/contract/{id} - returns Contract where ID matches the requested one
Tenders
- GET /entities/tender/{id} - returns Tender where ID matches the requested one
Releases
- GET /entities/release/{ocid} - returns Release where OCID matches the requested one
- GET /entities/releases/{ocid} - returns a list of Releases where OCID matches the requested one
- GET /entities/releases/buyer/{id} - returns a list of Releases where buyer is a Organization of provided ID
- GET /entities/releases/supplier/{id} - returns a list of Release where Organization of provided ID is one of the suppliers