PUT api/ItemAddress/add-address-from-gxe-to-existing-site

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
itemAddressViewModels
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
[
  {
    "$id": "2",
    "ItemAddressDataSearchRequest": {
      "$id": "3",
      "Filters": {
        "$id": "4",
        "$values": [
          {
            "$id": "5",
            "<Field>k__BackingField": "sample string 1",
            "<Operator>k__BackingField": "sample string 2",
            "<Value>k__BackingField": {
              "$id": "6"
            },
            "<Logic>k__BackingField": "sample string 4",
            "<Filters>k__BackingField": {
              "$id": "7",
              "$values": [
                {
                  "$ref": "5"
                },
                {
                  "$ref": "5"
                },
                {
                  "$ref": "5"
                }
              ]
            }
          },
          {
            "$ref": "5"
          },
          {
            "$ref": "5"
          }
        ]
      },
      "Page": 1,
      "PageSize": 2,
      "Sort": {
        "$id": "8",
        "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
    },
    "IsLocked": true,
    "IsApprovalWorkflowRequired": true,
    "IsMaintainItem": true,
    "StagingItemAddress": {
      "$id": "9",
      "PK": 1
    },
    "IsChecked": true,
    "IsNew": true,
    "IsModified": true,
    "IsAddressFromGxe": true,
    "TempItemAddressId": 8,
    "FullAddress": "sample string 2 sample string 3 sample string 9 sample string 10 sample string 11",
    "Suburb": "sample string 9",
    "State": "sample string 10",
    "Postcode": "sample string 11",
    "Country": "sample string 12",
    "County": "sample string 13",
    "ElectorateLovIdDesc": "sample string 14",
    "AddressTypeLovIdDesc": "sample string 15",
    "ParishLovIdDesc": "sample string 16",
    "LocalGovernmentArea": "sample string 17",
    "LocalAboriginalLandCouncil": "sample string 18",
    "LgaTypes": {
      "$id": "10",
      "$values": [
        {
          "$id": "11",
          "Id": 1,
          "CodeDesc": "sample string 2",
          "AlternativeDesc": "sample string 3",
          "SystemCode": "sample string 4",
          "SequenceNo": 1
        },
        {
          "$ref": "11"
        },
        {
          "$ref": "11"
        }
      ]
    },
    "Counties": {
      "$id": "12",
      "$values": [
        {
          "$ref": "11"
        },
        {
          "$ref": "11"
        },
        {
          "$ref": "11"
        }
      ]
    },
    "LALC": {
      "$id": "13",
      "$values": [
        {
          "$ref": "11"
        },
        {
          "$ref": "11"
        },
        {
          "$ref": "11"
        }
      ]
    },
    "Parish": {
      "$id": "14",
      "$values": [
        {
          "$id": "15",
          "Id": "sample string 1",
          "Text": "sample string 2",
          "OtherText": "sample string 3",
          "OtherData": {
            "$id": "16"
          }
        },
        {
          "$ref": "15"
        },
        {
          "$ref": "15"
        }
      ]
    },
    "ItemAddressDisplayStepConfig": {
      "$id": "17",
      "IsCurrent": true,
      "IsOpen": true,
      "IsBeingSaved": true,
      "IsUnlocked": true,
      "IsCompleted": true,
      "CanUserAccess": true,
      "CanUserSave": true,
      "TeamPositions": {
        "$id": "18",
        "$values": [
          {
            "$id": "19",
            "TeamPositionId": 1,
            "TeamId": 1,
            "PositionId": 1
          },
          {
            "$ref": "19"
          },
          {
            "$ref": "19"
          }
        ]
      },
      "RowId": 8,
      "WorkflowId": 9,
      "StepConfigId": 10,
      "TeamId": 1,
      "PositionId": 1,
      "TeamPositionId": 1,
      "Stage": "sample string 11",
      "StageCode": "sample string 12",
      "StageSequence": 13,
      "Step": "sample string 14",
      "StepCode": "sample string 15",
      "StepSequence": 16,
      "WorkflowStepSequence": 17,
      "ApplicationType": "sample string 18",
      "PortalType": "sample string 19",
      "Team": "sample string 20",
      "Position": "sample string 21",
      "LinkedStepConfigId": 1,
      "CurrentWorkflowFlag": true,
      "SeniorTeamLeaderAllocatedFlag": true,
      "IsPrepareStep": true,
      "IsReviewStep": true,
      "LockStepToTeamFlag": true,
      "LinkedWorkflowStepSequence": 1,
      "PK": true
    },
    "AddressTypes": {
      "$id": "20",
      "$values": [
        {
          "$ref": "11"
        },
        {
          "$ref": "11"
        },
        {
          "$ref": "11"
        }
      ]
    },
    "HasEditAccess": true,
    "Entity": {
      "$id": "21",
      "PK": 1,
      "AddressLine1": "sample string 10",
      "CountyParishPair": "sample string 11"
    },
    "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
  },
  {
    "$ref": "2"
  },
  {
    "$ref": "2"
  }
]

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 'IEnumerable`1'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "SuccessOutput": {
    "$id": "2"
  },
  "Success": true,
  "ErrorMessages": null,
  "WarningMessages": {
    "$id": "3",
    "$values": [
      "sample string 1",
      "sample string 2",
      "sample string 3"
    ]
  },
  "InfoMessages": {
    "$id": "4",
    "$values": [
      "sample string 1",
      "sample string 2",
      "sample string 3"
    ]
  },
  "DatabaseErrorMessage": "sample string 3",
  "SuccessMessage": "sample string 4",
  "RelatedKeyId": "sample string 5"
}