POST api/Invoice/recurrence
Programacion de recurrencia
Request Information
URI Parameters
None.
Body Parameters
Data33RecurrenceModelApiName | Description | Type | Additional information |
---|---|---|---|
Xml |
Cadena con el XML template para la generación de la recurrencia. |
string |
None. |
RecurrenceConfig |
Configuracion de la recurrencia |
RecurrenceConfigModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "Xml": "sample string 1", "RecurrenceConfig": { "FromDate": "2025-01-06T06:37:25.5256355-06:00", "ToDate": "2025-01-06T06:37:25.5256355-06:00", "InvoiceRecurrenceTypeId": 1, "Day": 1, "WeekDay": 1, "InvoiceDocumentTypeId": 1 } }
application/xml, text/xml
Sample:
<Data33RecurrenceModelApi xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Xml>sample string 1</Xml> <RecurrenceConfig> <FromDate>2025-01-06T06:37:25.5256355-06:00</FromDate> <ToDate>2025-01-06T06:37:25.5256355-06:00</ToDate> <InvoiceRecurrenceTypeId>Diario</InvoiceRecurrenceTypeId> <Day>1</Day> <WeekDay>1</WeekDay> <InvoiceDocumentTypeId>1</InvoiceDocumentTypeId> </RecurrenceConfig> </Data33RecurrenceModelApi>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseModelApiOfObjectName | 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 |
Object |
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": {} }
application/xml, text/xml
Sample:
<ResponseModelApiOfObject 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 /> </ResponseModelApiOfObject>