POST api/ConfigurationNotification/Range
Guardar rango a la plantilla
Request Information
URI Parameters
None.
Body Parameters
Datos
NotificationSchemaRangePostModelApiName | 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": "08dd2e50-41d0-8475-ba1f-9f30f40dbb2b", "TemplateIvrId": "08dd2e50-41d0-8475-ba1f-9f30f40dbb2c", "BaseDateId": 64, "NotificationEventId": 3, "CollectionDaysRangeId": 4, "NotificationSchemaId": "08dd2e50-41d0-8475-ba1f-9f30f40dbb2d", "NotificationSchemaDetailEventId": "08dd2e50-41d0-8475-ba1f-9f30f40dbb2e", "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>08dd2e50-41d0-8475-ba1f-9f30f40dbb2b</TemplateMailId> <TemplateIvrId>08dd2e50-41d0-8475-ba1f-9f30f40dbb2c</TemplateIvrId> <BaseDateId>64</BaseDateId> <NotificationEventId>3</NotificationEventId> <CollectionDaysRangeId>4</CollectionDaysRangeId> <NotificationSchemaId>08dd2e50-41d0-8475-ba1f-9f30f40dbb2d</NotificationSchemaId> <NotificationSchemaDetailEventId>08dd2e50-41d0-8475-ba1f-9f30f40dbb2e</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
ResponseModelApiOfGuidName | 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": "08dd2e50-41d1-e408-ba1f-9f30f40dbb2f" }
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>08dd2e50-41d1-e408-ba1f-9f30f40dbb2f</data> </ResponseModelApiOfGuid>