POST api/oficinavirtual/IngresoComprobantePago

Request Information

URI Parameters

None.

Body Parameters

AguasNuevas_SitioWeb_ServicioWeb.Models.OficinaVirtual.IngresoComprobantePagoRequest
NameDescriptionTypeAdditional information
EmpresaID

integer

None.

ServicioID

integer

None.

Monto

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "EmpresaID": 1,
  "ServicioID": 2,
  "Monto": 3
}

application/xml, text/xml

Sample:
<IngresoComprobantePagoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AguasNuevas_SitioWeb_ServicioWeb.Models.OficinaVirtual">
  <EmpresaID>1</EmpresaID>
  <Monto>3</Monto>
  <ServicioID>2</ServicioID>
</IngresoComprobantePagoRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'System.Web.Http.ModelBinding.JQueryMvcFormUrlEncodedFormatter' to write type 'AguasNuevas_SitioWeb_ServicioWeb.Models.OficinaVirtual.IngresoComprobantePagoRequest'.

Response Information

Resource Description

AguasNuevas_SitioWeb_ServicioWeb.WSComercial.IngresoComprobantePagoResult
NameDescriptionTypeAdditional information
Status

AguasNuevas_SitioWeb_ServicioWeb.WSComercial.Status

None.

IngresoComprobantePago

AguasNuevas_SitioWeb_ServicioWeb.WSComercial.IngresoComprobantePago

None.

Response Formats

application/json, text/json

Sample:
{
  "statusField": {
    "isOKField": true,
    "mensajeField": "sample string 2",
    "tokenSoporteField": "sample string 3",
    "PropertyChanged": null
  },
  "ingresoComprobantePagoField": {
    "numComprobanteField": "sample string 1",
    "nombreClienteField": "sample string 2",
    "direccionField": "sample string 3",
    "ciudadField": "sample string 4",
    "fechaFacturacionField": "sample string 5",
    "fechaVencimientoField": "sample string 6",
    "fechaEmisionField": "sample string 7",
    "fechaVigenciaField": "sample string 8",
    "codigoBarraField": "sample string 9",
    "PropertyChanged": null
  },
  "PropertyChanged": null
}

application/xml, text/xml

Sample:
<IngresoComprobantePagoResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AguasNuevas_SitioWeb_ServicioWeb.WSComercial">
  <PropertyChanged xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" />
  <ingresoComprobantePagoField>
    <PropertyChanged xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" />
    <ciudadField>sample string 4</ciudadField>
    <codigoBarraField>sample string 9</codigoBarraField>
    <direccionField>sample string 3</direccionField>
    <fechaEmisionField>sample string 7</fechaEmisionField>
    <fechaFacturacionField>sample string 5</fechaFacturacionField>
    <fechaVencimientoField>sample string 6</fechaVencimientoField>
    <fechaVigenciaField>sample string 8</fechaVigenciaField>
    <nombreClienteField>sample string 2</nombreClienteField>
    <numComprobanteField>sample string 1</numComprobanteField>
  </ingresoComprobantePagoField>
  <statusField>
    <PropertyChanged xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" />
    <isOKField>true</isOKField>
    <mensajeField>sample string 2</mensajeField>
    <tokenSoporteField>sample string 3</tokenSoporteField>
  </statusField>
</IngresoComprobantePagoResult>