How to change Closure Code via API

How to change Closure Code via API

Hello. I wrote next powershell script for changing closure code
$inputData = @"
<Operation>
<Details>
<closurecode>Failed</closurecode>
</Details>
</Operation>
"@

$postParams = @{OPERATION_NAME = 'EDIT_REQUEST' ;TECHNICIAN_KEY = 'KEY' ;INPUT_DATA = $inputData }

$URI = " http://servicedesk.local/sdpapi/request/3"

Invoke-WebRequest -Uri $URI -Method Post -Body $postParams

http request executed successfully with 200 code, yet request didn't changed in MAnage Engine.
How i can change request closure code ?

                  New to ADSelfService Plus?