上传机构图像
每个机构都有一个独特的标志或形象。您可以使用此API上传和更新机构图像。
目的
上传机构的品牌标志或图像
请求URL
https://www.zohoapis.com.cn/crm/v2/org/photo
请求方法
POST
范围
scope=ZohoCRM.org.{operation_type}
| 可能的操作类型 |
|---|
| ALL - 完全访问机构数据 CREATE - 上传机构图像 WRITE - 编辑机构数据 |
参数
| 参数名称 | 数据类型 | 描述 |
|---|---|---|
| file (必填) | File | 选择您要上传的图像 |
示例请求
在这个请求中,"file=@img1.png" 包含了示例图像。
curl "https://www.zohoapis.com.cn/crm/v2/org/photo"
-X POST
-H "Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxxxxxxx9be93.9b8xxxxxxxxxxxxxxxf"
-F "file=@img1.png" 示例响应
{
"message": "photo uploaded successfully",
"details": {},
"status": "success",
"code": "SUCCESS",
}