Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

** If you have Admin access to OTRS, you can review the SOAP Based Service settings using the following URL: https://tts.geant.net/otrs/index.pl?Action=AdminGenericInterfaceWebservice;Subaction=Change;WebserviceID=1;Nav=

Two of the available web service operations are used TicketSearch and TicketGet

TicketSearch

The SOAP message that is sent to the OTRS web service looks like the following XML:

...

***** Password Stored In KeyPass

TicketGet

The SOAP message that is sent to the OTRS web service looks like the following XML:

A typical response from the above operation is:

<?xml version="1.0" encoding="UTF-8"?>

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

          <soap:Body>

                  <TicketSearchResponse xmlns="http://www.otrs.org/TicketConnector/">

                              <TicketID>204001</TicketID>

                              <TicketID>203998</TicketID>

                              <TicketID>203994</TicketID>

                              <TicketID>203970</TicketID>

                   </TicketSearchResponse>

          </soap:Body>

</soap:Envelope>

TicketGet

The SOAP message that is sent to the OTRS web service looks like the following XML:

<SOAP-ENV:Envelope xmlns:SOAP<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.otrs.org/TicketConnector/">

...

98016 is an example TicketId used as the key to retrieve the Ticket where the TicketID field matches 98016


A typical response is from the above operation:

<?xml version="1.0" encoding="UTF-8"?>

...