EN
Español
English
Português
    Get Pending Vote

    Request Detail:

    • Base URL: {host}/ASMSAPI/
    • URI: api/v9/article/{id}/states/{stateId}/pending/vote
    • 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/article/{id}/states/{stateId}/pending/vote
    


    Parameters:

    Name Guy Obligatory Description
    Id Numerical Yes Item identifier.
    stateId Numerical Yes Item status identifier.


    Examples of uri:

    api/v9/article/1746/states/2/pending/vote

    Answer:

    The service will return a Json with the following structure:

    {
        "result": false
    }
    

    Error messages:

    Code HTTP status Error Message
    500 InternalServerError FailureAddRelation