我正在尝试检索2个日期之间的取消请求。下面是我正在使用的URL,但它似乎返回了所有内容。
https://api.softlayer.com/rest/v3/SoftLayer_Billing_Item_Cancellation_Request/getAllCancellationRequests?objectMask=mask[user,status,ticket.attachedHardwareCount,ticket.attachedHardware,ticket.attachedVirtualGuestCount,ticket.attachedVirtualGuests,itemCount,items]&objectFilter={"Billing_Item_Cancellation_Request":{"createDate":{"operation":"betweenDate","options":[{"name":"startDate","value":["2016-07-11T00:00:00-05:00"]},{"name":"endDate","value":["2016-07-11T23:59:59-05:00"]}]}}}谢谢
发布于 2016-07-12 23:31:29
尝试此请求:
GET https://api.softlayer.com/rest/v3/SoftLayer_Billing_Item_Cancellation_Request/getAllCancellationRequests?objectFilter={"createDate":{"operation":"betweenDate","options":[{"name":"startDate","value":["6/28/2016 00:00:00"]},{"name":"endDate","value":["6/28/2016 23:59:59"]}]}}日期的格式为mm/dd/YY
顺便说一句,您不能在请求中指定时区
问候
https://stackoverflow.com/questions/38317725
复制相似问题