POST api/Event

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:
{
  "EventTypes": {
    "$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"
      }
    ]
  },
  "EventUploadedFile": {
    "$id": "4",
    "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": "5",
      "$values": [
        {
          "$ref": "3"
        },
        {
          "$ref": "3"
        },
        {
          "$ref": "3"
        }
      ]
    },
    "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": "6",
      "$values": [
        {
          "$id": "7",
          "ApplicationId": 1,
          "ItemId": 2,
          "Address": "sample string 3",
          "ModifiedDate": "2024-12-01T22:03:02.4120063+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": "7"
        },
        {
          "$ref": "7"
        }
      ]
    },
    "Entity": {
      "$id": "8",
      "PK": 1
    },
    "Validation": {
      "$id": "9",
      "SuccessOutput": {
        "$id": "10"
      },
      "Success": true,
      "ErrorMessages": null,
      "WarningMessages": {
        "$id": "11",
        "$values": [
          "sample string 1",
          "sample string 2",
          "sample string 3"
        ]
      },
      "InfoMessages": {
        "$id": "12",
        "$values": [
          "sample string 1",
          "sample string 2",
          "sample string 3"
        ]
      },
      "DatabaseErrorMessage": "sample string 3",
      "SuccessMessage": "sample string 4",
      "RelatedKeyId": "sample string 5"
    },
    "PageAccess": {
      "$id": "13",
      "PageCode": "sample string 1",
      "StepAccesses": {
        "$id": "14",
        "$values": [
          {
            "$id": "15",
            "StageCode": "sample string 1",
            "StepCode": "sample string 2"
          },
          {
            "$ref": "15"
          },
          {
            "$ref": "15"
          }
        ]
      },
      "Positions": {
        "$id": "16",
        "$values": [
          "sample string 1",
          "sample string 2",
          "sample string 3"
        ]
      }
    },
    "UserRole": 0
  },
  "EventUploadedFiles": {
    "$id": "17",
    "$values": [
      {
        "$ref": "4"
      },
      {
        "$ref": "4"
      },
      {
        "$ref": "4"
      }
    ]
  },
  "Entity": {
    "$id": "18",
    "PK": 1,
    "ValidFromDateNullable": "2024-12-01T22:03:02.4120063+11:00"
  },
  "Validation": {
    "$ref": "9"
  },
  "PageAccess": {
    "$ref": "13"
  },
  "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 'EventViewModel'.

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
}