title: Differentiate Save and Submit in Rest API
body: <p>Question on form data saving to MongoDB using Rest API. I have three different scenario.</p>
  
  <ol>
  <li>Save and return (First time saving data partially and return id for future return).</li>
  <li>Submit the already saved data (Second time, complete the form and do final submit, so that i can trigger other work flow.)</li>
  <li>Submit directly (Submit the full form first time and return the id, and start work flow)</li>
  </ol>
  
  <p>For above scenario, i came up with below API resource</p>
  
  <pre><code>POST --&gt; v1/applications   (This will save data and return id)
  PUT --&gt; v1/applications/{id} (This will retrieve data using id parameter and update that data)
  </code></pre>
  
  <p>My confusion is how to differentiate both the API, whether it is only save or final submit call, because i have to start work flow after final submission. Can i use some query parameter like below to indicate submit or save?</p>
  
  <pre><code>POST --&gt; v1/applications?submit=true or false   (This will save data and return id)
  PUT --&gt; v1/applications/{id}?submit=true or false (This will retrieve data using id parameter and update that data)
  </code></pre>
  
  <p>Or do we have any better approach to differentiate save and submit within this api?</p>