PUT api/comunicacoes/evento
Altera as informações de um evento
Request Information
URI Parameters
None.
Body Parameters
WilsonSons.Terminais.WSNegocio.Modelo.DTOs.SmsEventChangeDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Title | string |
None. |
|
| VariableGroupId | integer |
None. |
|
| TemplateId | integer |
None. |
|
| Active | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Title": "sample string 2",
"VariableGroupId": 3,
"TemplateId": 4,
"Active": true
}
application/xml, text/xml
Sample:
<SmsEventChangeDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WilsonSons.Terminais.WSNegocio.Modelo.DTOs"> <Active>true</Active> <Id>1</Id> <TemplateId>4</TemplateId> <Title>sample string 2</Title> <VariableGroupId>3</VariableGroupId> </SmsEventChangeDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.