GET api/SaiSMSTemplate/GetAllSMSTemplates/{accountId}/{companyId}/{saiSMSTemplateCategoryId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| accountId | integer |
Required |
|
| companyId | string |
Required |
|
| saiSMSTemplateCategoryId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of SaiSMSTemplate| Name | Description | Type | Additional information |
|---|---|---|---|
| SaiSMSTemplateId | integer |
None. |
|
| SaiSMSTemplateCategoryId | integer |
None. |
|
| MessageText | string |
None. |
|
| SMSType | SMSType |
None. |
|
| SMSTemplateName | string |
None. |
|
| TypeFullName | string |
None. |
|
| AccountId | integer |
None. |
|
| CompanyId | string |
None. |
|
| CreatedOn | date |
None. |
|
| CreatedBy | string |
None. |
|
| UpdatedOn | date |
None. |
|
| UpdatedBy | string |
None. |
|
| IsLockedForEditing | boolean |
None. |
|
| LockedBy | string |
None. |
|
| Id | integer |
None. |
|
| FieldPermissions | Collection of DTOFieldPermission |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"SaiSMSTemplateId": 1,
"SaiSMSTemplateCategoryId": 2,
"MessageText": "sample string 3",
"SMSType": 31,
"SMSTemplateName": "sample string 4",
"TypeFullName": "sample string 5",
"AccountId": 6,
"CompanyId": "sample string 7",
"CreatedOn": "2025-12-16T17:00:50.3564525+00:00",
"CreatedBy": "sample string 9",
"UpdatedOn": "2025-12-16T17:00:50.3564525+00:00",
"UpdatedBy": "sample string 10",
"IsLockedForEditing": true,
"LockedBy": "sample string 12",
"Id": 13,
"FieldPermissions": []
},
{
"SaiSMSTemplateId": 1,
"SaiSMSTemplateCategoryId": 2,
"MessageText": "sample string 3",
"SMSType": 31,
"SMSTemplateName": "sample string 4",
"TypeFullName": "sample string 5",
"AccountId": 6,
"CompanyId": "sample string 7",
"CreatedOn": "2025-12-16T17:00:50.3564525+00:00",
"CreatedBy": "sample string 9",
"UpdatedOn": "2025-12-16T17:00:50.3564525+00:00",
"UpdatedBy": "sample string 10",
"IsLockedForEditing": true,
"LockedBy": "sample string 12",
"Id": 13,
"FieldPermissions": []
}
]
application/xml, text/xml
Sample:
<ArrayOfSaiSMSTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.SAI">
<SaiSMSTemplate>
<Id xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">13</Id>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 9</CreatedBy>
<CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">2025-12-16T17:00:50.3564525+00:00</CreatedOn>
<IsLockedForEditing xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">true</IsLockedForEditing>
<LockedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 12</LockedBy>
<UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 10</UpdatedBy>
<UpdatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">2025-12-16T17:00:50.3564525+00:00</UpdatedOn>
<AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">6</AccountId>
<CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 7</CompanyId>
<MessageText>sample string 3</MessageText>
<SMSTemplateName>sample string 4</SMSTemplateName>
<SMSType>CallBooked</SMSType>
<SaiSMSTemplateCategoryId>2</SaiSMSTemplateCategoryId>
<SaiSMSTemplateId>1</SaiSMSTemplateId>
<TypeFullName>sample string 5</TypeFullName>
</SaiSMSTemplate>
<SaiSMSTemplate>
<Id xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">13</Id>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 9</CreatedBy>
<CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">2025-12-16T17:00:50.3564525+00:00</CreatedOn>
<IsLockedForEditing xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">true</IsLockedForEditing>
<LockedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 12</LockedBy>
<UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 10</UpdatedBy>
<UpdatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">2025-12-16T17:00:50.3564525+00:00</UpdatedOn>
<AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">6</AccountId>
<CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 7</CompanyId>
<MessageText>sample string 3</MessageText>
<SMSTemplateName>sample string 4</SMSTemplateName>
<SMSType>CallBooked</SMSType>
<SaiSMSTemplateCategoryId>2</SaiSMSTemplateCategoryId>
<SaiSMSTemplateId>1</SaiSMSTemplateId>
<TypeFullName>sample string 5</TypeFullName>
</SaiSMSTemplate>
</ArrayOfSaiSMSTemplate>