簡體   English   中英

Acumatica API 獲取圖像

[英]Acumatica API Get Image

再會

我正在嘗試使用 postman 獲取庫存商品的圖像。

我需要遵循的步驟如下。 Select 庫存項目使用 API 調用:

URL/entity/Endpoint/1/stockItem?$filter=InventoryID eq 'ABC011'

通過這個調用,我得到了 ImageURL 字段在此處輸入圖像描述

我可以使用它來獲取鏈接到 Stock Item 的相應圖像嗎?

您可以使用(根據您提供的 url)訪問圖像/文件:

URL/entity/Endpoint/1/stockItem/ABC011/files/YourImageName.jpg

請參閱 Postman 中的以下示例: 在此處輸入圖像描述

You can review this article on how to attach files with REST API as well: https://asiablog.acumatica.com/2018/01/attach-files-with-rest-api.html

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM