ServicioOferta
Click here for a complete list of operations.
ConsultarDescuentoDetalle
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 /ServicioOferta.asmx HTTP/1.1 Host: extranet.socopur.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://SCPMobil.net/ConsultarDescuentoDetalle" <?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> <ConsultarDescuentoDetalle xmlns="http://SCPMobil.net/"> <sSucursal>string</sSucursal> <sEmpresa>string</sEmpresa> <sAlertCode>string</sAlertCode> </ConsultarDescuentoDetalle> </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> <ConsultarDescuentoDetalleResponse xmlns="http://SCPMobil.net/"> <ConsultarDescuentoDetalleResult> <DocumentoVentaD> <DocEntry>int</DocEntry> <DocNum>int</DocNum> <ItemCode>string</ItemCode> <Dscription>string</Dscription> <Stock>decimal</Stock> <Quantity>decimal</Quantity> <OpenQty>decimal</OpenQty> <U_STR_CODANT>string</U_STR_CODANT> <U_STR_TIPOALMACEN>string</U_STR_TIPOALMACEN> <U_SCP_ALMPROPIOCR>string</U_SCP_ALMPROPIOCR> <U_SCP_PROVEEDORCR>string</U_SCP_PROVEEDORCR> <U_SCP_CUENTASMCR>string</U_SCP_CUENTASMCR> <U_SCP_CUENTASEMCR>string</U_SCP_CUENTASEMCR> <FormatoImpresion>string</FormatoImpresion> <SalUnitMsr>string</SalUnitMsr> <InvntItem>string</InvntItem> <Currency>string</Currency> <U_SCP_MARCA>int</U_SCP_MARCA> <Price>decimal</Price> <AvgPrice>decimal</AvgPrice> <DiscPrcnt>decimal</DiscPrcnt> <TaxCode>string</TaxCode> <Impuesto>decimal</Impuesto> <VatSum>decimal</VatSum> <PriceIGV>decimal</PriceIGV> <U_SCP_Percepcion>decimal</U_SCP_Percepcion> <Total>decimal</Total> <LineNum>int</LineNum> <TargetType>int</TargetType> <TrgetEntry>int</TrgetEntry> <BaseType>int</BaseType> <BaseEntry>int</BaseEntry> <BaseRef>string</BaseRef> <DocSubType>string</DocSubType> <TaxOnly>string</TaxOnly> <U_SCP_CODFATH>string</U_SCP_CODFATH> <PriceRef>decimal</PriceRef> <AcctCode>string</AcctCode> <U_STR_CCOSTO>string</U_STR_CCOSTO> <PriceIGVSolicitado>decimal</PriceIGVSolicitado> </DocumentoVentaD> <DocumentoVentaD> <DocEntry>int</DocEntry> <DocNum>int</DocNum> <ItemCode>string</ItemCode> <Dscription>string</Dscription> <Stock>decimal</Stock> <Quantity>decimal</Quantity> <OpenQty>decimal</OpenQty> <U_STR_CODANT>string</U_STR_CODANT> <U_STR_TIPOALMACEN>string</U_STR_TIPOALMACEN> <U_SCP_ALMPROPIOCR>string</U_SCP_ALMPROPIOCR> <U_SCP_PROVEEDORCR>string</U_SCP_PROVEEDORCR> <U_SCP_CUENTASMCR>string</U_SCP_CUENTASMCR> <U_SCP_CUENTASEMCR>string</U_SCP_CUENTASEMCR> <FormatoImpresion>string</FormatoImpresion> <SalUnitMsr>string</SalUnitMsr> <InvntItem>string</InvntItem> <Currency>string</Currency> <U_SCP_MARCA>int</U_SCP_MARCA> <Price>decimal</Price> <AvgPrice>decimal</AvgPrice> <DiscPrcnt>decimal</DiscPrcnt> <TaxCode>string</TaxCode> <Impuesto>decimal</Impuesto> <VatSum>decimal</VatSum> <PriceIGV>decimal</PriceIGV> <U_SCP_Percepcion>decimal</U_SCP_Percepcion> <Total>decimal</Total> <LineNum>int</LineNum> <TargetType>int</TargetType> <TrgetEntry>int</TrgetEntry> <BaseType>int</BaseType> <BaseEntry>int</BaseEntry> <BaseRef>string</BaseRef> <DocSubType>string</DocSubType> <TaxOnly>string</TaxOnly> <U_SCP_CODFATH>string</U_SCP_CODFATH> <PriceRef>decimal</PriceRef> <AcctCode>string</AcctCode> <U_STR_CCOSTO>string</U_STR_CCOSTO> <PriceIGVSolicitado>decimal</PriceIGVSolicitado> </DocumentoVentaD> </ConsultarDescuentoDetalleResult> </ConsultarDescuentoDetalleResponse> </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 /ServicioOferta.asmx HTTP/1.1 Host: extranet.socopur.com 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> <ConsultarDescuentoDetalle xmlns="http://SCPMobil.net/"> <sSucursal>string</sSucursal> <sEmpresa>string</sEmpresa> <sAlertCode>string</sAlertCode> </ConsultarDescuentoDetalle> </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> <ConsultarDescuentoDetalleResponse xmlns="http://SCPMobil.net/"> <ConsultarDescuentoDetalleResult> <DocumentoVentaD> <DocEntry>int</DocEntry> <DocNum>int</DocNum> <ItemCode>string</ItemCode> <Dscription>string</Dscription> <Stock>decimal</Stock> <Quantity>decimal</Quantity> <OpenQty>decimal</OpenQty> <U_STR_CODANT>string</U_STR_CODANT> <U_STR_TIPOALMACEN>string</U_STR_TIPOALMACEN> <U_SCP_ALMPROPIOCR>string</U_SCP_ALMPROPIOCR> <U_SCP_PROVEEDORCR>string</U_SCP_PROVEEDORCR> <U_SCP_CUENTASMCR>string</U_SCP_CUENTASMCR> <U_SCP_CUENTASEMCR>string</U_SCP_CUENTASEMCR> <FormatoImpresion>string</FormatoImpresion> <SalUnitMsr>string</SalUnitMsr> <InvntItem>string</InvntItem> <Currency>string</Currency> <U_SCP_MARCA>int</U_SCP_MARCA> <Price>decimal</Price> <AvgPrice>decimal</AvgPrice> <DiscPrcnt>decimal</DiscPrcnt> <TaxCode>string</TaxCode> <Impuesto>decimal</Impuesto> <VatSum>decimal</VatSum> <PriceIGV>decimal</PriceIGV> <U_SCP_Percepcion>decimal</U_SCP_Percepcion> <Total>decimal</Total> <LineNum>int</LineNum> <TargetType>int</TargetType> <TrgetEntry>int</TrgetEntry> <BaseType>int</BaseType> <BaseEntry>int</BaseEntry> <BaseRef>string</BaseRef> <DocSubType>string</DocSubType> <TaxOnly>string</TaxOnly> <U_SCP_CODFATH>string</U_SCP_CODFATH> <PriceRef>decimal</PriceRef> <AcctCode>string</AcctCode> <U_STR_CCOSTO>string</U_STR_CCOSTO> <PriceIGVSolicitado>decimal</PriceIGVSolicitado> </DocumentoVentaD> <DocumentoVentaD> <DocEntry>int</DocEntry> <DocNum>int</DocNum> <ItemCode>string</ItemCode> <Dscription>string</Dscription> <Stock>decimal</Stock> <Quantity>decimal</Quantity> <OpenQty>decimal</OpenQty> <U_STR_CODANT>string</U_STR_CODANT> <U_STR_TIPOALMACEN>string</U_STR_TIPOALMACEN> <U_SCP_ALMPROPIOCR>string</U_SCP_ALMPROPIOCR> <U_SCP_PROVEEDORCR>string</U_SCP_PROVEEDORCR> <U_SCP_CUENTASMCR>string</U_SCP_CUENTASMCR> <U_SCP_CUENTASEMCR>string</U_SCP_CUENTASEMCR> <FormatoImpresion>string</FormatoImpresion> <SalUnitMsr>string</SalUnitMsr> <InvntItem>string</InvntItem> <Currency>string</Currency> <U_SCP_MARCA>int</U_SCP_MARCA> <Price>decimal</Price> <AvgPrice>decimal</AvgPrice> <DiscPrcnt>decimal</DiscPrcnt> <TaxCode>string</TaxCode> <Impuesto>decimal</Impuesto> <VatSum>decimal</VatSum> <PriceIGV>decimal</PriceIGV> <U_SCP_Percepcion>decimal</U_SCP_Percepcion> <Total>decimal</Total> <LineNum>int</LineNum> <TargetType>int</TargetType> <TrgetEntry>int</TrgetEntry> <BaseType>int</BaseType> <BaseEntry>int</BaseEntry> <BaseRef>string</BaseRef> <DocSubType>string</DocSubType> <TaxOnly>string</TaxOnly> <U_SCP_CODFATH>string</U_SCP_CODFATH> <PriceRef>decimal</PriceRef> <AcctCode>string</AcctCode> <U_STR_CCOSTO>string</U_STR_CCOSTO> <PriceIGVSolicitado>decimal</PriceIGVSolicitado> </DocumentoVentaD> </ConsultarDescuentoDetalleResult> </ConsultarDescuentoDetalleResponse> </soap12:Body> </soap12:Envelope>