PuntoGasWS
Click here for a complete list of operations.
Anulacion
Metodo para anular la venta
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /PuntoGasWS.asmx HTTP/1.1
Host: ws.petrocard.mx
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://puntogas.com/Anulacion"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<Anulacion xmlns="http://puntogas.com/">
<ParameterAprobacion>
<Token>string</Token>
<IdVolumetrico>string</IdVolumetrico>
<PosLitros>double</PosLitros>
<TIPOPRESET>char</TIPOPRESET>
<FOLIO>string</FOLIO>
<Nip>string</Nip>
<PosEstacion>string</PosEstacion>
<PosCombustible>Magna or Premium or Diesel</PosCombustible>
<PosTarjeta>string</PosTarjeta>
<PosTerminal>string</PosTerminal>
<PosMonto>string</PosMonto>
<PosOdometro>double</PosOdometro>
<PosBomba>int</PosBomba>
<TipoTerminal>int</TipoTerminal>
<FechaVenta>string</FechaVenta>
<HoraVenta>string</HoraVenta>
<PrecioCombustible>string</PrecioCombustible>
<TarjetaChofer>string</TarjetaChofer>
<Dato1>string</Dato1>
<Dato2>string</Dato2>
<TipoOperacion>int</TipoOperacion>
<Latitud>string</Latitud>
<Longitud>string</Longitud>
<UsarNoEconomico>int</UsarNoEconomico>
<IvaMonto>decimal</IvaMonto>
<IvaPorcentaje>decimal</IvaPorcentaje>
<IepsMonto>decimal</IepsMonto>
<PorcentajeIeps>decimal</PorcentajeIeps>
<SubtotaMonto>decimal</SubtotaMonto>
<RecalcularIVA>short</RecalcularIVA>
</ParameterAprobacion>
</Anulacion>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<AnulacionResponse xmlns="http://puntogas.com/">
<AnulacionResult>
<Monto>decimal</Monto>
<NoAutorizacion>string</NoAutorizacion>
<PrecioUnitario>decimal</PrecioUnitario>
<Litros>double</Litros>
<CodigoProducto>string</CodigoProducto>
<NombreProducto>string</NombreProducto>
<Chofer>string</Chofer>
<FormaPago>string</FormaPago>
<Placas>string</Placas>
<NombreCliente>string</NombreCliente>
<FechaOperacion>dateTime</FechaOperacion>
<Odometro>int</Odometro>
<Saldo>decimal</Saldo>
<Exitoso>int</Exitoso>
<Mensaje>string</Mensaje>
<MensajeRechazo2>string</MensajeRechazo2>
<MontoApagar>string</MontoApagar>
<litrospagar>string</litrospagar>
<PuntosBonificados>decimal</PuntosBonificados>
<SaldoAnterior>decimal</SaldoAnterior>
</AnulacionResult>
</AnulacionResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /PuntoGasWS.asmx HTTP/1.1
Host: ws.petrocard.mx
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<Anulacion xmlns="http://puntogas.com/">
<ParameterAprobacion>
<Token>string</Token>
<IdVolumetrico>string</IdVolumetrico>
<PosLitros>double</PosLitros>
<TIPOPRESET>char</TIPOPRESET>
<FOLIO>string</FOLIO>
<Nip>string</Nip>
<PosEstacion>string</PosEstacion>
<PosCombustible>Magna or Premium or Diesel</PosCombustible>
<PosTarjeta>string</PosTarjeta>
<PosTerminal>string</PosTerminal>
<PosMonto>string</PosMonto>
<PosOdometro>double</PosOdometro>
<PosBomba>int</PosBomba>
<TipoTerminal>int</TipoTerminal>
<FechaVenta>string</FechaVenta>
<HoraVenta>string</HoraVenta>
<PrecioCombustible>string</PrecioCombustible>
<TarjetaChofer>string</TarjetaChofer>
<Dato1>string</Dato1>
<Dato2>string</Dato2>
<TipoOperacion>int</TipoOperacion>
<Latitud>string</Latitud>
<Longitud>string</Longitud>
<UsarNoEconomico>int</UsarNoEconomico>
<IvaMonto>decimal</IvaMonto>
<IvaPorcentaje>decimal</IvaPorcentaje>
<IepsMonto>decimal</IepsMonto>
<PorcentajeIeps>decimal</PorcentajeIeps>
<SubtotaMonto>decimal</SubtotaMonto>
<RecalcularIVA>short</RecalcularIVA>
</ParameterAprobacion>
</Anulacion>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<AnulacionResponse xmlns="http://puntogas.com/">
<AnulacionResult>
<Monto>decimal</Monto>
<NoAutorizacion>string</NoAutorizacion>
<PrecioUnitario>decimal</PrecioUnitario>
<Litros>double</Litros>
<CodigoProducto>string</CodigoProducto>
<NombreProducto>string</NombreProducto>
<Chofer>string</Chofer>
<FormaPago>string</FormaPago>
<Placas>string</Placas>
<NombreCliente>string</NombreCliente>
<FechaOperacion>dateTime</FechaOperacion>
<Odometro>int</Odometro>
<Saldo>decimal</Saldo>
<Exitoso>int</Exitoso>
<Mensaje>string</Mensaje>
<MensajeRechazo2>string</MensajeRechazo2>
<MontoApagar>string</MontoApagar>
<litrospagar>string</litrospagar>
<PuntosBonificados>decimal</PuntosBonificados>
<SaldoAnterior>decimal</SaldoAnterior>
</AnulacionResult>
</AnulacionResponse>
</soap12:Body>
</soap12:Envelope>