Skip to main content
Solved

Updating Duration Field via API

  • November 8, 2019
  • 1 reply
  • 16 views

Forum|alt.badge.img+5
  • 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

1 reply

Forum|alt.badge.img+3
  • 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