API/EndUser/ServiceDesk/newServiceRequest
From Emersion
newServiceRequest
Purpose Creates a new service desk request
Inputs
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://api-uat.emersion.com.au/ServiceDeskObjects"> <soapenv:Header/> <soapenv:Body> <ser:newServiceRequest> <ser:username>emesupport@telechoice.com.au</ser:username> <ser:password>********</ser:password> <ser:queue_id>2</ser:queue_id> <ser:category_id>14</ser:category_id> <ser:subcategory_id>28</ser:subcategory_id> <ser:subject>Hello</ser:subject> <ser:details>This is a test</ser:details> </ser:newServiceRequest> </soapenv:Body> </soapenv:Envelope>
Outputs
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://api-uat.emersion.com.au/ServiceDeskObjects"> <SOAP-ENV:Body> <ns1:newServiceRequestResponse> <ns1:ticket_id>197601</ns1:ticket_id> </ns1:newServiceRequestResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
Error String:
- Invalid username / password
- Missing subcategory_id
- Missing subject
- Missing details
- queue_id is not valid
- category_id is not valid
- subcategory_id is not valid