Thank you for visiting our Partner Zone. This area is an exclusive space for MYOB Partners. Find out how to Partner with MYOB.
March 2021
March 2021
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
Solved! Go to Solution.
March 2021
March 2021
Hi @OlegVlasov,
Thank you for reaching out, Yes you are correct this is treated as UTC timezone with the format "YYYY-MM-DDTHH:MMS"
Let us know if you have any questions,
Thanks,
Thanks,
@Hannah_B
MYOB API Specialist
MYOB API Support Centre|MYOB App Marketplace|MYOB AccountRight API Endpoint Doc's
Did my answer help?
Mark it as a Solution
by
Seabreese
August 2020
2
1982
|
2
|
1982
|
||
6
|
3195
|
|||
5
|
2253
|
|||
by
TommySharp
April 2019
1
1094
|
1
|
1094
|
||
by
fdonnelly
February 2019
4
3145
|
4
|
3145
|