Delete Multiple Device Type Categories
post
/api/device/Categories/delete
Deletes multiple device type categories by providing the category IDs.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
array
-
Array of:
object items
The list of device type category IDs.
Example:
{
"DeviceTypeCategoryID": "1",
"DeviceTypeCategoryID": "2"
}
Nested Schema : items
Type:
object
The list of device type category IDs.
Show Source
-
DeviceTypeCategoryID: integer
Example:
2
Response
200 Response
Successful operation
Root Schema : SuccessfulDeleteOperation
Type:
object
The response body for a successful delete operation.
Show Source
-
message: string
The response message.Example:
Deleted record
-
success: boolean
Whether the operation was a success (true) or a failure (false).Example:
true
Default Response
Failed operation
Root Schema : schema
Type:
Show Source
object
-
errors: array
errors
The list of errors reported. Validation errors will be keyed by record field.
-
message: string
The response message.Example:
Exception thrown
-
success: boolean
Whether the operation was a success (true) or a failure (false).Example:
false
Nested Schema : errors
Type:
array
The list of errors reported. Validation errors will be keyed by record field.
Show Source
-
Array of:
object items
An error.
Nested Schema : items
Type:
object
An error.