Hello,
Does anyone have experience using cURL (in Windows) with the REST API to create and edit requests? I've tried the following command to create a simple request:
curl -d "TECHNICIAN_KEY=<key>&OPERATION_NAME=ADD_REQUEST&data={operation:{details:{subject:Blablabla}}}" http://URL/sdpapi/request
... I receive an error:
<operation name="POST"><result><status>Failed</status><message>Mandatory element 'account' not found</message></result></operation>
When i add an account I still get the same error:
curl -d "TECHNICIAN_KEY=<key>&OPERATION_NAME=ADD_REQUEST&data={operation:{details:{subject:Blablabla, account:<accountname>}}}" http://URL/sdpapi/request
Kind regards,
Kerim