Supported Device Validation
Validation messages for device-related fields, covering the supported flag and device ID.
Overview
| Key | Message | Description |
|---|---|---|
NotNull.supportedDeviceDto.supported | Supported flag must not be null. | The supported flag is null. |
NotNull.baseDeviceDto.id | The device ID is required. Please provide the device ID. | The device ID is null. |
Positive.baseDeviceDto.id | The device ID must be greater than 0. Please input a valid ID. | The device ID must be greater than 0; the provided value is 0 or less. |
Validation Message Details
NotNull.supportedDeviceDto.supported
Message
Supported flag must not be null.
Description
The supported flag is null.
Root Cause
- The
supportedfield was not included in the request.
Resolution
- Provide a boolean value for the
supportedfield.
NotNull.baseDeviceDto.id
Message
The device ID is required. Please provide the device ID.
Description
The device ID is null.
Root Cause
- The
idfield was not included in the device request.
Resolution
- Provide a valid device ID.
Positive.baseDeviceDto.id
Message
The device ID must be greater than 0. Please input a valid ID.
Description
The device ID must be greater than 0; the provided value is 0 or less.
Root Cause
- A
idvalue of 0 or a negative number was provided.
Resolution
- Enter a device ID greater than 0.