EN
Español
English
Português
    CI Edition

    Details of the request:

    • URI: api/v8.6/ci/{id}?isGuId={isGuId}
    • Type: PUT
    • Required headings:

    • Content-Type: application/json
    • Authorization: TOKEN

    The URI structure of the request is implemented as follows:

    • If it’s by CI: api/v8.6/ci/IdCI?isGuId=False
    • If by GuID: api/v8.6/ci/GuID?isGuId=True


    Parameters

    Code Data type Obligatory Description
    Id Text Yes IC ID or GuId to edit
    IsGuId Boolean Yes In case the Id that is sent is GuId the value will be “true”, if it corresponds to the Id of a CI then it will be “false”


    Additionally, it is possible to send the values you want to edit as parameters in the body of the request. These values correspond to the same values available in the creation process.


    Body of the petition:

    Example:

    {
        "Description": "AAABBBCCCDDDEEE",
        "AdditionalField": [
            {
                "Id": 486,
                "Type": 1,
                "Value": "Windows 15"
            },
        ]
    }
    


    Answer:

    Value boleando indicating the result of the operation.

    Error messages:

    Code HTTP status Error Message
    400 BadRequest InvalidToken
    400 BadRequest InvalidUserId
    400 BadRequest InvalidCiData
    400 BadRequest InvalidCiId
    400 BadRequest InvalidCategoryId
    400 BadRequest InvalidProjectIdByDefault
    400 BadRequest InvalidSubcategoryId
    500 InternalServerError FailureParseCi
    500 InternalServerError FailureUpdateCi