title: URI template for POST/PUT restful service
body: <p>I am going to write a restful API, my requirement is to call methods on “Transaction” object, I was wondering how I should call Post/PUT with appropriate URI template so that I can Create/update the Transaction resource without using “verbs” in Uri mapping.</p>
  
  <pre><code>[OperationContract]
  [WebInvoke(Method = "POST", UriTemplate = "/Transaction/{**What to write here ????**}", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json)]
  public Transaction AddTransaction(Transaction transaction)
  {
      return AddTransactionToRepository(transaction);
  }
  
  [OperationContract]
  [WebInvoke(Method = "PUT", UriTemplate = "/Transaction/{**What to write here ????**}", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json)] 
  public Transaction UpdateTransaction(Transaction transaction)
  {
      return UpdateTransactionInRepository(transaction);
  }
  </code></pre>
  
  <p>Please consider that I want to apply best practice for uri mapping and do not want “verbs” in it, only “nouns”. Also tell me how client will access these methods for Post and Put with unique URI. Thanks</p>