POST api/MergedSite/merge-sites

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
viewModel
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "MergeSiteFromRequest": {
    "$id": "2",
    "Filters": {
      "$id": "3",
      "$values": [
        {
          "$id": "4",
          "<Field>k__BackingField": "sample string 1",
          "<Operator>k__BackingField": "sample string 2",
          "<Value>k__BackingField": {
            "$id": "5"
          },
          "<Logic>k__BackingField": "sample string 4",
          "<Filters>k__BackingField": {
            "$id": "6",
            "$values": [
              {
                "$ref": "4"
              },
              {
                "$ref": "4"
              },
              {
                "$ref": "4"
              }
            ]
          }
        },
        {
          "$ref": "4"
        },
        {
          "$ref": "4"
        }
      ]
    },
    "Page": 1,
    "PageSize": 2,
    "Sort": {
      "$id": "7",
      "Field": "sample string 1",
      "Dir": "sample string 2",
      "SecondaryField": "sample string 3",
      "SecondaryDir": "sample string 4",
      "ThirdField": "sample string 5",
      "ThirdDir": "sample string 6"
    },
    "PreviousPageSize": 3
  },
  "MergeSiteToRequest": {
    "$ref": "2"
  },
  "SitecoreContentsSvw": {
    "$id": "8",
    "$values": [
      {
        "$id": "9",
        "RowId": 1,
        "SitecoreContentId": 2,
        "ItemId": "7aa9ed80-e2e3-4fe9-bb7c-0abbf1b5bd8c",
        "ItemTypeLovId": 4,
        "ItemType": "sample string 5",
        "ItemCode": "sample string 6",
        "Content": "sample string 7",
        "StageLovId": 1,
        "Stage": "sample string 8",
        "StepConfigId": 1,
        "Step": "sample string 9",
        "FieldName": "sample string 10",
        "ContentData": "QEBA",
        "PK": "sample string 7"
      },
      {
        "$ref": "9"
      },
      {
        "$ref": "9"
      }
    ]
  },
  "Entity": {
    "$id": "10",
    "PK": 1
  },
  "Validation": {
    "$id": "11",
    "SuccessOutput": {
      "$id": "12"
    },
    "Success": true,
    "ErrorMessages": null,
    "WarningMessages": {
      "$id": "13",
      "$values": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ]
    },
    "InfoMessages": {
      "$id": "14",
      "$values": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ]
    },
    "DatabaseErrorMessage": "sample string 3",
    "SuccessMessage": "sample string 4",
    "RelatedKeyId": "sample string 5"
  },
  "PageAccess": {
    "$id": "15",
    "PageCode": "sample string 1",
    "StepAccesses": {
      "$id": "16",
      "$values": [
        {
          "$id": "17",
          "StageCode": "sample string 1",
          "StepCode": "sample string 2"
        },
        {
          "$ref": "17"
        },
        {
          "$ref": "17"
        }
      ]
    },
    "Positions": {
      "$id": "18",
      "$values": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ]
    }
  },
  "UserRole": 0
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'MergedSiteViewModel'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "MergeSiteFromRequest": {
    "$id": "2",
    "Filters": {
      "$id": "3",
      "$values": [
        {
          "$id": "4",
          "<Field>k__BackingField": "sample string 1",
          "<Operator>k__BackingField": "sample string 2",
          "<Value>k__BackingField": {
            "$id": "5"
          },
          "<Logic>k__BackingField": "sample string 4",
          "<Filters>k__BackingField": {
            "$id": "6",
            "$values": [
              {
                "$ref": "4"
              },
              {
                "$ref": "4"
              },
              {
                "$ref": "4"
              }
            ]
          }
        },
        {
          "$ref": "4"
        },
        {
          "$ref": "4"
        }
      ]
    },
    "Page": 1,
    "PageSize": 2,
    "Sort": {
      "$id": "7",
      "Field": "sample string 1",
      "Dir": "sample string 2",
      "SecondaryField": "sample string 3",
      "SecondaryDir": "sample string 4",
      "ThirdField": "sample string 5",
      "ThirdDir": "sample string 6"
    },
    "PreviousPageSize": 3
  },
  "MergeSiteToRequest": {
    "$ref": "2"
  },
  "SitecoreContentsSvw": {
    "$id": "8",
    "$values": [
      {
        "$id": "9",
        "RowId": 1,
        "SitecoreContentId": 2,
        "ItemId": "4e604a75-3a6c-4449-b1f8-405a36eea6ca",
        "ItemTypeLovId": 4,
        "ItemType": "sample string 5",
        "ItemCode": "sample string 6",
        "Content": "sample string 7",
        "StageLovId": 1,
        "Stage": "sample string 8",
        "StepConfigId": 1,
        "Step": "sample string 9",
        "FieldName": "sample string 10",
        "ContentData": "QEBA",
        "PK": "sample string 7"
      },
      {
        "$ref": "9"
      },
      {
        "$ref": "9"
      }
    ]
  },
  "Entity": {
    "$id": "10",
    "PK": 1
  },
  "Validation": {
    "$id": "11",
    "SuccessOutput": {
      "$id": "12"
    },
    "Success": true,
    "ErrorMessages": null,
    "WarningMessages": {
      "$id": "13",
      "$values": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ]
    },
    "InfoMessages": {
      "$id": "14",
      "$values": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ]
    },
    "DatabaseErrorMessage": "sample string 3",
    "SuccessMessage": "sample string 4",
    "RelatedKeyId": "sample string 5"
  },
  "PageAccess": {
    "$id": "15",
    "PageCode": "sample string 1",
    "StepAccesses": {
      "$id": "16",
      "$values": [
        {
          "$id": "17",
          "StageCode": "sample string 1",
          "StepCode": "sample string 2"
        },
        {
          "$ref": "17"
        },
        {
          "$ref": "17"
        }
      ]
    },
    "Positions": {
      "$id": "18",
      "$values": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ]
    }
  },
  "UserRole": 0
}