PUT api/PublicSubmission

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:
{
  "ApplicationId": 1,
  "PublicSubmissionUploadedFile": {
    "$id": "2",
    "FileAttachment": "QEBA",
    "FileUrl": "sample string 1",
    "IsFileTooLarge": true,
    "ParentKeyId": 1,
    "ParentFolderName": "sample string 3",
    "IsDisabled": true,
    "FileRequiredFlag": true,
    "DropzoneText": "sample string 6",
    "DisableAutomaticUpload": true,
    "SharepointFilePath": "sample string 8",
    "MaxFileCount": 1,
    "MaxFileSize": 1,
    "IsAttached": true,
    "FileTypeCode": "sample string 10",
    "DoesFileGenerate": true,
    "HasFileBeenGenerated": true,
    "IsShowingLink": true,
    "SubmittedVersionNo": 1,
    "ApplicationId": 14,
    "StampImagePath": "sample string 15",
    "CurrentApplicationStep": "sample string 16",
    "FetchStamped": true,
    "IsStepFile": true,
    "IsStepReadOnly": true,
    "IsSequenceNumberRequired": true,
    "IsAutoCommit": true,
    "StakeholderId": 22,
    "StakeholderType": "sample string 23",
    "DocumentTypes": {
      "$id": "3",
      "$values": [
        {
          "$id": "4",
          "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": "4"
        },
        {
          "$ref": "4"
        }
      ]
    },
    "OtherFileTypeLovId": 24,
    "FileTypeName": "sample string 25",
    "AcceptedFileTypes": "sample string 26",
    "IsLabeled": true,
    "IsImage": true,
    "CreatedBy": "sample string 29",
    "ModifiedBy": "sample string 30",
    "UploadedFileScanDataId": "sample string 31",
    "ApplicationTypeCode": "sample string 32",
    "ActionToCall": "sample string 33",
    "IsUploadHeritageItem": true,
    "IsAllRecordsErrors": true,
    "UploadHeritageItems": {
      "$id": "5",
      "$values": [
        {
          "$id": "6",
          "ApplicationId": 1,
          "ItemId": 2,
          "Address": "sample string 3",
          "ModifiedDate": "2024-11-09T13:15:14.8959827+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": "6"
        },
        {
          "$ref": "6"
        }
      ]
    },
    "Entity": {
      "$id": "7",
      "PK": 1
    },
    "Validation": {
      "$id": "8",
      "SuccessOutput": {
        "$id": "9"
      },
      "Success": true,
      "ErrorMessages": null,
      "WarningMessages": {
        "$id": "10",
        "$values": [
          "sample string 1",
          "sample string 2",
          "sample string 3"
        ]
      },
      "InfoMessages": {
        "$id": "11",
        "$values": [
          "sample string 1",
          "sample string 2",
          "sample string 3"
        ]
      },
      "DatabaseErrorMessage": "sample string 3",
      "SuccessMessage": "sample string 4",
      "RelatedKeyId": "sample string 5"
    },
    "PageAccess": {
      "$id": "12",
      "PageCode": "sample string 1",
      "StepAccesses": {
        "$id": "13",
        "$values": [
          {
            "$id": "14",
            "StageCode": "sample string 1",
            "StepCode": "sample string 2"
          },
          {
            "$ref": "14"
          },
          {
            "$ref": "14"
          }
        ]
      },
      "Positions": {
        "$id": "15",
        "$values": [
          "sample string 1",
          "sample string 2",
          "sample string 3"
        ]
      }
    },
    "UserRole": 0
  },
  "PublicSubmissionlUploadedFiles": {
    "$id": "16",
    "$values": [
      {
        "$ref": "2"
      },
      {
        "$ref": "2"
      },
      {
        "$ref": "2"
      }
    ]
  },
  "PublicSubmissionRequest": {
    "$id": "17",
    "Filters": {
      "$id": "18",
      "$values": [
        {
          "$id": "19",
          "<Field>k__BackingField": "sample string 1",
          "<Operator>k__BackingField": "sample string 2",
          "<Value>k__BackingField": {
            "$id": "20"
          },
          "<Logic>k__BackingField": "sample string 4",
          "<Filters>k__BackingField": {
            "$id": "21",
            "$values": [
              {
                "$ref": "19"
              },
              {
                "$ref": "19"
              },
              {
                "$ref": "19"
              }
            ]
          }
        },
        {
          "$ref": "19"
        },
        {
          "$ref": "19"
        }
      ]
    },
    "Page": 1,
    "PageSize": 2,
    "Sort": {
      "$id": "22",
      "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
  },
  "IndustyCategories": {
    "$id": "23",
    "$values": [
      {
        "$ref": "4"
      },
      {
        "$ref": "4"
      },
      {
        "$ref": "4"
      }
    ]
  },
  "ResponseOptions": {
    "$id": "24",
    "$values": [
      {
        "$ref": "4"
      },
      {
        "$ref": "4"
      },
      {
        "$ref": "4"
      }
    ]
  },
  "SubmissionTallyDetails": {
    "$id": "25",
    "TotalSupportRecords": 1,
    "TotalNeutralRecords": 2,
    "TotalObjectRecords": 3
  },
  "CanUserAddSubmission": true,
  "ProposedWork": "sample string 3",
  "HeritageItem": {
    "$id": "26",
    "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-09T13:15:14.9116071+11:00",
    "ModifiedDate": "2024-11-09T13:15:14.9116071+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"
  },
  "StepConfigId": 1,
  "PublicSubmissionDisplayStepConfig": {
    "$id": "27",
    "IsCurrent": true,
    "IsOpen": true,
    "IsBeingSaved": true,
    "IsUnlocked": true,
    "IsCompleted": true,
    "CanUserAccess": true,
    "CanUserSave": true,
    "TeamPositions": {
      "$id": "28",
      "$values": [
        {
          "$id": "29",
          "TeamPositionId": 1,
          "TeamId": 1,
          "PositionId": 1
        },
        {
          "$ref": "29"
        },
        {
          "$ref": "29"
        }
      ]
    },
    "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
  },
  "PreviousUrl": "sample string 4",
  "ShrNominationTypeSystemCode": "sample string 5",
  "IsShr": true,
  "Entity": {
    "$id": "30",
    "SubmittedDateNullable": "2024-11-09T13:15:14.8959827+11:00",
    "PK": 1
  },
  "Validation": {
    "$ref": "8"
  },
  "PageAccess": {
    "$ref": "12"
  },
  "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 'PublicSubmissionViewModel'.

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
}