是否可以仅使用customerAccount字符串调用api getAccount,例如& quot; X000011& quot; ? [英] is it possible to call api getAccount using only the customerAccount String like "X000011" ?

查看:67
本文介绍了是否可以仅使用customerAccount字符串调用api getAccount,例如& quot; X000011& quot; ?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以仅使用customerAccount String调用api getAccount,例如"X000011"。 ?

is it possible to call api getAccount using only the customerAccount String like "X000011" ?

或如何使用customerAccount字符串获取accountId?

or how to get the accountId using the customerAccount String?

谢谢。

推荐答案

您可以使用SearchAccounts操作 并指定AccountNumber
谓词
字段。 有关如何搜索可由当前经过身份验证的用户管理的帐户的代码示例,请参阅  C#   |   Java   |   PHP   |   Python  这些
样本显示了如何使用SearchAccounts,您可以更新样本以按AccountNumber而不是UserId进行搜索。如果您有任何问题,请告诉我。

You can use the SearchAccounts operation and specify the AccountNumber predicate field. For code examples that show how to search for accounts that can be managed by the current authenticated user, see C# | Java | PHP | Python. Those samples show how to use SearchAccounts, and you can update the sample to search by AccountNumber instead of by UserId. Please let me know if you have any questions.

我希望这有帮助!


这篇关于是否可以仅使用customerAccount字符串调用api getAccount,例如& quot; X000011& quot; ?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆