POST api/Item/save-multiple-heritage-item

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
uploadHeritageItemsDTO
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "UploadHeritageItems": {
    "$id": "2",
    "$values": [
      {
        "$id": "3",
        "ApplicationId": 1,
        "ItemId": 2,
        "Address": "sample string 3",
        "ModifiedDate": "2024-11-29T01:33:18.5579668+11:00",
        "ItemName": "sample string 5",
        "StreetNo": "sample string 6",
        "StreetAddress": "sample string 7",
        "Suburb": "sample string 8",
        "Postcode": "sample string 9",
        "PhysicalDescription": "sample string 10",
        "StatementSignificance": "sample string 11",
        "History": "sample string 12"
      },
      {
        "$ref": "3"
      },
      {
        "$ref": "3"
      }
    ]
  },
  "ApplicationType": "sample string 1",
  "ApplicationId": 1,
  "S170DataId": 1,
  "EndorsedHCRApplicationId": 1
}

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 'UploadHeritageItemsDTO'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Validation": {
    "$id": "2",
    "SuccessOutput": {
      "$id": "3"
    },
    "Success": true,
    "ErrorMessages": null,
    "WarningMessages": {
      "$id": "4",
      "$values": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ]
    },
    "InfoMessages": {
      "$id": "5",
      "$values": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ]
    },
    "DatabaseErrorMessage": "sample string 3",
    "SuccessMessage": "sample string 4",
    "RelatedKeyId": "sample string 5"
  },
  "PageAccess": {
    "$id": "6",
    "PageCode": "sample string 1",
    "StepAccesses": {
      "$id": "7",
      "$values": [
        {
          "$id": "8",
          "StageCode": "sample string 1",
          "StepCode": "sample string 2"
        },
        {
          "$ref": "8"
        },
        {
          "$ref": "8"
        }
      ]
    },
    "Positions": {
      "$id": "9",
      "$values": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ]
    }
  },
  "UserRole": 0
}