Can't update status or technician via the ServiceDesk API

Can't update status or technician via the ServiceDesk API

Hi,

I've created a Perl script to update ServiceDesk requests via the API. I want to change the technician, set the status to 'on hold' and add a resolution. Adding the resolution works fine but if I try to change the technician or the status I get an XML response with 'Success' in the operationstatus but the change hasn't been executed.

For the technician I have tried sending their name, their email, their username and both their username and email at the same time but none of them work.

Below are the test case HTTP Post requests I'm generating - one for Status and one for Technician. Both get a 'success' response.

POST http://XXXXXX:80/servlets/RequestServlet
User-Agent: WDT-integration/0.1
Content-Length: 142
Content-Type: application/x-www-form-urlencoded

workOrderID=100372&operation=UpdateRequest&username=XXXXXX&password=XXXXXX&DOMAIN_NAME=NT_DOMAIN&logonDomainName=AD_AUTH&status=On+Hold


POST http://XXXXXX:80/servlets/RequestServlet
User-Agent: WDT-integration/0.1
Content-Length: 184
Content-Type: application/x-www-form-urlencoded

workOrderID=100372&operation=UpdateRequest&username=XXXXXX&password=XXXXXX&DOMAIN_NAME=NT_DOMAIN&logonDomainName=AD_AUTH&technician=mstockley&technicianEmail=mstockley%40example.org

Kind regards

M.

























                  New to ADSelfService Plus?