post https://yourorgsite.com/api/Message/_execute
Executes an operation of Message
With the Message service, you can perform the following operations on the execute endpoint:
- SendSystemEmail
- SendEmailFrom
- SendSystemEmailAsync
SendSystemEmail
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "SendSystemEmail",
"EntityTypeName": "Message",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "Asi.Soa.Communications.DataContracts.MessageData, Asi.Contracts",
"$value": "message Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"Asi.Soa.Communications.DataContracts.MessageData, Asi.Contracts"
]
},
"UseJson": false
}
SendEmailFrom
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "SendEmailFrom",
"EntityTypeName": "Message",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "Asi.Soa.Communications.DataContracts.MessageData, Asi.Contracts",
"$value": "message Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"Asi.Soa.Communications.DataContracts.MessageData, Asi.Contracts"
]
},
"UseJson": false
}
SendSystemEmailAsync
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "SendSystemEmailAsync",
"EntityTypeName": "Message",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "Asi.Soa.Communications.DataContracts.MessageData, Asi.Contracts",
"$value": "message Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"Asi.Soa.Communications.DataContracts.MessageData, Asi.Contracts"
]
},
"UseJson": false
}