MYOB AccountRight端点给出596 Service Not Found

MYOB AccountRight endpoint gives 596 Service Not Found

我正在尝试使用 AccountRight API 从虚拟公司检索数据。

我正在 this nodejs sample project 上构建。

验证并从公司文件中获取公司文件工作。

但是,当我尝试为 /GeneralLedger/Account 等其他端点检索数据时,我总是得到 596 Service Not Found。我的 uri 是:

api.myob.com/<company id>/GeneralLedger/Account

其中公司 ID 是我使用虚拟公司的 /accountright 端点检索的 ID。

有什么想法吗?

URL 不正确意味着 API 不知道您正在与我们的 AccountRight 服务通话。

API 是一个超媒体 API 并包含您需要的所有 URI ... 但是,如果您正在构建 URI,它们应该如下所示: https://api.myob.com/AccountRight/{CompanyFile-GUID}/GeneralLedger/Account

确保 /AccountRight/ 在 URL 中。