跳到主要内容

上传媒体

用于上传与业务电话关联的媒体文件。

请求参数

名称类型描述必填
Actionstring取值:UploadMedia。
AccountIdint账户 ID。
FilestringBase64 编码的文件内容。
BusinessPhonestring业务电话号码。

请求示例

{
"Action": "UploadMedia",
"AccountId": 8899,
"BusinessPhone": "8615xxxx7",
"File":"iVBORw0KGgoAAAANSUhEUgAAASwAAACoCAMAAABt9SM9AAAAhFBMVEX///8AAAC8vLzu7u7V1dXm5ubJycn4+Pj7+/vj4+PY2Nje3t719fXx8fGSkpLOzs62traioqKYmJh+fn6oqKiPj4+wsLBdXV3Dw8Nqamp6enpycnI7OzskJCSEhIRnZ2cyMjJMTEwNDQ1EREQVFRUzMzMjIyNLS0sTExNYWFgrKyscHBw1vlJSAAAMIklEQVR4nO1d6XrqOgwkZSfQFLpAC4VDd8r7v98FCkSyJdkOIVG4zK9+JKH24NjSeGzXaldcccUVV4Rj0O0lSSNutssuiG70J7fjdZRi9vLQK7tMOtF7/I0ojJ+uTQxjMHojmdrz1Sq7fIoQPwtM7fD2UHYZlaA5dlG1w1PZ5dSAuRdVG7w2yi5q2Wj5UrXFS9mlLRf3IVxtuq647AKXh/6/MK6i/3HPFQdTtcG87FKXg4TiYjZ/Spr9Tqdd701GC+qORdnlLgNE1z6ddIyb4tGXdde4lOKWCqtdrZnuqGdFrM+1xtPj8/Lz6+Pr3/fz/CHpF1v0wtE1CHi74e+tOwP8j5ebC04g20ZtR/LtMZ1jI6zuiil68XhH9fytOx+4dbO1GSnd31NBPKI6egXm8Y8PXc+XRxcOsIZezzwy9Ji4P3PZCwcKB7y6midPqrYQhooKYhjKVcOjfwcYm9FahYFGQscwuMWADORFXE6+DQUsj9zFt7NCuJQwog/q9OO8+45h42c8Hw0fhqP7MS3e3xZQkwIAIybXRFfvkyLi9zaBvVI7eXy1b7qMURFUyBFg9ck057ZJ3Nq1X9ZL0HJuQH3kUWtEUcWLf1Z04TF2aMfKszY3Zt23kOPXoXF31QOuBDYX4b74PbLx4lIWBkv8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rcj25iW2+Y0a2rbQsTFZSQTwXR+b+YY9zgjljWUgXjR+4gtazZ/KEVN+v1Zm8ynJKDw/+wXW1BLrVz4eL7Kw49NzcGXi95HHSg7RwlMS4zFvWGb0q0wwXmOGEYsHscmLgsnSEjEi/ta3EpwuipaLFC8wFT1WtxCkaXN6hF0XpYKeNVEWjREz6zUQVs7WWgfnM7Bkc8zqbDpMJOhkLQrnfjTcZTdjGuuOKKKyqK/wBDB4bXadrN/AAAAABJRU5ErkJggg=="
}

返回参数

NameTypeDescription
ActionstringUploadMediaResponse.
RetCodeint0 for success. Error Codes.
MessagestringMessage.
RequestIdstringRequest Id.
DataobjectReturn data.

Data 数据

NameTypeDescription
IdintMedia Id.

返回数据

{
"Action": "UploadMediaResponse",
"Data": {
"Id": "76576xxxx5028"
},
"Message": "",
"RequestId": "cf3288ef-1af0-4cef-824c-ef67b5f832ea",
"RetCode": 0
}