EN
Español
English
Português
    List additional fields by case type, status, model, and case ID

    Request Detail:

    • Base URL: {host}/ASMSAPI/
    • URI: api/v9/article/additionalfields
    • Type: POST
    • 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/article/additionalfields
    


    Parameters:

    Name Guy Obligatory Description
    Id Numerical Yes Item identifier.
    ConsoleType String Yes Console Type - Specialist = 1, - Client = 2, - Administrator - 3.
    StateId Numerical Yes State identifier.
    ModelId Numerical Yes Model identifier.
    ProjectId Numerical Yes Project ID.


    Examples of uri:

    api/v9/article/additionalfields

    Body of the petition:

    {
        "id": 40,
        "consoleType": 3,
        "stateId": 174,
        "modelId": 12,
        "projectId": 4
    }
    

    Answer:

    The service will return a Json with the following structure:

    {
        "content": [
            {
                "boolValue": null,
                "catalogId": null,
                "dataSourceId": null,
                "dateValue": null,
                "description": "Versión",
                "enable": true,
                "fieldId": 490,
                "fieldType": 1,
                "fieldTypeName": "ShortText",
                "floatValue": null,
                "identifier": "Versión",
                "inputStream": null,
                "intValue": null,
                "itemId": null,
                "length": null,
                "mandatory": false,
                "name": "Versión",
                "order": 1,
                "projectId": null,
                "restrictLevel": false,
                "stringValue": null,
                "type": null,
                "url": null,
                "visible": true
            }
        ],
        "totalItems": 1
    }
    

    Error messages:

    Code HTTP status Error Message
    500 InternalServerError FailureAddRelation