Logging a comment on a CA Service Catalog Request via Web Services
search cancel

Logging a comment on a CA Service Catalog Request via Web Services

book

Article ID: 275771

calendar_today

Updated On:

Products

CA Service Catalog

Issue/Introduction

How to log a comment against an existing CA Service Catalog Request via SOAP Web Services?

Environment

CA Service Catalog 17.x

All Supported Operating Systems

Resolution

Since the comments attribute come under extended attributes, need to provide comments in the requestValuesData 

Here is a sample SOAP request:

<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:addRequestWithForm soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <sessionID xsi:type="xsd:string">5e91b97f-5b0b-4cae-a6d6-5be383942459</sessionID>
         <requestData xsi:type="xsd:string">name:user1desired_date:6/24/2005!priority :5!req_by_user_id:spadmin!req_for_account_id:10001</requestData>
         <requestValuesData xsi:type="xsd:string">comments:test123</requestValuesData>
         <requestValuesDataType xsi:type="xsd:string"></requestValuesDataType>
        <addedOfferings xsi:type="xsd:string">offering_id:10203</addedOfferings>
         <addedItems xsi:type="xsd:string"/>
         <formValuesData xsi:type="xsd:string">startdate:10/26/2023|enddate:10/26/2024</formValuesData>     </ser:addRequestWithForm>
   </soapenv:Body>
</soapenv:Envelope>


See screenshot below of the request from the CA Service Catalog UI after the above SOAP request is made: