POST api/comunicacoes/template

Reenvia a bat eletronica

Request Information

URI Parameters

None.

Body Parameters

WilsonSons.Terminais.WSNegocio.Modelo.DTOs.SmsTemplateDTO
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Content

string

None.

Version

integer

None.

TypeCode

string

None.

EventIds

Collection of integer

None.

VariableGroupId

integer

None.

VariableSetIds

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Content": "sample string 3",
  "Version": 4,
  "TypeCode": "sample string 5",
  "EventIds": [
    1,
    2
  ],
  "VariableGroupId": 1,
  "VariableSetIds": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<SmsTemplateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WilsonSons.Terminais.WSNegocio.Modelo.DTOs">
  <Content>sample string 3</Content>
  <EventIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </EventIds>
  <Id>1</Id>
  <Name>sample string 2</Name>
  <TypeCode>sample string 5</TypeCode>
  <VariableGroupId>1</VariableGroupId>
  <VariableSetIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </VariableSetIds>
  <Version>4</Version>
</SmsTemplateDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

System.Web.Http.IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.