GET api/v3/sntemplate/{id}/delete
Deletes the templates with the specified id value. A template is only deleted when there is/are not notices attached to it.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The integer identifer for the templete to delete. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
SiteNoticeTemplateName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
Required |
|
CompanyId | integer |
None. |
|
DivisionId | integer |
None. |
|
CreatedBy | string |
None. |
|
Created | date |
None. |
|
UpdatedBy | string |
None. |
|
Updated | date |
None. |
|
Locked | boolean |
None. |
|
Countries | Collection of SiteNoticeTemplateCountry |
None. |
|
Notices | Collection of SiteNotice3 |
None. |
|
DivisionName | string |
None. |
|
CountryNames | Collection of string |
None. |
|
NoticeCount | integer |
None. |
Response Formats
application/json
Sample:
text/json
Sample: