DeviceStatusChange
Model
Represents a historical change in a DeviceStatus entry
Required
MaxLength(64)
ValueBefore :
string
The value of the property (defined by ChangeType) before it changed as a string. Can be empty.
Required
MaxLength(64)
ValueAfter :
string
The value of the property (defined by ChangeType) after it changed as a string. Can be empty.
Nullable
OutletID :
string (GUID)
Outlet ID hosting the device that experienced a change
Nullable
ForeignKeyType :
number (int)
The type of entity that ForeignKeyID is referencing (that experienced a change)
See POSCorePublic.Enums.Sales.DeviceStatusForeignKeyContextType
Nullable
ForeignKeyID :
string (GUID)
ID of the entity generating this device status (that experienced a change) (see ForeignKeyType for more info)
Nullable
ChangeType :
number (int)
The property that changed
See POSCorePublic.Enums.Sales.DeviceStatusChangeType
Nullable
DateTimeChanged :
string (ISO 8601 DateTime)
When the property changed
Example
{
"ValueBefore": "string value",
"ValueAfter": "string value",
"OutletID": "3f49efe7-ea42-4f21-8718-7e6ce9a33512",
"ForeignKeyType": 321,
"ForeignKeyID": "3f49efe7-ea42-4f21-8718-7e6ce9a33512",
"ChangeType": 321,
"DateTimeChanged": "2012-04-03T09:40:59.736Z"
}