EN
Español
English
Português
    List of Case Histories

    Petition Details

    • URI: api/v8.6/{id}/{itemType}/note/list?actionTypeId={actionTypeId}
    • Type: GET
    • Required headings:

    • content-type: application/json
    • Authorization: TOKEN

    Parameters

    Name Data type Obligatory Description
    Id Text Yes Case ID
    itemType Number Yes
    Type of case. The options are:
    1. Incident
    2. Problem
    3. Change
    4. Service Requirement
    actionTypeId Number No Type of action.
    Grade: 16


    Example:

    List notes for a case api/v8.6/item/28711/4/note/list?actionTypeId=16

    History of a case api/v8.6/item/28711/4/note/list


    Answer

    The service will return a Json with the following information:

    Example:

    [
        {
            "ActionName": "NOTA",
            "ActionType": 16,
            "AdditionalData": null,
            "AfterClosed": false,
            "AuthorName": "APPLICATION ADMINISTRATOR",
            "ChatSessionId": null,
            "CreationDate": " /Date(1573067779483-0500)/ ",
            "Description": "Caso resuelto",
            "Id": 0,
            "IsPrivate": true
        }
    ]
    
    

    Error messages

    Code HTTP status Error Message
    400 BadRequest InvalidItemId
    400 BadRequest InvalidItemType
    400 BadRequest InvalidActionTypeId
    401 Unauthorized  
    500 InternalServerError FailureGetHistories