title: Update Task Project Online using JQuery & Rest API
body: <p>I have my JSON string which contains the parameter I want to Update</p>
  
  <pre><code>var oCreateTaskParameter = JSON.stringify
  (
   {
    "parameters":
       {   
         "Custom_x005f_5ef4c0a0aaa1e61180cc00155d302506": "Testing"
       }
   }
  );
  </code></pre>
  
  <p>Below is my Ajax Query</p>
  
  <pre><code>$.ajax({
  url:'&lt;&lt;site url&gt;&gt;/sites/pwa/_api/ProjectServer/Projects(&lt;&lt;guid&gt;&gt;)/Draft/Tasks/GetById(&lt;&lt;guid&gt;&gt;)',
  type: "POST",
   contentType: "application/json;odata=verbose",
      data: oCreateTaskParameter,
     headers: {
               "accept": "application/json;odata=verbose",
               "content-type": "application/json;odata=verbose",
               "X-RequestDigest": '&lt;&lt;Request Digest&gt;&gt;'
              },
   success:function(data){
  
  },
  error:function(data){
  console.log(data);
  },
  async:false
  });
  </code></pre>
  
  <p>But i get an error as <strong>"The parameter parameters does not exist in method GetById"</strong></p>
  
  <p>I am sending the parameters parameter, can anyone tell me what i am doing wrong here?</p>