A
A
algrandeth2021-12-18 17:10:15
API
algrandeth, 2021-12-18 17:10:15

What type of data to pass in custom_fields ( date, url )?

I pass data type DateTime (variable DateTime.Now) to custom_fields_values, the server returns 400. What's the problem? Date format, if I'm not mistaken, yy/mm/dd hh:mm:ss
url is the same, but it doesn't give 400: it's just that the data on the server is not updated. I am passing string.
61bdeb7b76908793344290.png
61bdebc4b922d950170937.png
61bdeb84706c2066920364.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
algrandeth, 2021-12-20
@algrandeth

As a result, took long.

long unixSeconds = DateTimeOffset.Now.ToUnixTimeSeconds();

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question