-
Notifications
You must be signed in to change notification settings - Fork 1
Contract
Francisco Yedro edited this page Jan 20, 2020
·
4 revisions
This resource will show all the information related to contracts. All the examples have been generated with the contract id "ocds-0c46vo-0009-DN379620-1_1" but you can use any of those shown in the first service by replacing the example identifier with one of your choices.
It is composed of two first-level GET resources:
Resource | Description | SPARQL query | Fields to be shown | Filters |
---|---|---|---|---|
/contract | Gets a list of contracts | query | id, startDate, endDate | none |
/contract/{id} | Finds a contract by ID | query | id, startDate, endDate | none |
and four second-level GET resources:
Resource | Description | SPARQL query | Fields to be shown | Filters |
---|---|---|---|---|
/contract/{id}/amendment | Amendments of a contract to return | query | id, description, date | none |
/contract/{id}/buyer | Buyers of a contract to return | query | legalName, street, postalCode, locality, country, contactName, contactEmail, contactTelephone, contactURL, contactFax | none |
/contract/{id}/document | Documents of a contract to return | query | id, type, language, url | none |
/contract/{id}/item | Items of a contract to return | query | id, description, classificationScheme, classification, additionalItemclassificationScheme, additionalItemclassification | none |
Filters
So far, no filters have been built for this resource