Skip to main content

 

Planview Customer Success Center

Update a PPM Pro Entity

Use the updateEntity operation to change field values for an existing entity. Pass in value pairs that identify the fields and supply the new values. This example shows how to update an Innotas user; the update is to deactivate the user (setting the Is Active? flag to False).

Activate/Deactivate a user

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://services" xmlns:xsd="http://objects.services/xsd">

   <soapenv:Header/>

   <soapenv:Body>

      <ser:updateEntity>

         <ser:sessionId>F0C6EDD44B270B1F3DD0F1492A2A1585</ser:sessionId>

         <ser:entityTypeId>23</ser:entityTypeId>

         <!--Id of the record to update-->

         <ser:entityId>667475835</ser:entityId>

    

          <!--First attribute to update – Active?(2301) changing to  false to deactivate the user-->    

         <ser:valuePairs>               

            <xsd:elementValue>False</xsd:elementValue>

            <xsd:id>2301</xsd:id>

         </ser:valuePairs>

      </ser:updateEntity>

   </soapenv:Body>

</soapenv:Envelope>