POST /v4/bcfi-categories/query
(Last updated: 20/12/2024)
Request
Method
POST
URL
https://api.medipim.be/v4/bcfi-categories/query
Headers
Body
filter
: one of the filters below; filters can be combined usingand
,or
¬
. (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 BCFI category by Medipim ID. | One or more IDs | {"id": "0000018"} or {"id": ["0000018", ...]} |
{"and": [...]} |
Matches BCFI categories that match all of the given filters. | A list of filters. | {"and": [{"id": "0000018"}, ...]} |
{"or": [...]} |
Matches BCFI categories that match any of the given filters. | A list of filters. | {"or": [{"id": "0000018"}, ...]} |
{"not": ...} |
Matches BCFI categories that do not match the given filter. | A filter. | {"not": {"id": "0000018"}} |
Response
Body
-
meta
:total
: total number of BCFI 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 BCFI category (string, unique)name.{...}
: Name of the BCFI category (string, localized)parent
: Id of the parent category (string)order
: Sort order of the BCFI category (integer)-
meta
:createdAt
: When the BCFI category was created on Medipim (unix timestamp)updatedAt
: when the BCFI 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.