ExtendCardExpiry

Extends expiration date on active cards based on current expiration date Returns ()

Change the length of time that a card assignment is active.

Name Description
folder
expiresBefore
expiresAfter
newExpiresOn
trialRun

Extend Card Expiry

Example in C#

// Returns: ExtendCardExpiryResponse
var extendCardExpiryResponse = await client.ExtendCardExpiry(FolderInfo folder, DateTime expiresBefore, DateTime expiresAfter, DateTime newExpiresOn, Boolean trialRun)

Example in CURL



            curl -X POST \
               https://keepapi.feenicshosting.com/api/f/INSTANCE.KEY/extendcards \
               -H 'Authorization: Bearer  TOKEN_GOES_HERE'\
               -H 'Content-Type: application/json' \
               -d '{
                   "$type":"Feenics.Keep.WebApi.Model.ExtendCardExpiryRequest, Feenics.Keep.WebApi.Model",
                   "NewExpiryDate":"2022-01-30T15:47:54.5915518Z",
                   "ExpiresBefore":"2019-01-30T15:47:54.5915518Z",
                   "ExpiredAfter":"2019-01-30T15:47:54.5915518Z",
                   "TrialRun":false
               }'