简体   繁体   English

Mindbody API:如何将值列表传递给postman中的参数?

[英]Mindbody API: How to pass a list of values to a parameter in postman?

I am new to API integration and working on a project associated with Mindbody API.我是 API 集成的新手,正在从事与 Mindbody API 相关的项目。
Take API documentation for getting clients' services as an example, as the picture shows, I had to specify the client's ID and program's ID to get the data.以获取客户服务的API文档为例,如图所示,我必须指定客户ID和程序ID才能获取数据。 But this approach is limited to a single service related to a client only .但这种方法仅限于与一个客户端相关的单个服务 However, what if I want ALL the services that ALL the clients ever had?但是,如果我想要所有客户曾经拥有的所有服务怎么办? What would be the most efficient approach to have a list for the parameters, ClientID and ProgramID?获得参数、ClientID 和 ProgramID 列表的最有效方法是什么? enter image description here在此处输入图像描述
(Mindbody API Documentation: https://developers.mindbodyonline.com/PublicDocumentation/V6 ) (Mindbody API 文档: https://developers.mindbodyonline.com/PublicDocumentation/V6

Thank you in advance!先感谢您!

Use the Clients endpoint to get the clients, then iterate through that list requesting all ClientServices for each Client.使用Clients 端点获取客户端,然后遍历该列表,为每个客户端请求所有ClientServices

Note that the requests could be paginated, so you may need to make multiple requests to get all the Clients and then multiple ClientServices requests per client, depending on how the limits are all configured.请注意,请求可以分页,因此您可能需要发出多个请求以获取所有客户端,然后每个客户端发出多个 ClientServices 请求,具体取决于所有限制的配置方式。

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

相关问题 在 postman api 工具中传递两个参数列表 - Pass two parameter list in postman api tool 如何在 Postman 中存储值列表,然后在 API 调用中传递列表中的随机值? - How to store a list of values in Postman and then pass a random value from the list in a API call? 如何将JSON中的参数传递给append列表中的单个数据(Documentum REST API)POSTMAN - How to pass the parameter in JSON to append single data in list (Documentum REST API) POSTMAN 如何从Postman中传递带有“#”的参数值? - How to pass parameter values from Postman which has '#' in it? 如何通过 postman 将 JSON 字符串作为参数传递 - How to pass JSON string as parameter through postman 在 Postman 中构建 API 时,有没有办法将数组/列表存储为变量/参数? - Is there any way to store array/list as variable/parameter in constructing an API in Postman? 邮递员无法为C#Web API的字典参数设置值 - Postman unable to set values to dictionary parameter for C# web api 如何在 postman 中获取同一查询参数的所有值 - How I can get all values of the same query parameter in the postman 如何使用 Header 和 API 的请求参数查看 Postman 中的响应 - How to see the response in Postman with Header and Request parameter for API Postman API-如何将环境变量传递给另一个请求jason body - Postman API -how to pass environment variable to another request jason body
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM