eWebService


Click here for a complete list of operations.

UserDefinedInfo

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 /eWebService.asmx HTTP/1.1
Host: emonitor.epicor.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://emonwebservice.com/UserDefinedInfo"

<?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>
    <UserDefinedInfo xmlns="http://emonwebservice.com/">
      <packet>
        <accountId>string</accountId>
        <customerId>string</customerId>
        <locationId>string</locationId>
        <machineName>string</machineName>
        <id1>string</id1>
        <poll>short</poll>
        <changePoll>short</changePoll>
        <changePercent>short</changePercent>
        <bNewValues>boolean</bNewValues>
        <warnThreshold>short</warnThreshold>
        <warnLevel>short</warnLevel>
        <critThreshold>short</critThreshold>
        <critLevel>short</critLevel>
        <Description>string</Description>
        <status>string</status>
        <bLogChgStatus>boolean</bLogChgStatus>
        <last_run>string</last_run>
        <next_run>string</next_run>
        <missedRun>int</missedRun>
        <iAlertLevel>short</iAlertLevel>
        <message1>string</message1>
        <bLogChgMsg1>boolean</bLogChgMsg1>
        <message2>string</message2>
        <bLogChgMsg2>boolean</bLogChgMsg2>
        <Name0>string</Name0>
        <Value0>string</Value0>
        <bLogChg0>boolean</bLogChg0>
        <Name1>string</Name1>
        <Value1>string</Value1>
        <bLogChg1>boolean</bLogChg1>
        <Name2>string</Name2>
        <Value2>string</Value2>
        <bLogChg2>boolean</bLogChg2>
        <Name3>string</Name3>
        <Value3>string</Value3>
        <bLogChg3>boolean</bLogChg3>
        <Name4>string</Name4>
        <Value4>string</Value4>
        <bLogChg4>boolean</bLogChg4>
        <Name5>string</Name5>
        <Value5>string</Value5>
        <bLogChg5>boolean</bLogChg5>
        <Name6>string</Name6>
        <Value6>string</Value6>
        <bLogChg6>boolean</bLogChg6>
        <Name7>string</Name7>
        <Value7>string</Value7>
        <bLogChg7>boolean</bLogChg7>
        <Name8>string</Name8>
        <Value8>string</Value8>
        <bLogChg8>boolean</bLogChg8>
        <Name9>string</Name9>
        <Value9>string</Value9>
        <bLogChg9>boolean</bLogChg9>
      </packet>
    </UserDefinedInfo>
  </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>
    <UserDefinedInfoResponse xmlns="http://emonwebservice.com/">
      <UserDefinedInfoResult>
        <status>string</status>
        <poll>short</poll>
        <changePoll>short</changePoll>
        <changePercent>short</changePercent>
        <newUrl>string</newUrl>
        <bCheckUpdates>boolean</bCheckUpdates>
        <bForceUpdates>boolean</bForceUpdates>
      </UserDefinedInfoResult>
    </UserDefinedInfoResponse>
  </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 /eWebService.asmx HTTP/1.1
Host: emonitor.epicor.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:Body>
    <UserDefinedInfo xmlns="http://emonwebservice.com/">
      <packet>
        <accountId>string</accountId>
        <customerId>string</customerId>
        <locationId>string</locationId>
        <machineName>string</machineName>
        <id1>string</id1>
        <poll>short</poll>
        <changePoll>short</changePoll>
        <changePercent>short</changePercent>
        <bNewValues>boolean</bNewValues>
        <warnThreshold>short</warnThreshold>
        <warnLevel>short</warnLevel>
        <critThreshold>short</critThreshold>
        <critLevel>short</critLevel>
        <Description>string</Description>
        <status>string</status>
        <bLogChgStatus>boolean</bLogChgStatus>
        <last_run>string</last_run>
        <next_run>string</next_run>
        <missedRun>int</missedRun>
        <iAlertLevel>short</iAlertLevel>
        <message1>string</message1>
        <bLogChgMsg1>boolean</bLogChgMsg1>
        <message2>string</message2>
        <bLogChgMsg2>boolean</bLogChgMsg2>
        <Name0>string</Name0>
        <Value0>string</Value0>
        <bLogChg0>boolean</bLogChg0>
        <Name1>string</Name1>
        <Value1>string</Value1>
        <bLogChg1>boolean</bLogChg1>
        <Name2>string</Name2>
        <Value2>string</Value2>
        <bLogChg2>boolean</bLogChg2>
        <Name3>string</Name3>
        <Value3>string</Value3>
        <bLogChg3>boolean</bLogChg3>
        <Name4>string</Name4>
        <Value4>string</Value4>
        <bLogChg4>boolean</bLogChg4>
        <Name5>string</Name5>
        <Value5>string</Value5>
        <bLogChg5>boolean</bLogChg5>
        <Name6>string</Name6>
        <Value6>string</Value6>
        <bLogChg6>boolean</bLogChg6>
        <Name7>string</Name7>
        <Value7>string</Value7>
        <bLogChg7>boolean</bLogChg7>
        <Name8>string</Name8>
        <Value8>string</Value8>
        <bLogChg8>boolean</bLogChg8>
        <Name9>string</Name9>
        <Value9>string</Value9>
        <bLogChg9>boolean</bLogChg9>
      </packet>
    </UserDefinedInfo>
  </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>
    <UserDefinedInfoResponse xmlns="http://emonwebservice.com/">
      <UserDefinedInfoResult>
        <status>string</status>
        <poll>short</poll>
        <changePoll>short</changePoll>
        <changePercent>short</changePercent>
        <newUrl>string</newUrl>
        <bCheckUpdates>boolean</bCheckUpdates>
        <bForceUpdates>boolean</bForceUpdates>
      </UserDefinedInfoResult>
    </UserDefinedInfoResponse>
  </soap12:Body>
</soap12:Envelope>