The consultation of the detail of the Item will be made depending on the ID that is sent in the consultation.
Details of the request:
- URI: api/v8.1/article/{id}/detail
- Type: GET
-
Required headings:
- Content-Type: application/json
- Authorization: TOKEN
Parameters:
Name | Data type | Obligatory | Description |
---|---|---|---|
Id | Number | Yes | Article ID |
Body of the petition:
Empty.
Answer:
The service will return a Json with the following structure:
{
"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": ""
}
Error messages:
Code | HTTP status | Error Message |
---|---|---|
400 | BadRequest | InvalidArticleId |
401 | Unauthorized | InvalidToken |
404 | NotFound | InvalidArticleId |
500 | InternalServerError | FailureGetDetailArticle |