Skip to content

v0.5.0 - Difference between "subscriptionExpireTime" & "expiresAt" in "SubscriptionInfo" #105

Closed Answered by bigludo7
maxl2287 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @maxl2287
Looking in the guidelines:

subscriptionExpireTime: Date when the event subscription should end. Provided by API requester. The Server may reject the subscription if the period requested do not comply with Telco Operator policies (i.e. to avoid unlimited time subscriptions). In this case server returns exception 403 "SUBSCRIPTION_PERIOD_NOT_ALLOWED"

expiresAt: Date when the event subscription will expire. This attribute must not be present in the POST request as it is provided by API server.

Tricky but I saw 2 UC:

  • subscriptionExpireTime is not mandatory in the request. Suppose that Telco Operator policies is to limit subscription time (max 6 months for example). It allows …

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by maxl2287
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants