Modify Purge Schedule
put
/mftapp/rest/v1/purges/schedules/{scheduleName}
Request
Supported Media Types
- application/json
Path Parameters
- scheduleName
-
Type:
stringRequired:truename of the Purge Schedule
Query Parameters
- action
-
Type:
stringAction to modify Purge Schedule
Body Parameter
Root Schema : mftPurgeScheduleDO
Type:
object- comment
-
Type:
string - endDate
-
Type:
string - frequency
-
Type:
string - include
-
Type:
boolean - instanceStatuses
-
Type:
objectinstanceStatuses - retentionPeriod
-
Type:
string - scheduleTime
-
Type:
string - startDate
-
Type:
string - transfers
-
Type:
objecttransfers
Nested Schema : instanceStatuses
Type:
object- instanceStatus
-
Type:
arrayinstanceStatus
Nested Schema : transfers
Type:
object- transfer
-
Type:
arraytransfer
Nested Schema : instanceStatus
Type:
array-
Type:
string
Nested Schema : transfer
Type:
array-
Type:
string
Example application/json
{
"retentionPeriod":"7",
"startDate":"10-05-2016",
"instanceStatuses":{
"instanceStatus":[
"F",
"C"
]
},
"include":true,
"scheduleTime":"04:32:10",
"comment":"No Comment",
"transfers":{
"transfer":[
"T1",
"T2"
]
},
"endDate":"10-07-2016",
"frequency":"DAILY"
}
Response
Supported Media Types
- application/json
200 Response
Purge Schedule modification succeeded.
Headers
- location
-
Type:
stringRelative URL of the Purge Schedule.
500 Response
Something went wrong
Body
Root Schema : Error information.
Type:
objectTitle:
Error information.- errorCode
-
Type:
stringThe error code that Oracle Managed File Transfer returns. - errorKey
-
Type:
stringThe error key that Oracle Managed File Transfer returns. - errorMessage
-
Type:
stringA message describing the error that Oracle Managed File Transfer returns.
Example application/json
{
"errorCode":"MFT-5835",
"errorKey":"MFT_ESS_PURGE_SCHEDULE_DEACTIVATE_EXCEPTION",
"errorMessage":"Trying to deactivate a non-active Schedule Purge [Default_Purge_Schedule]."
}