通过Azure API管理检索数据词表中的图像类型列中存储的全尺寸图像
我们将图像在图像类型列下的数据词表中存储在尝试使用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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论