I am using rally rest service .net toolkit to interact with rally web services. i am able to get data successfully and now i am trying to update a feature properties "PriliminaryEstimate" and "RefinedEstimate", but every time when i try to update a feature i am getting some times "Not authorized to perform action: Invalid key" error and some times "Cannot set attribute on a com.rallydev.webservice.json.JSONSingleProperty" error.
Here is the cody
DynamicJsonObject data = new DynamicJsonObject();
data["PreliminaryEstimate"] = "https://rally1.rallydev.com/slm/webservice/v2.0/preliminaryestimate/14457113801"; // refrence of the preliminary estimate
data["RefinedEstimate"] = "1";
OperationResult updateResult = restApi.Update(rallyRef, data); // rallyRef : reference of the feature
Can any one help me to solve this asap.
i tried with api key as well instead of credentials. now this time i am getting Requested type name Requested type name "https://rally1.rallydev.com/slm/webservice/v2.0/portfolioitem/feature/60709821600" is unknown.