PUT api/SaiSMSTemplate
Request Information
URI Parameters
None.
Body Parameters
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. |
Request 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-16T14:46:58.91663+00:00",
"CreatedBy": "sample string 9",
"UpdatedOn": "2025-12-16T14:46:58.91663+00:00",
"UpdatedBy": "sample string 10",
"IsLockedForEditing": true,
"LockedBy": "sample string 12",
"Id": 13,
"FieldPermissions": []
}
application/xml, text/xml
Sample:
<SaiSMSTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.SAI"> <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-16T14:46:58.91663+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-16T14:46:58.91663+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>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
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-16T14:46:59.1978736+00:00",
"CreatedBy": "sample string 9",
"UpdatedOn": "2025-12-16T14:46:59.1978736+00:00",
"UpdatedBy": "sample string 10",
"IsLockedForEditing": true,
"LockedBy": "sample string 12",
"Id": 13,
"FieldPermissions": []
}
application/xml, text/xml
Sample:
<SaiSMSTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.SAI"> <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-16T14:46:59.1978736+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-16T14:46:59.1978736+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>