Skip to main content

RequestStatusResponseDTO

Async request status object.

requestIdstring

The request ID

Example: f1c2e3a4-5678-90ab-cdef-1234567890ab
statusRequestStatus

Async request status enum.

  • PENDING — Still being processed
  • SUCCESS — Completed successfully
  • FAILED — Failed (see exception)

Possible values: [PENDING, SUCCESS, FAILED]

Example: SUCCESS
exception object

Failure details (present only when status is FAILED).

messagestring

Error message text

Example: Lead topilmadi!
codestring

Machine-readable error code (ExcCode enum name).

Example: LEAD_NOT_FOUND
values object

Additional context (key-value).

property name*any

Additional context (key-value).

Example: {"&name&":"VIP"}
failedAtint64nullable

Failure time (epoch seconds, null unless failed)

Example: 1672531200
createdAtint64

Request creation time (epoch seconds)

Example: 1672531000
RequestStatusResponseDTO
{
"requestId": "f1c2e3a4-5678-90ab-cdef-1234567890ab",
"status": "SUCCESS",
"exception": {
"message": "Lead topilmadi!",
"code": "LEAD_NOT_FOUND",
"values": {
"&name&": "VIP"
}
},
"failedAt": 1672531200,
"createdAt": 1672531000
}