POST Nomina/EnvioCorreo

Request Information

URI Parameters

None.

Body Parameters

EnvioCorreoModel
NameDescriptionTypeAdditional information
IdDocumento

globally unique identifier

None.

IdEmisorSucursal

globally unique identifier

None.

Correo

string

None.

ListadoAdjunto

Collection of Adjunto

None.

Request Formats

application/json, text/json

Sample:
{
  "IdDocumento": "e497ad88-ea67-4ee7-95b4-2244afa17946",
  "IdEmisorSucursal": "6bd4a0b7-5938-4f77-8c72-8e51667583d6",
  "Correo": "sample string 3",
  "ListadoAdjunto": [
    {
      "NombreCompleto": "sample string 1",
      "Base64": "sample string 2"
    },
    {
      "NombreCompleto": "sample string 1",
      "Base64": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<EnvioCorreoModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIFACSEV2.Models.Json">
  <Correo>sample string 3</Correo>
  <IdDocumento>e497ad88-ea67-4ee7-95b4-2244afa17946</IdDocumento>
  <IdEmisorSucursal>6bd4a0b7-5938-4f77-8c72-8e51667583d6</IdEmisorSucursal>
  <ListadoAdjunto>
    <EnvioCorreoModel.Adjunto>
      <Base64>sample string 2</Base64>
      <NombreCompleto>sample string 1</NombreCompleto>
    </EnvioCorreoModel.Adjunto>
    <EnvioCorreoModel.Adjunto>
      <Base64>sample string 2</Base64>
      <NombreCompleto>sample string 1</NombreCompleto>
    </EnvioCorreoModel.Adjunto>
  </ListadoAdjunto>
</EnvioCorreoModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'EnvioCorreoModel'.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />