POST api/message/template/createEdit
Request Information
URI Parameters
None.
Body Parameters
MessageTemplateCreateEditView| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| IsCreate | boolean |
None. |
|
| Title | string |
None. |
|
| Text | string |
None. |
|
| RelatedTypeCode | string |
None. |
|
| SendingChannel | SendingChannel |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"IsCreate": true,
"Title": "sample string 3",
"Text": "sample string 4",
"RelatedTypeCode": "sample string 5",
"SendingChannel": 0
}
application/xml, text/xml
Sample:
<MessageTemplateCreateEditView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.MessageTemplateView"> <Id>1</Id> <IsCreate>true</IsCreate> <RelatedTypeCode>sample string 5</RelatedTypeCode> <SendingChannel>None</SendingChannel> <Text>sample string 4</Text> <Title>sample string 3</Title> </MessageTemplateCreateEditView>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.