PUT api/v1/autocommunicationconfigtemps/{code}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
code

string

Required

Body Parameters

AutoCommunicationConfigTempDto
NameDescriptionTypeAdditional information
Code

string

None.

IsEnabled

boolean

None.

Subject

string

None.

Body

string

None.

BodyTemplate

string

None.

Query

string

None.

Frecuency

AutoCommunicationFrecuency

None.

Minute

integer

None.

Hour

integer

None.

Day

integer

None.

Month

integer

None.

LastTemplateUpdated

date

None.

TemplateCommunicationCode

string

None.

PromotionCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "code": "sample string 1",
  "isEnabled": true,
  "subject": "sample string 3",
  "body": "sample string 4",
  "bodyTemplate": "sample string 5",
  "query": "sample string 6",
  "frecuency": 0,
  "minute": 1,
  "hour": 1,
  "day": 1,
  "month": 1,
  "lastTemplateUpdated": "2025-08-31T09:10:44.0806618+00:00",
  "templateCommunicationCode": "sample string 8",
  "promotionCode": "sample string 9"
}

application/xml, text/xml

Sample:
<AutoCommunicationConfigTempDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Domain.Dtos">
  <Body>sample string 4</Body>
  <BodyTemplate>sample string 5</BodyTemplate>
  <Code>sample string 1</Code>
  <Day>1</Day>
  <Frecuency>Daily</Frecuency>
  <Hour>1</Hour>
  <IsEnabled>true</IsEnabled>
  <LastTemplateUpdated>2025-08-31T09:10:44.0806618+00:00</LastTemplateUpdated>
  <Minute>1</Minute>
  <Month>1</Month>
  <PromotionCode>sample string 9</PromotionCode>
  <Query>sample string 6</Query>
  <Subject>sample string 3</Subject>
  <TemplateCommunicationCode>sample string 8</TemplateCommunicationCode>
</AutoCommunicationConfigTempDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.