EN
Español
English
Português
    Handling Additional Fields

    This section describes the operations related to handling the additional fields.

    Get the values of an additional combo field

    Petition Details

    • URI: api/v8.6/additionalfield/{id}/{isBasic}/values?parentSelectedValue={parentSelectedValue}
    • Type: GET
    • Required headings:

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

    Parameters

    Name Data type Obligatory Description
    Id Number Yes Additional field id
    isBasic Boolean Yes Indicates whether the additional field is basic or advanced
    parentSelectedValue Number No  


    Body of the petition

    N/A

    Answer

    The service will return a Json with the following information: Example:

    [
        {
            "Id": 1123,
            "Value": "1"
        },
        {
            "Id": 1132,
            "Value": "10"
        },…
    ]
    

    Error messages

    Code HTTP status Error Message
    400 BadRequest InvalidFieldId
    400 BadRequest InvalidBooleanValue
    400 BadRequest InvalidParentFieldId
    500 InternalServerError FailureGetComboValues