GET api/v1/templatecommunications/{code}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| code | string |
Required |
Body Parameters
None.
Response Information
Resource Description
SingleResultResponseOfTemplateCommunicationDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Meta | MetaSingleResult |
None. |
|
| Notifications |
None. |
Response Formats
application/json, text/json
Sample:
{
"meta": {},
"notifications": [
{},
{}
],
"result": {
"id": "dc0330f5-4906-4505-b062-10d6864f7175",
"code": "sample string 1",
"name": "sample string 2",
"url": "sample string 3",
"urlScreenshot": "sample string 4",
"languageCode": "sample string 5",
"channelCommunicationCode": "sample string 6",
"campaignTypeCode": "sample string 7"
}
}
application/xml, text/xml
Sample:
<SingleResultResponseOfTemplateCommunicationDtoaM_S85dVU xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Presentation.WebApi.Dtos.Response">
<Meta />
<Notifications>
<Notification />
<Notification />
</Notifications>
<Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/Domain.Dtos">
<d2p1:CampaignTypeCode>sample string 7</d2p1:CampaignTypeCode>
<d2p1:ChannelCommunicationCode>sample string 6</d2p1:ChannelCommunicationCode>
<d2p1:Code>sample string 1</d2p1:Code>
<d2p1:Id>dc0330f5-4906-4505-b062-10d6864f7175</d2p1:Id>
<d2p1:LanguageCode>sample string 5</d2p1:LanguageCode>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:Url>sample string 3</d2p1:Url>
<d2p1:UrlScreenshot>sample string 4</d2p1:UrlScreenshot>
</Result>
</SingleResultResponseOfTemplateCommunicationDtoaM_S85dVU>