POST api/MergedHeritageItem/validate-merge

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:
{
  "SitecoreContentsSvw": {
    "$id": "2",
    "$values": [
      {
        "$id": "3",
        "RowId": 1,
        "SitecoreContentId": 2,
        "ItemId": "b125089f-82c0-4dfd-bb0b-aa4ef1aa544c",
        "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": "3"
      },
      {
        "$ref": "3"
      }
    ]
  },
  "MergedFromHeritageItem": {
    "$id": "4",
    "ItemImagePreviewUrl": "sample string 1",
    "StatutoryListType": "sample string 2",
    "Latitude": "sample string 3",
    "Longitude": "sample string 4",
    "FurtherComments": "sample string 5",
    "MapLayerForItemListedUnderNSWHeritageAct": "sample string 6",
    "RecordOwner": "sample string 7",
    "IsStopWorkOrderActive": true,
    "MergeItemFlag": true,
    "ItemId": 10,
    "ItemTypeLovId": 1,
    "CreatedDate": "2024-11-29T01:42:35.8144803+11:00",
    "ModifiedDate": "2024-11-29T01:42:35.8144803+11:00",
    "CreatedByUser": "sample string 13",
    "ModifiedByUser": "sample string 14",
    "ItemName": "sample string 15",
    "OtherNames": "sample string 16",
    "ItemGroupCollectionLovId": 1,
    "ItemCategoryLovId": 1,
    "ItemLocalGovtAreaLovId": 1,
    "GroupName": "sample string 17",
    "ParentItemId": 1,
    "ItemType": "sample string 18",
    "GroupCollection": "sample string 19",
    "Category": "sample string 20",
    "LocalGovtArea": "sample string 21",
    "StreetNo": "sample string 22",
    "StreetName": "sample string 23",
    "Suburb": "sample string 24",
    "State": "sample string 25",
    "AddressSummary": "sample string 26",
    "CmpId": 1,
    "ShrNo": "sample string 27",
    "ShrFlag": true,
    "ItemSourceLookupCodeLovId": 1,
    "ItemSourceLookupCodeShortDesc": "sample string 28",
    "IsHeritageItemUploadedByCsvFlag": true,
    "PK": "sample string 15"
  },
  "MergedToHeritageItem": {
    "$ref": "4"
  },
  "ItemDetailsFieldsAgainstFromToTypes": {
    "$id": "5",
    "$values": [
      {
        "$id": "6",
        "Id": 1,
        "CodeDesc": "sample string 2",
        "AlternativeDesc": "sample string 3",
        "SystemCode": "sample string 4",
        "SequenceNo": 1
      },
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      }
    ]
  },
  "LocationFieldsAgainstFromToTypes": {
    "$id": "7",
    "$values": [
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      }
    ]
  },
  "DescriptionFieldsAgainstFromToTypes": {
    "$id": "8",
    "$values": [
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      }
    ]
  },
  "HistoryFieldsAgainstFromToTypes": {
    "$id": "9",
    "$values": [
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      }
    ]
  },
  "AssessmentFieldsAgainstFromToTypes": {
    "$id": "10",
    "$values": [
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      }
    ]
  },
  "ManagementFieldsAgainstFromToTypes": {
    "$id": "11",
    "$values": [
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      }
    ]
  },
  "ListingsFromToBothTypes": {
    "$id": "12",
    "$values": [
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      }
    ]
  },
  "AddressesFromToBothTypes": {
    "$id": "13",
    "$values": [
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      }
    ]
  },
  "TitleInfoFromToBothTypes": {
    "$id": "14",
    "$values": [
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      }
    ]
  },
  "HistoricThemesFromToBothTypes": {
    "$id": "15",
    "$values": [
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      }
    ]
  },
  "ReferencesFromToBothTypes": {
    "$id": "16",
    "$values": [
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      }
    ]
  },
  "HeritageStudiesFromToBothTypes": {
    "$id": "17",
    "$values": [
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      }
    ]
  },
  "ProceduresWorkflowsFromToBothTypes": {
    "$id": "18",
    "$values": [
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      }
    ]
  },
  "RecommendedManagementFromToBothTypes": {
    "$id": "19",
    "$values": [
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      }
    ]
  },
  "NotesFromToBothTypes": {
    "$id": "20",
    "$values": [
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      }
    ]
  },
  "ItemDetailsFieldsAgainstSelectedItemId": 1,
  "LocationFieldsAgainstSelectedItemId": 1,
  "DescriptionFieldsAgainstSelectedItemId": 1,
  "HistoryFieldsAgainstSelectedItemId": 1,
  "AssessmentFieldsAgainstSelectedItemId": 1,
  "ManagementFieldsAgainstSelectedItemId": 1,
  "ListingsSelectedItemId": 1,
  "AddressesSelectedItemId": 1,
  "TitleInfoSelectedItemId": 1,
  "HistoricThemesSelectedItemId": 1,
  "ReferencesSelectedItemId": 1,
  "HeritageStudiesSelectedItemId": 1,
  "ProceduresWorkflowsSelectedItemId": 1,
  "RecommendedManagementSelectedItemId": 1,
  "NotesSelectedItemId": 1,
  "Entity": {
    "$id": "21",
    "PK": 1
  },
  "Validation": {
    "$id": "22",
    "SuccessOutput": {
      "$id": "23"
    },
    "Success": true,
    "ErrorMessages": null,
    "WarningMessages": {
      "$id": "24",
      "$values": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ]
    },
    "InfoMessages": {
      "$id": "25",
      "$values": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ]
    },
    "DatabaseErrorMessage": "sample string 3",
    "SuccessMessage": "sample string 4",
    "RelatedKeyId": "sample string 5"
  },
  "PageAccess": {
    "$id": "26",
    "PageCode": "sample string 1",
    "StepAccesses": {
      "$id": "27",
      "$values": [
        {
          "$id": "28",
          "StageCode": "sample string 1",
          "StepCode": "sample string 2"
        },
        {
          "$ref": "28"
        },
        {
          "$ref": "28"
        }
      ]
    },
    "Positions": {
      "$id": "29",
      "$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 'MergedHeritageItemViewModel'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "SitecoreContentsSvw": {
    "$id": "2",
    "$values": [
      {
        "$id": "3",
        "RowId": 1,
        "SitecoreContentId": 2,
        "ItemId": "053f59af-107e-46d1-996c-6aac077464fb",
        "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": "3"
      },
      {
        "$ref": "3"
      }
    ]
  },
  "MergedFromHeritageItem": {
    "$id": "4",
    "ItemImagePreviewUrl": "sample string 1",
    "StatutoryListType": "sample string 2",
    "Latitude": "sample string 3",
    "Longitude": "sample string 4",
    "FurtherComments": "sample string 5",
    "MapLayerForItemListedUnderNSWHeritageAct": "sample string 6",
    "RecordOwner": "sample string 7",
    "IsStopWorkOrderActive": true,
    "MergeItemFlag": true,
    "ItemId": 10,
    "ItemTypeLovId": 1,
    "CreatedDate": "2024-11-29T01:42:35.8457326+11:00",
    "ModifiedDate": "2024-11-29T01:42:35.8457326+11:00",
    "CreatedByUser": "sample string 13",
    "ModifiedByUser": "sample string 14",
    "ItemName": "sample string 15",
    "OtherNames": "sample string 16",
    "ItemGroupCollectionLovId": 1,
    "ItemCategoryLovId": 1,
    "ItemLocalGovtAreaLovId": 1,
    "GroupName": "sample string 17",
    "ParentItemId": 1,
    "ItemType": "sample string 18",
    "GroupCollection": "sample string 19",
    "Category": "sample string 20",
    "LocalGovtArea": "sample string 21",
    "StreetNo": "sample string 22",
    "StreetName": "sample string 23",
    "Suburb": "sample string 24",
    "State": "sample string 25",
    "AddressSummary": "sample string 26",
    "CmpId": 1,
    "ShrNo": "sample string 27",
    "ShrFlag": true,
    "ItemSourceLookupCodeLovId": 1,
    "ItemSourceLookupCodeShortDesc": "sample string 28",
    "IsHeritageItemUploadedByCsvFlag": true,
    "PK": "sample string 15"
  },
  "MergedToHeritageItem": {
    "$ref": "4"
  },
  "ItemDetailsFieldsAgainstFromToTypes": {
    "$id": "5",
    "$values": [
      {
        "$id": "6",
        "Id": 1,
        "CodeDesc": "sample string 2",
        "AlternativeDesc": "sample string 3",
        "SystemCode": "sample string 4",
        "SequenceNo": 1
      },
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      }
    ]
  },
  "LocationFieldsAgainstFromToTypes": {
    "$id": "7",
    "$values": [
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      }
    ]
  },
  "DescriptionFieldsAgainstFromToTypes": {
    "$id": "8",
    "$values": [
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      }
    ]
  },
  "HistoryFieldsAgainstFromToTypes": {
    "$id": "9",
    "$values": [
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      }
    ]
  },
  "AssessmentFieldsAgainstFromToTypes": {
    "$id": "10",
    "$values": [
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      }
    ]
  },
  "ManagementFieldsAgainstFromToTypes": {
    "$id": "11",
    "$values": [
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      }
    ]
  },
  "ListingsFromToBothTypes": {
    "$id": "12",
    "$values": [
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      }
    ]
  },
  "AddressesFromToBothTypes": {
    "$id": "13",
    "$values": [
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      }
    ]
  },
  "TitleInfoFromToBothTypes": {
    "$id": "14",
    "$values": [
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      }
    ]
  },
  "HistoricThemesFromToBothTypes": {
    "$id": "15",
    "$values": [
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      }
    ]
  },
  "ReferencesFromToBothTypes": {
    "$id": "16",
    "$values": [
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      }
    ]
  },
  "HeritageStudiesFromToBothTypes": {
    "$id": "17",
    "$values": [
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      }
    ]
  },
  "ProceduresWorkflowsFromToBothTypes": {
    "$id": "18",
    "$values": [
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      }
    ]
  },
  "RecommendedManagementFromToBothTypes": {
    "$id": "19",
    "$values": [
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      }
    ]
  },
  "NotesFromToBothTypes": {
    "$id": "20",
    "$values": [
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      },
      {
        "$ref": "6"
      }
    ]
  },
  "ItemDetailsFieldsAgainstSelectedItemId": 1,
  "LocationFieldsAgainstSelectedItemId": 1,
  "DescriptionFieldsAgainstSelectedItemId": 1,
  "HistoryFieldsAgainstSelectedItemId": 1,
  "AssessmentFieldsAgainstSelectedItemId": 1,
  "ManagementFieldsAgainstSelectedItemId": 1,
  "ListingsSelectedItemId": 1,
  "AddressesSelectedItemId": 1,
  "TitleInfoSelectedItemId": 1,
  "HistoricThemesSelectedItemId": 1,
  "ReferencesSelectedItemId": 1,
  "HeritageStudiesSelectedItemId": 1,
  "ProceduresWorkflowsSelectedItemId": 1,
  "RecommendedManagementSelectedItemId": 1,
  "NotesSelectedItemId": 1,
  "Entity": {
    "$id": "21",
    "PK": 1
  },
  "Validation": {
    "$id": "22",
    "SuccessOutput": {
      "$id": "23"
    },
    "Success": true,
    "ErrorMessages": null,
    "WarningMessages": {
      "$id": "24",
      "$values": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ]
    },
    "InfoMessages": {
      "$id": "25",
      "$values": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ]
    },
    "DatabaseErrorMessage": "sample string 3",
    "SuccessMessage": "sample string 4",
    "RelatedKeyId": "sample string 5"
  },
  "PageAccess": {
    "$id": "26",
    "PageCode": "sample string 1",
    "StepAccesses": {
      "$id": "27",
      "$values": [
        {
          "$id": "28",
          "StageCode": "sample string 1",
          "StepCode": "sample string 2"
        },
        {
          "$ref": "28"
        },
        {
          "$ref": "28"
        }
      ]
    },
    "Positions": {
      "$id": "29",
      "$values": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ]
    }
  },
  "UserRole": 0
}