CA Service Management

 View Only
  • 1.  update contact using SOAP or Rest

    Posted Dec 20, 2018 11:17 AM

    Hi Team ,

     

    Can we update the contact access type using SOAP or Rest API ?



  • 2.  Re: update contact using SOAP or Rest

    Broadcom Employee
    Posted Dec 20, 2018 02:17 PM

    Kunal, I don't see why you can't do that. You mean you need an example xml stream? Thanks _Chi



  • 3.  Re: update contact using SOAP or Rest

    Posted Dec 20, 2018 02:24 PM

    Could you help me with some examples. 



  • 4.  Re: update contact using SOAP or Rest
    Best Answer

    Broadcom Employee
    Posted Dec 20, 2018 02:45 PM

    This is an XML example "

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://www.ca.com/UnicenterServicePlus/ServiceDesk">
    <soapenv:Header/>
    <soapenv:Body>
    <ser:updateObject>
    <sid>996057484</sid>
    <objectHandle>cnt:6D4C0599E7072E4C922BF31401615E74</objectHandle>
    <attrVals>
    <string>access_type</string>
    <string>10002</string>
    </attrVals>
    <attributes>
    </attributes>
    </ser:updateObject>
    </soapenv:Body>
    </soapenv:Envelope>

    "

    the user handle can be obtained by calling getHandleForUserid() and 10002 means Administration access type and 

    this is a sample list of the access types 

    { "10002" ,"Administration" }
    { "300001" ,"CMDB Administrator" }
    { "300002" ,"CMDB Analyst" }
    { "300003" ,"CMDB User" }
    { "10024" ,"Crawler" }
    { "10004" ,"Customer" }
    { "10005" ,"Employee" }
    { "10009" ,"IT Staff" }
    { "10013" ,"Knowledge Management" }
    { "10014" ,"Process Management" }
    { "10010" ,"Service Desk Management" }
    { "10008" ,"Service Desk Staff" }
    { "10021" ,"Super Admin" }
    { "10023" ,"Support Automation Admin" }
    { "10022" ,"Support Automation Analyst" }
    { "10020" ,"Vendor Staff" }



  • 5.  Re: update contact using SOAP or Rest

    Broadcom Employee
    Posted Dec 20, 2018 02:47 PM

    This is just an example, including the access type list. There are many ways to get the list...from command prompt or do another WS call. And this example is for soap WS. 



  • 6.  Re: update contact using SOAP or Rest

    Posted Dec 21, 2018 08:03 AM

    thanks from quick response. if you have any technical guide around this subject please share