POST dz_api/IcServiceSettings/UpdateMsgTemplate

更新消息发送模板

Request Information

URI Parameters

None.

Body Parameters

PushMsgTemplateInfo
NameDescriptionTypeAdditional information
ServiceTypeId

服务类型ID

integer

None.

ServiceItemId

服务明细ID

integer

None.

SendTo

发送对象

integer

None.

Template

模板内容

string

None.

Day

integer

None.

Hour

integer

None.

Minute

integer

None.

SendType

推送方式 0:无;1:短信; 2:微信; 4:短信+微信

MessageSendTypeEnums

None.

Request Formats

application/json, text/json

Sample:
{
  "ServiceTypeId": 1,
  "ServiceItemId": 2,
  "SendTo": 3,
  "Template": "sample string 4",
  "Day": 5,
  "Hour": 6,
  "Minute": 7,
  "SendType": 0
}

application/xml, text/xml

Sample:
<PushMsgTemplateInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAa.Model.Settings">
  <Day>5</Day>
  <Hour>6</Hour>
  <Minute>7</Minute>
  <SendTo>3</SendTo>
  <SendType>None</SendType>
  <ServiceItemId>2</ServiceItemId>
  <ServiceTypeId>1</ServiceTypeId>
  <Template>sample string 4</Template>
</PushMsgTemplateInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

更新消息发送模板

MessageModel
NameDescriptionTypeAdditional information
Success

boolean

None.

Msg

string

None.

Data

Object

None.

StatusCode

StatusCode

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Msg": "sample string 2",
  "Data": {},
  "StatusCode": 100
}

application/xml, text/xml

Sample:
<MessageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAa.Model">
  <Data />
  <Msg>sample string 2</Msg>
  <StatusCode>CONTINUE</StatusCode>
  <Success>true</Success>
</MessageModel>