Pular para o conteúdo principal
Versão: 2.2.2

ARTICLE

Este método possibilita retornar dados aprofundados de um artigo.

GET /apigateway/se/exp/chatbot/api/article.php

Parâmetros de consulta:

Query parametersTipoRequeridoDescrição
fgLanguageNumericSimCódigo do idioma
oidArticleStringSimChave primária do artigo (KBARTICLEDATA.OID)

Exemplo de solicitação:

curl -X 'GET' 'https://my-domain.softexpert.com/apigateway/se/exp/chatbot/api/article.php?fgLanguage=2&oidArticle=65140f94fc547ee44511aec082d75e07' \
--header 'Authorization: <your_api_token>' \

Exemplo de resposta:

200 OK

{
"success": true,
"response": {
"oid": "65140f94fc547ee44511aec082d75e07",
"identifier": "000843",
"title": "How to Install Katana as a Service on Windows?",
"knowledgeBaseTitle": "Arquitetura",
"knowledgeBaseOid": "66331c3a5e890b596f1ab39a8e6f8de0",
"htmlContent": "Article Text",
"isObsolete": false,
"shareLink": "https://my-domain.softexpert.com/machete/knowledge-base/public-articles/vli53/how-to-install-katana-as-a-service-on-windows",
"isPublic": false
}
}