通过Azure API管理检索数据词表中的图像类型列中存储的全尺寸图像

发布于 2025-01-31 05:19:14 字数 683 浏览 6 评论 0原文

我们将图像在图像类型列下的数据词表中存储在尝试使用API​​管理的ODATA调用时,它仅在图标大小(144x144)以返回图像。

我试图使用[组织URI]/api/data/v9.1/accounts(C0864F1C-0B71-E911-E911-8196-000D3A6D09B3)/myentityimage/$ value?未对后端进行身份验证,因此在测试它的过程中,它在生产环境中无法使用。

我们使用FetchXML构建了ODATA查询。它为我们提供了选择在Base64中返回的图像,但仅作为图标(144x144)。

有什么方法使用此方法返回完整图像。我找不到

我们正在使用的size = fult fetchxml。

<fetch>
<entity name="[Entity Name]">
<attribute name="bt_attachment" />
</entity>
</fetch>

ODATA查询它生成的。

https://[Organization URI].crm4.dynamics.com/api/data/v9.2/[Table Name]?$select=bt_attachment

图像列是唯一的返回。

We are storing images in a dataverse table under the Image type column When trying to retrieve it using an OData call through API management it only returns the image at icon size(144x144).

I have tried to use [Organization URI]/api/data/v9.1/accounts(C0864F1C-0B71-E911-8196-000D3A6D09B3)/myentityimage/$value?size=full but the clients are not authenticated to the backend so while it works in testing it wont work in a production environment.

We build up our OData query using FetchXML. It gives us the option to select the image which returns it in BASE64 but only as a icon(144x144).

Is there any way using this method to return the full image. I cannot find how to append the Size=Full

FetchXML we are using.

<fetch>
<entity name="[Entity Name]">
<attribute name="bt_attachment" />
</entity>
</fetch>

OData query that it generates.

https://[Organization URI].crm4.dynamics.com/api/data/v9.2/[Table Name]?$select=bt_attachment

The image column is the only one return.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文