POST api/VoiceTransformManage?text={text}
文本转换为语音消息
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| text |
需要转换的文本 |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
InfoResultOfAttachmentInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | AttachmentInfo |
None. |
|
| IsSuccess |
是否成功:true:成功,false:失败 |
boolean |
None. |
| Msg |
返回消息 |
string |
None. |
| Extra |
特定信息 |
string |
None. |
| Code |
内部代码:[成功 000000|失败 000001|未登陆/未授权 000002] |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"Id": 1,
"BusinessCode": "sample string 2",
"AttachName": "sample string 3",
"AttachUrl": "sample string 4"
},
"IsSuccess": true,
"Msg": "sample string 2",
"Extra": "sample string 3",
"Code": "sample string 4"
}
application/xml, text/xml
Sample:
<InfoResultOfAttachmentInfo8taVmWcU xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMS.Core.ShareData">
<Code>sample string 4</Code>
<Extra>sample string 3</Extra>
<IsSuccess>true</IsSuccess>
<Msg>sample string 2</Msg>
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/CMS.Domain.Dto">
<d2p1:AttachName>sample string 3</d2p1:AttachName>
<d2p1:AttachUrl>sample string 4</d2p1:AttachUrl>
<d2p1:BusinessCode>sample string 2</d2p1:BusinessCode>
<d2p1:Id>1</d2p1:Id>
</Data>
</InfoResultOfAttachmentInfo8taVmWcU>