获取accessToken成功,同样的方式获取组织信息失败
金蝶云社区-DD45432
DD45432
2人赞赏了该文章 2,339次浏览 未经作者许可,禁止转载编辑于2018年03月19日 09:16:11
我这边现在能正常获取accessToken,当我把accesstoken放在url上,以和获取accessToken一样的方式发送数据,来获取组织信息:https://www.yunzhijia.com/gateway/opendata-control/data/getallpersons?accessToken=i4tcITyutZDOlKDlGHIcDri7fYLquy0U ,但我一直得到{ "data": null, "error": "Sorry,Authentication Failed: OAUTH2_ACCESSTOKEN. Please try again later or contact the administrator!", "errorCode": 10012, "httpStatus": 200, "matedata": null, "success": false, "throwable": null, "timestamp": 1521346157467}发送的数据:"{\"eid\":\"9331484\",\"time\":\"2018-03-18 12:30:47\",\"begin\":0,\"count\":500}"