Add Comment to incident via API in powershell getting 400 error

When I try to add a Comment to an Incident, a 400 error is returned.  I used test-json to verify the body of my API Post is valid.

Any thoughts?  Here is what I have:

$Token = "our token"

$uri = ""
$headers_json = @{"X-Samanage-Authorization" = "Bearer $token"
"Accept" = "application/vnd.samanage.v2.1+json"
"Content-Type" = "application/json"}
$Body = @"


"body":"Test API",





Invoke-RestMethod -Method Post -Headers $headers_json -Uri $uri -Body $Body

Parents Reply Children
No Data