POST api/ReceiveMessage/Receive

Request Information

URI Parameters

None.

Body Parameters

MessageBase
NameDescriptionTypeAdditional information
encryptMsg

string

None.

id

string

None.

appKey

string

None.

msgType

string

None.

time

string

None.

bizContent

Object

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "appKey": "sample string 2",
  "msgType": "sample string 3",
  "time": "sample string 4",
  "bizContent": {},
  "encryptMsg": "sample string 1"
}

application/xml, text/xml

Sample:
<MessageBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Application_API.Controllers">
  <appKey>sample string 2</appKey>
  <bizContent />
  <encryptMsg>sample string 1</encryptMsg>
  <id>sample string 1</id>
  <msgType>sample string 3</msgType>
  <time>sample string 4</time>
</MessageBase>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'MessageBase'.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />