GseAsesorias


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

RegistrarAsesoria

Activa o desactiva una asesoría

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 /GseAsesorias.asmx HTTP/1.1
Host: www.wsasesorias.gsesoftware.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://wsasesorias.gsesoftware.com/RegistrarAsesoria"

<?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:Header>
    <AuthHeader xmlns="http://wsasesorias.gsesoftware.com/">
      <UserName>string</UserName>
      <Password>string</Password>
    </AuthHeader>
  </soap:Header>
  <soap:Body>
    <RegistrarAsesoria xmlns="http://wsasesorias.gsesoftware.com/">
      <oid>guid</oid>
      <tipoRegistro>Baja or Alta</tipoRegistro>
    </RegistrarAsesoria>
  </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>
    <RegistrarAsesoriaResponse xmlns="http://wsasesorias.gsesoftware.com/">
      <RegistrarAsesoriaResult>
        <OID>guid</OID>
        <Nombre>string</Nombre>
        <CIF>string</CIF>
        <LimiteUsuarios>int</LimiteUsuarios>
        <Email>string</Email>
        <Telefono>string</Telefono>
        <FechaAlta>dateTime</FechaAlta>
        <FechaBaja>dateTime</FechaBaja>
        <NumUsuarios>int</NumUsuarios>
        <NumActivos>int</NumActivos>
        <NumInActivos>int</NumInActivos>
        <Activa>boolean</Activa>
      </RegistrarAsesoriaResult>
    </RegistrarAsesoriaResponse>
  </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 /GseAsesorias.asmx HTTP/1.1
Host: www.wsasesorias.gsesoftware.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:Header>
    <AuthHeader xmlns="http://wsasesorias.gsesoftware.com/">
      <UserName>string</UserName>
      <Password>string</Password>
    </AuthHeader>
  </soap12:Header>
  <soap12:Body>
    <RegistrarAsesoria xmlns="http://wsasesorias.gsesoftware.com/">
      <oid>guid</oid>
      <tipoRegistro>Baja or Alta</tipoRegistro>
    </RegistrarAsesoria>
  </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>
    <RegistrarAsesoriaResponse xmlns="http://wsasesorias.gsesoftware.com/">
      <RegistrarAsesoriaResult>
        <OID>guid</OID>
        <Nombre>string</Nombre>
        <CIF>string</CIF>
        <LimiteUsuarios>int</LimiteUsuarios>
        <Email>string</Email>
        <Telefono>string</Telefono>
        <FechaAlta>dateTime</FechaAlta>
        <FechaBaja>dateTime</FechaBaja>
        <NumUsuarios>int</NumUsuarios>
        <NumActivos>int</NumActivos>
        <NumInActivos>int</NumInActivos>
        <Activa>boolean</Activa>
      </RegistrarAsesoriaResult>
    </RegistrarAsesoriaResponse>
  </soap12:Body>
</soap12:Envelope>