ResponseVoid

📄 Description: Represents a generic response structure for void operations, including status, messages, and errors.

Properties

Name

Type

Required

Restrictions

Description

code

string

false

none

Status code representing the outcome of the operation.

message

string

false

write-only

User-friendly message describing the result of the operation.

defaultMessage

string

false

write-only

Default message if no custom message is provided.

debugMessage

string

false

write-only

Optional debug information, useful for developers.

errors

Errors

false

none

none

object

object

false

none

The payload returned by the operation; for void operations this is null.

Enumerated Values

Attribute

Value

code

API_CALL_FAILED, ATTACHED, BAD_REQUEST, DATA_VALIDATION_ERROR, DELETED, DETACHED, INTERNAL_SYSTEM_ERROR, NULL_RESPONSE, OK, OK_BUT_RESPONSE_INVALID, REQUEST_VALIDATION_ERROR, SERVICE_VALIDATION_ERROR, UPDATED