I'm not entirely sure if this belongs here but thought I would give it a try...
I have taken Esri's citizen problem reporter and used scripts to create service requests in Cityworks (CW). Within CW I have created one webhook that will update a status field on the hosted feature layer in AGOL when it is changed in CW. I am now attempting to create another webhook that will automatically push over any comments made in the Service Request in CW to a 'Notes' field in the AGOL feature layer. However, when I add a comment in CW I receive an error:
{"error":{"code":400,"message":"Cannot perform operation. Invalid operation parameters.","details":["'features' parameter in invalid","Invalid JSON primitive: ."]}}
The webhook is written as such:
features=[{attributes:{REPORTID:~~Requestid~~,
{OBJECTID:~~Text1~~,
NOTES:"~~Comments~~"}
}]&f=json
I am very new to webhooks, so if anyone has any insight it would be greatly appreciated!