Session_Date2_CleanupRequest
This API performs cleanup of resources.
URL
./Session_Date_2_CleanupRequest
Input Parameters
| Parameters | Description | 
|---|---|
| keyName | Name of the key to be used for tokenization and detokenization of dates. | 
| dateFormatScheme | Represents a possible set of date formats. The supported date format schemes are: 
  | 
| startYear | The value of start year must be greater than 999 for yyyy date format. The value of start year lies in the range from 00-100 for yy date format. Optional, if preserve parameter is set to Year_Month or Year. | 
| endYear | Maximum value of end year is 9999 in yyyy date format. Maximum value of end year is 100 in yy date format** Optional, if preserve parameter is set to Year_Month or Year. | 
| tweakData | Optional, if provided, the length of tweak data should be ≤ 256 characters. The default value is empty string.  | 
| preserve | Retains the specific part of data that remains unaltered after tokenization. The valid values are:  — NONE (Default) — MONTH — YEAR — YEAR_MONTH For example, if the date to tokenize is 15-05-2024 and preserve is set to YEAR, then output can be 27-10-2024, where the year (2024) remains unaltered. | 
Note
The startYear and endYear is mandatory if the preserve type is NONE
Cleanup SOAP Sample
    <prot:Session_Date2_CleanupRequest>
     <keyName>tedx</keyName>
     <dateFormatScheme>DDMMYYYY</dateFormatScheme>
     <!--Optional:-->
     <startYear>1950</startYear>
     <endYear>2050</endYear>
     <!--Optional:-->
     <tweakData>12345678</tweakData>
     <!--Optional:-->
     <preserve>NONE</preserve>
  </prot:Session_Date2_CleanupRequest>
Cleanup Request Output
    <ns2:Session_Date2_CleanupResponse xmlns:ns2="http://dsws.org/protectappws/">Cleanup Successful</ns2:Session_Date2_CleanupResponse>
Reference
The specifications for the Date2 algorithm are listed here.