I've gone through a 100 posts about date but can't work this out.
When i GET from the API the date is in format 2021-12-01 but it doesn't accept it when using POST.
Anyone know what format it should be in? It's a date field not datetime
Hi,
As noted in the documentation, for a Date picker custom field this should be something like that:
"customfield_11441" : "2015-11-18"
For a date system field
"duedate" : "2015-11-18"
Can you share your code please and the error message.
It was late and I am dumb.. I forgot to convert it to string.
$( Get-Date $($LeaseInfo.'Start Date') -Format 'yyyy-MM-dd' ).ToString()
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.