app.chronosky.plan.redeemTicket
Redeem a ticket code and assign a plan to the authenticated user
Details · procedure
| Kind | procedure |
|---|---|
| Authority | plan.chronosky.app |
| Indexed |
Procedure
procedure · POSTInput
application/jsonTicket redemption code
minLength: 1maxLength: 100
Output
application/jsonReference
Success message
maxLength: 1000
Errors
TicketNotFound
Ticket code not found
TicketAlreadyRedeemed
Ticket has already been redeemed
TicketExpired
Ticket has expired
#redeemedAssignment
objectRedeemed plan assignment.
Properties
Plan activation timestamp
maxLength: 100
Plan expiration timestamp
maxLength: 100
Plan assignment ID
maxLength: 100
Plan ID
maxLength: 100
Plan assignment status
maxLength: 20enum: ACTIVE | EXPIRED | CANCELLED
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
Get the authenticated user's active plan assignment