State Transition Logs
JWT-based authentication required for all endpoints.
Include the token in the Authorization header:
Authorization: Bearer <token>
Response format (json, xml, etc.)
jsonPossible values: Page number for pagination
1Number of items per page
10Sort results by field. Prefix with '-' for descending order.
Available sort fields:
idor-idcreated_dateor-created_datemodified_dateor-modified_date
-idExample: -created_dateFilter by old state ID
1Filter by new state ID
2Filter by old state name (exact match)
WaitingFilter by new state name (exact match)
PreparingFilter by old state enum values (comma-separated list)
100,150Filter by new state enum values (comma-separated list)
200,300Filter by related object ID
123Filter by content type ID
45Filter logs created after this date
2025-12-01T00:00:00ZFilter logs created on or after this date
2025-12-01T00:00:00ZFilter logs created before this date
2025-12-31T23:59:59ZFilter logs created on or before this date
2025-12-31T23:59:59ZFilter logs modified after this date
2025-12-01T00:00:00ZFilter logs modified on or after this date
2025-12-01T00:00:00ZFilter logs modified before this date
2025-12-31T23:59:59ZFilter logs modified on or before this date
2025-12-31T23:59:59ZFilter by ID greater than
1000Filter by ID greater than or equal to
1000Filter by ID less than
5000Filter by ID less than or equal to
5000Successful operation
Total number of state transition logs
1250URL to the next page of results
/api/v1/oms/state-transition-logs/?page=2URL to the previous page of results
Bad request - invalid filter parameters
Unauthorized - authentication required
Forbidden - insufficient permissions
JWT-based authentication required for all endpoints.
Include the token in the Authorization header:
Authorization: Bearer <token>
Unique identifier of the state transition log
5432Response format (json, xml, etc.)
jsonPossible values: State transition log details
Represents a state transition log entry with complete nested relationship data.
This schema includes full details of the old state, new state, and user who triggered the transition. The attributes field contains additional metadata about the transition.
Unique identifier for the log entry
5432Additional metadata about the state transition.
Common fields:
command.slug: The command that triggered the transition (e.g., "PKG_STATE_TRANSITION")command.transition_id: The ID of the state transition rule usedremote_user_pk: The ID of the user in a remote systemremote_user_mail: The email of the user in a remote system
{"command":{"slug":"PKG_STATE_TRANSITION","transition_id":50},"remote_user_pk":789,"remote_user_mail":"[email protected]"}When the transition occurred
2025-12-22T10:30:00.123456ZID of the object that transitioned (Package, TransferOrder, etc.)
123Content type ID identifying the type of object that transitioned
45Unauthorized - authentication required
Forbidden - insufficient permissions
State transition log not found
JWT-based authentication required for all endpoints.
Include the token in the Authorization header:
Authorization: Bearer <token>
Response format (json, xml, etc.)
jsonPossible values: Sort results by field. Prefix with '-' for descending order.
Available sort fields:
idor-idcreated_dateor-created_datemodified_dateor-modified_date
-idExample: -created_dateFilter by old state ID
1Filter by new state ID
2Filter by related object ID
123Filter by content type ID
45Filter logs created on or after this date
2025-12-01T00:00:00ZFilter logs created on or before this date
2025-12-31T23:59:59ZSuccessful operation
Simplified state transition log entry without nested relationship data. Foreign key fields return only IDs for lightweight data retrieval.
Unique identifier for the log entry
5432When the transition occurred
2025-12-22T10:30:00.123456ZWhen the log entry was last modified
2025-12-22T10:30:00.123456ZID of the old state
1ID of the new state
2Content type ID
45ID of the object that transitioned
123ID of the user who triggered the transition
10Additional metadata about the transition
{"command":{"slug":"PKG_STATE_TRANSITION","transition_id":50}}Bad request - invalid filter parameters
Unauthorized - authentication required
Forbidden - insufficient permissions
Last updated
Was this helpful?

