add hours to a billing record through api | Community
Skip to main content
Level 9
February 5, 2026
Solved

add hours to a billing record through api

  • February 5, 2026
  • 1 reply
  • 15 views

I thought that it would be fairly straight forward
hour/hourID?billingRecordID=billRecordID&method=PUT
This doesn’t throw any error at all but neither does it actually add the hour into that billing record.

I tried the updates method and again, it doesn’t error out but it doesn’t also add the hour into the billing record.
hour/hourID?updates={"billingRecordID":"billRecordID"}&method=PUT

Anybody able to successfully add hours to billing record via api?

Best answer by PollyCo

Figured it out on my own and leaving the api call in case somebody else needs it.
bill/billID?updates={hours:[{"ID":"hourID"}]}

1 reply

PollyCoAuthorAccepted solution
Level 9
February 5, 2026

Figured it out on my own and leaving the api call in case somebody else needs it.
bill/billID?updates={hours:[{"ID":"hourID"}]}