Skip to content

API · sale-transition ​

Trang sinh tự động

Parse từ schema.graphql (SDL backend export) bằng parser graphql. Mô tả và quyền lấy nguyên văn từ description trong SDL.

1 query · 2 mutation.

Query ​

saleTransition ​

The caller's own transition (Sale App), or null when there is no application. tier.read (own).

query · SDL không ghi quyền

Không có tham số.

Trả về SaleTransition

FieldKiểuMô tả
applicationIdID!
statusSaleTransitionStatus!
attemptsInt!How many times the server ran the transfer (0 before the first run).
failureCodeStringStable code of the last failure; never a message or data.
fromTierTierRefThe User Tier held at the transfer; null until it completed.
toTierTierRefSale Standard; null until it completed.
carriedRankPointsPointAmountValid (unexpired) rank carried at the transfer, each lot with its original expiry.
carriedLotCountInt
completedAtDateTime
acknowledgedAtDateTimeSet once by acknowledgeSaleTransition: the person saw the completed result.
evaluationOutcomeTierEvaluationOutcomeThe immediate Sale Tier evaluation after the transfer (rank AND Mission).
evaluationDecisionTierDecision

Mutation ​

acknowledgeSaleTransition ​

The person saw the completed result: set once on the server (the app keeps nothing locally). Conflict (transition_not_completed) before the transfer completed. sale_transition.update (own).

mutation · SDL không ghi quyền

Tham sốKiểuMặc địnhMô tả
inputAcknowledgeSaleTransitionInput!

Trả về SaleTransitionResult!

FieldKiểuMô tả
aggregateIdID!The application id.
versionInt!Attempts after the command.
statusCommandStatus!
requestIdID!
correlationIdID!
nextActionNextAction
transitionSaleTransition!

retrySaleTransition ​

Runs the transfer of the caller's own User request again. Idempotent: a completed transfer answers COMPLETED and adds nothing; a failure leaves nothing half done. sale_transition.update (own).

mutation · SDL không ghi quyền

Tham sốKiểuMặc địnhMô tả
inputRetrySaleTransitionInput!

Trả về SaleTransitionResult!

FieldKiểuMô tả
aggregateIdID!The application id.
versionInt!Attempts after the command.
statusCommandStatus!
requestIdID!
correlationIdID!
nextActionNextAction
transitionSaleTransition!

Sinh từ ad83b0aea · 820 migration · PostgreSQL 17