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
Corpo da solicitação
clientIdstringobrigatório
The client (business) this concerns.
labelstringobrigatório
The theme's name, up to 60 characters.
rulearray of objectobrigatório
The theme's rule: 1 to 5 term groups that must all match, each { match: "all" | "any", terms: [...] }.
Resposta
dataobjectopcional
themeobjectopcional
The theme that was created.
Erros
400Falta um parâmetro obrigatório na solicitação, ou ela é inválida de outra forma.
401Chave de API ausente, inválida, expirada ou revogada.
403A chave não tem a permissão exigida, ou não está autorizada para este cliente/local.
404O recurso não foi encontrado, ou não pertence à sua agência.
429Muitas solicitações. Tente novamente após o número de segundos indicado no cabeçalho Retry-After.
post/api/v1/listening/themes
Sua chave de API
Corpo da solicitação*
{}

Novo na API da Synup?