EN
Español
English
Português
    Release Concurrency Lock

    Petition Details

    • URI: api/v8.6/concurrency/free
    • Type: POST
    • Required headings:

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

    Parameters

    Name Data type Obligatory Description
    Id Text Yes Case ID to block.
    itemType Number Yes
    Type of case to be created. The options are:
    1. Incident
    2. Problem
    3. Change
    4. Service Requirement


    Body of the petition

    The request consists of a json array of type field-value with the required parameters. Example:

    [
    {"Field":"ItemId","Value":####},
    {"Field":"ItemType","Value":#}
    ]
    

    Answer

    Value boleando indicating the result of the operation.

    Error messages

    Code HTTP status Error Message
    400 BadRequest InvalidToken
    400 BadRequest InvalidUserId
    400 BadRequest InvalidItemId
    400 BadRequest InvalidItemType
    500 InternalServerError FailureBlockConcurrency