POST api/Affiliation/CreateInclussion
Método para generar inclusiones.
Request Information
URI Parameters
None.
Body Parameters
InclussionModelNombre | Descripción | Tipo | Información Adicional |
---|---|---|---|
ContractNumber |
Número de Contrato. |
integer |
Required |
ClientCode |
Código del Cliente. |
integer |
Required |
InsureFrom |
Fecha de Inicio de Inclusión. |
date |
Required |
InsureTo |
Fecha de Fin de Inclusión. |
date |
Required |
PrintOfficeId |
Código de Sede de Impresión. |
integer |
Required |
OnlyBranchOffice |
Sede Unica. |
boolean |
Required |
ClientBranchOfficeId |
Código de Sucursal. |
integer |
Required |
InvoiceMonthExpired |
Indicador de Facturación a Mes Vencido. |
boolean |
Required |
ImportFileModel |
Archivo de la plantilla |
ImportFileModel |
Required |
PaymentPolitic |
Politica de pago. |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "ContractNumber": 1, "ClientCode": 2, "InsureFrom": "2025-06-14T07:47:15.3090358-05:00", "InsureTo": "2025-06-14T07:47:15.3090358-05:00", "PrintOfficeId": 5, "OnlyBranchOffice": true, "ClientBranchOfficeId": 7, "InvoiceMonthExpired": true, "ImportFileModel": { "File": "QEA=" }, "PaymentPolitic": true }
application/xml, text/xml
Sample:
<InclussionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sanitas.ServicesWeb.Outside.Models"> <ClientBranchOfficeId>7</ClientBranchOfficeId> <ClientCode>2</ClientCode> <ContractNumber>1</ContractNumber> <ImportFileModel> <File>QEA=</File> </ImportFileModel> <InsureFrom>2025-06-14T07:47:15.3090358-05:00</InsureFrom> <InsureTo>2025-06-14T07:47:15.3090358-05:00</InsureTo> <InvoiceMonthExpired>true</InvoiceMonthExpired> <OnlyBranchOffice>true</OnlyBranchOffice> <PaymentPolitic>true</PaymentPolitic> <PrintOfficeId>5</PrintOfficeId> </InclussionModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.