Closing Service Catalog Requests via Web Services
search cancel

Closing Service Catalog Requests via Web Services

book

Article ID: 376927

calendar_today

Updated On:

Products

CA Service Catalog

Issue/Introduction

How to close Catalog tickets using a Web Service method.

Environment

Service Catalog 17.x

Resolution

This cancelRequest method requires two inputs:

  1. sessionID: ID that can be obtained using login method
  2. requestID: ID of the Service Catalog Request that needs to be closed.

 Example:

<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://services.soap.usm.ca.com">
   <soapenv:Header/>
   <soapenv:Body>
      <ser:cancelRequest soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <sessionID xsi:type="xsd:string">SESSIONID</sessionID>
         <requestID xsi:type="xsd:int">TICKETID</requestID>
      </ser:cancelRequest>
   </soapenv:Body>
</soapenv:Envelope>

Additional Information