2017-01-10 51 views
0

我們有在線共享點CRM如何使用onedrive API連接到Sharepoint CRM文檔庫?

我使用OneDrive SDK for iOS。 我可以使用onedrive API連接到主文檔庫。我用有用的"github example"來配置它。這個庫的

resourceId: https://{tenant}.sharepoint.com/ 
apiEndpoint: https://{tenant}.sharepoint.com/CRM/_api/v2.0 

網站網址是:

https://{tenant}.sharepoint.com/CRM/Shared Documents 

這種配置是罰款和工作確定。

我在本網站上的其他文檔庫遇到問題。動態CRM創建他自己的文檔庫。例如Acccount。

我可以在網上打開這個庫。瀏覽器的網址是: https://開頭{}房客.sharepoint.com/CRM /帳號/表格/ AllItems.aspx

但我不能夠連接到這個CRM庫。 我想簡單問子女戶口:

https://{tenant}.sharepoint.com/CRM/_api/v2.0/drive/items/root/children/account 

此API請求返回錯誤404

我也修改apiEndpoint到:

https://{tenant}.sharepoint.com/CRM/account/_api/v2.0 

結果是一樣的。未找到錯誤404。

請幫我正確配置。

回答