PDA

View Full Version : Create Ticket by email from Asset


Support Team
June 10th, 2014, 06:11 AM
RangerMSP User Question*

How can I automatically create a Ticket by Email based on just the Asset?

--
* Question received by email and shared here for the benefit of our users.

Support Team
June 10th, 2014, 06:11 AM
Answer

If you can send XML in the emails you could use the API by Email to create Tickets based on the Asset. For example something like this..


<?xml version="1.0" ?>
<?RangerMSPxml version = "1.0" ?>
<RangerMSPTransaction>
<ExternalApplicationName>YourApp</ExternalApplicationName>
<SendResponseToEmail>youremail@yourdomain.com</SendResponseToEmail>
<Password>the-predefined-api-password</Password>
<ReturnTransactionID>data from external application (will be returned as-is in the response)
</ReturnTransactionID>
<DataKind>TICKET</DataKind>
<RecordData>
<FLDASTASSETCODE> Asset Code </FLDTKTCARDID>
<FLDTKTPROBLEM>ticket description...</FLDTKTPROBLEM>
<FLDTKTSTATUS>100</FLDTKTSTATUS>
<FLDTKTKIND>General</FLDTKTKIND>
<FLDTKTNOTES>Notes</FLDTKTNOTES>
<FLDTKTSOURCE>Source</FLDTKTSOURCE>
<FLDTKTSCHEDLENESTIM>60</FLDTKTSCHEDLENESTIM>
<FLDTKTDUEDATETIME>09/06/14</FLDTKTDUEDATETIME>
<FLDTKTFORDISPATCH>Y</FLDTKTFORDISPATCH>
</RecordData>
</RangerMSPTransaction>


See here for more details on using the API.