Quotation requests — details¶
GET Retrieve the full details of a single quotation request.
Using the id from the list endpoint you can
retrieve the full details of a quotation request, including participants,
packages, questionnaire, consumption and (where available) acceptances.
Access
Available to PharmaPortal licence holders only.
Endpoint¶
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes | Request ID, e.g. ronde-3077. |
Authentication¶
| Header | Description |
|---|---|
x-portal-key |
The API key issued to your organisation. |
Request¶
curl https://demo.pharma-portal.nl/api/offerte-aanvraag/ronde-x-1 \
-H "x-portal-key: <your-api-key>"
Response¶
| Code | Meaning |
|---|---|
200 |
Correct request. |
401 |
Invalid authentication or HMAC. |
Example of a successful response (abbreviated):
{
"result": "success",
"data": {
"id": "ronde-x-1",
"status": "nieuw",
"omschrijving": "Ronde X",
"ingangsdatumContracten": "2019-02-01T00:00:00+01:00",
"sluitingsdatumOfferte": "2018-10-13T00:00:00+02:00",
"piCodeCoordinator": 630001,
"looptijdenMaanden": [12, 24, 36],
"vragenLijst": [
{
"id": "07ad0b4b-2e89-40c7-a9c6-43ebefefaa5f",
"vraag": "Testvraag 1",
"perZindexNummer": false,
"soortVraag": "tekst"
}
],
"deelnemers": [],
"pakketten": [],
"documenten": [],
"verbruik": [],
"acceptaties": []
}
}
Key fields¶
| Field | Type | Description |
|---|---|---|
status |
string | nieuw, offerte ingediend, besluitvorming afgerond, afgerond. |
piCodeCoordinator |
integer | PI-Code of the coordinating party. |
looptijdenMaanden |
int[] | Allowed contract durations in months. |
vragenLijst |
object[] | Questions for the quotation. soortVraag: tekst, numeriek, datum, meerkeuze. |
deelnemers |
object[] | Participating organisations with contact person. |
pakketten |
object[] | Packages per ATC code. |
documenten |
object[] | Downloadable documents (see below). |
acceptaties |
object[] | Only present when status is besluitvorming afgerond. |
About acceptaties
The acceptaties key only exists once ZAGIS has sent decision-making to
PharmaPortal. An empty array [] means the ZAGIS users have not (yet) made
a choice.
Downloading documents
Retrieve documents via
GET /api/offerte-aanvraag/{id}/documenten/{uuid}.