WebServiceIntegratorRetention


Haga clic aquí para obtener una lista completa de operaciones.

RegisterReversalByRetentionAndSave

Prueba

El formulario de prueba sólo está disponible para solicitudes del equipo local.

SOAP 1.1

A continuación se muestra un ejemplo de solicitud y respuesta para SOAP 1.1. Es necesario reemplazar los marcadores de posición que aparecen con valores reales.

POST /WebServiceIntegratorRetention.asmx HTTP/1.1
Host: 190.119.84.196
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://sedisa.pe/RegisterReversalByRetentionAndSave"

<?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>
    <RegisterReversalByRetentionAndSave xmlns="http://sedisa.pe/">
      <iNumberOperation>int</iNumberOperation>
    </RegisterReversalByRetentionAndSave>
  </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>
    <RegisterReversalByRetentionAndSaveResponse xmlns="http://sedisa.pe/">
      <RegisterReversalByRetentionAndSaveResult>
        <FinalyStatus>boolean</FinalyStatus>
        <RespWebServiceTCI>string</RespWebServiceTCI>
        <ExceptionIntegrator>string</ExceptionIntegrator>
        <ResultStatusDocument>
          <en_ResultadoEstadoComprobante>
            <ExtensionData xsi:nil="true" />
            <at_Serie>string</at_Serie>
            <at_Numero>int</at_Numero>
            <ent_EstadoOtorgado xsi:nil="true" />
            <ent_EstadoReversion xsi:nil="true" />
          </en_ResultadoEstadoComprobante>
          <en_ResultadoEstadoComprobante>
            <ExtensionData xsi:nil="true" />
            <at_Serie>string</at_Serie>
            <at_Numero>int</at_Numero>
            <ent_EstadoOtorgado xsi:nil="true" />
            <ent_EstadoReversion xsi:nil="true" />
          </en_ResultadoEstadoComprobante>
        </ResultStatusDocument>
        <ResultResponseDocument>
          <ResultResponseDocument>
            <Serie>string</Serie>
            <Number>string</Number>
            <TypeResponse>string</TypeResponse>
            <Description>string</Description>
            <ResponseDate>string</ResponseDate>
            <CoResponse>string</CoResponse>
            <DescripTypResponse>string</DescripTypResponse>
          </ResultResponseDocument>
          <ResultResponseDocument>
            <Serie>string</Serie>
            <Number>string</Number>
            <TypeResponse>string</TypeResponse>
            <Description>string</Description>
            <ResponseDate>string</ResponseDate>
            <CoResponse>string</CoResponse>
            <DescripTypResponse>string</DescripTypResponse>
          </ResultResponseDocument>
        </ResultResponseDocument>
        <NameFilePDF>string</NameFilePDF>
        <FilePDF>base64Binary</FilePDF>
        <InformationDocument>
          <ExtensionData />
          <at_FechaGeneracion>string</at_FechaGeneracion>
          <at_FechaTransmision>string</at_FechaTransmision>
          <at_FechaOtorgamiento>string</at_FechaOtorgamiento>
          <at_FechaReversion>string</at_FechaReversion>
          <at_CodigoHash>string</at_CodigoHash>
          <l_respuestas>
            <en_Respuestas xsi:nil="true" />
            <en_Respuestas xsi:nil="true" />
          </l_respuestas>
        </InformationDocument>
        <RowsAffected>int</RowsAffected>
        <RespConfirmReversal>
          <ExtensionData />
          <at_NivelResultado>int</at_NivelResultado>
          <at_MensajeResultado>string</at_MensajeResultado>
        </RespConfirmReversal>
      </RegisterReversalByRetentionAndSaveResult>
    </RegisterReversalByRetentionAndSaveResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

A continuación se muestra un ejemplo de solicitud y respuesta para SOAP 1.2. Es necesario reemplazar los marcadores de posición que aparecen con valores reales.

POST /WebServiceIntegratorRetention.asmx HTTP/1.1
Host: 190.119.84.196
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>
    <RegisterReversalByRetentionAndSave xmlns="http://sedisa.pe/">
      <iNumberOperation>int</iNumberOperation>
    </RegisterReversalByRetentionAndSave>
  </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>
    <RegisterReversalByRetentionAndSaveResponse xmlns="http://sedisa.pe/">
      <RegisterReversalByRetentionAndSaveResult>
        <FinalyStatus>boolean</FinalyStatus>
        <RespWebServiceTCI>string</RespWebServiceTCI>
        <ExceptionIntegrator>string</ExceptionIntegrator>
        <ResultStatusDocument>
          <en_ResultadoEstadoComprobante>
            <ExtensionData xsi:nil="true" />
            <at_Serie>string</at_Serie>
            <at_Numero>int</at_Numero>
            <ent_EstadoOtorgado xsi:nil="true" />
            <ent_EstadoReversion xsi:nil="true" />
          </en_ResultadoEstadoComprobante>
          <en_ResultadoEstadoComprobante>
            <ExtensionData xsi:nil="true" />
            <at_Serie>string</at_Serie>
            <at_Numero>int</at_Numero>
            <ent_EstadoOtorgado xsi:nil="true" />
            <ent_EstadoReversion xsi:nil="true" />
          </en_ResultadoEstadoComprobante>
        </ResultStatusDocument>
        <ResultResponseDocument>
          <ResultResponseDocument>
            <Serie>string</Serie>
            <Number>string</Number>
            <TypeResponse>string</TypeResponse>
            <Description>string</Description>
            <ResponseDate>string</ResponseDate>
            <CoResponse>string</CoResponse>
            <DescripTypResponse>string</DescripTypResponse>
          </ResultResponseDocument>
          <ResultResponseDocument>
            <Serie>string</Serie>
            <Number>string</Number>
            <TypeResponse>string</TypeResponse>
            <Description>string</Description>
            <ResponseDate>string</ResponseDate>
            <CoResponse>string</CoResponse>
            <DescripTypResponse>string</DescripTypResponse>
          </ResultResponseDocument>
        </ResultResponseDocument>
        <NameFilePDF>string</NameFilePDF>
        <FilePDF>base64Binary</FilePDF>
        <InformationDocument>
          <ExtensionData />
          <at_FechaGeneracion>string</at_FechaGeneracion>
          <at_FechaTransmision>string</at_FechaTransmision>
          <at_FechaOtorgamiento>string</at_FechaOtorgamiento>
          <at_FechaReversion>string</at_FechaReversion>
          <at_CodigoHash>string</at_CodigoHash>
          <l_respuestas>
            <en_Respuestas xsi:nil="true" />
            <en_Respuestas xsi:nil="true" />
          </l_respuestas>
        </InformationDocument>
        <RowsAffected>int</RowsAffected>
        <RespConfirmReversal>
          <ExtensionData />
          <at_NivelResultado>int</at_NivelResultado>
          <at_MensajeResultado>string</at_MensajeResultado>
        </RespConfirmReversal>
      </RegisterReversalByRetentionAndSaveResult>
    </RegisterReversalByRetentionAndSaveResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

A continuación se muestra un ejemplo de solicitud y respuesta para HTTP GET. Es necesario reemplazar los marcadores de posición que aparecen con valores reales.

GET /WebServiceIntegratorRetention.asmx/RegisterReversalByRetentionAndSave?iNumberOperation=string HTTP/1.1
Host: 190.119.84.196
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<RespToWebServiceRetention xmlns="http://sedisa.pe/">
  <FinalyStatus>boolean</FinalyStatus>
  <RespWebServiceTCI>string</RespWebServiceTCI>
  <ExceptionIntegrator>string</ExceptionIntegrator>
  <ResultStatusDocument>
    <en_ResultadoEstadoComprobante>
      <ExtensionData />
      <at_Serie>string</at_Serie>
      <at_Numero>int</at_Numero>
      <ent_EstadoOtorgado>
        <ExtensionData d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <at_FechaOtorgado>string</at_FechaOtorgado>
      </ent_EstadoOtorgado>
      <ent_EstadoReversion>
        <ExtensionData d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <at_FechaRevertido>string</at_FechaRevertido>
      </ent_EstadoReversion>
    </en_ResultadoEstadoComprobante>
    <en_ResultadoEstadoComprobante>
      <ExtensionData />
      <at_Serie>string</at_Serie>
      <at_Numero>int</at_Numero>
      <ent_EstadoOtorgado>
        <ExtensionData d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <at_FechaOtorgado>string</at_FechaOtorgado>
      </ent_EstadoOtorgado>
      <ent_EstadoReversion>
        <ExtensionData d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <at_FechaRevertido>string</at_FechaRevertido>
      </ent_EstadoReversion>
    </en_ResultadoEstadoComprobante>
  </ResultStatusDocument>
  <ResultResponseDocument>
    <ResultResponseDocument>
      <Serie>string</Serie>
      <Number>string</Number>
      <TypeResponse>string</TypeResponse>
      <Description>string</Description>
      <ResponseDate>string</ResponseDate>
      <CoResponse>string</CoResponse>
      <DescripTypResponse>string</DescripTypResponse>
    </ResultResponseDocument>
    <ResultResponseDocument>
      <Serie>string</Serie>
      <Number>string</Number>
      <TypeResponse>string</TypeResponse>
      <Description>string</Description>
      <ResponseDate>string</ResponseDate>
      <CoResponse>string</CoResponse>
      <DescripTypResponse>string</DescripTypResponse>
    </ResultResponseDocument>
  </ResultResponseDocument>
  <NameFilePDF>string</NameFilePDF>
  <FilePDF>base64Binary</FilePDF>
  <InformationDocument>
    <ExtensionData />
    <at_FechaGeneracion>string</at_FechaGeneracion>
    <at_FechaTransmision>string</at_FechaTransmision>
    <at_FechaOtorgamiento>string</at_FechaOtorgamiento>
    <at_FechaReversion>string</at_FechaReversion>
    <at_CodigoHash>string</at_CodigoHash>
    <l_respuestas>
      <en_Respuestas>
        <ExtensionData d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <at_NroRespuesta>int</at_NroRespuesta>
        <at_CodigoRespuesta>string</at_CodigoRespuesta>
        <at_Descripcion>string</at_Descripcion>
        <at_FechaSunat>string</at_FechaSunat>
      </en_Respuestas>
      <en_Respuestas>
        <ExtensionData d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <at_NroRespuesta>int</at_NroRespuesta>
        <at_CodigoRespuesta>string</at_CodigoRespuesta>
        <at_Descripcion>string</at_Descripcion>
        <at_FechaSunat>string</at_FechaSunat>
      </en_Respuestas>
    </l_respuestas>
  </InformationDocument>
  <RowsAffected>int</RowsAffected>
  <RespConfirmReversal>
    <ExtensionData />
    <at_NivelResultado>int</at_NivelResultado>
    <at_MensajeResultado>string</at_MensajeResultado>
  </RespConfirmReversal>
</RespToWebServiceRetention>