POST api/WeChat/CustomerSendMessageVoice
Request Information
URI Parameters
None.
Body Parameters
Req_CustomerSendMessageVoice_Model| Name | Description | Type | Additional information |
|---|---|---|---|
| touser | string |
None. |
|
| msgtype | string |
None. |
|
| voice | Fid_CustomerSendMessageMedia |
None. |
Request Formats
application/json, text/json
Sample:
{
"touser": "sample string 1",
"msgtype": "sample string 2",
"voice": {
"media_id": "sample string 1"
}
}
application/xml, text/xml
Sample:
<Req_CustomerSendMessageVoice_Model xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ys.Mall.Service">
<msgtype>sample string 2</msgtype>
<touser>sample string 1</touser>
<voice>
<media_id>sample string 1</media_id>
</voice>
</Req_CustomerSendMessageVoice_Model>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BaseApiResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| header | APIResponseHeader |
None. |
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<BaseApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ys.Mall.Service"> <header i:nil="true" /> </BaseApiResponse>