La consulta del detalle del Articulo, se realizara dependiendo del ID que se envié en la consulta.
Detalles de la petición:
- URI: api/v8.1/article/{id}/detail
- Tipo: GET
- Encabezados requeridos:
- Content-Type: application/json
- Authorization: TOKEN
Parámetros:
Nombre | Tipo de dato | Obligatorio | Descripción |
---|---|---|---|
Id | Número | Si | Id del articulo |
Cuerpo de la petición:
Vacía.
Respuesta:
El servicio retornará un Json con la siguiente estructura:
{
"Description": "Descripción del artículo",
"Id": 1,"Title": "Titulo del Artículo",
"AuthorId": null,"AuthorName": null,
"AuthorUserName": null,"CategoryId": null,
"CategoryName": null,"ClassId": 0,
"Content": Contenido Html,
"CreateReasonId": 0,
"Created": "/Date(1336768613863-0500)/",
"GroupId": null,
"InterfaceId": null,
"IsRatedByUser": true,
"IsUserFavorite": false,
"Ispublic": false,
"KeyWords": "Palabras Claves del artículo",
"LastModified": "/Date(1336768922067-0500)/",
"ModifiedDate": null,
"ModifierUserId": null,
"ModifierUserName": null,
"OpenedDate": null,
"ProjectId": 7,
"ProjectName": "PPQA",
"Rated": 1,
"RatingTotal": 5.5,
"ReasonDescription": null,
"ReasonId": 0,
"ResponsibleGroupId": 0,
"ResponsibleGroupName": null,
"ResponsibleId": 0,
"ResponsibleName": null,
"SolutionId": null,
"StatusDescription": null,
"StatusId": 0,
"TotalHit": 12,
"TypeDescription": null,
"TypeId": 5,
"TypeName": null,
"Url": ""
}
Mensajes de error:
Código | Estado HTTP | Mensaje de error |
---|---|---|
400 | BadRequest | InvalidArticleId |
401 | Unauthorized | InvalidToken |
404 | NotFound | InvalidArticleId |
500 | InternalServerError | FailureGetDetailArticle |