API call to fill the mandatory fields and close a request simultaneously

API call to fill the mandatory fields and close a request simultaneously

The "Close Request" API call is used to close a request. But to fill the mandatory fields if any and close a request simultaneously, the "Update Request" API call can be utilized.

Example: To fill the mandatory fields like "Resolution" and "Priority" and to close the request.
Method: PUT
Input Data: 

{
    "request": {
        "resolution": {
            "content": "(any resolution content)"
        },
        "priority": {
            "name": "(priority)",
        },
        "status": {
            "name": "Closed"
        },
        "closure_info": {
            "requester_ack_resolution": true,
            "requester_ack_comments": "(any comment)",
            "closure_comments": "(any comment)",
            "closure_code": {
                "name": "success"
            }
        }
    }
}



                  New to ADSelfService Plus?