How to log a comment against an existing CA Service Catalog Request via SOAP Web Services?
CA Service Catalog 17.x
All Supported Operating Systems
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: