POST /v1/segments/evaluate
POST/v1/segments/evaluate
Ad-hoc segment evaluation for the Segment-Builder UI.
Request body
| Naam | Type | Beschrijving |
|---|
baseEntityvereist | string | |
queryvereist | object | |
limit | integer | |
Voorbeeld
curl -X POST https://api.codemeta-os.de/v1/segments/evaluate \
-H "X-Tenant-Id: $TENANT" \
-H "Content-Type: application/json" \
-b cookies.txt \
-d '{
"baseEntity": "string",
"query": null,
"limit": 0
}'
const result = await cm.segments.post({
"baseEntity": "string",
"query": null,
"limit": 0
});
Antwoordcodes
| HTTP |
Betekenis |
200 |
Default Response |