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": "6e9e3b19-8bc5-47f3-b5e9-ad2347be14e2",
        "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": "1a52c3cc-73a7-4c6f-9034-125c3672c54c",
        "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
}