post https://yourorgsite.com/api/RedirectRule/_execute
Executes an operation of RedirectRule
With the RedirectRule service, you can perform the following operations on the execute endpoint:
- CopyRedirectRules
- RemoveAll
CopyRedirectRules
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "CopyRedirectRules",
"EntityTypeName": "RedirectRule",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "System.String",
"$value": "existingDocumentVersionKey Value"
},
{
"$type": "System.String",
"$value": "newDocumentVersionKey Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"System.String",
"System.String"
]
},
"UseJson": false
}
RemoveAll
BODY PARAMS:
{
"$type": "Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts",
"OperationName": "RemoveAll",
"EntityTypeName": "RedirectRule",
"Parameters": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.Object, mscorlib]], mscorlib",
"$values": [
{
"$type": "System.String",
"$value": "documentVersionKey Value"
}
]
},
"ParameterTypeName": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"System.String"
]
},
"UseJson": false
}