POST | /Monitor510 | ||
---|---|---|---|
POST | /Monitor510/{FleetManagerID} |
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 | string | 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 | string | No | |
PropertyAcquisitionError | body | string | No | |
FMInsertionTime | body | string | No | |
IsAlertNotificationEnabled | body | bool | 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/Monitor510 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: String,
Version: String,
Value: String,
IsPropertyPushedToFleetManager: False,
IsRemoteMonitored: False,
MinThreshold: String,
MaxThreshold: String,
IsThresholdBreached: False,
DSSMonVersion: String,
ActualPropertyTimeStamp: String,
PropertyAcquisitionError: String,
FMInsertionTime: String,
IsAlertNotificationEnabled: False,
respstat:
{
ErrorCode: String,
FieldName: String,
Message: String
}
}