Medipim FR - API V4

Developer documentation

POST /v4/atc-categories/query

(Last updated: 17/05/2024)

Request

Method

POST

URL

https://api.medipim.fr/v4/atc-categories/query

Headers

Body

  • filter: one of the filters below; filters can be combined using and, or & not. (optional)
  • page (optional; if none is provided all results are returned)
    • no: page number (zero-based)
    • size: one of 10, 50, 100 or 250 (defaults to 100)
Filter Description Parameters Examples
{"id": ...} Matches ATC category by Medipim ID. One or more IDs {"id": "A01AB03"} or {"id": ["A01AB03", ...]}
{"and": [...]} Matches ATC categories that match all of the given filters. A list of filters. {"and": [{"id": "A01AB03"}, ...]}
{"or": [...]} Matches ATC categories that match any of the given filters. A list of filters. {"or": [{"id": "A01AB03"}, ...]}
{"not": ...} Matches ATC categories that do not match the given filter. A filter. {"not": {"id": "A01AB03"}}

Response

Body

  • meta:
    • total: total number of ATC categories (integer)
    • page:
      • no: page number (zero-based) (integer)
      • offset: offset of the first item in the entire resultset (integer)
      • size: size of the page (integer)
  • results[]:
    • id: Medipim ID of the ATC category (string, unique)
    • name.{...}: Name of the ATC category (string, localized)
    • parent: Id of the parent category (string)
    • meta:
      • createdAt: When the ATC category was created on Medipim (unix timestamp)
      • updatedAt: when the ATC category information was last updated (unix timestamp)

Notice

The meta page section will only be returned if you added a page in the request body.

Examples