|
I just want to know what the difference is between these values? |
Replies: 3 comments
|
Hello @maxl2287 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:
|
|
Yes, I think the simplest case is when subscriptionExpireTime is missing in the request, then only expiresAt contains the expiry time. |
|
Issue solved and can be closed. |
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: