POST | /MonitorStatic/{FleetManagerID} | ||
---|---|---|---|
POST | /MonitorStatic |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
DeviceId | body | int | No | |
DeviceName | body | string | No | |
DeviceTypeId | body | int | No | |
DeviceTypeName | body | string | No | |
DeviceTypeVersion | body | string | No | |
FacilityName | body | string | No | |
FleetManagerID | path | int | No | |
IPaddress | body | string | No | |
MaterialNumber | body | string | No | |
propertyCd | body | string | No | |
SiteId | body | int | No | |
TimeStamp | body | DateTime | No | |
Version | body | string | No | |
Value | body | string | No | |
IsPropertyPushedToFleetManager | body | bool | No | |
IsRemoteMonitored | body | bool | No | |
MinThreshold | body | string | No | |
MaxThreshold | body | string | No | |
IsThresholdBreached | body | bool | No | |
DSSMonVersion | body | string | No | |
ActualPropertyTimeStamp | body | DateTime | No | |
PropertyAcquisitionError | body | string | No | |
FMInsertionTime | body | DateTime | No | |
respstat | body | ResponseError | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /jsv/oneway/MonitorStatic HTTP/1.1
Host: dssserv1.onephilipsmdc.com
Content-Type: text/jsv
Content-Length: length
{
DeviceId: 0,
DeviceName: String,
DeviceTypeId: 0,
DeviceTypeName: String,
DeviceTypeVersion: String,
FacilityName: String,
FleetManagerID: 0,
IPaddress: String,
MaterialNumber: String,
propertyCd: String,
SiteId: 0,
TimeStamp: 0001-01-01,
Version: String,
Value: String,
IsPropertyPushedToFleetManager: False,
IsRemoteMonitored: False,
MinThreshold: String,
MaxThreshold: String,
IsThresholdBreached: False,
DSSMonVersion: String,
ActualPropertyTimeStamp: 0001-01-01,
PropertyAcquisitionError: String,
FMInsertionTime: 0001-01-01,
respstat:
{
ErrorCode: String,
FieldName: String,
Message: String
}
}