title: GLPI 10 API REST On creation date setting problem
body: <p>I am writing a php script that will transfer ticket from our previous ticketing solution to GLPI 10.</p>
  <p>I made a first version for it while we were still on GLPI 9 and had no problem. But now, after the version change I can't set the &quot;closedate&quot; and &quot;solvedate&quot; of tickets I'm creating. I'd like to know if this is a new rule in GLPI 10 or if the way to do it changed. Or if anyone knows how to solve this problem</p>
  <p>Here's an example of which route I call and what I pass to it :</p>
  <p><a href="https://i.stack.imgur.com/Bsai7.png" rel="nofollow noreferrer">Image showing the route and JSON</a></p>
  <p>Route : glpi.com/apirest.php/Ticket</p>
  <p>Json passed :</p>
  <pre><code>{&quot;input&quot;: { 
      &quot;_users_id_requester&quot;:12,
      &quot;date_creation&quot;: &quot;2022-05-11 08:01:20&quot;,
      &quot;closedate&quot;: &quot;2022-05-12 08:03:09&quot;,
      &quot;solvedate&quot;: &quot;2022-05-13 08:03:09&quot;,
      &quot;date_mod&quot;: &quot;2022-05-14 08:03:09&quot;,
      &quot;date&quot;:&quot;2022-05-17 08:01:20&quot;,
   &quot;content&quot;: &quot;Ticket test GLPI10 pbm date&quot;,
   &quot;users_id&quot;: 12, 
   &quot;itilcategories_id&quot;: 25, 
   &quot;name&quot;: &quot;Test de pre set date&quot;, 
   &quot;type&quot;: 1}}
  </code></pre>
  <p>Server's answer :</p>
  <pre><code>{
      &quot;id&quot;: 15681,
      &quot;message&quot;: &quot;Élément ajouté : Test de pre set date&quot;
  }
  </code></pre>
  <p>But then in GLPI, the ticket's date are all replaced by the value of the &quot;date&quot; parameter. And if I send it without the &quot;date&quot; parameter it takes today's date as value.
  The parameters I'm sending are the one I copied from the &quot;GET Ticket&quot; route.</p>
  <p>Thanks in advance</p>