POST api/EmailLog

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:
{
  "Attachments": {
    "$id": "2",
    "$values": [
      {
        "$id": "3",
        "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": "4",
          "$values": [
            {
              "$id": "5",
              "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": "5"
            },
            {
              "$ref": "5"
            }
          ]
        },
        "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-11-09T13:01:25.481918+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
      },
      {
        "$ref": "3"
      },
      {
        "$ref": "3"
      }
    ]
  },
  "AttachedFile": {
    "$ref": "3"
  },
  "AttachedDocuments": {
    "$id": "17",
    "$values": [
      {
        "$ref": "3"
      },
      {
        "$ref": "3"
      },
      {
        "$ref": "3"
      }
    ]
  },
  "ApplictionId": 1,
  "CurrentStep": "sample string 2",
  "EmailType": "sample string 3",
  "ButtonText": "sample string 4",
  "IsEmailSent": true,
  "EmailId": 6,
  "ApplicantEmailId": 7,
  "CouncilEmailId": 8,
  "PCOEmailId": 9,
  "OwnerEmailId": 10,
  "StakeholdersEmailId": 11,
  "MinisterialServicesEmailId": 12,
  "AssignedOfficerEmailId": 13,
  "ApplicantEmailType": "sample string 14",
  "PCOEmailType": "sample string 15",
  "CouncilEmailType": "sample string 16",
  "OwnerEmailType": "sample string 17",
  "StakeholdersEmailType": "sample string 18",
  "MinisterialServicesEmailType": "sample string 19",
  "AssignedOfficerEmailType": "sample string 20",
  "HideButtons": true,
  "PopupHeader": "sample string 22",
  "FinalNotification": true,
  "AdvertisingToApplicantSendOn": "sample string 24",
  "AdvertisingToApplicantSendBy": "sample string 25",
  "AdvertisingToCouncilSendOn": "sample string 26",
  "AdvertisingToCouncilSendBy": "sample string 27",
  "OutcomeNotificationToApplicantSendOn": "2024-11-09T13:01:25.513156+11:00",
  "OutcomeNotificationToApplicantSendBy": "sample string 29",
  "OutcomeNotificationToCouncilSendOn": "2024-11-09T13:01:25.513156+11:00",
  "OutcomeNotificationToCouncilSendBy": "sample string 31",
  "CommunicationMethod": "sample string 32",
  "AuditText": "sample string 33",
  "IsUserAllowedSendEmail": true,
  "StakeholdersRequest": {
    "$id": "18",
    "Filters": {
      "$id": "19",
      "$values": [
        {
          "$id": "20",
          "<Field>k__BackingField": "sample string 1",
          "<Operator>k__BackingField": "sample string 2",
          "<Value>k__BackingField": {
            "$id": "21"
          },
          "<Logic>k__BackingField": "sample string 4",
          "<Filters>k__BackingField": {
            "$id": "22",
            "$values": [
              {
                "$ref": "20"
              },
              {
                "$ref": "20"
              },
              {
                "$ref": "20"
              }
            ]
          }
        },
        {
          "$ref": "20"
        },
        {
          "$ref": "20"
        }
      ]
    },
    "Page": 1,
    "PageSize": 2,
    "Sort": {
      "$id": "23",
      "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
  },
  "StakeholderIds": {
    "$id": "24",
    "$values": [
      1,
      2,
      3
    ]
  },
  "isAllStakeholdersNotified": true,
  "ApplicationDisplayStepConfig": {
    "$id": "25",
    "IsCurrent": true,
    "IsOpen": true,
    "IsBeingSaved": true,
    "IsUnlocked": true,
    "IsCompleted": true,
    "CanUserAccess": true,
    "CanUserSave": true,
    "TeamPositions": {
      "$id": "26",
      "$values": [
        {
          "$id": "27",
          "TeamPositionId": 1,
          "TeamId": 1,
          "PositionId": 1
        },
        {
          "$ref": "27"
        },
        {
          "$ref": "27"
        }
      ]
    },
    "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
  },
  "ItemId": 1,
  "OwnerNames": "sample string 36",
  "AttachmentFilesForIho": {
    "$id": "28",
    "$values": [
      {
        "$id": "29",
        "Id": "sample string 1",
        "Text": "sample string 2",
        "OtherText": "sample string 3",
        "OtherData": {
          "$id": "30"
        }
      },
      {
        "$ref": "29"
      },
      {
        "$ref": "29"
      }
    ]
  },
  "AttachmentUploadedFileId": 1,
  "MaxEmailAttachmentFileUploadSize": 1,
  "Entity": {
    "$id": "31",
    "PK": 1
  },
  "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 'EmailLogViewModel'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Attachments": {
    "$id": "2",
    "$values": [
      {
        "$id": "3",
        "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": "4",
          "$values": [
            {
              "$id": "5",
              "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": "5"
            },
            {
              "$ref": "5"
            }
          ]
        },
        "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-11-09T13:01:25.513156+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
      },
      {
        "$ref": "3"
      },
      {
        "$ref": "3"
      }
    ]
  },
  "AttachedFile": {
    "$ref": "3"
  },
  "AttachedDocuments": {
    "$id": "17",
    "$values": [
      {
        "$ref": "3"
      },
      {
        "$ref": "3"
      },
      {
        "$ref": "3"
      }
    ]
  },
  "ApplictionId": 1,
  "CurrentStep": "sample string 2",
  "EmailType": "sample string 3",
  "ButtonText": "sample string 4",
  "IsEmailSent": true,
  "EmailId": 6,
  "ApplicantEmailId": 7,
  "CouncilEmailId": 8,
  "PCOEmailId": 9,
  "OwnerEmailId": 10,
  "StakeholdersEmailId": 11,
  "MinisterialServicesEmailId": 12,
  "AssignedOfficerEmailId": 13,
  "ApplicantEmailType": "sample string 14",
  "PCOEmailType": "sample string 15",
  "CouncilEmailType": "sample string 16",
  "OwnerEmailType": "sample string 17",
  "StakeholdersEmailType": "sample string 18",
  "MinisterialServicesEmailType": "sample string 19",
  "AssignedOfficerEmailType": "sample string 20",
  "HideButtons": true,
  "PopupHeader": "sample string 22",
  "FinalNotification": true,
  "AdvertisingToApplicantSendOn": "sample string 24",
  "AdvertisingToApplicantSendBy": "sample string 25",
  "AdvertisingToCouncilSendOn": "sample string 26",
  "AdvertisingToCouncilSendBy": "sample string 27",
  "OutcomeNotificationToApplicantSendOn": "2024-11-09T13:01:25.5444096+11:00",
  "OutcomeNotificationToApplicantSendBy": "sample string 29",
  "OutcomeNotificationToCouncilSendOn": "2024-11-09T13:01:25.5444096+11:00",
  "OutcomeNotificationToCouncilSendBy": "sample string 31",
  "CommunicationMethod": "sample string 32",
  "AuditText": "sample string 33",
  "IsUserAllowedSendEmail": true,
  "StakeholdersRequest": {
    "$id": "18",
    "Filters": {
      "$id": "19",
      "$values": [
        {
          "$id": "20",
          "<Field>k__BackingField": "sample string 1",
          "<Operator>k__BackingField": "sample string 2",
          "<Value>k__BackingField": {
            "$id": "21"
          },
          "<Logic>k__BackingField": "sample string 4",
          "<Filters>k__BackingField": {
            "$id": "22",
            "$values": [
              {
                "$ref": "20"
              },
              {
                "$ref": "20"
              },
              {
                "$ref": "20"
              }
            ]
          }
        },
        {
          "$ref": "20"
        },
        {
          "$ref": "20"
        }
      ]
    },
    "Page": 1,
    "PageSize": 2,
    "Sort": {
      "$id": "23",
      "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
  },
  "StakeholderIds": {
    "$id": "24",
    "$values": [
      1,
      2,
      3
    ]
  },
  "isAllStakeholdersNotified": true,
  "ApplicationDisplayStepConfig": {
    "$id": "25",
    "IsCurrent": true,
    "IsOpen": true,
    "IsBeingSaved": true,
    "IsUnlocked": true,
    "IsCompleted": true,
    "CanUserAccess": true,
    "CanUserSave": true,
    "TeamPositions": {
      "$id": "26",
      "$values": [
        {
          "$id": "27",
          "TeamPositionId": 1,
          "TeamId": 1,
          "PositionId": 1
        },
        {
          "$ref": "27"
        },
        {
          "$ref": "27"
        }
      ]
    },
    "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
  },
  "ItemId": 1,
  "OwnerNames": "sample string 36",
  "AttachmentFilesForIho": {
    "$id": "28",
    "$values": [
      {
        "$id": "29",
        "Id": "sample string 1",
        "Text": "sample string 2",
        "OtherText": "sample string 3",
        "OtherData": {
          "$id": "30"
        }
      },
      {
        "$ref": "29"
      },
      {
        "$ref": "29"
      }
    ]
  },
  "AttachmentUploadedFileId": 1,
  "MaxEmailAttachmentFileUploadSize": 1,
  "Entity": {
    "$id": "31",
    "PK": 1
  },
  "Validation": {
    "$ref": "9"
  },
  "PageAccess": {
    "$ref": "13"
  },
  "UserRole": 0
}