Detalle de la petición::
- URI: api/v9/article/{id}/history/list?isClosed={isClosed}&consoleType={consoleType}
- Tipo: GET
- Encabezados requeridos:
- Content-Type: application/json
- X-Authorization: Bearer {token}
Parámetros:
Nombre | Tipo | Obligatorio | Descripción |
---|---|---|---|
Id | Numérico | Si | Identificador del artículo. |
uploadType | String | No | true = artículo abierto false = artículo cerrado. |
consoleType | Numérico | Si | Tipo de consola - Specialist = 1, - Client = 2, - Administrator - 3. |
Ejemplos de uri:
api/v9/article/1746/history/list?isClosed=true&consoleType=3 api/v9/article/1746/history/list?consoleType=3
Respuesta:
El servicio retornará un Json con la siguiente estrutura:
{
"content": [
{
"actionId": 1,
"actionName": "Creado",
"authorId": 3,
"authorName": "e1",
"created": 1696811872180,
"description": "[{\"FieldName\":\"StateName\",\"IdentifierField\":null,\"OldValue\":\"\",\"NewValue\":\"Diseño\",\"Type\":0,\"DataType\":null,\"RelatedItemId\":null,\"NewInstanceId\":174,\"OldInstanceId\":0,\"InstanceType\":86,\"NewOptionsValue\":null,\"OldOptionsValue\":null,\"AdditionalType\":null},{\"FieldName\":\"StrId\",\"IdentifierField\":null,\"OldValue\":\"\",\"NewValue\":\"Quaerat aut aut atque sit ex et totam.\",\"Type\":0,\"DataType\":null,\"RelatedItemId\":null,\"NewInstanceId\":null,\"OldInstanceId\":null,\"InstanceType\":null,\"NewOptionsValue\":null,\"OldOptionsValue\":null,\"AdditionalType\":null},{\"FieldName\":\"Keyword\",\"IdentifierField\":null,\"OldValue\":\"\",\"NewValue\":\"prueba\",\"Type\":0,\"DataType\":null,\"RelatedItemId\":null,\"NewInstanceId\":null,\"OldInstanceId\":null,\"InstanceType\":null,\"NewOptionsValue\":null,\"OldOptionsValue\":null,\"AdditionalType\":null},{\"FieldName\":\"TypeName\",\"IdentifierField\":null,\"OldValue\":\"\",\"NewValue\":\"Errores Conocidos\",\"Type\":0,\"DataType\":null,\"RelatedItemId\":null,\"NewInstanceId\":null,\"OldInstanceId\":null,\"InstanceType\":null,\"NewOptionsValue\":null,\"OldOptionsValue\":null,\"AdditionalType\":null},{\"FieldName\":\"ClassName\",\"IdentifierField\":null,\"OldValue\":\"\",\"NewValue\":\"Intern\",\"Type\":0,\"DataType\":null,\"RelatedItemId\":null,\"NewInstanceId\":null,\"OldInstanceId\":null,\"InstanceType\":null,\"NewOptionsValue\":null,\"OldOptionsValue\":null,\"AdditionalType\":null},{\"FieldName\":\"Title\",\"IdentifierField\":null,\"OldValue\":\"\",\"NewValue\":\"Amet quam placeat illo reiciendis alias placeat quia repudiandae blanditiis.\",\"Type\":0,\"DataType\":null,\"RelatedItemId\":null,\"NewInstanceId\":null,\"OldInstanceId\":null,\"InstanceType\":null,\"NewOptionsValue\":null,\"OldOptionsValue\":null,\"AdditionalType\":null},{\"FieldName\":\"ResponsibleName\",\"IdentifierField\":null,\"OldValue\":\"\",\"NewValue\":\"APPLICATION ADMINISTRATOR\",\"Type\":0,\"DataType\":null,\"RelatedItemId\":null,\"NewInstanceId\":null,\"OldInstanceId\":null,\"InstanceType\":null,\"NewOptionsValue\":null,\"OldOptionsValue\":null,\"AdditionalType\":null},{\"FieldName\":\"GroupName\",\"IdentifierField\":null,\"OldValue\":\"\",\"NewValue\":\"Especialista de Selección\",\"Type\":0,\"DataType\":null,\"RelatedItemId\":null,\"NewInstanceId\":null,\"OldInstanceId\":null,\"InstanceType\":null,\"NewOptionsValue\":null,\"OldOptionsValue\":null,\"AdditionalType\":null},{\"FieldName\":\"isImported\",\"IdentifierField\":null,\"OldValue\":\"\",\"NewValue\":\"False\",\"Type\":0,\"DataType\":null,\"RelatedItemId\":null,\"NewInstanceId\":null,\"OldInstanceId\":null,\"InstanceType\":null,\"NewOptionsValue\":null,\"OldOptionsValue\":null,\"AdditionalType\":null},{\"FieldName\":\"IsPublic\",\"IdentifierField\":null,\"OldValue\":\"\",\"NewValue\":\"True\",\"Type\":0,\"DataType\":null,\"RelatedItemId\":null,\"NewInstanceId\":null,\"OldInstanceId\":null,\"InstanceType\":null,\"NewOptionsValue\":null,\"OldOptionsValue\":null,\"AdditionalType\":null},{\"FieldName\":\"isFavorite\",\"IdentifierField\":null,\"OldValue\":\"\",\"NewValue\":\"False\",\"Type\":0,\"DataType\":null,\"RelatedItemId\":null,\"NewInstanceId\":null,\"OldInstanceId\":null,\"InstanceType\":null,\"NewOptionsValue\":null,\"OldOptionsValue\":null,\"AdditionalType\":null},{\"FieldName\":\"Behavior\",\"IdentifierField\":null,\"OldValue\":\"\",\"NewValue\":\"0\",\"Type\":0,\"DataType\":null,\"RelatedItemId\":null,\"NewInstanceId\":null,\"OldInstanceId\":null,\"InstanceType\":null,\"NewOptionsValue\":null,\"OldOptionsValue\":null,\"AdditionalType\":null},{\"FieldName\":\"RowExcel\",\"IdentifierField\":null,\"OldValue\":\"\",\"NewValue\":\"0\",\"Type\":0,\"DataType\":null,\"RelatedItemId\":null,\"NewInstanceId\":null,\"OldInstanceId\":null,\"InstanceType\":null,\"NewOptionsValue\":null,\"OldOptionsValue\":null,\"AdditionalType\":null}]",
"descriptionNoHtml": null,
"detail": [
{
"dataType": null,
"fieldName": "Estado",
"newValue": "Diseño",
"oldValue": "",
"relatedItemId": null,
"type": 0
},
{
"dataType": null,
"fieldName": "StrId",
"newValue": "Quaerat aut aut atque sit ex et totam.",
"oldValue": "",
"relatedItemId": null,
"type": 0
},
{
"dataType": null,
"fieldName": "Keyword",
"newValue": "prueba",
"oldValue": "",
"relatedItemId": null,
"type": 0
},
{
"dataType": null,
"fieldName": "Tipo",
"newValue": "Errores Conocidos",
"oldValue": "",
"relatedItemId": null,
"type": 0
},
{
"dataType": null,
"fieldName": "ClassName",
"newValue": "Intern",
"oldValue": "",
"relatedItemId": null,
"type": 0
},
{
"dataType": null,
"fieldName": "Titulo",
"newValue": "Amet quam placeat illo reiciendis alias placeat quia repudiandae blanditiis.",
"oldValue": "",
"relatedItemId": null,
"type": 0
},
{
"dataType": null,
"fieldName": "Responsable",
"newValue": "APPLICATION ADMINISTRATOR",
"oldValue": "",
"relatedItemId": null,
"type": 0
},
{
"dataType": null,
"fieldName": "Grupos",
"newValue": "Especialista de Selección",
"oldValue": "",
"relatedItemId": null,
"type": 0
},
{
"dataType": null,
"fieldName": "Importado",
"newValue": "False",
"oldValue": "",
"relatedItemId": null,
"type": 0
},
{
"dataType": null,
"fieldName": "IsPublic",
"newValue": "True",
"oldValue": "",
"relatedItemId": null,
"type": 0
},
{
"dataType": null,
"fieldName": "isFavorite",
"newValue": "False",
"oldValue": "",
"relatedItemId": null,
"type": 0
},
{
"dataType": null,
"fieldName": "Behavior",
"newValue": "0",
"oldValue": "",
"relatedItemId": null,
"type": 0
},
{
"dataType": null,
"fieldName": "RowExcel",
"newValue": "0",
"oldValue": "",
"relatedItemId": null,
"type": 0
}
],
"itemId": 49,
"reviewCode": null,
"visible": true
}
],
"totalItems": 1
}
Mensajes de error:
Código | Estado HTTP | Mensaje de error |
---|---|---|
500 | InternalServerError | FailureAddRelation |