MEBrokerWebService


Click here for a complete list of operations.

processarMensagemStatusPrePedido

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 /MEBrokerWebService/MEBrokerWebService.asmx HTTP/1.1
Host: uat.me.com.br
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.me.com.br/WebServices/processarMensagemStatusPrePedido"

<?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>
    <processarMensagemStatusPrePedido xmlns="http://www.me.com.br/WebServices">
      <msgStatusPrePedido>
        <IDENTIFIC>string</IDENTIFIC>
        <PREPEDIDO>int</PREPEDIDO>
        <STATUS>int</STATUS>
        <FORNECEDORCLIENTE>string</FORNECEDORCLIENTE>
        <MOTIVORECUSA>string</MOTIVORECUSA>
        <OBSERP>string</OBSERP>
        <OBS>string</OBS>
        <ERROSAP>string</ERROSAP>
        <IDFORNECEDOR>int</IDFORNECEDOR>
        <DATAENTREGA>dateTime</DATAENTREGA>
        <COND_PAGTO>string</COND_PAGTO>
        <DATAHORA>dateTime</DATAHORA>
        <Atributos>
          <Atributo>
            <NomeAtributo>string</NomeAtributo>
            <DescricaoAtributo>string</DescricaoAtributo>
            <ValorAtributo>string</ValorAtributo>
          </Atributo>
          <Atributo>
            <NomeAtributo>string</NomeAtributo>
            <DescricaoAtributo>string</DescricaoAtributo>
            <ValorAtributo>string</ValorAtributo>
          </Atributo>
        </Atributos>
        <NumItens>
          <ItemStatusPrePedido>
            <NUMEROITEM>int</NUMEROITEM>
            <PRECO>double</PRECO>
            <PRECOLIQUIDO>double</PRECOLIQUIDO>
            <VALORCORRIGIDOERP>double</VALORCORRIGIDOERP>
            <IPI>double</IPI>
            <IPIINCLUSO>string</IPIINCLUSO>
            <ICMS>double</ICMS>
            <ICMSINCLUSO>string</ICMSINCLUSO>
            <PIS>double</PIS>
            <PISINCLUSO>string</PISINCLUSO>
            <COFINS>double</COFINS>
            <COFINSINCLUSO>string</COFINSINCLUSO>
            <BASECALCULO>double</BASECALCULO>
            <IVACODIGO>string</IVACODIGO>
            <OBSCLI>string</OBSCLI>
            <Atributos xsi:nil="true" />
            <CIDE>double</CIDE>
            <CIDEINCLUSO>string</CIDEINCLUSO>
            <IRRF>double</IRRF>
            <IRRFINCLUSO>string</IRRFINCLUSO>
          </ItemStatusPrePedido>
          <ItemStatusPrePedido>
            <NUMEROITEM>int</NUMEROITEM>
            <PRECO>double</PRECO>
            <PRECOLIQUIDO>double</PRECOLIQUIDO>
            <VALORCORRIGIDOERP>double</VALORCORRIGIDOERP>
            <IPI>double</IPI>
            <IPIINCLUSO>string</IPIINCLUSO>
            <ICMS>double</ICMS>
            <ICMSINCLUSO>string</ICMSINCLUSO>
            <PIS>double</PIS>
            <PISINCLUSO>string</PISINCLUSO>
            <COFINS>double</COFINS>
            <COFINSINCLUSO>string</COFINSINCLUSO>
            <BASECALCULO>double</BASECALCULO>
            <IVACODIGO>string</IVACODIGO>
            <OBSCLI>string</OBSCLI>
            <Atributos xsi:nil="true" />
            <CIDE>double</CIDE>
            <CIDEINCLUSO>string</CIDEINCLUSO>
            <IRRF>double</IRRF>
            <IRRFINCLUSO>string</IRRFINCLUSO>
          </ItemStatusPrePedido>
        </NumItens>
        <ErroData>
          <ErroDataStatusPrePedido>
            <NUMEROITEM>int</NUMEROITEM>
            <AGRUPADOR>int</AGRUPADOR>
            <DATAERRO>dateTime</DATAERRO>
            <DATACORRETA>dateTime</DATACORRETA>
          </ErroDataStatusPrePedido>
          <ErroDataStatusPrePedido>
            <NUMEROITEM>int</NUMEROITEM>
            <AGRUPADOR>int</AGRUPADOR>
            <DATAERRO>dateTime</DATAERRO>
            <DATACORRETA>dateTime</DATACORRETA>
          </ErroDataStatusPrePedido>
        </ErroData>
      </msgStatusPrePedido>
    </processarMensagemStatusPrePedido>
  </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>
    <processarMensagemStatusPrePedidoResponse xmlns="http://www.me.com.br/WebServices">
      <processarMensagemStatusPrePedidoResult>int</processarMensagemStatusPrePedidoResult>
    </processarMensagemStatusPrePedidoResponse>
  </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 /MEBrokerWebService/MEBrokerWebService.asmx HTTP/1.1
Host: uat.me.com.br
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>
    <processarMensagemStatusPrePedido xmlns="http://www.me.com.br/WebServices">
      <msgStatusPrePedido>
        <IDENTIFIC>string</IDENTIFIC>
        <PREPEDIDO>int</PREPEDIDO>
        <STATUS>int</STATUS>
        <FORNECEDORCLIENTE>string</FORNECEDORCLIENTE>
        <MOTIVORECUSA>string</MOTIVORECUSA>
        <OBSERP>string</OBSERP>
        <OBS>string</OBS>
        <ERROSAP>string</ERROSAP>
        <IDFORNECEDOR>int</IDFORNECEDOR>
        <DATAENTREGA>dateTime</DATAENTREGA>
        <COND_PAGTO>string</COND_PAGTO>
        <DATAHORA>dateTime</DATAHORA>
        <Atributos>
          <Atributo>
            <NomeAtributo>string</NomeAtributo>
            <DescricaoAtributo>string</DescricaoAtributo>
            <ValorAtributo>string</ValorAtributo>
          </Atributo>
          <Atributo>
            <NomeAtributo>string</NomeAtributo>
            <DescricaoAtributo>string</DescricaoAtributo>
            <ValorAtributo>string</ValorAtributo>
          </Atributo>
        </Atributos>
        <NumItens>
          <ItemStatusPrePedido>
            <NUMEROITEM>int</NUMEROITEM>
            <PRECO>double</PRECO>
            <PRECOLIQUIDO>double</PRECOLIQUIDO>
            <VALORCORRIGIDOERP>double</VALORCORRIGIDOERP>
            <IPI>double</IPI>
            <IPIINCLUSO>string</IPIINCLUSO>
            <ICMS>double</ICMS>
            <ICMSINCLUSO>string</ICMSINCLUSO>
            <PIS>double</PIS>
            <PISINCLUSO>string</PISINCLUSO>
            <COFINS>double</COFINS>
            <COFINSINCLUSO>string</COFINSINCLUSO>
            <BASECALCULO>double</BASECALCULO>
            <IVACODIGO>string</IVACODIGO>
            <OBSCLI>string</OBSCLI>
            <Atributos xsi:nil="true" />
            <CIDE>double</CIDE>
            <CIDEINCLUSO>string</CIDEINCLUSO>
            <IRRF>double</IRRF>
            <IRRFINCLUSO>string</IRRFINCLUSO>
          </ItemStatusPrePedido>
          <ItemStatusPrePedido>
            <NUMEROITEM>int</NUMEROITEM>
            <PRECO>double</PRECO>
            <PRECOLIQUIDO>double</PRECOLIQUIDO>
            <VALORCORRIGIDOERP>double</VALORCORRIGIDOERP>
            <IPI>double</IPI>
            <IPIINCLUSO>string</IPIINCLUSO>
            <ICMS>double</ICMS>
            <ICMSINCLUSO>string</ICMSINCLUSO>
            <PIS>double</PIS>
            <PISINCLUSO>string</PISINCLUSO>
            <COFINS>double</COFINS>
            <COFINSINCLUSO>string</COFINSINCLUSO>
            <BASECALCULO>double</BASECALCULO>
            <IVACODIGO>string</IVACODIGO>
            <OBSCLI>string</OBSCLI>
            <Atributos xsi:nil="true" />
            <CIDE>double</CIDE>
            <CIDEINCLUSO>string</CIDEINCLUSO>
            <IRRF>double</IRRF>
            <IRRFINCLUSO>string</IRRFINCLUSO>
          </ItemStatusPrePedido>
        </NumItens>
        <ErroData>
          <ErroDataStatusPrePedido>
            <NUMEROITEM>int</NUMEROITEM>
            <AGRUPADOR>int</AGRUPADOR>
            <DATAERRO>dateTime</DATAERRO>
            <DATACORRETA>dateTime</DATACORRETA>
          </ErroDataStatusPrePedido>
          <ErroDataStatusPrePedido>
            <NUMEROITEM>int</NUMEROITEM>
            <AGRUPADOR>int</AGRUPADOR>
            <DATAERRO>dateTime</DATAERRO>
            <DATACORRETA>dateTime</DATACORRETA>
          </ErroDataStatusPrePedido>
        </ErroData>
      </msgStatusPrePedido>
    </processarMensagemStatusPrePedido>
  </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>
    <processarMensagemStatusPrePedidoResponse xmlns="http://www.me.com.br/WebServices">
      <processarMensagemStatusPrePedidoResult>int</processarMensagemStatusPrePedidoResult>
    </processarMensagemStatusPrePedidoResponse>
  </soap12:Body>
</soap12:Envelope>