Scada


Click here for a complete list of operations.

LoadOneDevicesReportWizard

Load One Devices

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 /Scada.asmx HTTP/1.1
Host: novoapi.witechusa.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "Scada/LoadOneDevicesReportWizard"

<?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>
    <ClsSeguridad xmlns="Scada">
      <User>string</User>
      <Password>string</Password>
      <Token>string</Token>
      <DataBaseEngine>ORACLE or MYSQL or SQLSERVER or POSTGRES</DataBaseEngine>
    </ClsSeguridad>
  </soap:Header>
  <soap:Body>
    <LoadOneDevicesReportWizard xmlns="Scada">
      <IdDevice>string</IdDevice>
      <State>string</State>
    </LoadOneDevicesReportWizard>
  </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>
    <LoadOneDevicesReportWizardResponse xmlns="Scada">
      <LoadOneDevicesReportWizardResult>
        <IdProgrammingIcon>int</IdProgrammingIcon>
        <NombreProtocoloComuni>string</NombreProtocoloComuni>
        <IdFamily>int</IdFamily>
        <IdMaster>int</IdMaster>
        <TimeZoneName>string</TimeZoneName>
        <VariantComName>string</VariantComName>
        <ProtocolComName>string</ProtocolComName>
        <ModelName>string</ModelName>
        <ManufacturerName>string</ManufacturerName>
        <IdProtocolCom>int</IdProtocolCom>
        <IdVariante>int</IdVariante>
        <NombreModelo>string</NombreModelo>
        <IdProcesodisp>int</IdProcesodisp>
        <ModeMs>string</ModeMs>
        <ModbusIdLengthMs>string</ModbusIdLengthMs>
        <ModbusIdMs>int</ModbusIdMs>
        <ParitySettingMs>string</ParitySettingMs>
        <EnabledRegisterMS>int</EnabledRegisterMS>
        <RegisterType>string</RegisterType>
        <HoldingRegisterOffsetMS>int</HoldingRegisterOffsetMS>
        <SwitchMs>int</SwitchMs>
        <EsRealTime>int</EsRealTime>
        <FolderName>string</FolderName>
        <IdFolder>int</IdFolder>
        <EstablecerFechaHoraRTU>boolean</EstablecerFechaHoraRTU>
        <FirmwareVersion>string</FirmwareVersion>
        <IdFabricante>int</IdFabricante>
        <IdDispositivo>string</IdDispositivo>
        <IdModelo>int</IdModelo>
        <IdZona_horaria>int</IdZona_horaria>
        <IdMedidor>int</IdMedidor>
        <IdDispositivoAlterno>string</IdDispositivoAlterno>
        <Secuencia>int</Secuencia>
        <Nombre>string</Nombre>
        <Longitud>string</Longitud>
        <Latitud>string</Latitud>
        <Elevacion>string</Elevacion>
        <PermiteReset>int</PermiteReset>
        <TiempoDiferenciaReset>int</TiempoDiferenciaReset>
        <Observaciones>string</Observaciones>
        <NivelSeguridadLectura>int</NivelSeguridadLectura>
        <NivelSeguridadEscritura>int</NivelSeguridadEscritura>
        <FechaHoraDispositivo>dateTime</FechaHoraDispositivo>
        <FechaHoraCreacion>dateTime</FechaHoraCreacion>
        <FechaHoraModificacion>dateTime</FechaHoraModificacion>
        <Estado>string</Estado>
        <IdFolderDispositivo>int</IdFolderDispositivo>
        <EsOriginal>boolean</EsOriginal>
        <IsWitness>int</IsWitness>
        <AccessCode>string</AccessCode>
        <IsControlWave>int</IsControlWave>
      </LoadOneDevicesReportWizardResult>
    </LoadOneDevicesReportWizardResponse>
  </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 /Scada.asmx HTTP/1.1
Host: novoapi.witechusa.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>
    <ClsSeguridad xmlns="Scada">
      <User>string</User>
      <Password>string</Password>
      <Token>string</Token>
      <DataBaseEngine>ORACLE or MYSQL or SQLSERVER or POSTGRES</DataBaseEngine>
    </ClsSeguridad>
  </soap12:Header>
  <soap12:Body>
    <LoadOneDevicesReportWizard xmlns="Scada">
      <IdDevice>string</IdDevice>
      <State>string</State>
    </LoadOneDevicesReportWizard>
  </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>
    <LoadOneDevicesReportWizardResponse xmlns="Scada">
      <LoadOneDevicesReportWizardResult>
        <IdProgrammingIcon>int</IdProgrammingIcon>
        <NombreProtocoloComuni>string</NombreProtocoloComuni>
        <IdFamily>int</IdFamily>
        <IdMaster>int</IdMaster>
        <TimeZoneName>string</TimeZoneName>
        <VariantComName>string</VariantComName>
        <ProtocolComName>string</ProtocolComName>
        <ModelName>string</ModelName>
        <ManufacturerName>string</ManufacturerName>
        <IdProtocolCom>int</IdProtocolCom>
        <IdVariante>int</IdVariante>
        <NombreModelo>string</NombreModelo>
        <IdProcesodisp>int</IdProcesodisp>
        <ModeMs>string</ModeMs>
        <ModbusIdLengthMs>string</ModbusIdLengthMs>
        <ModbusIdMs>int</ModbusIdMs>
        <ParitySettingMs>string</ParitySettingMs>
        <EnabledRegisterMS>int</EnabledRegisterMS>
        <RegisterType>string</RegisterType>
        <HoldingRegisterOffsetMS>int</HoldingRegisterOffsetMS>
        <SwitchMs>int</SwitchMs>
        <EsRealTime>int</EsRealTime>
        <FolderName>string</FolderName>
        <IdFolder>int</IdFolder>
        <EstablecerFechaHoraRTU>boolean</EstablecerFechaHoraRTU>
        <FirmwareVersion>string</FirmwareVersion>
        <IdFabricante>int</IdFabricante>
        <IdDispositivo>string</IdDispositivo>
        <IdModelo>int</IdModelo>
        <IdZona_horaria>int</IdZona_horaria>
        <IdMedidor>int</IdMedidor>
        <IdDispositivoAlterno>string</IdDispositivoAlterno>
        <Secuencia>int</Secuencia>
        <Nombre>string</Nombre>
        <Longitud>string</Longitud>
        <Latitud>string</Latitud>
        <Elevacion>string</Elevacion>
        <PermiteReset>int</PermiteReset>
        <TiempoDiferenciaReset>int</TiempoDiferenciaReset>
        <Observaciones>string</Observaciones>
        <NivelSeguridadLectura>int</NivelSeguridadLectura>
        <NivelSeguridadEscritura>int</NivelSeguridadEscritura>
        <FechaHoraDispositivo>dateTime</FechaHoraDispositivo>
        <FechaHoraCreacion>dateTime</FechaHoraCreacion>
        <FechaHoraModificacion>dateTime</FechaHoraModificacion>
        <Estado>string</Estado>
        <IdFolderDispositivo>int</IdFolderDispositivo>
        <EsOriginal>boolean</EsOriginal>
        <IsWitness>int</IsWitness>
        <AccessCode>string</AccessCode>
        <IsControlWave>int</IsControlWave>
      </LoadOneDevicesReportWizardResult>
    </LoadOneDevicesReportWizardResponse>
  </soap12:Body>
</soap12:Envelope>