SSHost

<back to all web services

GetMetersStatusRequest

Requires Authentication
Required role:ApiUser
The following routes are available for this service:
All Verbs/Meter/GetMetersStatus
GetMetersStatusRequest Parameters:
NameParameterData TypeRequiredDescription
OrgNamequerystringNo
AreaNamequerystringNo
MeterIdquerylongNo
IBaseRequest Parameters:
NameParameterData TypeRequiredDescription
CommandformstringNo
OptionsformRequestOptionsNo
RequestOptions Parameters:
NameParameterData TypeRequiredDescription
SendNoWaitformboolNo
RequestTimeoutformintNo
DebugformboolNo
GetMetersStatusResponse Parameters:
NameParameterData TypeRequiredDescription
DataformList<MeterStatus>No
IBaseResult Parameters:
NameParameterData TypeRequiredDescription
CommandformstringNo
StatusformstringNo
ErrorMessageformstringNo
ErrListformList<long>No
DeviceListformList<DeviceData>No
DeviceData Parameters:
NameParameterData TypeRequiredDescription
ActionNameformstringNo
DeviceNumberformstringNo
ActionResultformstringNo
ByteDataformbyte[]No
ByteResultformbyte[]No
ErrorMessageformstringNo
ConnectStatusformintNo
ByteDataHstrformstringNo
MeterStatus Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
SampleTimeformDateTime?No
LocalTimeformDateTime?No
OrgformstringNo
AreaformstringNo
GatewayNameformstringNo
GatewayAddressformstringNo
TypeformintNo
IMEIformstringNo
TypeStringformstringNo
GatewayUIDformlongNo
AckformstringNo
NameformstringNo
SIMformstringNo
DataSampingPeriodformintNo
CurrentAformdouble?No
CurrentBformdouble?No
CurrentCformdouble?No
VoltageAformdouble?No
VoltageBformdouble?No
VoltageCformdouble?No
PowerAformdouble?No
PowerBformdouble?No
PowerCformdouble?No
PowerTformdouble?No
PowerFactorAformdouble?No
PowerFactorBformdouble?No
PowerFactorCformdouble?No
PowerFactorTformdouble?No
PowerConsumptionAformdouble?No
PowerConsumptionBformdouble?No
PowerConsumptionCformdouble?No
PowerConsumptionformdouble?No
ReactivePowerConsumptionformdouble?No
ActiveEnergyLine123Rate1formdouble?No
ActiveEnergyLine123Rate2formdouble?No
ActiveEnergyLine123Rate3formdouble?No
ApparantEnergyLine123Rate1formdouble?No
ApparantEnergyLine123Rate2formdouble?No
ApparantEnergyLine123Rate3formdouble?No
ActiveEnergyLine123Rate1WHformdouble?No
ActiveEnergyLine123Rate2WHformdouble?No
ActiveEnergyLine123Rate3WHformdouble?No
ApparantEnergyLine123Rate1VAHformdouble?No
ApparantEnergyLine123Rate2VAHformdouble?No
ApparantEnergyLine123Rate3VAHformdouble?No
ApparantEnergyConsumptionformdouble?No
StatusformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /Meter/GetMetersStatus HTTP/1.1 
Host: 188.68.237.94 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"OrgName":"String","AreaName":"String","MeterId":0,"Command":"String","Options":{"SendNoWait":false,"RequestTimeout":0,"Debug":false}}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Data":[{"Id":0,"SampleTime":"0001-01-01T00:00:00.0000000+01:00","LocalTime":"0001-01-01T00:00:00.0000000+01:00","Org":"String","Area":"String","GatewayName":"String","GatewayAddress":"String","Type":0,"IMEI":"String","TypeString":"String","GatewayUID":0,"Ack":"String","Name":"String","SIM":"String","DataSampingPeriod":0,"CurrentA":0,"CurrentB":0,"CurrentC":0,"VoltageA":0,"VoltageB":0,"VoltageC":0,"PowerA":0,"PowerB":0,"PowerC":0,"PowerT":0,"PowerFactorA":0,"PowerFactorB":0,"PowerFactorC":0,"PowerFactorT":0,"PowerConsumptionA":0,"PowerConsumptionB":0,"PowerConsumptionC":0,"PowerConsumption":0,"ReactivePowerConsumption":0,"ActiveEnergyLine123Rate1":0,"ActiveEnergyLine123Rate2":0,"ActiveEnergyLine123Rate3":0,"ApparantEnergyLine123Rate1":0,"ApparantEnergyLine123Rate2":0,"ApparantEnergyLine123Rate3":0,"ActiveEnergyLine123Rate1WH":0,"ActiveEnergyLine123Rate2WH":0,"ActiveEnergyLine123Rate3WH":0,"ApparantEnergyLine123Rate1VAH":0,"ApparantEnergyLine123Rate2VAH":0,"ApparantEnergyLine123Rate3VAH":0,"ApparantEnergyConsumption":0,"Status":""}],"Command":"String","Status":"String","ErrorMessage":"String","ErrList":[0],"DeviceList":[{"ActionName":"String","DeviceNumber":"String","ActionResult":"String","ByteData":"AA==","ByteResult":"AA==","ErrorMessage":"String","ConnectStatus":0,"ByteDataHstr":"00"}]}