AnsweredAssumed Answered

Is it possible to XOG an update on the projects' task using Projects object API via SOAP

Question asked by deepaks829 on Apr 4, 2017
Latest reply on Apr 4, 2017 by TEAConsulting

I am trying to integrate with PPM using SOAP API. I am able to read the project using the Object API's project endpoint.

I would want to perform an update on one of the several tasks within the project. From the Object API documentation:

Write object requests are used to insert and update records into another system.

When I try to perform an update, it is creating new record rather than updating the existing record.

May be I am missing a specific flag/attribute in my request XML.??? If I can get this to work with something like SOAP UI, I can take it from there.

I have read posts which use GEL. If there is a way to do it without, is what I am looking for.

The following is a generic SOAP body of my request xml:

<soapenv:Body>
<obj:WriteProject>
<NikuDataBus xsi:noNamespaceSchemaLocation="../xsd/nikuxog_read.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Header externalSource="NIKU" version="15.1.0.149"/>
<Projects>
<Project name="Some Project Name" projectID="12345678">
<Tasks>
<Task internalTaskID="someId of the task I want to update" name="Task Name" outlineLevel="1" status="value that I want to update to">
<estimateRules/>
<CustomInformation>
<ColumnValue name="some_name">some information to update</ColumnValue>
</CustomInformation>
</Task>
</Tasks>
</Project>
</Projects>
</NikuDataBus>
</obj:WriteProject>
</soapenv:Body>

Outcomes