v1Recursos/Social Listening/postCreate a theme

Create a theme

Creates a theme from a rule you write. It is pinned, so it stays as you define it.

post/api/v1/listening/themes
listening:write
Cuerpo de la solicitud
clientIdstringobligatorio
The client (business) this concerns.
labelstringobligatorio
The theme's name, up to 60 characters.
rulearray of objectobligatorio
The theme's rule: 1 to 5 term groups that must all match, each { match: "all" | "any", terms: [...] }.
Respuesta
dataobjectopcional
themeobjectopcional
The theme that was created.
Errores
400A la solicitud le falta un parámetro obligatorio o es inválida de otra forma.
401La clave de API falta, es inválida, expiró o fue revocada.
403A la clave le falta el permiso requerido, o no está autorizada para este cliente/ubicación.
404El recurso no se encontró, o no pertenece a su agencia.
429Demasiadas solicitudes. Reintente tras el número de segundos indicado en el encabezado Retry-After.
post/api/v1/listening/themes
Su clave de API
Cuerpo de la solicitud*
{}

¿Nuevo en la API de Synup?