Skip to main content
Solved

Updating Duration Field via API

  • November 8, 2019
  • 1 reply
  • 0 views

  • Participating Frequently
  • 6 replies

I’m trying to update the duration fields via standard hh:mm:ss and my updates are failing. By no means an expert here so forgive my ignorance as the API documentation isn’t telling me much. What type of number should I be using in order for this to work? Should I be converting time to a UNIX timestamp or something else? Thanks in advance!

Best answer by Andrew_Johnson1

You will need to convert the duration to seconds and then pass that duration in seconds to the API

View original
Did this topic help you find an answer to your question?

1 reply

  • Participating Frequently
  • 586 replies
  • Answer
  • November 9, 2019

You will need to convert the duration to seconds and then pass that duration in seconds to the API


Reply