POST CreateCustomAlert

Crear Alerta

Request Information

URI Parameters

None.

Body Parameters

información para crear la alerta

CustomAlert
NameDescriptionTypeAdditional information
Type

Tipo de alerta

string

Required

String length: inclusive between 0 and 45

Method

Método de notificación: EMAIL

string

Required

String length: inclusive between 0 and 45

BodyType

Tipo de contenido: HTML

string

Required

String length: inclusive between 0 and 45

Title

Título de la notificación

string

Required

Body

Contenido de la notificación

string

Required

InternalTemplates

HTML interno

string

Optional

Name

Nombre de la alerta

string

Required

Emitter

Enviar al emisor

boolean

Optional

Acquiring

Enviar al adquirente

boolean

Optional

Request Formats

application/json, text/json

Sample:
{
  "Type": "sample string 1",
  "Method": "sample string 2",
  "BodyType": "sample string 3",
  "Title": "sample string 4",
  "Body": "sample string 5",
  "InternalTemplates": "sample string 6",
  "Name": "sample string 7",
  "Emitter": true,
  "Acquiring": true
}

application/xml, text/xml

Sample:
<CustomAlert xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIRestUBL21.Models">
  <Acquiring>true</Acquiring>
  <Body>sample string 5</Body>
  <BodyType>sample string 3</BodyType>
  <Emitter>true</Emitter>
  <InternalTemplates>sample string 6</InternalTemplates>
  <Method>sample string 2</Method>
  <Name>sample string 7</Name>
  <Title>sample string 4</Title>
  <Type>sample string 1</Type>
</CustomAlert>

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.