On Monday, June 18, 2012 at 2:03 PM, Acey wrote:
Hi Rafael,Thanks for the question. I think that the payload for your API query is a bit off.Try this:<Asset><Relation name="Owners"><Asset idref="Member:1002" act="add"/></Relation></Asset>Notice that the act attribute is part of the Asset child element of the Relation element.Hope that works for you.Acey BunchTechnical Agile and Product ConsultantVersionOne--
On Sunday, June 17, 2012 1:18:20 PM UTC-4, rzdgodoy wrote:Hi,First of all sorry for my bad english.Im using the Core API to update a task and im confused about the response that i got from V1 Webservice.Doing the following post:<Asset><Relation name="Owners" act="add"> <Asset idref="Member:1002"/> </Relation></Asset>On the following host address:I got the following response:Response 200 ==> <?xml version="1.0" encoding="UTF-8"?><Asset href="/servername/VersionOne/rest-1.v1/Data/Task/1048/1459" id="Task:1048:1459" />Apparently the response tell me that the POST succeeded, but when i try to access my V1 page i can't found my change. I believe that this maybe has something to deal with the moment id after the task ID. But i took a look on V1 documentations and i didn't found something that could help me.Thank you for the attention,Rafael
You received this message because you are subscribed to the Google Groups "VersionOne-dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/versionone-dev/-/yF8n0OoW5F0J.
To post to this group, send email to version...@googlegroups.com.
To unsubscribe from this group, send email to versionone-de...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/versionone-dev?hl=en.