diff --git a/Test/Altinn.Correspondence.Tests/CorrespondenceControllerTests.cs b/Test/Altinn.Correspondence.Tests/CorrespondenceControllerTests.cs index 40855426..b4e901d3 100644 --- a/Test/Altinn.Correspondence.Tests/CorrespondenceControllerTests.cs +++ b/Test/Altinn.Correspondence.Tests/CorrespondenceControllerTests.cs @@ -1367,7 +1367,7 @@ private MultipartFormDataContent CorrespondenceToFormData(BaseCorrespondenceExt { new StringContent(correspondence.Content.MessageSummary), "correspondence.content.MessageSummary" }, { new StringContent(correspondence.Content.MessageBody), "correspondence.content.MessageBody" }, { new StringContent(correspondence.Content.Language), "correspondence.content.Language" }, - { new StringContent((correspondence.IsReservable ?? false).ToString()), "correspondence.isReservable" }, + { new StringContent((correspondence.IgnoreReservation ?? false).ToString()), "correspondence.IgnoreReservation" }, }; if (correspondence.Notification != null) { diff --git a/Test/Altinn.Correspondence.Tests/Factories/CorrespondenceBuilder.cs b/Test/Altinn.Correspondence.Tests/Factories/CorrespondenceBuilder.cs index cbb3da5d..bbfd6b38 100644 --- a/Test/Altinn.Correspondence.Tests/Factories/CorrespondenceBuilder.cs +++ b/Test/Altinn.Correspondence.Tests/Factories/CorrespondenceBuilder.cs @@ -35,7 +35,7 @@ public CorrespondenceBuilder CreateCorrespondence() {"culpa_852", "2"}, {"anim5", "3"} }, - IsReservable = true + IgnoreReservation = false }, Recipients = new List(){ "0192:991825827", // org number diff --git a/Test/Altinn.Correspondence.Tests/Factories/InitializeCorrespondenceFactory.cs b/Test/Altinn.Correspondence.Tests/Factories/InitializeCorrespondenceFactory.cs new file mode 100644 index 00000000..45cc7a17 --- /dev/null +++ b/Test/Altinn.Correspondence.Tests/Factories/InitializeCorrespondenceFactory.cs @@ -0,0 +1,339 @@ +using Altinn.Correspondence.API.Models; +using Altinn.Correspondence.API.Models.Enums; +using Altinn.Correspondence.Core.Models.Entities; + +namespace Altinn.Correspondence.Tests.Factories; +internal static class InitializeCorrespondenceFactory +{ + internal static InitializeCorrespondencesExt BasicCorrespondences(string? url = null) => new InitializeCorrespondencesExt() + { + Correspondence = new BaseCorrespondenceExt() + { + ResourceId = "1", + Sender = "0192:991825827", + SendersReference = "1", + Content = new InitializeCorrespondenceContentExt() + { + Language = "no", + MessageTitle = "test", + MessageSummary = "# test", + MessageBody = "# test body /n __test__ /n **test**/n [test](www.test.no) /n ![test](www.test.no) /n ```test``` /n > test /n - test /n 1. test /n 1. test /n [x] test /n [ ] test /n ## test /n ### test /n #### test /n ##### test /n ###### test /n + test list /n - test list /n * list element", + Attachments = new List() { + new InitializeCorrespondenceAttachmentExt() + { + DataType = "html", + Name = "2", + RestrictionName = "testFile2", + SendersReference = "1234", + FileName = "test-fil2e", + IsEncrypted = false, + } + }, + }, + VisibleFrom = DateTimeOffset.UtcNow, + AllowSystemDeleteAfter = DateTimeOffset.UtcNow.AddDays(3), + DueDateTime = DateTimeOffset.UtcNow.AddDays(2), + ExternalReferences = new List(){ + new ExternalReferenceExt() + { + ReferenceValue = "1", + ReferenceType = ReferenceTypeExt.AltinnBrokerFileTransfer + }, + new ExternalReferenceExt() + { + ReferenceValue = "2", + ReferenceType = ReferenceTypeExt.DialogportenProcessId + } + }, + PropertyList = new Dictionary(){ + {"deserunt_12", "1"}, + {"culpa_852", "2"}, + {"anim5", "3"} + }, + ReplyOptions = new List(){ + new CorrespondenceReplyOptionExt() + { + LinkURL = "www.test.no", + LinkText = "test" + }, + new CorrespondenceReplyOptionExt() + { + LinkURL = "test.no", + LinkText = "test" + } + }, + Notification = new InitializeCorrespondenceNotificationExt() + { + NotificationTemplate = NotificationTemplateExt.GenericAltinnMessage, + NotificationChannel = NotificationChannelExt.Email, + SendersReference = "0192:986252932", + RequestedSendTime = DateTime.UtcNow.AddDays(1), + SendReminder = true, + }, + IgnoreReservation = false + }, + Recipients = new List(){ + "0192:991825827", + "0192:986252932", + "0192:986252933" + }, + ExistingAttachments = new List(), + }; + + internal static InitializeCorrespondencesExt BasicCorrespondenceWithFileAttachment() + { + var data = BasicCorrespondences(); + data.Correspondence.Content!.Attachments.Add( + new InitializeCorrespondenceAttachmentExt() + { + DataType = "pdf", + Name = "3", + RestrictionName = "testFile3", + SendersReference = "1234", + FileName = "test-fil3e", + IsEncrypted = false + }); + return data; + } + internal static InitializeCorrespondencesExt BasicCorrespondenceWithAttachment(List attachments) + { + var data = BasicCorrespondences(); + data.Correspondence.Content!.Attachments = attachments; + return data; + } + internal static InitializeCorrespondencesExt BasicCorrespondenceWithNoMessageBody() + { + var data = BasicCorrespondences(); + data.Correspondence.Content!.MessageBody = null; + return data; + } + internal static InitializeCorrespondencesExt BasicCorrespondenceWithoutAttachments() + { + var data = BasicCorrespondences(); + data.Correspondence.Content!.Attachments = new List() + { + }; + return data; + } + internal static InitializeCorrespondencesExt BasicCorrespondenceAlreadyVisible() + { + var data = BasicCorrespondences(); + data.Correspondence.VisibleFrom = DateTime.UtcNow.AddDays(-1); + return data; + } + internal static InitializeCorrespondencesExt BasicCorrespondenceWithHtmlInTitle() + { + var data = BasicCorrespondences(); + data.Correspondence.Content!.MessageTitle = "

test

"; + return data; + } + internal static InitializeCorrespondencesExt BasicCorrespondenceWithMarkdownInTitle() + { + var data = BasicCorrespondences(); + data.Correspondence.Content!.MessageTitle = "# test"; + return data; + } + internal static InitializeCorrespondencesExt BasicCorrespondenceWithHtmlInSummary() + { + var data = BasicCorrespondences(); + data.Correspondence.Content!.MessageSummary = "

test

"; + + return data; + } + internal static InitializeCorrespondencesExt BasicCorrespondenceWithHtmlInBody() + { + var data = BasicCorrespondences(); + data.Correspondence.Content!.MessageBody = "

test

"; + + return data; + } + internal static InitializeCorrespondencesExt BasicCorrespondenceWithGenericAltinnEmailNotification() + { + var data = BasicCorrespondences(); + data.Correspondence.Notification!.NotificationTemplate = NotificationTemplateExt.GenericAltinnMessage; + data.Correspondence.Notification!.NotificationChannel = NotificationChannelExt.Email; + data.Correspondence.Notification!.EmailBody = "test"; + data.Correspondence.Notification!.EmailSubject = "test"; + data.Correspondence.Notification!.SendReminder = true; + data.Correspondence.Notification!.ReminderEmailBody = "test"; + data.Correspondence.Notification!.ReminderEmailSubject = "test"; + return data; + } + internal static InitializeCorrespondencesExt BasicCorrespondenceWithGenericAltinnSmsNotification() + { + var data = BasicCorrespondences(); + data.Correspondence.Notification!.NotificationTemplate = NotificationTemplateExt.GenericAltinnMessage; + data.Correspondence.Notification!.NotificationChannel = NotificationChannelExt.Sms; + data.Correspondence.Notification!.SmsBody = "test"; + data.Correspondence.Notification!.SendReminder = true; + data.Correspondence.Notification!.ReminderSmsBody = "test"; + return data; + } + internal static InitializeCorrespondencesExt BasicCorrespondenceWithEmptyGenericAltinnEmailNotification() + { + var data = BasicCorrespondences(); + data.Correspondence.Notification!.NotificationTemplate = NotificationTemplateExt.GenericAltinnMessage; + data.Correspondence.Notification!.NotificationChannel = NotificationChannelExt.Email; + data.Correspondence.Notification!.SendReminder = true; + return data; + } + internal static InitializeCorrespondencesExt BasicCorrespondenceWithEmptyGenericAltinnSmsNotification() + { + var data = BasicCorrespondences(); + data.Correspondence.Notification!.NotificationTemplate = NotificationTemplateExt.GenericAltinnMessage; + data.Correspondence.Notification!.NotificationChannel = NotificationChannelExt.Sms; + data.Correspondence.Notification!.SendReminder = true; + return data; + } + internal static InitializeCorrespondencesExt BasicCorrespondenceWithPrefferedEmailCustomNotification() + { + var data = BasicCorrespondences(); + data.Correspondence.Notification!.NotificationTemplate = NotificationTemplateExt.CustomMessage; + data.Correspondence.Notification!.NotificationChannel = NotificationChannelExt.EmailPreferred; + data.Correspondence.Notification!.EmailBody = "test"; + data.Correspondence.Notification!.EmailSubject = "test"; + data.Correspondence.Notification!.SmsBody = "test"; + data.Correspondence.Notification!.SendReminder = true; + data.Correspondence.Notification!.ReminderEmailBody = "test"; + data.Correspondence.Notification!.ReminderEmailSubject = "test"; + data.Correspondence.Notification!.ReminderSmsBody = "test"; + return data; + } + internal static InitializeCorrespondencesExt BasicCorrespondenceWithPrefferedEmailAltinnNotification() + { + var data = BasicCorrespondences(); + data.Correspondence.Notification!.NotificationTemplate = NotificationTemplateExt.GenericAltinnMessage; + data.Correspondence.Notification!.NotificationChannel = NotificationChannelExt.EmailPreferred; + data.Correspondence.Notification!.SendReminder = true; + return data; + } + internal static InitializeCorrespondencesExt BasicCorrespondenceWithCustomEmailNotification() + { + var data = BasicCorrespondences(); + data.Correspondence.Notification!.NotificationTemplate = NotificationTemplateExt.CustomMessage; + data.Correspondence.Notification!.NotificationChannel = NotificationChannelExt.Email; + data.Correspondence.Notification!.EmailBody = "test"; + data.Correspondence.Notification!.EmailSubject = "test"; + data.Correspondence.Notification!.SendReminder = true; + data.Correspondence.Notification!.ReminderEmailBody = "test"; + data.Correspondence.Notification!.ReminderEmailSubject = "test"; + return data; + } + internal static InitializeCorrespondencesExt BasicCorrespondenceWithCustomSmsNotification() + { + var data = BasicCorrespondences(); + data.Correspondence.Notification!.NotificationTemplate = NotificationTemplateExt.CustomMessage; + data.Correspondence.Notification!.NotificationChannel = NotificationChannelExt.Sms; + data.Correspondence.Notification!.SmsBody = "test"; + data.Correspondence.Notification!.SendReminder = true; + data.Correspondence.Notification!.ReminderSmsBody = "test"; + return data; + } + internal static InitializeCorrespondencesExt BasicCorrespondenceWithEmptyCustomEmailNotification() + { + var data = BasicCorrespondences(); + data.Correspondence.Notification!.NotificationTemplate = NotificationTemplateExt.CustomMessage; + data.Correspondence.Notification!.NotificationChannel = NotificationChannelExt.Email; + data.Correspondence.Notification!.SendReminder = true; + return data; + } + internal static InitializeCorrespondencesExt BasicCorrespondenceWithEmptyCustomSmsNotification() + { + var data = BasicCorrespondences(); + data.Correspondence.Notification!.NotificationTemplate = NotificationTemplateExt.CustomMessage; + data.Correspondence.Notification!.NotificationChannel = NotificationChannelExt.Sms; + data.Correspondence.Notification!.SendReminder = true; + return data; + } + internal static InitializeCorrespondencesExt BasicCorrespondenceWithPrefferedDataWithMissingData() + { + var data = BasicCorrespondences(); + data.Correspondence.Notification!.NotificationTemplate = NotificationTemplateExt.CustomMessage; + data.Correspondence.Notification!.NotificationChannel = NotificationChannelExt.Email; + return data; + } + internal static InitializeCorrespondencesExt BasicCorrespondenceWithPrefferedDataWithMissingReminderData() + { + var data = BasicCorrespondences(); + data.Correspondence.Notification!.NotificationTemplate = NotificationTemplateExt.CustomMessage; + data.Correspondence.Notification!.NotificationChannel = NotificationChannelExt.Email; + data.Correspondence.Notification!.EmailBody = "test"; + data.Correspondence.Notification!.EmailSubject = "test"; + data.Correspondence.Notification!.SendReminder = true; + return data; + } + internal static InitializeCorrespondencesExt BasicCorrespondenceWithEmailNotificationWithSmsReminder() + { + var data = BasicCorrespondences(); + data.Correspondence.Notification!.NotificationTemplate = NotificationTemplateExt.GenericAltinnMessage; + data.Correspondence.Notification!.NotificationChannel = NotificationChannelExt.Email; + data.Correspondence.Notification!.ReminderNotificationChannel = NotificationChannelExt.Sms; + data.Correspondence.Notification!.EmailBody = "test"; + data.Correspondence.Notification!.EmailSubject = "test"; + data.Correspondence.Notification!.SendReminder = true; + data.Correspondence.Notification!.ReminderSmsBody = "test"; + return data; + } + internal static InitializeCorrespondencesExt BasicCorrespondenceWithEmailNotificationWithSmsPrefferedReminder() + { + var data = BasicCorrespondences(); + data.Correspondence.Notification!.NotificationTemplate = NotificationTemplateExt.GenericAltinnMessage; + data.Correspondence.Notification!.NotificationChannel = NotificationChannelExt.Email; + data.Correspondence.Notification!.ReminderNotificationChannel = NotificationChannelExt.Sms; + data.Correspondence.Notification!.EmailBody = "test"; + data.Correspondence.Notification!.EmailSubject = "test"; + data.Correspondence.Notification!.SendReminder = true; + data.Correspondence.Notification!.ReminderSmsBody = "test"; + data.Correspondence.Notification!.ReminderEmailBody = "test"; + data.Correspondence.Notification!.ReminderEmailSubject = "test"; + return data; + } + internal static InitializeCorrespondencesExt BasicCorrespondenceWithSmsNotificationAndEmailReminder() + { + var data = BasicCorrespondences(); + data.Correspondence.Notification!.NotificationTemplate = NotificationTemplateExt.GenericAltinnMessage; + data.Correspondence.Notification!.NotificationChannel = NotificationChannelExt.Sms; + data.Correspondence.Notification!.ReminderNotificationChannel = NotificationChannelExt.Email; + data.Correspondence.Notification!.ReminderSmsBody = "test"; + data.Correspondence.Notification!.SendReminder = true; + data.Correspondence.Notification!.ReminderEmailBody = "test"; + data.Correspondence.Notification!.ReminderEmailSubject = "test"; + return data; + } + internal static InitializeCorrespondencesExt BasicCorrespondenceWithSmsNotificationAndEmailPrefferedReminder() + { + var data = BasicCorrespondences(); + data.Correspondence.Notification!.NotificationTemplate = NotificationTemplateExt.GenericAltinnMessage; + data.Correspondence.Notification!.NotificationChannel = NotificationChannelExt.Sms; + data.Correspondence.Notification!.ReminderNotificationChannel = NotificationChannelExt.EmailPreferred; + data.Correspondence.Notification!.ReminderSmsBody = "test"; + data.Correspondence.Notification!.SendReminder = true; + data.Correspondence.Notification!.ReminderEmailBody = "test"; + data.Correspondence.Notification!.ReminderEmailSubject = "test"; + return data; + } + internal static CorrespondenceEntity CorrespondenceEntityWithNotifications() + { + return new CorrespondenceEntity() + { + ResourceId = "1", + Sender = "0192:991825827", + Recipient = "0192:991825827", + SendersReference = "1", + VisibleFrom = DateTimeOffset.UtcNow, + Statuses = new List(), + Created = DateTimeOffset.UtcNow, + Notifications = new List() + { + new CorrespondenceNotificationEntity() + { + Created = DateTimeOffset.UtcNow, + NotificationOrderId = Guid.NewGuid(), + RequestedSendTime = DateTimeOffset.UtcNow.AddDays(1), + NotificationTemplate = new Core.Models.Enums.NotificationTemplate(), + NotificationChannel = new Core.Models.Enums.NotificationChannel(), + } + } + }; + } +} diff --git a/altinn-correspondence-postman-collection.json b/altinn-correspondence-postman-collection.json index 42dcff76..926acc1a 100644 --- a/altinn-correspondence-postman-collection.json +++ b/altinn-correspondence-postman-collection.json @@ -223,7 +223,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"recipient\": \"1234\",\n \"resourceId\": \"1234\",\n \"sender\": \"8536:031145332\",\n \"sendersReference\": \"1234\",\n \"content\": {\n \"language\": \"English\",\n \"messageTitle\": \"test asdf asdf>\",\n \"messageSummary\": \"asdf asdfasdf\",\n \"attachments\": [\n {\n \"dataLocationType\": \"ExisitingExternalStorage\",\n \"dataType\": \"1\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"file\",\n \"restrictionName\": \"1234\",\n \"sendersReference\": \"1234\",\n \"fileName\": \"\",\n \"isEncrypted\": true,\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\"\n },\n {\n \"dataLocationType\": \"ExistingCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"MachineReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": true,\n \"checksum\": \"12345123412341234123412341234123\",\n \"dataLocationUrl\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"2025-05-29T13:31:28.290518+00:00\",\n \"allowSystemDeleteAfter\": \"2025-05-29T13:31:28.290518+00:00\",\n \"dueDateTime\": \"2025-05-29T13:31:28.290518+00:00\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"DialogPortenDialogID\"\n }\n ],\n \"propertyList\": {\n \"deserunt_12\": \"\",\n \"culpa_852\": \"\",\n \"anim5\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"2025-05-29T13:31:28.290518+00:00\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"2025-05-29T13:31:28.290518+00:00\"\n }\n ],\n \"isReservable\": true\n}", + "raw": "{\n \"recipient\": \"1234\",\n \"resourceId\": \"1234\",\n \"sender\": \"8536:031145332\",\n \"sendersReference\": \"1234\",\n \"content\": {\n \"language\": \"English\",\n \"messageTitle\": \"test asdf asdf>\",\n \"messageSummary\": \"asdf asdfasdf\",\n \"attachments\": [\n {\n \"dataLocationType\": \"ExisitingExternalStorage\",\n \"dataType\": \"1\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"file\",\n \"restrictionName\": \"1234\",\n \"sendersReference\": \"1234\",\n \"fileName\": \"\",\n \"isEncrypted\": true,\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\"\n },\n {\n \"dataLocationType\": \"ExistingCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"MachineReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": true,\n \"checksum\": \"12345123412341234123412341234123\",\n \"dataLocationUrl\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"2025-05-29T13:31:28.290518+00:00\",\n \"allowSystemDeleteAfter\": \"2025-05-29T13:31:28.290518+00:00\",\n \"dueDateTime\": \"2025-05-29T13:31:28.290518+00:00\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"DialogPortenDialogID\"\n }\n ],\n \"propertyList\": {\n \"deserunt_12\": \"\",\n \"culpa_852\": \"\",\n \"anim5\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"2025-05-29T13:31:28.290518+00:00\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"2025-05-29T13:31:28.290518+00:00\"\n }\n ],\n \"IgnoreReservation\": true\n}", "options": { "raw": { "headerFamily": "json", @@ -263,7 +263,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"recipient\": \"\",\n \"resourceId\": \"\",\n \"sender\": \"8536:031145332\",\n \"sendersReference\": \"\",\n \"content\": {\n \"language\": \"English\",\n \"messageTitle\": \"\",\n \"messageSummary\": \"\",\n \"attachments\": [\n {\n \"dataLocationType\": \"ExisitingExternalStorage\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\"\n },\n {\n \"dataLocationType\": \"ExistingCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"MachineReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"\",\n \"allowSystemDeleteAfter\": \"\",\n \"dueDateTime\": \"\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"DialogPortenDialogID\"\n }\n ],\n \"propertyList\": {\n \"deserunt_12\": \"\",\n \"culpa_852\": \"\",\n \"anim5\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n }\n ],\n \"isReservable\": \"\"\n}", + "raw": "{\n \"recipient\": \"\",\n \"resourceId\": \"\",\n \"sender\": \"8536:031145332\",\n \"sendersReference\": \"\",\n \"content\": {\n \"language\": \"English\",\n \"messageTitle\": \"\",\n \"messageSummary\": \"\",\n \"attachments\": [\n {\n \"dataLocationType\": \"ExisitingExternalStorage\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\"\n },\n {\n \"dataLocationType\": \"ExistingCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"MachineReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"\",\n \"allowSystemDeleteAfter\": \"\",\n \"dueDateTime\": \"\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"DialogPortenDialogID\"\n }\n ],\n \"propertyList\": {\n \"deserunt_12\": \"\",\n \"culpa_852\": \"\",\n \"anim5\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n }\n ],\n \"IgnoreReservation\": \"\"\n}", "options": { "raw": { "headerFamily": "json", @@ -295,7 +295,7 @@ } ], "cookie": [], - "body": "{\n \"recipient\": \"\",\n \"resourceId\": \"\",\n \"sender\": \"0913:541697724\",\n \"sendersReference\": \"\",\n \"content\": {\n \"language\": \"English\",\n \"messageTitle\": \"\",\n \"messageSummary\": \"\",\n \"attachments\": [\n {\n \"dataLocationType\": \"AltinnCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Initialized\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n },\n {\n \"dataLocationType\": \"AltinnCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"MachineReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Initialized\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"\",\n \"allowSystemDeleteAfter\": \"\",\n \"dueDateTime\": \"\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"DialogPortenDialogElementID\"\n }\n ],\n \"propertyList\": {\n \"euf\": \"\",\n \"eu_34\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n }\n ],\n \"isReservable\": \"\",\n \"correspondenceId\": \"\",\n \"created\": \"\",\n \"status\": \"Published\",\n \"statusText\": \"\",\n \"statusChanged\": \"\"\n}" + "body": "{\n \"recipient\": \"\",\n \"resourceId\": \"\",\n \"sender\": \"0913:541697724\",\n \"sendersReference\": \"\",\n \"content\": {\n \"language\": \"English\",\n \"messageTitle\": \"\",\n \"messageSummary\": \"\",\n \"attachments\": [\n {\n \"dataLocationType\": \"AltinnCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Initialized\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n },\n {\n \"dataLocationType\": \"AltinnCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"MachineReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Initialized\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"\",\n \"allowSystemDeleteAfter\": \"\",\n \"dueDateTime\": \"\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"DialogPortenDialogElementID\"\n }\n ],\n \"propertyList\": {\n \"euf\": \"\",\n \"eu_34\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n }\n ],\n \"IgnoreReservation\": \"\",\n \"correspondenceId\": \"\",\n \"created\": \"\",\n \"status\": \"Published\",\n \"statusText\": \"\",\n \"statusChanged\": \"\"\n}" } ] }, @@ -325,7 +325,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"recipient\": \"1234\",\n \"resourceId\": \"1234\",\n \"sender\": \"8536:031145332\",\n \"sendersReference\": \"1234\",\n \"content\": {\n \"language\": \"English\",\n \"messageTitle\": \"test asdf asdf>\",\n \"messageSummary\": \"asdf asdfasdf\",\n \"attachments\": [\n {\n \"dataLocationType\": \"ExisitingExternalStorage\",\n \"dataType\": \"1\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"file\",\n \"restrictionName\": \"1234\",\n \"sendersReference\": \"1234\",\n \"fileName\": \"\",\n \"isEncrypted\": true,\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\"\n },\n {\n \"dataLocationType\": \"ExistingCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"MachineReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": true,\n \"checksum\": \"12345123412341234123412341234123\",\n \"dataLocationUrl\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"2025-05-29T13:31:28.290518+00:00\",\n \"allowSystemDeleteAfter\": \"2025-05-29T13:31:28.290518+00:00\",\n \"dueDateTime\": \"2025-05-29T13:31:28.290518+00:00\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"DialogPortenDialogID\"\n }\n ],\n \"propertyList\": {\n \"deserunt_12\": \"\",\n \"culpa_852\": \"\",\n \"anim5\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"2025-05-29T13:31:28.290518+00:00\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"2025-05-29T13:31:28.290518+00:00\"\n }\n ],\n \"isReservable\": true\n}", + "raw": "{\n \"recipient\": \"1234\",\n \"resourceId\": \"1234\",\n \"sender\": \"8536:031145332\",\n \"sendersReference\": \"1234\",\n \"content\": {\n \"language\": \"English\",\n \"messageTitle\": \"test asdf asdf>\",\n \"messageSummary\": \"asdf asdfasdf\",\n \"attachments\": [\n {\n \"dataLocationType\": \"ExisitingExternalStorage\",\n \"dataType\": \"1\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"file\",\n \"restrictionName\": \"1234\",\n \"sendersReference\": \"1234\",\n \"fileName\": \"\",\n \"isEncrypted\": true,\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\"\n },\n {\n \"dataLocationType\": \"ExistingCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"MachineReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": true,\n \"checksum\": \"12345123412341234123412341234123\",\n \"dataLocationUrl\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"2025-05-29T13:31:28.290518+00:00\",\n \"allowSystemDeleteAfter\": \"2025-05-29T13:31:28.290518+00:00\",\n \"dueDateTime\": \"2025-05-29T13:31:28.290518+00:00\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"DialogPortenDialogID\"\n }\n ],\n \"propertyList\": {\n \"deserunt_12\": \"\",\n \"culpa_852\": \"\",\n \"anim5\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"2025-05-29T13:31:28.290518+00:00\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"2025-05-29T13:31:28.290518+00:00\"\n }\n ],\n \"IgnoreReservation\": true\n}", "options": { "raw": { "headerFamily": "json", @@ -365,7 +365,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"recipient\": \"\",\n \"resourceId\": \"\",\n \"sender\": \"8536:031145332\",\n \"sendersReference\": \"\",\n \"content\": {\n \"language\": \"English\",\n \"messageTitle\": \"\",\n \"messageSummary\": \"\",\n \"attachments\": [\n {\n \"dataLocationType\": \"ExisitingExternalStorage\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\"\n },\n {\n \"dataLocationType\": \"ExistingCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"MachineReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"\",\n \"allowSystemDeleteAfter\": \"\",\n \"dueDateTime\": \"\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"DialogPortenDialogID\"\n }\n ],\n \"propertyList\": {\n \"deserunt_12\": \"\",\n \"culpa_852\": \"\",\n \"anim5\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n }\n ],\n \"isReservable\": \"\"\n}", + "raw": "{\n \"recipient\": \"\",\n \"resourceId\": \"\",\n \"sender\": \"8536:031145332\",\n \"sendersReference\": \"\",\n \"content\": {\n \"language\": \"English\",\n \"messageTitle\": \"\",\n \"messageSummary\": \"\",\n \"attachments\": [\n {\n \"dataLocationType\": \"ExisitingExternalStorage\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\"\n },\n {\n \"dataLocationType\": \"ExistingCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"MachineReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"\",\n \"allowSystemDeleteAfter\": \"\",\n \"dueDateTime\": \"\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"DialogPortenDialogID\"\n }\n ],\n \"propertyList\": {\n \"deserunt_12\": \"\",\n \"culpa_852\": \"\",\n \"anim5\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n }\n ],\n \"IgnoreReservation\": \"\"\n}", "options": { "raw": { "headerFamily": "json", @@ -397,7 +397,7 @@ } ], "cookie": [], - "body": "{\n \"recipient\": \"\",\n \"resourceId\": \"\",\n \"sender\": \"0913:541697724\",\n \"sendersReference\": \"\",\n \"content\": {\n \"language\": \"English\",\n \"messageTitle\": \"\",\n \"messageSummary\": \"\",\n \"attachments\": [\n {\n \"dataLocationType\": \"AltinnCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Initialized\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n },\n {\n \"dataLocationType\": \"AltinnCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"MachineReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Initialized\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"\",\n \"allowSystemDeleteAfter\": \"\",\n \"dueDateTime\": \"\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"DialogPortenDialogElementID\"\n }\n ],\n \"propertyList\": {\n \"euf\": \"\",\n \"eu_34\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n }\n ],\n \"isReservable\": \"\",\n \"correspondenceId\": \"\",\n \"created\": \"\",\n \"status\": \"Published\",\n \"statusText\": \"\",\n \"statusChanged\": \"\"\n}" + "body": "{\n \"recipient\": \"\",\n \"resourceId\": \"\",\n \"sender\": \"0913:541697724\",\n \"sendersReference\": \"\",\n \"content\": {\n \"language\": \"English\",\n \"messageTitle\": \"\",\n \"messageSummary\": \"\",\n \"attachments\": [\n {\n \"dataLocationType\": \"AltinnCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Initialized\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n },\n {\n \"dataLocationType\": \"AltinnCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"MachineReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Initialized\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"\",\n \"allowSystemDeleteAfter\": \"\",\n \"dueDateTime\": \"\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"DialogPortenDialogElementID\"\n }\n ],\n \"propertyList\": {\n \"euf\": \"\",\n \"eu_34\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n }\n ],\n \"IgnoreReservation\": \"\",\n \"correspondenceId\": \"\",\n \"created\": \"\",\n \"status\": \"Published\",\n \"statusText\": \"\",\n \"statusChanged\": \"\"\n}" } ] }, @@ -427,7 +427,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"recipient\": \"1234\",\n \"resourceId\": \"1234\",\n \"sender\": \"8536:031145332\",\n \"sendersReference\": \"1234\",\n \"content\": {\n \"language\": \"English\",\n \"messageTitle\": \"test asdf asdf>\",\n \"messageSummary\": \"asdf asdfasdf\",\n \"attachments\": [\n {\n \"dataLocationType\": \"ExisitingExternalStorage\",\n \"dataType\": \"1\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"file\",\n \"restrictionName\": \"1234\",\n \"sendersReference\": \"1234\",\n \"fileName\": \"\",\n \"isEncrypted\": true,\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\"\n },\n {\n \"dataLocationType\": \"ExistingCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"MachineReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": true,\n \"checksum\": \"12345123412341234123412341234123\",\n \"dataLocationUrl\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"2025-05-29T13:31:28.290518+00:00\",\n \"allowSystemDeleteAfter\": \"2025-05-29T13:31:28.290518+00:00\",\n \"dueDateTime\": \"2025-05-29T13:31:28.290518+00:00\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"DialogPortenDialogID\"\n }\n ],\n \"propertyList\": {\n \"deserunt_12\": \"\",\n \"culpa_852\": \"\",\n \"anim5\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"2025-05-29T13:31:28.290518+00:00\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"2025-05-29T13:31:28.290518+00:00\"\n }\n ],\n \"isReservable\": true\n}", + "raw": "{\n \"recipient\": \"1234\",\n \"resourceId\": \"1234\",\n \"sender\": \"8536:031145332\",\n \"sendersReference\": \"1234\",\n \"content\": {\n \"language\": \"English\",\n \"messageTitle\": \"test asdf asdf>\",\n \"messageSummary\": \"asdf asdfasdf\",\n \"attachments\": [\n {\n \"dataLocationType\": \"ExisitingExternalStorage\",\n \"dataType\": \"1\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"file\",\n \"restrictionName\": \"1234\",\n \"sendersReference\": \"1234\",\n \"fileName\": \"\",\n \"isEncrypted\": true,\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\"\n },\n {\n \"dataLocationType\": \"ExistingCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"MachineReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": true,\n \"checksum\": \"12345123412341234123412341234123\",\n \"dataLocationUrl\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"2025-05-29T13:31:28.290518+00:00\",\n \"allowSystemDeleteAfter\": \"2025-05-29T13:31:28.290518+00:00\",\n \"dueDateTime\": \"2025-05-29T13:31:28.290518+00:00\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"DialogPortenDialogID\"\n }\n ],\n \"propertyList\": {\n \"deserunt_12\": \"\",\n \"culpa_852\": \"\",\n \"anim5\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"2025-05-29T13:31:28.290518+00:00\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"2025-05-29T13:31:28.290518+00:00\"\n }\n ],\n \"IgnoreReservation\": true\n}", "options": { "raw": { "headerFamily": "json", @@ -467,7 +467,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"recipient\": \"\",\n \"resourceId\": \"\",\n \"sender\": \"8536:031145332\",\n \"sendersReference\": \"\",\n \"content\": {\n \"language\": \"English\",\n \"messageTitle\": \"\",\n \"messageSummary\": \"\",\n \"attachments\": [\n {\n \"dataLocationType\": \"ExisitingExternalStorage\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\"\n },\n {\n \"dataLocationType\": \"ExistingCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"MachineReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"\",\n \"allowSystemDeleteAfter\": \"\",\n \"dueDateTime\": \"\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"DialogPortenDialogID\"\n }\n ],\n \"propertyList\": {\n \"deserunt_12\": \"\",\n \"culpa_852\": \"\",\n \"anim5\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n }\n ],\n \"isReservable\": \"\"\n}", + "raw": "{\n \"recipient\": \"\",\n \"resourceId\": \"\",\n \"sender\": \"8536:031145332\",\n \"sendersReference\": \"\",\n \"content\": {\n \"language\": \"English\",\n \"messageTitle\": \"\",\n \"messageSummary\": \"\",\n \"attachments\": [\n {\n \"dataLocationType\": \"ExisitingExternalStorage\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\"\n },\n {\n \"dataLocationType\": \"ExistingCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"MachineReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"\",\n \"allowSystemDeleteAfter\": \"\",\n \"dueDateTime\": \"\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"DialogPortenDialogID\"\n }\n ],\n \"propertyList\": {\n \"deserunt_12\": \"\",\n \"culpa_852\": \"\",\n \"anim5\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n }\n ],\n \"IgnoreReservation\": \"\"\n}", "options": { "raw": { "headerFamily": "json", @@ -499,7 +499,7 @@ } ], "cookie": [], - "body": "{\n \"recipient\": \"\",\n \"resourceId\": \"\",\n \"sender\": \"0913:541697724\",\n \"sendersReference\": \"\",\n \"content\": {\n \"language\": \"English\",\n \"messageTitle\": \"\",\n \"messageSummary\": \"\",\n \"attachments\": [\n {\n \"dataLocationType\": \"AltinnCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Initialized\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n },\n {\n \"dataLocationType\": \"AltinnCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"MachineReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Initialized\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"\",\n \"allowSystemDeleteAfter\": \"\",\n \"dueDateTime\": \"\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"DialogPortenDialogElementID\"\n }\n ],\n \"propertyList\": {\n \"euf\": \"\",\n \"eu_34\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n }\n ],\n \"isReservable\": \"\",\n \"correspondenceId\": \"\",\n \"created\": \"\",\n \"status\": \"Published\",\n \"statusText\": \"\",\n \"statusChanged\": \"\"\n}" + "body": "{\n \"recipient\": \"\",\n \"resourceId\": \"\",\n \"sender\": \"0913:541697724\",\n \"sendersReference\": \"\",\n \"content\": {\n \"language\": \"English\",\n \"messageTitle\": \"\",\n \"messageSummary\": \"\",\n \"attachments\": [\n {\n \"dataLocationType\": \"AltinnCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Initialized\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n },\n {\n \"dataLocationType\": \"AltinnCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"MachineReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Initialized\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"\",\n \"allowSystemDeleteAfter\": \"\",\n \"dueDateTime\": \"\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"DialogPortenDialogElementID\"\n }\n ],\n \"propertyList\": {\n \"euf\": \"\",\n \"eu_34\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n }\n ],\n \"IgnoreReservation\": \"\",\n \"correspondenceId\": \"\",\n \"created\": \"\",\n \"status\": \"Published\",\n \"statusText\": \"\",\n \"statusChanged\": \"\"\n}" } ] }, @@ -529,7 +529,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"recipient\": \"1234\",\n \"resourceId\": \"1234\",\n \"sender\": \"8536:031145332\",\n \"sendersReference\": \"1234\",\n \"content\": {\n \"language\": \"English\",\n \"messageTitle\": \"test asdf asdf>\",\n \"messageSummary\": \"asdf asdfasdf\",\n \"attachments\": [\n {\n \"dataLocationType\": \"ExisitingExternalStorage\",\n \"dataType\": \"1\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"file\",\n \"restrictionName\": \"1234\",\n \"sendersReference\": \"1234\",\n \"fileName\": \"\",\n \"isEncrypted\": true,\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\"\n },\n {\n \"dataLocationType\": \"ExistingCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"MachineReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": true,\n \"checksum\": \"12345123412341234123412341234123\",\n \"dataLocationUrl\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"2025-05-29T13:31:28.290518+00:00\",\n \"allowSystemDeleteAfter\": \"2025-05-29T13:31:28.290518+00:00\",\n \"dueDateTime\": \"2025-05-29T13:31:28.290518+00:00\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"DialogPortenDialogID\"\n }\n ],\n \"propertyList\": {\n \"deserunt_12\": \"\",\n \"culpa_852\": \"\",\n \"anim5\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"2025-05-29T13:31:28.290518+00:00\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"2025-05-29T13:31:28.290518+00:00\"\n }\n ],\n \"isReservable\": true\n}", + "raw": "{\n \"recipient\": \"1234\",\n \"resourceId\": \"1234\",\n \"sender\": \"8536:031145332\",\n \"sendersReference\": \"1234\",\n \"content\": {\n \"language\": \"English\",\n \"messageTitle\": \"test asdf asdf>\",\n \"messageSummary\": \"asdf asdfasdf\",\n \"attachments\": [\n {\n \"dataLocationType\": \"ExisitingExternalStorage\",\n \"dataType\": \"1\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"file\",\n \"restrictionName\": \"1234\",\n \"sendersReference\": \"1234\",\n \"fileName\": \"\",\n \"isEncrypted\": true,\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\"\n },\n {\n \"dataLocationType\": \"ExistingCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"MachineReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": true,\n \"checksum\": \"12345123412341234123412341234123\",\n \"dataLocationUrl\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"2025-05-29T13:31:28.290518+00:00\",\n \"allowSystemDeleteAfter\": \"2025-05-29T13:31:28.290518+00:00\",\n \"dueDateTime\": \"2025-05-29T13:31:28.290518+00:00\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"DialogPortenDialogID\"\n }\n ],\n \"propertyList\": {\n \"deserunt_12\": \"\",\n \"culpa_852\": \"\",\n \"anim5\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"2025-05-29T13:31:28.290518+00:00\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"2025-05-29T13:31:28.290518+00:00\"\n }\n ],\n \"IgnoreReservation\": true\n}", "options": { "raw": { "headerFamily": "json", @@ -569,7 +569,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"recipient\": \"\",\n \"resourceId\": \"\",\n \"sender\": \"8536:031145332\",\n \"sendersReference\": \"\",\n \"content\": {\n \"language\": \"English\",\n \"messageTitle\": \"\",\n \"messageSummary\": \"\",\n \"attachments\": [\n {\n \"dataLocationType\": \"ExisitingExternalStorage\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\"\n },\n {\n \"dataLocationType\": \"ExistingCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"MachineReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"\",\n \"allowSystemDeleteAfter\": \"\",\n \"dueDateTime\": \"\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"DialogPortenDialogID\"\n }\n ],\n \"propertyList\": {\n \"deserunt_12\": \"\",\n \"culpa_852\": \"\",\n \"anim5\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n }\n ],\n \"isReservable\": \"\"\n}", + "raw": "{\n \"recipient\": \"\",\n \"resourceId\": \"\",\n \"sender\": \"8536:031145332\",\n \"sendersReference\": \"\",\n \"content\": {\n \"language\": \"English\",\n \"messageTitle\": \"\",\n \"messageSummary\": \"\",\n \"attachments\": [\n {\n \"dataLocationType\": \"ExisitingExternalStorage\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\"\n },\n {\n \"dataLocationType\": \"ExistingCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"MachineReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"\",\n \"allowSystemDeleteAfter\": \"\",\n \"dueDateTime\": \"\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"DialogPortenDialogID\"\n }\n ],\n \"propertyList\": {\n \"deserunt_12\": \"\",\n \"culpa_852\": \"\",\n \"anim5\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n }\n ],\n \"IgnoreReservation\": \"\"\n}", "options": { "raw": { "headerFamily": "json", @@ -601,7 +601,7 @@ } ], "cookie": [], - "body": "{\n \"recipient\": \"\",\n \"resourceId\": \"\",\n \"sender\": \"0913:541697724\",\n \"sendersReference\": \"\",\n \"content\": {\n \"language\": \"English\",\n \"messageTitle\": \"\",\n \"messageSummary\": \"\",\n \"attachments\": [\n {\n \"dataLocationType\": \"AltinnCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Initialized\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n },\n {\n \"dataLocationType\": \"AltinnCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"MachineReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Initialized\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"\",\n \"allowSystemDeleteAfter\": \"\",\n \"dueDateTime\": \"\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"DialogPortenDialogElementID\"\n }\n ],\n \"propertyList\": {\n \"euf\": \"\",\n \"eu_34\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n }\n ],\n \"isReservable\": \"\",\n \"correspondenceId\": \"\",\n \"created\": \"\",\n \"status\": \"Published\",\n \"statusText\": \"\",\n \"statusChanged\": \"\"\n}" + "body": "{\n \"recipient\": \"\",\n \"resourceId\": \"\",\n \"sender\": \"0913:541697724\",\n \"sendersReference\": \"\",\n \"content\": {\n \"language\": \"English\",\n \"messageTitle\": \"\",\n \"messageSummary\": \"\",\n \"attachments\": [\n {\n \"dataLocationType\": \"AltinnCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Initialized\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n },\n {\n \"dataLocationType\": \"AltinnCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"MachineReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Initialized\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"\",\n \"allowSystemDeleteAfter\": \"\",\n \"dueDateTime\": \"\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"DialogPortenDialogElementID\"\n }\n ],\n \"propertyList\": {\n \"euf\": \"\",\n \"eu_34\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n }\n ],\n \"IgnoreReservation\": \"\",\n \"correspondenceId\": \"\",\n \"created\": \"\",\n \"status\": \"Published\",\n \"statusText\": \"\",\n \"statusChanged\": \"\"\n}" } ] }, @@ -748,7 +748,7 @@ } ], "cookie": [], - "body": "{\n \"recipient\": \"\",\n \"resourceId\": \"\",\n \"sender\": \"9585:149785773\",\n \"sendersReference\": \"\",\n \"content\": {\n \"language\": \"NorwegianNO\",\n \"messageTitle\": \"\",\n \"messageSummary\": \"\",\n \"attachments\": [\n {\n \"dataLocationType\": \"ExternalStorage\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Published\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n },\n {\n \"dataLocationType\": \"AltinnCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Published\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"\",\n \"allowSystemDeleteAfter\": \"\",\n \"dueDateTime\": \"\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnAppInstance\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n }\n ],\n \"propertyList\": {\n \"Excepteur36a\": \"\",\n \"officiaaf1\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\",\n \"notificationId\": \"\",\n \"notificationChannel\": \"Email\",\n \"created\": \"\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\",\n \"notificationId\": \"\",\n \"notificationChannel\": \"Sms\",\n \"created\": \"\"\n }\n ],\n \"isReservable\": \"\",\n \"correspondenceId\": \"\",\n \"created\": \"\",\n \"status\": \"Archived\",\n \"statusText\": \"\",\n \"statusChanged\": \"\",\n \"statusHistory\": [\n {\n \"status\": \"Confirmed\",\n \"statusText\": \"\",\n \"statusChanged\": \"\"\n },\n {\n \"status\": \"Archived\",\n \"statusText\": \"\",\n \"statusChanged\": \"\"\n }\n ],\n \"notificationStatusHistory\": [\n {\n \"status\": \"\",\n \"statusText\": \"\",\n \"statusChanged\": \"\"\n },\n {\n \"status\": \"\",\n \"statusText\": \"\",\n \"statusChanged\": \"\"\n }\n ]\n}" + "body": "{\n \"recipient\": \"\",\n \"resourceId\": \"\",\n \"sender\": \"9585:149785773\",\n \"sendersReference\": \"\",\n \"content\": {\n \"language\": \"NorwegianNO\",\n \"messageTitle\": \"\",\n \"messageSummary\": \"\",\n \"attachments\": [\n {\n \"dataLocationType\": \"ExternalStorage\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Published\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n },\n {\n \"dataLocationType\": \"AltinnCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Published\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"\",\n \"allowSystemDeleteAfter\": \"\",\n \"dueDateTime\": \"\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnAppInstance\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n }\n ],\n \"propertyList\": {\n \"Excepteur36a\": \"\",\n \"officiaaf1\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\",\n \"notificationId\": \"\",\n \"notificationChannel\": \"Email\",\n \"created\": \"\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\",\n \"notificationId\": \"\",\n \"notificationChannel\": \"Sms\",\n \"created\": \"\"\n }\n ],\n \"IgnoreReservation\": \"\",\n \"correspondenceId\": \"\",\n \"created\": \"\",\n \"status\": \"Archived\",\n \"statusText\": \"\",\n \"statusChanged\": \"\",\n \"statusHistory\": [\n {\n \"status\": \"Confirmed\",\n \"statusText\": \"\",\n \"statusChanged\": \"\"\n },\n {\n \"status\": \"Archived\",\n \"statusText\": \"\",\n \"statusChanged\": \"\"\n }\n ],\n \"notificationStatusHistory\": [\n {\n \"status\": \"\",\n \"statusText\": \"\",\n \"statusChanged\": \"\"\n },\n {\n \"status\": \"\",\n \"statusText\": \"\",\n \"statusChanged\": \"\"\n }\n ]\n}" } ] } @@ -795,7 +795,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"Correspondence\": {\n \"resourceId\": \"{{resource_id}}\",\n \"sender\": \"0192:{{senderOrgNo}}\",\n \"sendersReference\": \"1\",\n \"content\": {\n \"language\": \"nb\",\n \"messageTitle\": \"Meldingstittel\",\n \"messageSummary\": \"Ett sammendrag for meldingen\",\n \"messageBody\": \"# meldingsteksten. Som kan være plain text eller markdown \",\n \"attachments\": [\n {\n \"dataType\": \"html\",\n \"expirationTime\": \"2024-12-12\",\n \"name\": \"1\",\n \"restrictionName\": \"testFile23\",\n \"sendersReference\": \"1234\",\n \"fileName\": \"test-fil32e\",\n \"isEncrypted\": false,\n \"dataLocationUrl\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"2024-09-28T12:44:28.290518+00:00\",\n \"allowSystemDeleteAfter\": \"2025-08-29T13:31:28.290518+00:00\",\n \"dueDateTime\": \"2025-05-29T13:31:28.290518+00:00\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"1\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n }\n ],\n \"propertyList\": {\n \"deserunt_12\": \"1\",\n \"culpa_852\": \"2\",\n \"anim5\": \"3\",\n \"Æ*'1??` \": \"asdfgklasjd\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"www.test.no\",\n \"linkText\": \"test\"\n },\n {\n \"linkURL\": \"test.no\",\n \"linkText\": \"test\"\n }\n ],\n \"notification\": {\n \"notificationTemplate\": 0,\n \"notificationChannel\": 3,\n \"SendReminder\": true,\n \"EmailBody\": \"Test av varsel\",\n \"EmailSubject\": \"Dette er innholdet i ett varsel\",\n \"SmsBody\": \"Dette er innholdet i ett testvarsel\",\n \"ReminderEmailBody\": \"Dette er test av revarsling \",\n \"ReminderEmailSubject\": \"Test av revarsel\",\n \"ReminderSmsBody\": \"Dette er en test av revarslingl\"\n },\n \"isReservable\": true\n },\n \"Recipients\": [\n \"0192:{{recipientOrgNo}}\"\n ],\n \"existingAttachments\": []\n}", + "raw": "{\n \"Correspondence\": {\n \"resourceId\": \"{{resource_id}}\",\n \"sender\": \"0192:{{senderOrgNo}}\",\n \"sendersReference\": \"1\",\n \"content\": {\n \"language\": \"nb\",\n \"messageTitle\": \"Meldingstittel\",\n \"messageSummary\": \"Ett sammendrag for meldingen\",\n \"messageBody\": \"# meldingsteksten. Som kan være plain text eller markdown \",\n \"attachments\": [\n {\n \"dataType\": \"html\",\n \"expirationTime\": \"2024-12-12\",\n \"name\": \"1\",\n \"restrictionName\": \"testFile23\",\n \"sendersReference\": \"1234\",\n \"fileName\": \"test-fil32e\",\n \"isEncrypted\": false,\n \"dataLocationUrl\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"2024-09-28T12:44:28.290518+00:00\",\n \"allowSystemDeleteAfter\": \"2025-08-29T13:31:28.290518+00:00\",\n \"dueDateTime\": \"2025-05-29T13:31:28.290518+00:00\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"1\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n }\n ],\n \"propertyList\": {\n \"deserunt_12\": \"1\",\n \"culpa_852\": \"2\",\n \"anim5\": \"3\",\n \"Æ*'1??` \": \"asdfgklasjd\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"www.test.no\",\n \"linkText\": \"test\"\n },\n {\n \"linkURL\": \"test.no\",\n \"linkText\": \"test\"\n }\n ],\n \"notification\": {\n \"notificationTemplate\": 0,\n \"notificationChannel\": 3,\n \"SendReminder\": true,\n \"EmailBody\": \"Test av varsel\",\n \"EmailSubject\": \"Dette er innholdet i ett varsel\",\n \"SmsBody\": \"Dette er innholdet i ett testvarsel\",\n \"ReminderEmailBody\": \"Dette er test av revarsling \",\n \"ReminderEmailSubject\": \"Test av revarsel\",\n \"ReminderSmsBody\": \"Dette er en test av revarslingl\"\n },\n \"IgnoreReservation\": true\n },\n \"Recipients\": [\n \"0192:{{recipientOrgNo}}\"\n ],\n \"existingAttachments\": []\n}", "options": { "raw": { "headerFamily": "json", @@ -833,7 +833,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"recipient\": \"\",\n \"resourceId\": \"\",\n \"sender\": \"8536:031145332\",\n \"sendersReference\": \"\",\n \"content\": {\n \"language\": \"English\",\n \"messageTitle\": \"\",\n \"messageSummary\": \"\",\n \"attachments\": [\n {\n \"dataLocationType\": \"ExisitingExternalStorage\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\"\n },\n {\n \"dataLocationType\": \"ExistingCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"MachineReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"\",\n \"allowSystemDeleteAfter\": \"\",\n \"dueDateTime\": \"\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"DialogPortenDialogID\"\n }\n ],\n \"propertyList\": {\n \"deserunt_12\": \"\",\n \"culpa_852\": \"\",\n \"anim5\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n }\n ],\n \"isReservable\": \"\"\n}", + "raw": "{\n \"recipient\": \"\",\n \"resourceId\": \"\",\n \"sender\": \"8536:031145332\",\n \"sendersReference\": \"\",\n \"content\": {\n \"language\": \"English\",\n \"messageTitle\": \"\",\n \"messageSummary\": \"\",\n \"attachments\": [\n {\n \"dataLocationType\": \"ExisitingExternalStorage\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\"\n },\n {\n \"dataLocationType\": \"ExistingCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"MachineReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"\",\n \"allowSystemDeleteAfter\": \"\",\n \"dueDateTime\": \"\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"DialogPortenDialogID\"\n }\n ],\n \"propertyList\": {\n \"deserunt_12\": \"\",\n \"culpa_852\": \"\",\n \"anim5\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n }\n ],\n \"IgnoreReservation\": \"\"\n}", "options": { "raw": { "headerFamily": "json", @@ -864,7 +864,7 @@ } ], "cookie": [], - "body": "{\n \"recipient\": \"\",\n \"resourceId\": \"\",\n \"sender\": \"0913:541697724\",\n \"sendersReference\": \"\",\n \"content\": {\n \"language\": \"English\",\n \"messageTitle\": \"\",\n \"messageSummary\": \"\",\n \"attachments\": [\n {\n \"dataLocationType\": \"AltinnCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Initialized\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n },\n {\n \"dataLocationType\": \"AltinnCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"MachineReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Initialized\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"\",\n \"allowSystemDeleteAfter\": \"\",\n \"dueDateTime\": \"\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"DialogPortenDialogElementID\"\n }\n ],\n \"propertyList\": {\n \"euf\": \"\",\n \"eu_34\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n }\n ],\n \"isReservable\": \"\",\n \"correspondenceId\": \"\",\n \"created\": \"\",\n \"status\": \"Published\",\n \"statusText\": \"\",\n \"statusChanged\": \"\"\n}" + "body": "{\n \"recipient\": \"\",\n \"resourceId\": \"\",\n \"sender\": \"0913:541697724\",\n \"sendersReference\": \"\",\n \"content\": {\n \"language\": \"English\",\n \"messageTitle\": \"\",\n \"messageSummary\": \"\",\n \"attachments\": [\n {\n \"dataLocationType\": \"AltinnCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Initialized\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n },\n {\n \"dataLocationType\": \"AltinnCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"MachineReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Initialized\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"\",\n \"allowSystemDeleteAfter\": \"\",\n \"dueDateTime\": \"\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"DialogPortenDialogElementID\"\n }\n ],\n \"propertyList\": {\n \"euf\": \"\",\n \"eu_34\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n }\n ],\n \"IgnoreReservation\": \"\",\n \"correspondenceId\": \"\",\n \"created\": \"\",\n \"status\": \"Published\",\n \"statusText\": \"\",\n \"statusChanged\": \"\"\n}" } ] }, @@ -1096,7 +1096,7 @@ "type": "text" }, { - "key": "Correspondence.isReservable", + "key": "Correspondence.IgnoreReservation", "value": "true", "type": "text" }, @@ -1138,7 +1138,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"recipient\": \"\",\n \"resourceId\": \"\",\n \"sender\": \"8536:031145332\",\n \"sendersReference\": \"\",\n \"content\": {\n \"language\": \"English\",\n \"messageTitle\": \"\",\n \"messageSummary\": \"\",\n \"attachments\": [\n {\n \"dataLocationType\": \"ExisitingExternalStorage\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\"\n },\n {\n \"dataLocationType\": \"ExistingCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"MachineReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"\",\n \"allowSystemDeleteAfter\": \"\",\n \"dueDateTime\": \"\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"DialogPortenDialogID\"\n }\n ],\n \"propertyList\": {\n \"deserunt_12\": \"\",\n \"culpa_852\": \"\",\n \"anim5\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n }\n ],\n \"isReservable\": \"\"\n}", + "raw": "{\n \"recipient\": \"\",\n \"resourceId\": \"\",\n \"sender\": \"8536:031145332\",\n \"sendersReference\": \"\",\n \"content\": {\n \"language\": \"English\",\n \"messageTitle\": \"\",\n \"messageSummary\": \"\",\n \"attachments\": [\n {\n \"dataLocationType\": \"ExisitingExternalStorage\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\"\n },\n {\n \"dataLocationType\": \"ExistingCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"MachineReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"\",\n \"allowSystemDeleteAfter\": \"\",\n \"dueDateTime\": \"\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"DialogPortenDialogID\"\n }\n ],\n \"propertyList\": {\n \"deserunt_12\": \"\",\n \"culpa_852\": \"\",\n \"anim5\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n }\n ],\n \"IgnoreReservation\": \"\"\n}", "options": { "raw": { "headerFamily": "json", @@ -1170,7 +1170,7 @@ } ], "cookie": [], - "body": "{\n \"recipient\": \"\",\n \"resourceId\": \"\",\n \"sender\": \"0913:541697724\",\n \"sendersReference\": \"\",\n \"content\": {\n \"language\": \"English\",\n \"messageTitle\": \"\",\n \"messageSummary\": \"\",\n \"attachments\": [\n {\n \"dataLocationType\": \"AltinnCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Initialized\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n },\n {\n \"dataLocationType\": \"AltinnCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"MachineReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Initialized\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"\",\n \"allowSystemDeleteAfter\": \"\",\n \"dueDateTime\": \"\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"DialogPortenDialogElementID\"\n }\n ],\n \"propertyList\": {\n \"euf\": \"\",\n \"eu_34\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n }\n ],\n \"isReservable\": \"\",\n \"correspondenceId\": \"\",\n \"created\": \"\",\n \"status\": \"Published\",\n \"statusText\": \"\",\n \"statusChanged\": \"\"\n}" + "body": "{\n \"recipient\": \"\",\n \"resourceId\": \"\",\n \"sender\": \"0913:541697724\",\n \"sendersReference\": \"\",\n \"content\": {\n \"language\": \"English\",\n \"messageTitle\": \"\",\n \"messageSummary\": \"\",\n \"attachments\": [\n {\n \"dataLocationType\": \"AltinnCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Initialized\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n },\n {\n \"dataLocationType\": \"AltinnCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"MachineReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Initialized\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"\",\n \"allowSystemDeleteAfter\": \"\",\n \"dueDateTime\": \"\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"DialogPortenDialogElementID\"\n }\n ],\n \"propertyList\": {\n \"euf\": \"\",\n \"eu_34\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n }\n ],\n \"IgnoreReservation\": \"\",\n \"correspondenceId\": \"\",\n \"created\": \"\",\n \"status\": \"Published\",\n \"statusText\": \"\",\n \"statusChanged\": \"\"\n}" } ] }, @@ -1260,7 +1260,7 @@ } ], "cookie": [], - "body": "{\n \"recipient\": \"\",\n \"resourceId\": \"\",\n \"sender\": \"0913:541697724\",\n \"sendersReference\": \"\",\n \"content\": {\n \"language\": \"English\",\n \"messageTitle\": \"\",\n \"messageSummary\": \"\",\n \"attachments\": [\n {\n \"dataLocationType\": \"AltinnCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Initialized\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n },\n {\n \"dataLocationType\": \"AltinnCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"MachineReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Initialized\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"\",\n \"allowSystemDeleteAfter\": \"\",\n \"dueDateTime\": \"\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"DialogPortenDialogElementID\"\n }\n ],\n \"propertyList\": {\n \"euf\": \"\",\n \"eu_34\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n }\n ],\n \"isReservable\": \"\",\n \"correspondenceId\": \"\",\n \"created\": \"\",\n \"status\": \"Published\",\n \"statusText\": \"\",\n \"statusChanged\": \"\"\n}" + "body": "{\n \"recipient\": \"\",\n \"resourceId\": \"\",\n \"sender\": \"0913:541697724\",\n \"sendersReference\": \"\",\n \"content\": {\n \"language\": \"English\",\n \"messageTitle\": \"\",\n \"messageSummary\": \"\",\n \"attachments\": [\n {\n \"dataLocationType\": \"AltinnCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Initialized\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n },\n {\n \"dataLocationType\": \"AltinnCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"MachineReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Initialized\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"\",\n \"allowSystemDeleteAfter\": \"\",\n \"dueDateTime\": \"\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"DialogPortenDialogElementID\"\n }\n ],\n \"propertyList\": {\n \"euf\": \"\",\n \"eu_34\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n }\n ],\n \"IgnoreReservation\": \"\",\n \"correspondenceId\": \"\",\n \"created\": \"\",\n \"status\": \"Published\",\n \"statusText\": \"\",\n \"statusChanged\": \"\"\n}" } ] }, @@ -1340,7 +1340,7 @@ } ], "cookie": [], - "body": "{\n \"recipient\": \"\",\n \"resourceId\": \"\",\n \"sender\": \"9585:149785773\",\n \"sendersReference\": \"\",\n \"content\": {\n \"language\": \"NorwegianNO\",\n \"messageTitle\": \"\",\n \"messageSummary\": \"\",\n \"attachments\": [\n {\n \"dataLocationType\": \"ExternalStorage\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Published\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n },\n {\n \"dataLocationType\": \"AltinnCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Published\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"\",\n \"allowSystemDeleteAfter\": \"\",\n \"dueDateTime\": \"\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnAppInstance\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n }\n ],\n \"propertyList\": {\n \"Excepteur36a\": \"\",\n \"officiaaf1\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\",\n \"notificationId\": \"\",\n \"notificationChannel\": \"Email\",\n \"created\": \"\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\",\n \"notificationId\": \"\",\n \"notificationChannel\": \"Sms\",\n \"created\": \"\"\n }\n ],\n \"isReservable\": \"\",\n \"correspondenceId\": \"\",\n \"created\": \"\",\n \"status\": \"Archived\",\n \"statusText\": \"\",\n \"statusChanged\": \"\",\n \"statusHistory\": [\n {\n \"status\": \"Confirmed\",\n \"statusText\": \"\",\n \"statusChanged\": \"\"\n },\n {\n \"status\": \"Archived\",\n \"statusText\": \"\",\n \"statusChanged\": \"\"\n }\n ],\n \"notificationStatusHistory\": [\n {\n \"status\": \"\",\n \"statusText\": \"\",\n \"statusChanged\": \"\"\n },\n {\n \"status\": \"\",\n \"statusText\": \"\",\n \"statusChanged\": \"\"\n }\n ]\n}" + "body": "{\n \"recipient\": \"\",\n \"resourceId\": \"\",\n \"sender\": \"9585:149785773\",\n \"sendersReference\": \"\",\n \"content\": {\n \"language\": \"NorwegianNO\",\n \"messageTitle\": \"\",\n \"messageSummary\": \"\",\n \"attachments\": [\n {\n \"dataLocationType\": \"ExternalStorage\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Published\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n },\n {\n \"dataLocationType\": \"AltinnCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Published\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"\",\n \"allowSystemDeleteAfter\": \"\",\n \"dueDateTime\": \"\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnAppInstance\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n }\n ],\n \"propertyList\": {\n \"Excepteur36a\": \"\",\n \"officiaaf1\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\",\n \"notificationId\": \"\",\n \"notificationChannel\": \"Email\",\n \"created\": \"\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\",\n \"notificationId\": \"\",\n \"notificationChannel\": \"Sms\",\n \"created\": \"\"\n }\n ],\n \"IgnoreReservation\": \"\",\n \"correspondenceId\": \"\",\n \"created\": \"\",\n \"status\": \"Archived\",\n \"statusText\": \"\",\n \"statusChanged\": \"\",\n \"statusHistory\": [\n {\n \"status\": \"Confirmed\",\n \"statusText\": \"\",\n \"statusChanged\": \"\"\n },\n {\n \"status\": \"Archived\",\n \"statusText\": \"\",\n \"statusChanged\": \"\"\n }\n ],\n \"notificationStatusHistory\": [\n {\n \"status\": \"\",\n \"statusText\": \"\",\n \"statusChanged\": \"\"\n },\n {\n \"status\": \"\",\n \"statusText\": \"\",\n \"statusChanged\": \"\"\n }\n ]\n}" } ] }, @@ -1441,7 +1441,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"recipient\": \"\",\n \"resourceId\": \"\",\n \"sender\": \"8536:031145332\",\n \"sendersReference\": \"\",\n \"content\": {\n \"language\": \"English\",\n \"messageTitle\": \"\",\n \"messageSummary\": \"\",\n \"attachments\": [\n {\n \"dataLocationType\": \"ExisitingExternalStorage\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\"\n },\n {\n \"dataLocationType\": \"ExistingCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"MachineReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"\",\n \"allowSystemDeleteAfter\": \"\",\n \"dueDateTime\": \"\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"DialogPortenDialogID\"\n }\n ],\n \"propertyList\": {\n \"deserunt_12\": \"\",\n \"culpa_852\": \"\",\n \"anim5\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n }\n ],\n \"isReservable\": \"\"\n}", + "raw": "{\n \"recipient\": \"\",\n \"resourceId\": \"\",\n \"sender\": \"8536:031145332\",\n \"sendersReference\": \"\",\n \"content\": {\n \"language\": \"English\",\n \"messageTitle\": \"\",\n \"messageSummary\": \"\",\n \"attachments\": [\n {\n \"dataLocationType\": \"ExisitingExternalStorage\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\"\n },\n {\n \"dataLocationType\": \"ExistingCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"MachineReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"\",\n \"allowSystemDeleteAfter\": \"\",\n \"dueDateTime\": \"\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"DialogPortenDialogID\"\n }\n ],\n \"propertyList\": {\n \"deserunt_12\": \"\",\n \"culpa_852\": \"\",\n \"anim5\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n }\n ],\n \"IgnoreReservation\": \"\"\n}", "options": { "raw": { "headerFamily": "json", @@ -1472,7 +1472,7 @@ } ], "cookie": [], - "body": "{\n \"recipient\": \"\",\n \"resourceId\": \"\",\n \"sender\": \"0913:541697724\",\n \"sendersReference\": \"\",\n \"content\": {\n \"language\": \"English\",\n \"messageTitle\": \"\",\n \"messageSummary\": \"\",\n \"attachments\": [\n {\n \"dataLocationType\": \"AltinnCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Initialized\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n },\n {\n \"dataLocationType\": \"AltinnCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"MachineReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Initialized\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"\",\n \"allowSystemDeleteAfter\": \"\",\n \"dueDateTime\": \"\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"DialogPortenDialogElementID\"\n }\n ],\n \"propertyList\": {\n \"euf\": \"\",\n \"eu_34\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n }\n ],\n \"isReservable\": \"\",\n \"correspondenceId\": \"\",\n \"created\": \"\",\n \"status\": \"Published\",\n \"statusText\": \"\",\n \"statusChanged\": \"\"\n}" + "body": "{\n \"recipient\": \"\",\n \"resourceId\": \"\",\n \"sender\": \"0913:541697724\",\n \"sendersReference\": \"\",\n \"content\": {\n \"language\": \"English\",\n \"messageTitle\": \"\",\n \"messageSummary\": \"\",\n \"attachments\": [\n {\n \"dataLocationType\": \"AltinnCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"HumanReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Initialized\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n },\n {\n \"dataLocationType\": \"AltinnCorrespondenceAttachment\",\n \"dataType\": \"\",\n \"intendedPresentation\": \"MachineReadable\",\n \"name\": \"\",\n \"restrictionName\": \"\",\n \"sendersReference\": \"\",\n \"fileName\": \"\",\n \"isEncrypted\": \"\",\n \"checksum\": \"\",\n \"dataLocationUrl\": \"\",\n \"attachmentId\": \"\",\n \"createdDateTime\": \"\",\n \"status\": \"Initialized\",\n \"statusText\": \"\",\n \"StatusChangedDateTime\": \"\"\n }\n ]\n },\n \"visibleFrom\": \"\",\n \"allowSystemDeleteAfter\": \"\",\n \"dueDateTime\": \"\",\n \"externalReferences\": [\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"AltinnBrokerFileTransfer\"\n },\n {\n \"referenceValue\": \"\",\n \"referenceType\": \"DialogPortenDialogElementID\"\n }\n ],\n \"propertyList\": {\n \"euf\": \"\",\n \"eu_34\": \"\"\n },\n \"replyOptions\": [\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n },\n {\n \"linkURL\": \"\",\n \"linkText\": \"\"\n }\n ],\n \"notifications\": [\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n },\n {\n \"notificationTemplate\": \"\",\n \"customTextToken\": \"\",\n \"sendersReference\": \"\",\n \"requestedSendTime\": \"\"\n }\n ],\n \"IgnoreReservation\": \"\",\n \"correspondenceId\": \"\",\n \"created\": \"\",\n \"status\": \"Published\",\n \"statusText\": \"\",\n \"statusChanged\": \"\"\n}" } ] } diff --git a/altinn-correspondence-v1.json b/altinn-correspondence-v1.json index e7adc762..f64e4e37 100644 --- a/altinn-correspondence-v1.json +++ b/altinn-correspondence-v1.json @@ -358,7 +358,7 @@ "$ref": "#/components/schemas/InitializeCorrespondenceNotificationExt" } }, - "Correspondence.IsReservable": { + "Correspondence.IgnoreReservation": { "type": "boolean" }, "Recipients": { @@ -432,7 +432,7 @@ "Correspondence.Notifications": { "style": "form" }, - "Correspondence.IsReservable": { + "Correspondence.IgnoreReservation": { "style": "form" }, "Recipients": { @@ -998,7 +998,7 @@ }, "nullable": true }, - "isReservable": { + "IgnoreReservation": { "type": "boolean", "nullable": true } @@ -1197,7 +1197,7 @@ }, "nullable": true }, - "isReservable": { + "IgnoreReservation": { "type": "boolean", "nullable": true }, @@ -1386,7 +1386,7 @@ }, "nullable": true }, - "isReservable": { + "IgnoreReservation": { "type": "boolean", "nullable": true }, diff --git a/src/Altinn.Correspondence.API/Mappers/CorrespondenceDetailsMapper.cs b/src/Altinn.Correspondence.API/Mappers/CorrespondenceDetailsMapper.cs index 7af91357..e0910c0c 100644 --- a/src/Altinn.Correspondence.API/Mappers/CorrespondenceDetailsMapper.cs +++ b/src/Altinn.Correspondence.API/Mappers/CorrespondenceDetailsMapper.cs @@ -26,7 +26,7 @@ internal static CorrespondenceDetailsExt MapToExternal(GetCorrespondenceDetailsR ExternalReferences = correspondenceDetails.ExternalReferences != null ? ExternalReferenceMapper.MapListToExternal(correspondenceDetails.ExternalReferences) : new List(), ResourceId = correspondenceDetails.ResourceId.ToString(), VisibleFrom = correspondenceDetails.VisibleFrom, - IsReservable = correspondenceDetails.IsReservable, + IgnoreReservation = correspondenceDetails.IgnoreReservation, MarkedUnread = correspondenceDetails.MarkedUnread, AllowSystemDeleteAfter = correspondenceDetails.AllowSystemDeleteAfter, DueDateTime = correspondenceDetails.DueDateTime, diff --git a/src/Altinn.Correspondence.API/Mappers/CorrespondenceOverviewMapper.cs b/src/Altinn.Correspondence.API/Mappers/CorrespondenceOverviewMapper.cs index 8a794a8b..741f0077 100644 --- a/src/Altinn.Correspondence.API/Mappers/CorrespondenceOverviewMapper.cs +++ b/src/Altinn.Correspondence.API/Mappers/CorrespondenceOverviewMapper.cs @@ -28,7 +28,7 @@ internal static CorrespondenceOverviewExt MapToExternal(GetCorrespondenceOvervie AllowSystemDeleteAfter = correspondenceOverview.AllowSystemDeleteAfter, DueDateTime = correspondenceOverview.DueDateTime, PropertyList = correspondenceOverview.PropertyList, - IsReservable = correspondenceOverview.IsReservable + IgnoreReservation = correspondenceOverview.IgnoreReservation }; return Correspondence; } diff --git a/src/Altinn.Correspondence.API/Mappers/InitializeCorrespondencesMapper.cs b/src/Altinn.Correspondence.API/Mappers/InitializeCorrespondencesMapper.cs index ddb88a49..04e22371 100644 --- a/src/Altinn.Correspondence.API/Mappers/InitializeCorrespondencesMapper.cs +++ b/src/Altinn.Correspondence.API/Mappers/InitializeCorrespondencesMapper.cs @@ -20,7 +20,7 @@ internal static InitializeCorrespondencesRequest MapToRequest(BaseCorrespondence DueDateTime = initializeCorrespondenceExt.DueDateTime, PropertyList = initializeCorrespondenceExt.PropertyList, ReplyOptions = initializeCorrespondenceExt.ReplyOptions != null ? CorrespondenceReplyOptionsMapper.MapListToEntities(initializeCorrespondenceExt.ReplyOptions) : new List(), - IsReservable = initializeCorrespondenceExt.IsReservable, + IgnoreReservation = initializeCorrespondenceExt.IgnoreReservation, ExternalReferences = initializeCorrespondenceExt.ExternalReferences != null ? ExternalReferenceMapper.MapListToEntities(initializeCorrespondenceExt.ExternalReferences) : new List(), Statuses = new List(), Created = DateTimeOffset.UtcNow, diff --git a/src/Altinn.Correspondence.API/Mappers/MigrateCorrespondenceMapper.cs b/src/Altinn.Correspondence.API/Mappers/MigrateCorrespondenceMapper.cs index eed58a1c..10029850 100644 --- a/src/Altinn.Correspondence.API/Mappers/MigrateCorrespondenceMapper.cs +++ b/src/Altinn.Correspondence.API/Mappers/MigrateCorrespondenceMapper.cs @@ -37,7 +37,7 @@ internal static MigrateCorrespondenceRequest MapToRequest(MigrateCorrespondenceE DueDateTime = migrateCorrespondenceExt.CorrespondenceData.Correspondence.DueDateTime, PropertyList = migrateCorrespondenceExt.CorrespondenceData.Correspondence.PropertyList, ReplyOptions = migrateCorrespondenceExt.CorrespondenceData.Correspondence.ReplyOptions != null ? CorrespondenceReplyOptionsMapper.MapListToEntities(migrateCorrespondenceExt.CorrespondenceData.Correspondence.ReplyOptions) : new List(), - IsReservable = migrateCorrespondenceExt.CorrespondenceData.Correspondence.IsReservable, + IgnoreReservation = migrateCorrespondenceExt.CorrespondenceData.Correspondence.IgnoreReservation, ExternalReferences = migrateCorrespondenceExt.CorrespondenceData.Correspondence.ExternalReferences != null ? ExternalReferenceMapper.MapListToEntities(migrateCorrespondenceExt.CorrespondenceData.Correspondence.ExternalReferences) : new List(), Created = DateTimeOffset.UtcNow, Content = migrateCorrespondenceExt.CorrespondenceData.Correspondence.Content != null ? new CorrespondenceContentEntity diff --git a/src/Altinn.Correspondence.API/Models/BaseCorrespondenceExt.cs b/src/Altinn.Correspondence.API/Models/BaseCorrespondenceExt.cs index f81d9058..bfdb023f 100644 --- a/src/Altinn.Correspondence.API/Models/BaseCorrespondenceExt.cs +++ b/src/Altinn.Correspondence.API/Models/BaseCorrespondenceExt.cs @@ -98,8 +98,8 @@ public class BaseCorrespondenceExt /// /// Specifies whether the correspondence can override reservation against digital comminication in KRR /// - [JsonPropertyName("isReservable")] - public bool? IsReservable { get; set; } + [JsonPropertyName("IgnoreReservation")] + public bool? IgnoreReservation { get; set; } } [AttributeUsage(AttributeTargets.Property)] diff --git a/src/Altinn.Correspondence.Application/GetCorrespondenceDetails/GetCorrespondenceDetailsHandler.cs b/src/Altinn.Correspondence.Application/GetCorrespondenceDetails/GetCorrespondenceDetailsHandler.cs index 969947d2..f670c92b 100644 --- a/src/Altinn.Correspondence.Application/GetCorrespondenceDetails/GetCorrespondenceDetailsHandler.cs +++ b/src/Altinn.Correspondence.Application/GetCorrespondenceDetails/GetCorrespondenceDetailsHandler.cs @@ -92,7 +92,7 @@ await _correspondenceStatusRepository.AddCorrespondenceStatus(new Correspondence ExternalReferences = correspondence.ExternalReferences ?? new List(), ResourceId = correspondence.ResourceId, VisibleFrom = correspondence.VisibleFrom, - IsReservable = correspondence.IsReservable == null || correspondence.IsReservable.Value, + IgnoreReservation = correspondence.IgnoreReservation ?? false, MarkedUnread = correspondence.MarkedUnread, AllowSystemDeleteAfter = correspondence.AllowSystemDeleteAfter, DueDateTime = correspondence.DueDateTime, diff --git a/src/Altinn.Correspondence.Application/GetCorrespondenceDetails/GetCorrespondenceDetailsResponse.cs b/src/Altinn.Correspondence.Application/GetCorrespondenceDetails/GetCorrespondenceDetailsResponse.cs index e53937a1..705a8eaf 100644 --- a/src/Altinn.Correspondence.Application/GetCorrespondenceDetails/GetCorrespondenceDetailsResponse.cs +++ b/src/Altinn.Correspondence.Application/GetCorrespondenceDetails/GetCorrespondenceDetailsResponse.cs @@ -38,7 +38,7 @@ public class GetCorrespondenceDetailsResponse public DateTimeOffset VisibleFrom { get; set; } - public bool IsReservable { get; set; } + public bool IgnoreReservation { get; set; } public bool? MarkedUnread { get; set; } diff --git a/src/Altinn.Correspondence.Application/GetCorrespondenceOverview/GetCorrespondenceOverviewHandler.cs b/src/Altinn.Correspondence.Application/GetCorrespondenceOverview/GetCorrespondenceOverviewHandler.cs index 374679c4..3a659d91 100644 --- a/src/Altinn.Correspondence.Application/GetCorrespondenceOverview/GetCorrespondenceOverviewHandler.cs +++ b/src/Altinn.Correspondence.Application/GetCorrespondenceOverview/GetCorrespondenceOverviewHandler.cs @@ -74,7 +74,7 @@ await _correspondenceStatusRepository.AddCorrespondenceStatus(new Correspondence Notifications = correspondence.Notifications ?? new List(), ExternalReferences = correspondence.ExternalReferences ?? new List(), VisibleFrom = correspondence.VisibleFrom, - IsReservable = correspondence.IsReservable == null || correspondence.IsReservable.Value, + IgnoreReservation = correspondence.IgnoreReservation ?? false, MarkedUnread = correspondence.MarkedUnread, AllowSystemDeleteAfter = correspondence.AllowSystemDeleteAfter, }; diff --git a/src/Altinn.Correspondence.Application/GetCorrespondenceOverview/GetCorrespondenceOverviewResponse.cs b/src/Altinn.Correspondence.Application/GetCorrespondenceOverview/GetCorrespondenceOverviewResponse.cs index 6a2e5fd4..dd8d30d3 100644 --- a/src/Altinn.Correspondence.Application/GetCorrespondenceOverview/GetCorrespondenceOverviewResponse.cs +++ b/src/Altinn.Correspondence.Application/GetCorrespondenceOverview/GetCorrespondenceOverviewResponse.cs @@ -37,7 +37,7 @@ public class GetCorrespondenceOverviewResponse public DateTimeOffset VisibleFrom { get; set; } - public bool IsReservable { get; set; } + public bool IgnoreReservation { get; set; } public bool? MarkedUnread { get; set; } diff --git a/src/Altinn.Correspondence.Application/InitializeCorrespondences/InitializeCorrespondencesHandler.cs b/src/Altinn.Correspondence.Application/InitializeCorrespondences/InitializeCorrespondencesHandler.cs index 20a28616..6b8bce64 100644 --- a/src/Altinn.Correspondence.Application/InitializeCorrespondences/InitializeCorrespondencesHandler.cs +++ b/src/Altinn.Correspondence.Application/InitializeCorrespondences/InitializeCorrespondencesHandler.cs @@ -176,7 +176,7 @@ public async Task> Process(Initi DueDateTime = request.Correspondence.DueDateTime, PropertyList = request.Correspondence.PropertyList.ToDictionary(x => x.Key, x => x.Value), ReplyOptions = request.Correspondence.ReplyOptions, - IsReservable = request.Correspondence.IsReservable, + IgnoreReservation = request.Correspondence.IgnoreReservation, Statuses = new List(){ new CorrespondenceStatusEntity { @@ -263,7 +263,7 @@ private List CreateNotifications(NotificationRequest n } var notificationOrder = new NotificationOrderRequest { - IgnoreReservation = !correspondence.IsReservable, + IgnoreReservation = correspondence.IgnoreReservation, Recipients = new List{ new Recipient{ OrganizationNumber = orgNr, @@ -290,7 +290,7 @@ private List CreateNotifications(NotificationRequest n { notifications.Add(new NotificationOrderRequest { - IgnoreReservation = !correspondence.IsReservable, + IgnoreReservation = correspondence.IgnoreReservation, Recipients = new List{ new Recipient{ OrganizationNumber = orgNr, diff --git a/src/Altinn.Correspondence.Core/Models/Entities/CorrespondenceEntity.cs b/src/Altinn.Correspondence.Core/Models/Entities/CorrespondenceEntity.cs index 74268795..5d448e3c 100644 --- a/src/Altinn.Correspondence.Core/Models/Entities/CorrespondenceEntity.cs +++ b/src/Altinn.Correspondence.Core/Models/Entities/CorrespondenceEntity.cs @@ -43,7 +43,7 @@ public class CorrespondenceEntity [MaxLength(6, ErrorMessage = "Notifications can contain at most 6 notifcations")] public List Notifications { get; set; } = new List(); - public bool? IsReservable { get; set; } + public bool? IgnoreReservation { get; set; } public bool? MarkedUnread { get; set; } diff --git a/src/Altinn.Correspondence.Persistence/Migrations/20241008095547_MigIgnoreReservation.Designer.cs b/src/Altinn.Correspondence.Persistence/Migrations/20241008095547_MigIgnoreReservation.Designer.cs new file mode 100644 index 00000000..9cf4cb92 --- /dev/null +++ b/src/Altinn.Correspondence.Persistence/Migrations/20241008095547_MigIgnoreReservation.Designer.cs @@ -0,0 +1,504 @@ +// +using System; +using System.Collections.Generic; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Infrastructure; +using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Storage.ValueConversion; +using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; + +#nullable disable + +namespace Altinn.Correspondence.Persistence.Migrations +{ + [DbContext(typeof(ApplicationDbContext))] + [Migration("20241008095547_MigIgnoreReservation")] + partial class MigIgnoreReservation + { + /// + protected override void BuildTargetModel(ModelBuilder modelBuilder) + { +#pragma warning disable 612, 618 + modelBuilder + .HasDefaultSchema("correspondence") + .HasAnnotation("ProductVersion", "8.0.6") + .HasAnnotation("Relational:MaxIdentifierLength", 63); + + NpgsqlModelBuilderExtensions.HasPostgresExtension(modelBuilder, "hstore"); + NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder); + + modelBuilder.Entity("Altinn.Correspondence.Core.Models.Entities.AttachmentEntity", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uuid"); + + b.Property("Checksum") + .HasColumnType("text"); + + b.Property("Created") + .HasColumnType("timestamp with time zone"); + + b.Property("DataLocationType") + .HasColumnType("integer"); + + b.Property("DataLocationUrl") + .HasColumnType("text"); + + b.Property("DataType") + .IsRequired() + .HasColumnType("text"); + + b.Property("FileName") + .HasMaxLength(255) + .HasColumnType("character varying(255)"); + + b.Property("IsEncrypted") + .HasColumnType("boolean"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(255) + .HasColumnType("character varying(255)"); + + b.Property("ResourceId") + .IsRequired() + .HasMaxLength(255) + .HasColumnType("character varying(255)"); + + b.Property("RestrictionName") + .HasColumnType("text"); + + b.Property("Sender") + .IsRequired() + .HasColumnType("text"); + + b.Property("SendersReference") + .IsRequired() + .HasMaxLength(4096) + .HasColumnType("character varying(4096)"); + + b.HasKey("Id"); + + b.ToTable("Attachments", "correspondence"); + }); + + modelBuilder.Entity("Altinn.Correspondence.Core.Models.Entities.AttachmentStatusEntity", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uuid"); + + b.Property("AttachmentId") + .HasColumnType("uuid"); + + b.Property("Status") + .HasColumnType("integer"); + + b.Property("StatusChanged") + .HasColumnType("timestamp with time zone"); + + b.Property("StatusText") + .IsRequired() + .HasColumnType("text"); + + b.HasKey("Id"); + + b.HasIndex("AttachmentId"); + + b.ToTable("AttachmentStatuses", "correspondence"); + }); + + modelBuilder.Entity("Altinn.Correspondence.Core.Models.Entities.CorrespondenceAttachmentEntity", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uuid"); + + b.Property("AttachmentId") + .HasColumnType("uuid"); + + b.Property("CorrespondenceContentId") + .HasColumnType("uuid"); + + b.Property("Created") + .HasColumnType("timestamp with time zone"); + + b.Property("ExpirationTime") + .HasColumnType("timestamp with time zone"); + + b.HasKey("Id"); + + b.HasIndex("AttachmentId"); + + b.HasIndex("CorrespondenceContentId"); + + b.ToTable("CorrespondenceAttachments", "correspondence"); + }); + + modelBuilder.Entity("Altinn.Correspondence.Core.Models.Entities.CorrespondenceContentEntity", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uuid"); + + b.Property("CorrespondenceId") + .HasColumnType("uuid"); + + b.Property("Language") + .IsRequired() + .HasColumnType("text"); + + b.Property("MessageBody") + .IsRequired() + .HasColumnType("text"); + + b.Property("MessageSummary") + .IsRequired() + .HasColumnType("text"); + + b.Property("MessageTitle") + .IsRequired() + .HasColumnType("text"); + + b.HasKey("Id"); + + b.HasIndex("CorrespondenceId") + .IsUnique(); + + b.ToTable("CorrespondenceContents", "correspondence"); + }); + + modelBuilder.Entity("Altinn.Correspondence.Core.Models.Entities.CorrespondenceEntity", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uuid"); + + b.Property("AllowSystemDeleteAfter") + .HasColumnType("timestamp with time zone"); + + b.Property("Altinn2CorrespondenceId") + .HasColumnType("integer"); + + b.Property("Created") + .HasColumnType("timestamp with time zone"); + + b.Property("DueDateTime") + .HasColumnType("timestamp with time zone"); + + b.Property("IgnoreReservation") + .HasColumnType("boolean"); + + b.Property("MarkedUnread") + .HasColumnType("boolean"); + + b.Property("MessageSender") + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.Property>("PropertyList") + .IsRequired() + .HasMaxLength(10) + .HasColumnType("hstore"); + + b.Property("Recipient") + .IsRequired() + .HasColumnType("text"); + + b.Property("ResourceId") + .IsRequired() + .HasMaxLength(255) + .HasColumnType("character varying(255)"); + + b.Property("Sender") + .IsRequired() + .HasColumnType("text"); + + b.Property("SendersReference") + .IsRequired() + .HasMaxLength(4096) + .HasColumnType("character varying(4096)"); + + b.Property("VisibleFrom") + .HasColumnType("timestamp with time zone"); + + b.HasKey("Id"); + + b.ToTable("Correspondences", "correspondence"); + }); + + modelBuilder.Entity("Altinn.Correspondence.Core.Models.Entities.CorrespondenceNotificationEntity", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uuid"); + + b.Property("Altinn2NotificationId") + .HasColumnType("integer"); + + b.Property("CorrespondenceId") + .HasColumnType("uuid"); + + b.Property("Created") + .HasColumnType("timestamp with time zone"); + + b.Property("IsReminder") + .HasColumnType("boolean"); + + b.Property("NotificationAddress") + .HasColumnType("text"); + + b.Property("NotificationChannel") + .HasColumnType("integer"); + + b.Property("NotificationOrderId") + .HasColumnType("uuid"); + + b.Property("NotificationSent") + .HasColumnType("timestamp with time zone"); + + b.Property("NotificationTemplate") + .HasColumnType("integer"); + + b.Property("RequestedSendTime") + .HasColumnType("timestamp with time zone"); + + b.HasKey("Id"); + + b.HasIndex("CorrespondenceId"); + + b.ToTable("CorrespondenceNotifications", "correspondence"); + }); + + modelBuilder.Entity("Altinn.Correspondence.Core.Models.Entities.CorrespondenceReplyOptionEntity", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uuid"); + + b.Property("CorrespondenceId") + .HasColumnType("uuid"); + + b.Property("LinkText") + .HasColumnType("text"); + + b.Property("LinkURL") + .IsRequired() + .HasColumnType("text"); + + b.HasKey("Id"); + + b.HasIndex("CorrespondenceId"); + + b.ToTable("CorrespondenceReplyOptions", "correspondence"); + }); + + modelBuilder.Entity("Altinn.Correspondence.Core.Models.Entities.CorrespondenceStatusEntity", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uuid"); + + b.Property("CorrespondenceId") + .HasColumnType("uuid"); + + b.Property("Status") + .HasColumnType("integer"); + + b.Property("StatusChanged") + .HasColumnType("timestamp with time zone"); + + b.Property("StatusText") + .IsRequired() + .HasColumnType("text"); + + b.HasKey("Id"); + + b.HasIndex("CorrespondenceId"); + + b.ToTable("CorrespondenceStatuses", "correspondence"); + }); + + modelBuilder.Entity("Altinn.Correspondence.Core.Models.Entities.ExternalReferenceEntity", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("uuid"); + + b.Property("CorrespondenceId") + .HasColumnType("uuid"); + + b.Property("ReferenceType") + .HasColumnType("integer"); + + b.Property("ReferenceValue") + .IsRequired() + .HasColumnType("text"); + + b.HasKey("Id"); + + b.HasIndex("CorrespondenceId"); + + b.ToTable("ExternalReferences", "correspondence"); + }); + + modelBuilder.Entity("Altinn.Correspondence.Core.Models.Entities.NotificationTemplateEntity", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("integer"); + + NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); + + b.Property("EmailBody") + .IsRequired() + .HasColumnType("text"); + + b.Property("EmailSubject") + .IsRequired() + .HasColumnType("text"); + + b.Property("Language") + .HasColumnType("text"); + + b.Property("RecipientType") + .HasColumnType("integer"); + + b.Property("ReminderEmailBody") + .IsRequired() + .HasColumnType("text"); + + b.Property("ReminderEmailSubject") + .IsRequired() + .HasColumnType("text"); + + b.Property("ReminderSmsBody") + .IsRequired() + .HasColumnType("text"); + + b.Property("SmsBody") + .IsRequired() + .HasColumnType("text"); + + b.Property("Template") + .HasColumnType("integer"); + + b.HasKey("Id"); + + b.ToTable("NotificationTemplates", "correspondence"); + }); + + modelBuilder.Entity("Altinn.Correspondence.Core.Models.Entities.AttachmentStatusEntity", b => + { + b.HasOne("Altinn.Correspondence.Core.Models.Entities.AttachmentEntity", "Attachment") + .WithMany("Statuses") + .HasForeignKey("AttachmentId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Attachment"); + }); + + modelBuilder.Entity("Altinn.Correspondence.Core.Models.Entities.CorrespondenceAttachmentEntity", b => + { + b.HasOne("Altinn.Correspondence.Core.Models.Entities.AttachmentEntity", "Attachment") + .WithMany("CorrespondenceAttachments") + .HasForeignKey("AttachmentId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Altinn.Correspondence.Core.Models.Entities.CorrespondenceContentEntity", "CorrespondenceContent") + .WithMany("Attachments") + .HasForeignKey("CorrespondenceContentId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Attachment"); + + b.Navigation("CorrespondenceContent"); + }); + + modelBuilder.Entity("Altinn.Correspondence.Core.Models.Entities.CorrespondenceContentEntity", b => + { + b.HasOne("Altinn.Correspondence.Core.Models.Entities.CorrespondenceEntity", "Correspondence") + .WithOne("Content") + .HasForeignKey("Altinn.Correspondence.Core.Models.Entities.CorrespondenceContentEntity", "CorrespondenceId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Correspondence"); + }); + + modelBuilder.Entity("Altinn.Correspondence.Core.Models.Entities.CorrespondenceNotificationEntity", b => + { + b.HasOne("Altinn.Correspondence.Core.Models.Entities.CorrespondenceEntity", "Correspondence") + .WithMany("Notifications") + .HasForeignKey("CorrespondenceId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Correspondence"); + }); + + modelBuilder.Entity("Altinn.Correspondence.Core.Models.Entities.CorrespondenceReplyOptionEntity", b => + { + b.HasOne("Altinn.Correspondence.Core.Models.Entities.CorrespondenceEntity", "Correspondence") + .WithMany("ReplyOptions") + .HasForeignKey("CorrespondenceId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Correspondence"); + }); + + modelBuilder.Entity("Altinn.Correspondence.Core.Models.Entities.CorrespondenceStatusEntity", b => + { + b.HasOne("Altinn.Correspondence.Core.Models.Entities.CorrespondenceEntity", "Correspondence") + .WithMany("Statuses") + .HasForeignKey("CorrespondenceId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Correspondence"); + }); + + modelBuilder.Entity("Altinn.Correspondence.Core.Models.Entities.ExternalReferenceEntity", b => + { + b.HasOne("Altinn.Correspondence.Core.Models.Entities.CorrespondenceEntity", "Correspondence") + .WithMany("ExternalReferences") + .HasForeignKey("CorrespondenceId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Correspondence"); + }); + + modelBuilder.Entity("Altinn.Correspondence.Core.Models.Entities.AttachmentEntity", b => + { + b.Navigation("CorrespondenceAttachments"); + + b.Navigation("Statuses"); + }); + + modelBuilder.Entity("Altinn.Correspondence.Core.Models.Entities.CorrespondenceContentEntity", b => + { + b.Navigation("Attachments"); + }); + + modelBuilder.Entity("Altinn.Correspondence.Core.Models.Entities.CorrespondenceEntity", b => + { + b.Navigation("Content"); + + b.Navigation("ExternalReferences"); + + b.Navigation("Notifications"); + + b.Navigation("ReplyOptions"); + + b.Navigation("Statuses"); + }); +#pragma warning restore 612, 618 + } + } +} diff --git a/src/Altinn.Correspondence.Persistence/Migrations/20241008095547_MigIgnoreReservation.cs b/src/Altinn.Correspondence.Persistence/Migrations/20241008095547_MigIgnoreReservation.cs new file mode 100644 index 00000000..7d5588a4 --- /dev/null +++ b/src/Altinn.Correspondence.Persistence/Migrations/20241008095547_MigIgnoreReservation.cs @@ -0,0 +1,30 @@ +using Microsoft.EntityFrameworkCore.Migrations; + +#nullable disable + +namespace Altinn.Correspondence.Persistence.Migrations +{ + /// + public partial class MigIgnoreReservation : Migration + { + /// + protected override void Up(MigrationBuilder migrationBuilder) + { + migrationBuilder.RenameColumn( + name: "IsReservable", + schema: "correspondence", + table: "Correspondences", + newName: "IgnoreReservation"); + } + + /// + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.RenameColumn( + name: "IgnoreReservation", + schema: "correspondence", + table: "Correspondences", + newName: "IsReservable"); + } + } +} diff --git a/src/Altinn.Correspondence.Persistence/Migrations/ApplicationDbContextModelSnapshot.cs b/src/Altinn.Correspondence.Persistence/Migrations/ApplicationDbContextModelSnapshot.cs index 3865b440..68598836 100644 --- a/src/Altinn.Correspondence.Persistence/Migrations/ApplicationDbContextModelSnapshot.cs +++ b/src/Altinn.Correspondence.Persistence/Migrations/ApplicationDbContextModelSnapshot.cs @@ -184,7 +184,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) b.Property("DueDateTime") .HasColumnType("timestamp with time zone"); - b.Property("IsReservable") + b.Property("IgnoreReservation") .HasColumnType("boolean"); b.Property("MarkedUnread")