Maximo Integration

MIF----Issue with update of the doclinks attachment on WORKORDER

  • 1.  MIF----Issue with update of the doclinks attachment on WORKORDER

    Posted Sat July 10, 2021 12:07 AM
    Hi All,

    Am facing issue while updating of the doclink description on the existing attachment that added to the workorder  with SOAP Webservice . could any one post the soap payload how to update the existing doclinks that associated with the workorder. I tried Sync operation with Change action attribute on the top level object doclinks but that end up creating new document sequence with the new attachment, i tried other way by adding action change to the workorder object its creating new document always but does not seems to be updates the doclink fields by doclinks key parameters. any idea? Quick help will be appreciated.
     Even If am changing action attribute against doclinks, the relevant action does not effect and could not update doclink attachment fields that associated on workorder.

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:max="http://www.ibm.com/maximo">
    <soapenv:Header/>
    <soapenv:Body>
    <max:UpdateMXDOCLINKS>
    <max:MXDOCLINKSSet action="Add">
    <max:WORKORDER>
    <max:WONUM>1886</max:WONUM>
    <max:SITEID>BEDFORD</max:SITEID>
    <max:DOCLINKS action="Add">
    <max:ADDINFO>1</max:ADDINFO>
    <max:UPLOAD>1</max:UPLOAD>
    <max:SHOW>1</max:SHOW>
    <max:OWNERID>2697</max:OWNERID>
    <max:DOCTYPE changed="true">Attachments</max:DOCTYPE>
    <max:URLTYPE>URL</max:URLTYPE>
    <max:URLNAME>https://www.google.com</max:URLNAME>
    </max:DOCLINKS>
    </max:WORKORDER>
    </max:MXDOCLINKSSet>
    </max:UpdateMXDOCLINKS>
    </soapenv:Body>
    </soapenv:Envelope>

    ------------------------------
    Vinod xxxx
    ------------------------------