PayPal API中日期的正确格式
我调用同步API:PayPal API中日期的正确格式,paypal,paypal-sandbox,paypal-rest-sdk,Paypal,Paypal Sandbox,Paypal Rest Sdk,我调用同步API: url='1〕https://api.sandbox.paypal.com/v1/reporting/transactions?start_date=2018-01-02和结束日期=2018-02-02' 并返回以下错误: {“name”:“INVALID_REQUEST”,“debug_id”:“f1274e47829e”,“message”:“INVALID REQUEST-see details.”,“details”:[{“field”:“start_date”
url='1〕https://api.sandbox.paypal.com/v1/reporting/transactions?start_date=2018-01-02和结束日期=2018-02-02'
并返回以下错误:
{“name”:“INVALID_REQUEST”,“debug_id”:“f1274e47829e”,“message”:“INVALID REQUEST-see details.”,“details”:[{“field”:“start_date”,“value”:“2018-01-02”,“location”:“query”,“issue”:“INVALID date passed”}]}
开始日期的正确格式是什么?应采用以下格式:
2018-02-01T00:00:00Z
那就行了