GET api/MMGMessageTemplates/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
MMGMessageTemplateDTOName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
RuleTypeId | integer |
None. |
|
AccountId | integer |
None. |
|
GlobalTemplateId | integer |
None. |
|
SubIndustryId | integer |
None. |
|
Name | string |
None. |
|
Subject | string |
None. |
|
Body | string |
None. |
|
Description | string |
None. |
|
Status | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "RuleTypeId": 2, "AccountId": 3, "GlobalTemplateId": 1, "SubIndustryId": 1, "Name": "sample string 4", "Subject": "sample string 5", "Body": "sample string 6", "Description": "sample string 7", "Status": 8 }
application/xml, text/xml
Sample:
<MMGMessageTemplateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.DTOs"> <AccountId>3</AccountId> <Body>sample string 6</Body> <Description>sample string 7</Description> <GlobalTemplateId>1</GlobalTemplateId> <Id>1</Id> <Name>sample string 4</Name> <RuleTypeId>2</RuleTypeId> <Status>8</Status> <SubIndustryId>1</SubIndustryId> <Subject>sample string 5</Subject> </MMGMessageTemplateDTO>