英文:
Cost management supplier Id
问题
- 根据获取支付终端点,companyId返回"供应商公司的ID。这是由BIM 360管理员管理的公司的ID。",问题是它返回一个数值,如23845621,而获取公司终端点返回GUID。如何使用数值获取公司信息?
- 如何使用Forge API获取/编辑支付的税务信息?
英文:
I have two questions regarding cost management API
- According to the Get payment endpoint, companyId returns "The ID of a supplier company. This is the ID of a company managed by BIM 360 Admin.", the issue it returns a numeric value such as 23845621 while the Get companies endpoint returns GUID. How can I get the company info using the numeric value?
- How can I get/edit tax info for payments using forge API?
答案1
得分: 0
对于公司ID,有两种不同的值,
- GUID值,这是一个账户级别的公司ID,与任何项目无关,您可以通过https://aps.autodesk.com/en/docs/bim360/v1/reference/http/companies-GET/端点获取。
- 数值,比如您描述的23845621,实际上是项目公司ID,您可以通过https://aps.autodesk.com/en/docs/bim360/v1/reference/http/projects-:project_id-companies-GET/端点获取,而member_group_id是属性名称,您可以使用这个ID与成本进行通信。
关于付款中的税务信息,API尚未公开,我将单独与您讨论这个请求。
英文:
For company id, there are 2 different values,
- GUID value, which is an account level company ID, and not related to any project, you can get it by the endpoint https://aps.autodesk.com/en/docs/bim360/v1/reference/http/companies-GET/.
- Numeric value such as 23845621 from your description, this is actually a project company id, which you can get by the endpoint https://aps.autodesk.com/en/docs/bim360/v1/reference/http/projects-:project_id-companies-GET/, and the member_group_id is the property name, you can use this id to communicate with Cost.
About the tax info from payment, this is not exposed by API yet, I will talk to you separately about this request.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论