如何从 netsuite REST api 获取数据,过滤器为 UTC 格式的lastModifiedDate?

问题描述 投票:0回答:1

提交像 q=lastModifiedDate ON_OR_AFTER "15/01/2021" 这样的查询可以按预期工作,但是像 q=lastModifiedDate ON_OR_AFTER "2021-01-15T11:11:00Z" 这样的查询会给出 400 错误

netsuite netsuite-rest-api oracle-net-services
1个回答
0
投票

您还可以传递完整的 SQL SELECT 语句,您可以控制日期和时间戳格式,如下所示:

在 SuiteQL 中使用 LastModifed 查询项目时出现问题

在 SuiteSQL 中,您必须使用 to_date 或 to_timestamp 将日期/时间字符串转换为底层 Oracle 数据库中正确的对象类型。

© www.soinside.com 2019 - 2024. All rights reserved.