Executes a RedirectRule operation

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
}
Language
Authorization
OAuth2
Click Try It! to start a request and see the response here!