我曾经能够从perl脚本(在请求中提供身份验证)或Internet浏览器(将出现身份验证弹出窗口)中使用IBM SBT getContacts API,并且它将以JSON格式返回数据,如IBM Connections Developers API参考页面:
但是,最近,API调用已返回403禁止状态。如果我在尝试通过浏览器使用API之前登录IBM Connections Cloud,则会转换为:
https://apps.na.collabserv.com/mycontacts/home.html
有谁知道我需要做些什么才能让API再次运行?
感谢。
答案 0 :(得分:0)
您将获得以下条目的列表...
{
"photos":
[
],
"telephone": "",
"profileUrl": "",
"mobilephone": "",
"orgs":
[
{
"value": "CONTACTS",
"type": "Source"
},
{
"value": "Mentorship Expressway",
"type": "Org"
}
],
"website": "",
"id": "na.collabserv.com:contact:160000909070",
"fax": "",
"connectedToId": 201238541234,
"addresses":
[
],
"emailAddress": "asdfasdf@us.ibm.com",
"websites":
[
],
"objectId": 160000909070,
"type": "FRIEND",
"jobtitle": "",
"updated": "2014-07-01T16:44:21.000Z",
"ims":
[
],
"emails":
[
{
"value": "CONTACTS",
"type": "Source"
},
{
"title": "Primary Email",
"email": "asdfasdf@us.ibm.com"
}
],
"org":
{
"name": "Mentorship Expressway"
},
"displayName": "asdfasdf",
"address": "",
"companyId": 22285,
"phoneNumbers":
[
{
"value": "CONTACTS",
"type": "Source"
},
{
"title": "MOBILE",
"phone": "+ asdfasdf"
}
]
}