datamart_set_date_format
Use this command if the default date format of a user-defined or predefined export datamart does not meet the requirements of your target server.
This API is available in Guardium V10.1.4 and later.
REST API syntax
This API is available as a REST service with the
PUT
method. Call this API as follows:
PUT https://[Guardium hostname or IP address]:8443/restAPI/datamart_set_date_format
GuardAPI syntax
datamart_set_date_format parameter=value
Parameters
Parameter | Value type | Description |
---|---|---|
datamart_name | String | Required. |
new_date_format | String | Required. New date format. |
old_date_format | String | Required. Current date format. |
Examples
To change the date format to %Y-%m-%dT%TZ:
grdapi datamart_set_date_format datamart_name="Export:Full SQL" old_date_format="%Y-%m-%dT%T" new_date_format="%Y-%m-%dT%TZ"