Extends the expiration date on active cards that have expired within a certain date period. Returns ()
Overview of ExtendExpiredCardsAsync goes here.
| Name | Description |
|---|---|
| folder | |
| expiredFrom | |
| expiryEnd | |
| newExpiresOn | |
| trialRun |
Example in C#
// Returns: ExtendCardExpiryResponse
var extendCardExpiryResponse = await client.ExtendExpiredCardsAsync(FolderInfo folder, DateTime expiredFrom, DateTime expiryEnd, DateTime newExpiresOn, Boolean trialRun);
Example in CURL
curl -X POST \
https://api.us.acresecurity.cloud/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",
"ExpiredOnDate":"2019-01-30T15:47:54.5915518Z",
"ExpiredFromDate":"2019-01-30T15:47:54.5915518Z",
"ExpiredEndDate":"2019-01-30T15:47:54.5915518Z",
"TrialRun":false
}'