api - 获取 GoToWebinar 注册人
问题描述
我正在尝试从 GoToWebinarApi(api 链接)获取注册人信息。首先,我请求获取所有注册人并获得以下响应:
Response body
[
{
"firstName": "Test",
"lastName": "t",
"registrationDate": "2020-06-04T08:46:44Z",
"timeZone": "Europe/Helsinki",
"joinUrl": "https://global.gotowebinar.com/join/7649495216334202379/502991121",
"registrantKey": 6700838782913279000,
"email": "tes@gmail.com",
"status": "APPROVED"
}
]
之后,我尝试使用此注册人密钥在另一个查询中获取注册人信息,但始终获得以下响应:
https://api.getgo.com/G2W/rest/v2/organizers/{{organizer_key}}/webinars/{{webinar_key}}/registrants/{{registrant_key}}
{
"errorCode": "NotFound",
"description": "Registrant with specified key does not exist",
"incident": "3599905930306030349"
}
不知道怎么回事,可能是bug?它有很多这样的东西。
解决方案
您是否尝试过下载 Postman 并导入他们的收藏?您可以填写这些字段,看看是否有任何问题。消除您在代码中犯错误的可能性。
编辑:问题/问题:
我发现了这个问题。基本上这些数字对于 Javascript 来说太大了。请参阅:JSON 响应 Long is Rounded or Corrupted and Large numbers are wrongly rounded in JavaScript
推荐阅读
- node.js - Socket io 不刷新页面就无法工作 - Vue js
- python - django:子行之间互斥的布尔字段
- python - 如何仅对数据集的特定列进行标签编码?
- java - 如何从android直接执行javascript函数
- haskell - 如何在递归函数中返回不同的类型?(哈斯克尔)
- javascript - 拼接数组中的数据
- powershell - PowerShell 从事件查看器中获取所有条目的第一个日期
- python - 改变四分位数范围
- laravel - 具有多个版本的同一模型的 Api 资源
- swift - Spritekit SKShapeNode 随机缩放,Swift