Issue asynchronously

Initiates asynchronous coupon issuance using the saga pattern for complex business workflow orchestration.
Validates request format and publishes saga initiation events for distributed transaction management.
Provides decoupled processing with enhanced reliability, compensation handling, and monitoring capabilities.

This endpoint allows to start the coupon issuing by using a saga pattern.
Saga pattern is used to manage the transactional behavior of the system. It has no direct impact on the API behavior.
Please check Genocs.Fiscanner.WebApi.Controllers.IssueCouponRequest to get more info.

This endpoint leverages the saga pattern for managing complex, long-running coupon issuance workflows.
Saga orchestration provides transactional consistency across multiple services and external systems.
Includes automatic compensation logic for handling failures in distributed processing scenarios.
The code parameter must be a valid GUID format for saga correlation and tracking.
Publishes CouponRequest event to initiate saga state machine with timestamped request tracking.
Provides better scalability and fault tolerance compared to synchronous processing approaches.
Enables monitoring and debugging of complex business processes through saga state visualization.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Responses

400

Request rejected due to invalid GUID format in the code parameter.

401

Authentication failed - valid JWT token required for saga-based operations.

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json