GET Entity by ID
GET /wp-json/wme/v1/entities/{id}
{
"success": true,
"data": {
"id": 123,
"name": "Clinica Sante",
"industry": "Medical",
"attributes": {"city": "Ploiesti", "services": ["Medical tests", "Laboratory"]}
}
}Documentation - API Examples
Weryon Mapping Engine API Examples
Full examples for all major endpoints: entities, JSON-LD, scores, search, feeds and webhooks.
GET /wp-json/wme/v1/entities/{id}
{
"success": true,
"data": {
"id": 123,
"name": "Clinica Sante",
"industry": "Medical",
"attributes": {"city": "Ploiesti", "services": ["Medical tests", "Laboratory"]}
}
}GET /wp-json/wme/v1/entities/{id}/jsonld
{
"@context": "https://schema.org",
"@type": "MedicalClinic",
"name": "Clinica Sante"
}GET /wp-json/wme/v1/entities/{id}/scores
{
"success": true,
"data": {"industry_score": 0.98, "location_score": 0.92, "service_score": 0.87}
}GET /wp-json/wme/v1/search?query=medical+tests
{
"success": true,
"data": [{"id": 123, "name": "Clinica Sante"}]
}POST /wp-json/wme/v1/feeds/generate
{
"format": "jsonld",
"tenant_id": 1
}entity.updated
{
"event": "entity.updated",
"timestamp": 1717760000,
"entity_id": 123,
"signature": "hmac_sha256_signature_here"
}Invalid API Key / Entity not found
{
"success": false,
"error": "Invalid API Key",
"code": 401
}Need advanced examples, batch import, custom feeds or complex webhooks?