如何通过API从Zoho广告资源中获取完整的图像URL?

问题描述 投票:0回答:1

我从api响应中获得了此文档:https://inventory.zoho.com/api/v1/items/{item_id}

"documents":[
{
"source_formatted":"Desktop",
"can_send_in_mail":false,
"file_name":"Personalization-vantage-technology.jpg",
"file_type":"jpg",
"file_size_formatted":"40.2 KB",
"attachment_order":1,
"source":"desktop",
"document_id":"1877812000004113075",
"file_size":"41179",
"alter_text":""
}
],

问题是如何获取完整的图像URL?我想在我的网站上显示图片。

image api inventory zoho
1个回答
0
投票

我从Zoho得到了答案。该API返回图像,请记住使用item_id

Greetings from Zoho Inventory!

We would like to inform you that in order to retrieve image of an item you can use the below API request.

https://inventory.zoho.com/api/v1/items/{item_id}/image?authtoken=XXXXX&organization_id=XXXXX

METHOD: GET


Hope this helps. 

If you have further queries, kindly feel free to get back to us.

© www.soinside.com 2019 - 2024. All rights reserved.