title: BackboneJS Update Model and REST API
body: <p>I am using BackboneJS and have a model object to update.</p>
  
  <pre><code>self.model.save(
  {
  urlRoot: +self.model.get("personId")+"/deactivate"
  },
  {
  success: function (model){
      self.showMessage('Person deactivated', true, true);
      self.model.fetch();
  },
  error : function(){
      $("#save", self.el).button("reset");
  }
  });
  </code></pre>
  
  <p>Now my REST method looks like</p>
  
  <pre><code>@PUT
  @Path("{id}/deactivate")
  @Consumes({MediaType.APPLICATION_JSON})
  @Produces({MediaType.APPLICATION_JSON})
  public CompanyVO deactivatePerson(@PathParam("id") Long id, PersonVO personVO) {
      return modifyPerson(id, personVO);
  }
  </code></pre>
  
  <p>My question is there is some issue how I am setting urlRoot to call the corresponding REST method.</p>
  
  <p>Please let me know the correct way so that I can call the REST method and update the Person object.</p>