Medipim API V3

Developer documentation

POST /v3/news-items/search

Request

Method

POST

URL

https://api.medipim.be/v3/news-items/search

Headers

Body

Filter Description Parameters Examples
{"createdAt": ...} Matches news items created since the given time(range). Unix timestamp. {"createdAt": {"from": 1471525605}} or
{"createdAt": {"from": 1471525605, "until": 1472525605}}
{"touchedAt": ...} Matches news items last updated since the given time(range). Unix timestamp. {"touchedAt": {"from": 1471525605}} or
{"touchedAt": {"from": 1471525605, "until": 1472525605}}
{"type": ...} Matches news items by type. "product", "brand", "organization" or "public_category" {"type": "brand"} or
{"type": ["product","brand"]}
{"locale": ...} Matches news items by language. "nl", "fr" or "en" {"locale": "nl"} or
{"locale": ["nl","fr","en"]}
{"product": ...} Matches news items by Medipim Product ID. One or more Medipim Product ID(s) {"product": "M12345ABCD"} or
{"product": ["M12345ABCD"]}
{"brand": ...} Matches news items by Medipim Brand ID. One or more Medipim Brand ID(s) {"brand": 1} or
{"brand": [1,2, ...]}
{"public_category": ...} Matches news items by Medipim public Category ID. One or more Medipim public Category ID(s) {"public_category": 1} or
{"public_category": [1,2, ...]}
{"organization": ...} Matches news items by Medipim Organization ID. One or more Medipim Organization ID(s) {"organization": 1041} or
{"organization": [1035, 1041, ...]}
{"and": [...]} Matches products that match all of the given filters. A list of filters. {"and": [{"locale": "nl"}, {"product": "M12345ABCD"}]}
{"or": [...]} Matches products that match any of the given filters. A list of filters. {"or": [{"locale": "nl"}, {"product": "M12345ABCD"}]}
{"not": ...} Matches products that do not match the given filter. A filter. {"not": {"locale": "nl"}}

Response

Body