POST api/MergedOrganisation/merge-organisations

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:
{
  "BeingMaintainedOrganisationId": 1,
  "MergeTypeLookupCodes": {
    "$id": "2",
    "$values": [
      {
        "$id": "3",
        "CodeLovId": 1,
        "CodeType": "sample string 2",
        "Description": "sample string 3",
        "AlternativeDesc": "sample string 4",
        "ShortDesc": "sample string 5",
        "ActiveFlag": true,
        "SequenceNo": 1,
        "SystemCode": "sample string 7",
        "IsStreetAddressFlag": true
      },
      {
        "$ref": "3"
      },
      {
        "$ref": "3"
      }
    ]
  },
  "SitecoreContents": {
    "$id": "4",
    "$values": [
      {
        "$id": "5",
        "RowId": 1,
        "SitecoreContentId": 2,
        "ItemId": "53885750-f39f-4e69-aa48-d20b87ccab6e",
        "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": "5"
      },
      {
        "$ref": "5"
      }
    ]
  },
  "Entity": {
    "$id": "6",
    "PK": 1
  },
  "Validation": {
    "$id": "7",
    "SuccessOutput": {
      "$id": "8"
    },
    "Success": true,
    "ErrorMessages": null,
    "WarningMessages": {
      "$id": "9",
      "$values": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ]
    },
    "InfoMessages": {
      "$id": "10",
      "$values": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ]
    },
    "DatabaseErrorMessage": "sample string 3",
    "SuccessMessage": "sample string 4",
    "RelatedKeyId": "sample string 5"
  },
  "PageAccess": {
    "$id": "11",
    "PageCode": "sample string 1",
    "StepAccesses": {
      "$id": "12",
      "$values": [
        {
          "$id": "13",
          "StageCode": "sample string 1",
          "StepCode": "sample string 2"
        },
        {
          "$ref": "13"
        },
        {
          "$ref": "13"
        }
      ]
    },
    "Positions": {
      "$id": "14",
      "$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 'MergedOrganisationViewModel'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "BeingMaintainedOrganisationId": 1,
  "MergeTypeLookupCodes": {
    "$id": "2",
    "$values": [
      {
        "$id": "3",
        "CodeLovId": 1,
        "CodeType": "sample string 2",
        "Description": "sample string 3",
        "AlternativeDesc": "sample string 4",
        "ShortDesc": "sample string 5",
        "ActiveFlag": true,
        "SequenceNo": 1,
        "SystemCode": "sample string 7",
        "IsStreetAddressFlag": true
      },
      {
        "$ref": "3"
      },
      {
        "$ref": "3"
      }
    ]
  },
  "SitecoreContents": {
    "$id": "4",
    "$values": [
      {
        "$id": "5",
        "RowId": 1,
        "SitecoreContentId": 2,
        "ItemId": "ad698fdb-28db-4878-bd73-862f4f60b698",
        "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": "5"
      },
      {
        "$ref": "5"
      }
    ]
  },
  "Entity": {
    "$id": "6",
    "PK": 1
  },
  "Validation": {
    "$id": "7",
    "SuccessOutput": {
      "$id": "8"
    },
    "Success": true,
    "ErrorMessages": null,
    "WarningMessages": {
      "$id": "9",
      "$values": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ]
    },
    "InfoMessages": {
      "$id": "10",
      "$values": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ]
    },
    "DatabaseErrorMessage": "sample string 3",
    "SuccessMessage": "sample string 4",
    "RelatedKeyId": "sample string 5"
  },
  "PageAccess": {
    "$id": "11",
    "PageCode": "sample string 1",
    "StepAccesses": {
      "$id": "12",
      "$values": [
        {
          "$id": "13",
          "StageCode": "sample string 1",
          "StepCode": "sample string 2"
        },
        {
          "$ref": "13"
        },
        {
          "$ref": "13"
        }
      ]
    },
    "Positions": {
      "$id": "14",
      "$values": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ]
    }
  },
  "UserRole": 0
}