hi..
I am trying configure our monitoring system to create request automatically, so I configure a bash script in Linux to do this.
In this script I wrote:
This part is working fine.
My problem is related with second part:
Wagners-MacBook-Pro:~ wagnerpinheiro$ curl -d "OPERATION_NAME=ADD_REQUEST&INPUT_DATA={operation:{Details:{REQUESTER: Monitoramento Zabbix,SUBJECT: [Notificação Automática - DeployIT],REQUESTTEMPLATE: ZABBIX_NOTIFICACAO_AUTOMATICA,DESCRIPTION:Mail Server is down}}}"
http://servicedesk.deployit.com.br/api/json/request
I get this error:
{"operation":{"name":"ADD_REQUEST","result":{"status":"Failed","message":"INVALID_TICKET","error_code":4001}}}
I tryied use API with XML, but I am getting the same error.
If I access using my browser(Mozilla, Google...) I am getting the same error:
browser return:
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<operation name="null">
<result>
<status>Failed</status>
<message>Invalid URL</message>
<error_code>4001</error_code>
</result>
</operation>
So I would like know, has ServiceDesk Plus On Demand support to add_request??