GET api/SMSTemplate/GetAllSMSTemplate
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of SMSTemplateDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| title | string |
None. |
|
| body | string |
None. |
|
| agentId | integer |
None. |
|
| isReminder | boolean |
None. |
|
| day | integer |
None. |
|
| month | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": 1,
"title": "sample string 2",
"body": "sample string 3",
"agentId": 4,
"isReminder": true,
"day": 1,
"month": 1
},
{
"id": 1,
"title": "sample string 2",
"body": "sample string 3",
"agentId": 4,
"isReminder": true,
"day": 1,
"month": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfSMSTemplateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Application.DTOs">
<SMSTemplateDTO>
<agentId>4</agentId>
<body>sample string 3</body>
<day>1</day>
<id>1</id>
<isReminder>true</isReminder>
<month>1</month>
<title>sample string 2</title>
</SMSTemplateDTO>
<SMSTemplateDTO>
<agentId>4</agentId>
<body>sample string 3</body>
<day>1</day>
<id>1</id>
<isReminder>true</isReminder>
<month>1</month>
<title>sample string 2</title>
</SMSTemplateDTO>
</ArrayOfSMSTemplateDTO>