Forum Discussion

OlegVlasov's avatar
OlegVlasov
Contributing User
4 years ago
Solved

API DateTime filter parameters

Hi guys,

Could you please confirm how the Myob API works with datetimes?

1) Did I get it right that the datetime values passed through the $filter parameter are treated on the API backend side as datetime in UTC timezone?
for example:
/GeneralLedger/JournalTransaction?$top=400&$filter=DatePosted ge datetime'2021-03-15T00:00:00Z'
2) Did I get it right that the datetime values in the JSON response from the Myob API endpoints are returned as datetime values in UTC timezone?
for example: "DatePosted""2021-03-17T22:44:56.717"


Regards,
Oleg


  • Hi OlegVlasov,

     

    Thank you for reaching out, Yes you are correct this is treated as UTC timezone with the format "YYYY-MM-DDTHH:MM:SS" 

     

    Let us know if you have any questions, 

     

    Thanks, 

1 Reply

Replies have been turned off for this discussion
  • Hi OlegVlasov,

     

    Thank you for reaching out, Yes you are correct this is treated as UTC timezone with the format "YYYY-MM-DDTHH:MM:SS" 

     

    Let us know if you have any questions, 

     

    Thanks, 

Looking for something else?

Search the Community Forum for answers or find your topic and get the conversation started!

Community home

Learn:

 

Level up your skills using MYOB software.

 

Find help guides and technical solutions for all MYOB products here

Explore video tutorials for our software at the MYOB Academy here

 

Dig into MYOB Academy for free courses, learning paths and live events to help build your business with MYOB.