POST api/Bank/SendSubscribeMessage

发送消息

Request Information

URI Parameters

None.

Body Parameters

SendSubscribeMessage_Par
NameDescriptionTypeAdditional information
TemplateId

string

None.

Content

Object

None.

RedirctPage

string

None.

ToUser

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TemplateId": "sample string 1",
  "Content": {},
  "RedirctPage": "sample string 3",
  "ToUser": "sample string 4"
}

application/xml, text/xml

Sample:
<SendSubscribeMessage_Par xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BPMS.OpenApi.Model.Bank.ParameterModel">
  <Content />
  <RedirctPage>sample string 3</RedirctPage>
  <TemplateId>sample string 1</TemplateId>
  <ToUser>sample string 4</ToUser>
</SendSubscribeMessage_Par>

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 'SendSubscribeMessage_Par'.

Response Information

Resource Description

ApiResult
NameDescriptionTypeAdditional information
code

integer

None.

msg

string

None.

errMsg

string

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "msg": "sample string 2",
  "errMsg": "sample string 3",
  "data": {}
}

application/xml, text/xml

Sample:
<ApiResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BPMS.OpenApi.Model.ManageBase">
  <code>1</code>
  <data />
  <errMsg>sample string 3</errMsg>
  <msg>sample string 2</msg>
</ApiResult>