POST api/SMSTemplate/Add
Add SMS template
Request Information
URI Parameters
None.
Body Parameters
SMSTemplate| Name | Description | Type | Additional information |
|---|---|---|---|
| SMSTemplateID | integer |
None. |
|
| SubscriberID | integer |
None. |
|
| SMSTemplateName | string |
None. |
|
| Message | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"SMSTemplateID": 1,
"SubscriberID": 2,
"SMSTemplateName": "sample string 3",
"Message": "sample string 4"
}
application/xml, text/xml
Sample:
<SMSTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XPH.Entities.Settings"> <Message>sample string 4</Message> <SMSTemplateID>1</SMSTemplateID> <SMSTemplateName>sample string 3</SMSTemplateName> <SubscriberID>2</SubscriberID> </SMSTemplate>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
JsonResultOfString| Name | Description | Type | Additional information |
|---|---|---|---|
| Content | string |
None. |
|
| SerializerSettings | JsonSerializerSettings |
None. |
|
| Encoding | Encoding |
None. |
|
| Request | HttpRequestMessage |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.