EN
Español
English
Português
    Delete relationship

    Request Detail:

    • Base URL: {host}/ASMSAPI/
    • URI: api/v9/article/ {id}/{relatedItemType}/{relatedItemId}/relation?relationTypeId={relationTypeId}&isReverse={isReverse}
    • Type: DELETE
    • 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}/{relatedItemType}/{relatedItemId}/relation?relationTypeId={relationTypeId}&isReverse={isReverse}
    


    Parameters:

    Name Guy Obligatory Description
    Id Numerical Yes Item identifier.
    RelatedItemId Numerical Yes Identifier of the item to be related.
    RelatedItemType String Yes Related item type.
    RelationTypeId Numerical Yes Identifier of the type of relationship.
    TypeIsReverse String Yes Address of the relationship.


    Examples of uri:

    api/v9/article/1746/1/7/relation?relationTypeId=32&isReverse=true

    Answer:

    The service will return a Json with the following structure:

    {
        "result": true
    }
    

    Error messages:

    Code HTTP status Error Message
    500 InternalServerError FailureDeleteRelatedArticle