title: Azure DevOps Rest API - Unable To Create New Iteration
body: <p>Trying to use REST API to create iterations for a project using POST as per this:</p>
  
  <p><a href="https://docs.microsoft.com/en-us/rest/api/azure/devops/work/iterations/post%20team%20iteration?view=azure-devops-rest-5.1" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/rest/api/azure/devops/work/iterations/post%20team%20iteration?view=azure-devops-rest-5.1</a></p>
  
  <p>However I keep getting a 400 response.</p>
  
  <p>Curiously I added one in the UI (Iteration 3) - and when I request the results it does not include the new one.</p>
  
  <p>Is there an issue with this not really working properly or am I doing something wrong?</p>
  
  <pre><code>https://dev.azure.com/{organization}/{projectId}/{teamId}/_apis/work/teamsettings/iterations?api-version=5.0
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/7z8eC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7z8eC.png" alt="enter image description here"></a></p>
  
  <pre><code>{
  count: 3,
  value: [
  {
  id: "f95df712-1f2d-4685-86ea-b2e7dbad8353",
  name: "Iteration 0",
  path: "CMMI2\Iteration 0",
  attributes: {
  startDate: null,
  finishDate: null,
  timeFrame: "current"
  },
  url: "https://dev.azure.com/{organization}/{projectId}/{teamId}/_apis/work/teamsettings/iterations/f95df712-1f2d-4685-86ea-b2e7dbad8353"
  },
  {
  id: "ec4f29f0-0b48-4a52-9b71-45e396654330",
  name: "Iteration 1",
  path: "CMMI2\Iteration 1",
  attributes: {
  startDate: null,
  finishDate: null,
  timeFrame: "future"
  },
  url: "https://dev.azure.com/{organization}/{projectId}/{teamId}/_apis/work/teamsettings/iterations/ec4f29f0-0b48-4a52-9b71-45e396654330"
  },
  {
  id: "ab3d8626-c613-48ff-9378-f3b7ed109d77",
  name: "Iteration 2",
  path: "CMMI2\Iteration 2",
  attributes: {
  startDate: null,
  finishDate: null,
  timeFrame: "future"
  },
  url: "https://dev.azure.com/{organization}/{projectId}/{teamId}/_apis/work/teamsettings/iterations/ab3d8626-c613-48ff-9378-f3b7ed109d77"
  }
  ]
  }
  </code></pre>