0

我能够从工作日获得访问令牌,但我无法理解资源端点。我无法使以下任何一项工作。我使用的 ID 确实存在于租户中。

一 - 这篇工作日文章https://community.workday.com/articles/665624说 REST API URL 必须遵循以下路径格式: (basepath)/api/(service)/(version)/(tenant)/(resource )

我的请求 - https://(domain)/ccx/api/customerAccounts/v1/(tenant)/customers/(id) --> 404 未找到

二 - 客户的招摇文件说基本 URL 是: https://(tenant hostname)/customerAccounts/v1

我的请求 - https://(domain)/ccx/customerAccounts/v1/customers/(id) --> 404 未找到

三 - 休息客户端配置说休息端点是:https://(domain)/ccx/api/v1/(tenant)

我的请求 - https://(domain)/ccx/api/v1/(tenant)/customerAccounts/v1/customers/(id) --> 404 未找到

有谁知道 URL 端点应该是什么样子?一个具体的例子将不胜感激。

谢谢!

4

1 回答 1

0

格式如下。我的问题似乎与安全有关。我在这里仍然遇到标准对象的问题。https://(domain)/ccx/api/customerAccounts/v1/(tennant)/customers/(ID)

对于自定义对象。这被证实有效。https://(domain)/ccx/api/v1/(tennant)/customObjects/(objectAlias)/(ID)

于 2020-12-22T19:06:56.967 回答