发送消息,注意立即发送和定时发送都使用此接口
None.
Name | Description | Type | Additional information |
---|---|---|---|
templateInfo | MessageSendInfo |
None. |
|
receivers | Collection of integer |
None. |
|
period | string |
None. |
{ "templateInfo": { "AaId": 1, "RecordId": 2, "SendTo": 3, "AuthPhone": "sample string 4", "Sender": 5, "Source": 1010, "SendType": 0, "ScheduleSending": true, "ScheduleType": 1010, "CustmizeDate": "2025-04-04T03:50:25.0685573+08:00", "Day": 8, "Hour": 9, "UseTemplateId": 10, "Title": "sample string 11", "Body": "sample string 12", "Status": 1010, "SendDate": "2025-04-04T03:50:25.0685573+08:00", "ScheduleSendingText": "定时发送", "OrderPriority": 2, "SendDateText": "2025-04-04 03:50:25", "StatusText": "", "GroupName": "sample string 14", "MetaData": "sample string 15", "ErrorMessage": "sample string 16" }, "receivers": [ 1, 2 ], "period": "sample string 1" }
<MessageSendModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAa.WebApi.Areas.Message.Models"> <period>sample string 1</period> <receivers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </receivers> <templateInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonAa.Model.Message"> <d2p1:AaId>1</d2p1:AaId> <d2p1:AuthPhone>sample string 4</d2p1:AuthPhone> <d2p1:Body>sample string 12</d2p1:Body> <d2p1:CustmizeDate>2025-04-04T03:50:25.0685573+08:00</d2p1:CustmizeDate> <d2p1:Day>8</d2p1:Day> <d2p1:GroupName>sample string 14</d2p1:GroupName> <d2p1:Hour>9</d2p1:Hour> <d2p1:RecordId>2</d2p1:RecordId> <d2p1:ScheduleSending>true</d2p1:ScheduleSending> <d2p1:ScheduleType>CustmizeTime</d2p1:ScheduleType> <d2p1:SendDate>2025-04-04T03:50:25.0685573+08:00</d2p1:SendDate> <d2p1:SendTo>3</d2p1:SendTo> <d2p1:SendType>None</d2p1:SendType> <d2p1:Sender>5</d2p1:Sender> <d2p1:Source>Custmize</d2p1:Source> <d2p1:Status>Ready</d2p1:Status> <d2p1:Title>sample string 11</d2p1:Title> <d2p1:UseTemplateId>10</d2p1:UseTemplateId> </templateInfo> </MessageSendModel>
Sample not available.
发送消息,注意立即发送和定时发送都使用此接口
booleantrue
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>