POST api/Exception/PushExceptionToWeChat
Request Information
URI Parameters
None.
Body Parameters
WeChatService.Models.ExceptionModel| Name | Description | Type | Additional information |
|---|---|---|---|
| OpenID | System.String |
None. |
|
| ApplicationName | System.String |
None. |
|
| ExceptionTitle | System.String |
None. |
|
| ExceptionMsg | System.String |
None. |
Request Formats
application/json, text/json
Sample:
{
"OpenID": "sample string 1",
"ApplicationName": "sample string 2",
"ExceptionTitle": "sample string 3",
"ExceptionMsg": "sample string 4"
}
application/xml, text/xml
Sample:
<ExceptionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeChatService.Models"> <ApplicationName>sample string 2</ApplicationName> <ExceptionMsg>sample string 4</ExceptionMsg> <ExceptionTitle>sample string 3</ExceptionTitle> <OpenID>sample string 1</OpenID> </ExceptionModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
System.Net.Http.HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | System.Version |
None. |
|
| Content | System.Net.Http.HttpContent |
None. |
|
| StatusCode | System.Net.HttpStatusCode |
None. |
|
| ReasonPhrase | System.String |
None. |
|
| Headers | System.Net.Http.Headers.HttpResponseHeaders |
None. |
|
| RequestMessage | System.Net.Http.HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | System.Boolean |
None. |