EN
Español
English
Português
    List of Historical

    Petition Details

    • Base URL: {host}/ASMSAPI/
    • Uri: /api/v9/item/{id}/history/list?isClosed={isClosed}&consoleType={consoleType}&modelId={ modelId}&statusId= {statusId}
    • Type: GET
    • Required headings:

    • content-type: application/json
    • X-Authorization: Bearer {token}

    URL Description

    • {host}: It represents the domain of the environment in which the API is located.
    • ASMSAPI/: Fixed API prefix.
    • URI: Specific endpoint for the request.


    EXAMPLE URL:

    https://{host}/ASMSAPI/api/v9/item/{id}/history/list?isClosed={isClosed}&consoleType={consoleType}&modelId={ modelId}&statusId=
      {statusId}
    


    Parameters

    Name Data type Obligatory Description
    Id Text Yes Item ID
    isClosed Text Yes Privacy Indicator
    consoleType Text Yes Console Type
    modelId Text Yes Model identifier
    statusId Text Yes Current case status identifier

    Body of the petition

    N/A

    Answer

    {
    
          "content": [
    
             {
    
                 "actionId": 9,
    
                 "actionName": "Nota",
    
                 "authorId": 4832,
    
                 "authorName": "Especialista 1",
    
                 "created": 1632262444070,
    
                 "description": "<p>Prueba postmas</p>",
    
                 "descriptionNoHtml": "Prueba postmas\n",             "detail": null,
    
                 "itemId": 84486,
    
                 "reviewCode": null,
    
                 "visible": true
    
             },
    
             {
    
                 "actionId": 5,
    
                 "actionName": "Archivo añadido",
    
                 "authorId": 4832,
    
                 "authorName": "Especialista 1",
    
                 "created": 1632261914927,
    
                 "description": "[{\"FieldName\":\"FileName\",\"IdentifierField\":null,\"OldValue\":\"\",\"Ne wValue\":\"ESTANDAR\_DE\_BASE\_DE\_DATOS\_V1.2.doc\",\"Type\":null,\"DataType\":null,\"Relate dItemId\":null,\"NewInstanceId\":null,\"OldInstanceId\":null,\"InstanceType\":null}]",
    
                 "descriptionNoHtml": null,
    
                 "detail": [
    
                     {
    
                         "dataType": null,
    
                         "fieldName": "FileName",
    
                         "newValue": "ESTANDAR\_DE\_BASE\_DE\_DATOS\_V1.2.doc",
    
                         "oldValue": "",
    
                         "relatedItemId": null,
    
                         "type": null
    
                     }
    
                 ],
    
                 "itemId": 84486,
    
                 "reviewCode": null,
    
                 "visible": true
    
             },
    
             {
    
                 "actionId": 6,
    
                 "actionName": "Archivo eliminado",
    
                 "authorId": 4832,
    
                 "authorName": "Especialista 1",
    
                 "created": 1632261337253,
    
                 "description": "[{\"FieldName\":\"FileName\",\"IdentifierField\":null,\"OldValue\":\"\",\"Ne wValue\":\"GraficoDeRelacionesCIS.docx\",
                 \"Type\":null,\"DataType\":null,\"RelatedItemId\":null, \"NewInstanceId\":null,\"OldInstanceId\":null,\"InstanceType\":null}]",
    
                 "descriptionNoHtml": null,
    
                 "detail": [
    
                     {
    
                         "dataType": null,
    
                         "fieldName": "FileName",
    
                         "newValue": "GraficoDeRelacionesCIS.docx",
    
                         "oldValue": "",
    
                         "relatedItemId": null,
    
                         "type": null
    
                     }
    
                 ],
    
                 "itemId": 84486,
    
                 "reviewCode": null,
    
    
                 - content-type: application/json  
                 - X-Authorization: Bearer {token}
    
                 "actionName": "Archivo eliminado",
    
                 "authorId": 4832,
    
                 "authorName": "Especialista 1",
    
                 "created": 1632261186380,
    
                 "description": "[{\"FieldName\":\"FileName\",\"IdentifierField\":null,\"OldValue\":\"\",\"Ne   
                   wValue\":\"ESTANDAR\_DE\_BASE\_DE\_DATOS\_V1.2.doc\",\"Type\":null,\"DataType\":null,\"Relate dItemId\":null,\"NewInstanceId\":null,\"OldInstanceId\":null,\"InstanceType\":null}]",
    
                 "descriptionNoHtml": null,
    
                 "detail": [
    
                     {
    
                         "dataType": null,
    
                         "fieldName": "FileName",
    
                         "newValue": "ESTANDAR\_DE\_BASE\_DE\_DATOS\_V1.2.doc",
    
                         "oldValue": "",
    
                         "relatedItemId": null,
    
                         "type": null
    
                     }
    
                 ],
    
                 "itemId": 84486,
    
                 "reviewCode": null,
    
                 "visible": true
    
             }
    
                 ],
    
                 "itemId": 84486,
    
                 "reviewCode": 1,
    
                 "visible": true
    
             }
    
          ],
    
          "totalItems": 1
    
    }
    

    Error messages

    Code HTTP status Error Message
    500 InternalServerError FailureGetHistory