EN
Español
English
Português
    Associate Item to Folder

    Request Detail:

    • Base URL: {host}/ASMSAPI/
    • URI: api/v9/article/{id}/associate/folders
    • 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/{id}/associate/folders
    


    Parameters:

    Name Guy Obligatory Description
    Id Numerical Yes Item identifier.
    Folders List Yes List of folders.
    FolderId Numerical Yes Folder ID.


    Examples of uri:

    api/v9/article/1752/associate/folders

    Body of the petition:

    {
        "folders": [
            {
                "folderId": 1
            }
        ]
    }
    

    Answer:

    The service will return a Json with the following structure:

    {
        "result": true
    }
    

    Error messages:

    Code HTTP status Error Message
    500 InternalServerError FailureAddRelation