Skip to content

Quotation requests — list

GET Retrieve a list of quotation requests from PharmaPortal.

Users of PharmaPortal can retrieve quotation requests from their own system via an API. This is a REST API with a single endpoint and three variants (actief, afgerond, alle).

Access

Available to PharmaPortal licence holders only.

Endpoint

GET https://demo.pharma-portal.nl/api/offerte-aanvraag/actief
GET https://demo.pharma-portal.nl/api/offerte-aanvraag/afgerond
GET https://demo.pharma-portal.nl/api/offerte-aanvraag/alle
GET https://www.pharma-portal.nl/api/offerte-aanvraag/actief
GET https://www.pharma-portal.nl/api/offerte-aanvraag/afgerond
GET https://www.pharma-portal.nl/api/offerte-aanvraag/alle
Variant Returns
actief Active quotation requests.
afgerond Completed quotation requests.
alle All quotation requests.

Authentication

This API uses IP whitelisting and an API key. Send the header:

Header Description
x-portal-key The API key issued to your organisation.

Request

curl https://demo.pharma-portal.nl/api/offerte-aanvraag/actief \
  -H "x-portal-key: <your-api-key>"

Response

Code Meaning
200 Correct request.
401 Invalid authentication or HMAC.

Example of a successful response:

[
  {
    "id": "ronde-3077",
    "naam": "Testronde",
    "status": "nieuw"
  },
  {
    "id": "groep-6556",
    "naam": "Testgroepsronde",
    "status": "offerte ingediend"
  }
]

Fields

Field Type Description
id string ID used to request details.
naam string Name of the round.
status string See the table below.

Possible statuses: nieuw, offerte ingediend, besluitvorming afgerond, afgerond, afgerond, geen offerte uitgebracht.

Notes

Want to test your integration? Contact us in good time at info@zagis.nl for test data and an API key.