POST api/ConfigurationNotification/Range
Guardar rango a la plantilla
Request Information
URI Parameters
None.
Body Parameters
Datos
NotificationSchemaRangePostModelApi| Name | Description | Type | Additional information |
|---|---|---|---|
| GrantorTaxId |
RFC del grantor |
string |
Required |
| TemplateMailId |
Identificador del template email |
globally unique identifier |
Required |
| TemplateIvrId |
Identificador del template de llamada |
globally unique identifier |
None. |
| BaseDateId | byte |
None. |
|
| NotificationEventId |
Identificador del evento |
integer |
None. |
| CollectionDaysRangeId |
Identificador del rango de dias |
integer |
None. |
| NotificationSchemaId |
Plantila a la que se le va asignar |
globally unique identifier |
None. |
| NotificationSchemaDetailEventId |
Identificador (null o default value se toma como nuevo, si viene con valor edita) |
globally unique identifier |
None. |
| Days |
Numero de dias |
integer |
Required |
| SendEventsToCreditRateId | integer |
None. |
|
| ShowDocumentDetailId | integer |
None. |
|
| Plus_MinusId | byte |
None. |
Request Formats
application/json, text/json
Sample:
{
"GrantorTaxId": "sample string 1",
"TemplateMailId": "08de1e45-d39e-f818-ba1f-9f47d4d976ac",
"TemplateIvrId": "08de1e45-d39e-f818-ba1f-9f47d4d976ad",
"BaseDateId": 64,
"NotificationEventId": 3,
"CollectionDaysRangeId": 4,
"NotificationSchemaId": "08de1e45-d39e-f818-ba1f-9f47d4d976ae",
"NotificationSchemaDetailEventId": "08de1e45-d39e-f818-ba1f-9f47d4d976af",
"Days": 1,
"SendEventsToCreditRateId": 6,
"ShowDocumentDetailId": 7,
"Plus_MinusId": 64
}
application/xml, text/xml
Sample:
<NotificationSchemaRangePostModelApi xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <GrantorTaxId>sample string 1</GrantorTaxId> <TemplateMailId>08de1e45-d39e-f818-ba1f-9f47d4d976ac</TemplateMailId> <TemplateIvrId>08de1e45-d39e-f818-ba1f-9f47d4d976ad</TemplateIvrId> <BaseDateId>64</BaseDateId> <NotificationEventId>3</NotificationEventId> <CollectionDaysRangeId>4</CollectionDaysRangeId> <NotificationSchemaId>08de1e45-d39e-f818-ba1f-9f47d4d976ae</NotificationSchemaId> <NotificationSchemaDetailEventId>08de1e45-d39e-f818-ba1f-9f47d4d976af</NotificationSchemaDetailEventId> <Days>1</Days> <SendEventsToCreditRateId>6</SendEventsToCreditRateId> <ShowDocumentDetailId>7</ShowDocumentDetailId> <Plus_MinusId>64</Plus_MinusId> </NotificationSchemaRangePostModelApi>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseModelApiOfGuid| Name | Description | Type | Additional information |
|---|---|---|---|
| success |
Indica si la solicitud se procesó de manera satisfactoria |
boolean |
None. |
| message |
Mensaje de la solicitud |
string |
None. |
| messageDetail |
Lista de mensajes |
Collection of string |
None. |
| failureCode |
Código de error en caso de existir |
string |
None. |
| data |
Layout de respuesta de la solicitud |
globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"message": "sample string 2",
"messageDetail": [
"sample string 1",
"sample string 2"
],
"failureCode": "sample string 3",
"data": "08de1e45-d3a3-bd24-ba1f-9f47d4d976b0"
}
application/xml, text/xml
Sample:
<ResponseModelApiOfGuid xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<success>true</success>
<message>sample string 2</message>
<messageDetail>
<string>sample string 1</string>
<string>sample string 2</string>
</messageDetail>
<failureCode>sample string 3</failureCode>
<data>08de1e45-d3a3-bd24-ba1f-9f47d4d976b0</data>
</ResponseModelApiOfGuid>