WebService


Click here for a complete list of operations.

Device_Update

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
CLIENTE:
DEVICE:
CLAVE:
FECHA_EXPIRACION:
CONFIGURACION:
ENABLED:
CANALES_MAX:
TASA_DISCADO_MAXIMA:
TIPO_ASTERISK:
TIPO_NEOTEL:
PROVEEDOR:
EXTRAER:
ANTEPONER:
CALLERID_DEFAULT:
CALLERID_RANGE:
DESCRIPCION:

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 /neoapi/webservice.asmx HTTP/1.1
Host: demo.neotel.us
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/Device_Update"

<?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>
    <Authentication>
      <Username>string</Username>
      <Password>string</Password>
    </Authentication>
  </soap:Header>
  <soap:Body>
    <Device_Update xmlns="http://tempuri.org/">
      <CLIENTE>string</CLIENTE>
      <DEVICE>string</DEVICE>
      <CLAVE>string</CLAVE>
      <FECHA_EXPIRACION>dateTime</FECHA_EXPIRACION>
      <CONFIGURACION>string</CONFIGURACION>
      <ENABLED>boolean</ENABLED>
      <CANALES_MAX>int</CANALES_MAX>
      <TASA_DISCADO_MAXIMA>int</TASA_DISCADO_MAXIMA>
      <TIPO_ASTERISK>string</TIPO_ASTERISK>
      <TIPO_NEOTEL>string</TIPO_NEOTEL>
      <PROVEEDOR>string</PROVEEDOR>
      <EXTRAER>int</EXTRAER>
      <ANTEPONER>string</ANTEPONER>
      <CALLERID_DEFAULT>string</CALLERID_DEFAULT>
      <CALLERID_RANGE>string</CALLERID_RANGE>
      <DESCRIPCION>string</DESCRIPCION>
    </Device_Update>
  </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>
    <Device_UpdateResponse xmlns="http://tempuri.org/" />
  </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 /neoapi/webservice.asmx HTTP/1.1
Host: demo.neotel.us
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>
    <Authentication>
      <Username>string</Username>
      <Password>string</Password>
    </Authentication>
  </soap12:Header>
  <soap12:Body>
    <Device_Update xmlns="http://tempuri.org/">
      <CLIENTE>string</CLIENTE>
      <DEVICE>string</DEVICE>
      <CLAVE>string</CLAVE>
      <FECHA_EXPIRACION>dateTime</FECHA_EXPIRACION>
      <CONFIGURACION>string</CONFIGURACION>
      <ENABLED>boolean</ENABLED>
      <CANALES_MAX>int</CANALES_MAX>
      <TASA_DISCADO_MAXIMA>int</TASA_DISCADO_MAXIMA>
      <TIPO_ASTERISK>string</TIPO_ASTERISK>
      <TIPO_NEOTEL>string</TIPO_NEOTEL>
      <PROVEEDOR>string</PROVEEDOR>
      <EXTRAER>int</EXTRAER>
      <ANTEPONER>string</ANTEPONER>
      <CALLERID_DEFAULT>string</CALLERID_DEFAULT>
      <CALLERID_RANGE>string</CALLERID_RANGE>
      <DESCRIPCION>string</DESCRIPCION>
    </Device_Update>
  </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>
    <Device_UpdateResponse xmlns="http://tempuri.org/" />
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /neoapi/webservice.asmx/Device_Update?CLIENTE=string&DEVICE=string&CLAVE=string&FECHA_EXPIRACION=string&CONFIGURACION=string&ENABLED=string&CANALES_MAX=string&TASA_DISCADO_MAXIMA=string&TIPO_ASTERISK=string&TIPO_NEOTEL=string&PROVEEDOR=string&EXTRAER=string&ANTEPONER=string&CALLERID_DEFAULT=string&CALLERID_RANGE=string&DESCRIPCION=string HTTP/1.1
Host: demo.neotel.us
HTTP/1.1 200 OK

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /neoapi/webservice.asmx/Device_Update HTTP/1.1
Host: demo.neotel.us
Content-Type: application/x-www-form-urlencoded
Content-Length: length

CLIENTE=string&DEVICE=string&CLAVE=string&FECHA_EXPIRACION=string&CONFIGURACION=string&ENABLED=string&CANALES_MAX=string&TASA_DISCADO_MAXIMA=string&TIPO_ASTERISK=string&TIPO_NEOTEL=string&PROVEEDOR=string&EXTRAER=string&ANTEPONER=string&CALLERID_DEFAULT=string&CALLERID_RANGE=string&DESCRIPCION=string
HTTP/1.1 200 OK