简体   繁体   English

我可以通过 MindBody API 将所有工作室的详细信息从 Mindbody 获取到我的应用程序吗?

[英]Can I get all the studio's detail from Mindbody to my application through the MindBody API?

I am working on an app where I need to integrate the MindBody API, and I have accessed it successfully, but the problem is that I am not sure whether I can get only my studio related data or all the studio related data which are available on MindBody Website.我正在开发一个需要集成 MindBody API 的应用程序,我已成功访问它,但问题是我不确定我是否只能获取我的工作室相关数据或所有可用的工作室相关数据MindBody 网站。

I have registered on MindBody website and got login credential for developer like:我已在 MindBody 网站上注册并获得了开发人员的登录凭据,例如:

username: Siteowner用户名:网站Siteowner

password: abc密码: abc

I have also downloaded sample iOS code from https://github.com/arrak-rukkharat/API-Integration-iOS and inserted my credential and it's working well.我还从https://github.com/arrak-rukkharat/API-Integration-iOS下载了示例 iOS 代码并插入了我的凭据,它运行良好。

But the main thing is I want all the studio's data not only mine.但最重要的是我想要工作室的所有数据,而不仅仅是我的。 So is it possible?那么有可能吗? Can I get all the studio's data through this API call?我可以通过这个 API 调用获取工作室的所有数据吗? Please provide me any sources related to this confusion.请向我提供与此混淆相关的任何来源。

thanks谢谢

Everything depends on which exactly data you what to request using API.一切都取决于您使用 API 请求什么数据。

You should be able to get limited information of any studio using your dev credentials only, sending them as SourceCredentials in your API requests.您应该能够仅使用您的开发凭据获取任何工作室的有限信息,将它们作为SourceCredentials在您的 API 请求中发送。

You need to be granted access by the studios to get all information (available with API) for any studio , sending also UserCredentials in you API requests - these are either your developer credentials (but username is with underscore in the beggining) or the studio's staff/owner user credentials.您需要获得工作室的访问权限才能获取任何工作室的所有信息(可通过 API 获得),在您的 API 请求中发送UserCredentials - 这些是您的开发人员凭据(但用户名在开头带有下划线)或工作室的工作人员/owner 用户凭据。

More information about authentication (how to be granted access), SourceCredentials and UserCredentials is available in : Mindbodyonline documentation有关身份验证(如何授予访问权限)、SourceCredentials 和 UserCredentials 的更多信息,请参见: Mindbodyonline 文档

The other useful source is a list of API methods that provides an overview of each method.另一个有用的来源是 API 方法列表,其中提供了每种方法的概述。 Normally a method that requires UserCredentials is marked with a line 'This requires a staff credentials' or similar.通常,需要 UserCredentials 的方法标有一行“这需要员工凭据”或类似内容。 For example take a look at ClassService.UpdateClientVisits() documentation.例如查看ClassService.UpdateClientVisits()文档。 Methods that aren't marked with such line should provide you information for any studio without any additional authentication except your dev credentials (SourceCredentials).没有用这样的行标记的方法应该为您提供任何工作室的信息,除了您的开发凭据 (SourceCredentials) 外,无需任何其他身份验证。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 iOS SOAP对Mindbody API的请求 - iOS SOAP request for Mindbody API 如何通过应用程序为所有不同的UITableView赋予相同的外观? - How can I give the same look to all my different UITableViews through my application? 如何获得通过反射在应用程序中解析的每个程序集,名称空间和类的列表? - How can I get a list of every assembly, namespace, and class resolved through reflection in my application? 如何获得我的built.io应用程序中上载的所有文件的列表? - How can I get the list of all the files uploaded in my built.io application? 如何获取系统UITableVIewCell的详细标签的文本颜色? - How can I get the text color of a system UITableVIewCell's detail label? 如何从我的选项卡barviewcontroller应用程序注销并在iPhone应用程序的“所有”选项卡上刷新? - How can I logout from my tab barviewcontroller application and refresh on iphone apps all tab? 如何在我的应用程序中使用React native打开iOS中的联系人详细信息屏幕 - How can i open contact detail screen in iOS from my app in React native 如何通过javascript的WebView获取Android / iOS应用程序的权限? - How can I get the permissions of my Android / iOS application from my WebView in javascript? 如何创建带有导航栏和三个详细视图的应用程序? - How can I create a an application with a navigation bar and three detail views? 我该如何使用AppFigures api通过curl命令获取应用程序的下载统计数据 - how can i use AppFigures api to get the data of downloads stats of my application using curl command
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM