diff --git a/build.gradle b/build.gradle index 4e54349471..67355600d3 100644 --- a/build.gradle +++ b/build.gradle @@ -347,11 +347,11 @@ dependencies { implementation group: 'com.github.hmcts', name: 'document-management-client', version: '7.0.0' implementation group: 'com.github.hmcts', name: 'cmc-pdf-service-client', version: '7.0.1' - implementation group: 'com.github.hmcts', name: 'sscs-common', version: '5.11.5' - implementation group: 'com.github.hmcts', name: 'sscs-pdf-email-common', version: '5.2.10' implementation group: 'com.mchange', name: 'c3p0', version: '0.9.5.5' implementation group: 'org.flywaydb', name: 'flyway-core', version: '9.22.3' implementation group: 'org.postgresql', name: 'postgresql', version: '42.6.0' + implementation group: 'com.github.hmcts', name: 'sscs-common', version: '5.11.6' + implementation group: 'com.github.hmcts', name: 'sscs-pdf-email-common', version: '5.2.12' implementation group: 'com.azure', name: 'azure-core', version: '1.46.0' implementation group: 'com.azure', name: 'azure-messaging-servicebus', version: '7.15.1' @@ -608,6 +608,8 @@ bootWithCCD { // Features environment 'GAPS_SWITCHOVER_FEATURE', 'true' environment 'CASE_ACCESS_MANAGEMENT_FEATURE', 'true' + environment 'HANDLE_CCD_CALLBACKMAP_V2', 'true' + environment 'POST_HEARINGS_B_FEATURE', 'true' // Local Queue environment 'JMS_NAMESPACE', 'localhost:5672' diff --git a/charts/sscs-tribunals-api/values.aat.template.yaml b/charts/sscs-tribunals-api/values.aat.template.yaml index e781bdc3b0..b942127bff 100644 --- a/charts/sscs-tribunals-api/values.aat.template.yaml +++ b/charts/sscs-tribunals-api/values.aat.template.yaml @@ -6,4 +6,6 @@ java: WORK_ALLOCATION_FEATURE: true CASE_ACCESS_MANAGEMENT_FEATURE: true SCHEDULE_LISTING_FEATURE: true - TESTING_SUPPORT_ENABLED: true \ No newline at end of file + TESTING_SUPPORT_ENABLED: true + HANDLE_CCD_CALLBACKMAP_V2: true + POST_HEARINGS_B_FEATURE: true diff --git a/config/owasp/suppressions.xml b/config/owasp/suppressions.xml index 29f9cc3e4a..6e7bf11014 100644 --- a/config/owasp/suppressions.xml +++ b/config/owasp/suppressions.xml @@ -1,6 +1,6 @@ - + CVE-2023-35116 CVE-2023-36052 CVE-2024-1597 diff --git a/src/IntegrationTests/java/uk/gov/hmcts/reform/sscs/callback/SendToFirstTierIt.java b/src/IntegrationTests/java/uk/gov/hmcts/reform/sscs/callback/SendToFirstTierIt.java new file mode 100644 index 0000000000..fcec2437d9 --- /dev/null +++ b/src/IntegrationTests/java/uk/gov/hmcts/reform/sscs/callback/SendToFirstTierIt.java @@ -0,0 +1,139 @@ +package uk.gov.hmcts.reform.sscs.callback; + +import static org.assertj.core.api.Assertions.assertThat; +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.ArgumentMatchers.anyLong; +import static org.mockito.ArgumentMatchers.anyMap; +import static org.mockito.ArgumentMatchers.anyString; +import static org.mockito.ArgumentMatchers.eq; +import static org.mockito.ArgumentMatchers.isA; +import static org.mockito.Mockito.verify; +import static org.mockito.Mockito.when; +import static uk.gov.hmcts.reform.sscs.helper.IntegrationTestHelper.assertHttpStatus; +import static uk.gov.hmcts.reform.sscs.helper.IntegrationTestHelper.getRequestWithAuthHeader; + +import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule; +import java.io.IOException; +import java.util.Collections; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc; +import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.boot.test.mock.mockito.MockBean; +import org.springframework.boot.test.mock.mockito.SpyBean; +import org.springframework.http.HttpStatus; +import org.springframework.mock.web.MockHttpServletResponse; +import org.springframework.test.web.servlet.setup.MockMvcBuilders; +import uk.gov.hmcts.reform.ccd.client.model.CaseDataContent; +import uk.gov.hmcts.reform.ccd.client.model.CaseDetails; +import uk.gov.hmcts.reform.ccd.client.model.StartEventResponse; +import uk.gov.hmcts.reform.sscs.ccd.callback.Callback; +import uk.gov.hmcts.reform.sscs.ccd.callback.PreSubmitCallbackResponse; +import uk.gov.hmcts.reform.sscs.ccd.client.CcdClient; +import uk.gov.hmcts.reform.sscs.ccd.deserialisation.SscsCaseCallbackDeserializer; +import uk.gov.hmcts.reform.sscs.ccd.domain.DocumentGeneration; +import uk.gov.hmcts.reform.sscs.ccd.domain.DocumentLink; +import uk.gov.hmcts.reform.sscs.ccd.domain.DocumentStaging; +import uk.gov.hmcts.reform.sscs.ccd.domain.SendToFirstTier; +import uk.gov.hmcts.reform.sscs.ccd.domain.SendToFirstTierActions; +import uk.gov.hmcts.reform.sscs.ccd.domain.SscsCaseData; +import uk.gov.hmcts.reform.sscs.ccd.domain.SscsCaseDetails; +import uk.gov.hmcts.reform.sscs.ccd.service.CcdCallbackMapService; +import uk.gov.hmcts.reform.sscs.ccd.service.SscsCcdConvertService; +import uk.gov.hmcts.reform.sscs.controller.CcdCallbackController; +import uk.gov.hmcts.reform.sscs.idam.IdamService; +import uk.gov.hmcts.reform.sscs.idam.IdamTokens; + +@SpringBootTest(properties = { + "feature.postHearingsB.enabled=true", + "feature.handle-ccd-callbackMap-v2.enabled=true" +}) +@AutoConfigureMockMvc +public class SendToFirstTierIt extends AbstractEventIt { + + @SpyBean + private CcdCallbackMapService ccdCallbackMapService; + + @SpyBean + private SscsCaseCallbackDeserializer sscsCaseCallbackDeserializer; + + @MockBean + private IdamService idamService; + + @MockBean + private CcdClient ccdClient; + + @MockBean + private SscsCcdConvertService sscsCcdConvertService; + + @BeforeEach + public void setup() throws IOException { + CcdCallbackController controller = new CcdCallbackController(authorisationService, deserializer, dispatcher); + this.mockMvc = MockMvcBuilders.standaloneSetup(controller).build(); + mapper.registerModule(new JavaTimeModule()); + json = getJson("callback/sendToFirstTierRequest.json"); + when(idamService.getIdamTokens()).thenReturn(IdamTokens.builder().build()); + } + + @Test + public void callToSubmittedHandler_SendToFirstTierSubmittedHandler() throws Exception { + CaseDetails caseDetails = CaseDetails.builder().data(Collections.EMPTY_MAP).build(); + + Callback callback = sscsCaseCallbackDeserializer.deserialize(json); + SscsCaseData caseData = callback.getCaseDetails().getCaseData(); + + SscsCaseDetails sscsCaseDetails = SscsCaseDetails.builder().id(123L).data(caseData).build(); + StartEventResponse startEventResponse = StartEventResponse.builder().caseDetails(caseDetails).build(); + + when(ccdClient.startEvent(any(), anyLong(), anyString())) + .thenReturn(startEventResponse); + when(ccdClient.submitEventForCaseworker(any(), any(), any())) + .thenReturn(caseDetails); + when(sscsCcdConvertService.getCaseData(anyMap())) + .thenReturn(sscsCaseDetails.getData()); + + when(sscsCcdConvertService.getCaseDataContent( + eq(sscsCaseDetails.getData()), + any(), + anyString(), + anyString())) + .thenReturn(CaseDataContent.builder() + .data(sscsCaseDetails.getData()) + .build()); + when(sscsCcdConvertService.getCaseDetails(caseDetails)) + .thenReturn(sscsCaseDetails); + when(sscsCcdConvertService.getCaseDetails(isA(StartEventResponse.class))) + .thenReturn(sscsCaseDetails); + + assertThat(sscsCaseDetails.getData().getPostHearing().getSetAside()) + .isNotNull(); + + MockHttpServletResponse response = getResponse(getRequestWithAuthHeader(json, "/ccdSubmittedEvent")); + + assertHttpStatus(response, HttpStatus.OK); + + PreSubmitCallbackResponse result = deserialize(response.getContentAsString()); + + SendToFirstTier sendToFirstTier = SendToFirstTier.builder() + .action(SendToFirstTierActions.DECISION_REMITTED) + .decisionDocument(DocumentLink.builder() + .documentUrl("http://dm-store-aat.service.core-compute-aat.internal/documents/534405a9-f1d6-4b1f-aa6f-6cac5139da8d") + .documentBinaryUrl("http://dm-store-aat.service.core-compute-aat.internal/documents/534405a9-f1d6-4b1f-aa6f-6cac5139da8d/binary") + .documentFilename("hello.pdf") + .build()) + .build(); + + verify(ccdCallbackMapService).handleCcdCallbackMapV2(eq(sendToFirstTier.getAction()), anyLong()); + + assertThat(result.getErrors()) + .isEmpty(); + assertThat(result.getData()) + .isNotNull(); + assertThat(result.getData().getPostHearing().getSendToFirstTier()) + .isEqualTo(sendToFirstTier); + assertThat(result.getData().getDocumentGeneration()) + .isEqualTo(DocumentGeneration.builder().build()); + assertThat(result.getData().getDocumentStaging()) + .isEqualTo(DocumentStaging.builder().build()); + } +} diff --git a/src/functionalTest/java/uk/gov/hmcts/reform/sscs/functional/handlers/sendtofirsttier/SendToFirstTierSubmittedHandlerTest.java b/src/functionalTest/java/uk/gov/hmcts/reform/sscs/functional/handlers/sendtofirsttier/SendToFirstTierSubmittedHandlerTest.java new file mode 100644 index 0000000000..f2bf50f6ea --- /dev/null +++ b/src/functionalTest/java/uk/gov/hmcts/reform/sscs/functional/handlers/sendtofirsttier/SendToFirstTierSubmittedHandlerTest.java @@ -0,0 +1,65 @@ +package uk.gov.hmcts.reform.sscs.functional.handlers.sendtofirsttier; + +import static org.assertj.core.api.Assertions.assertThat; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.ObjectMapper; +import io.restassured.RestAssured; +import io.restassured.http.ContentType; +import io.restassured.http.Header; +import java.io.IOException; +import org.apache.http.HttpStatus; +import org.junit.Test; +import org.junit.jupiter.api.DisplayName; +import org.junit.runner.RunWith; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.test.context.TestPropertySource; +import org.springframework.test.context.junit4.SpringRunner; +import uk.gov.hmcts.reform.sscs.ccd.callback.Callback; +import uk.gov.hmcts.reform.sscs.ccd.domain.SscsCaseData; +import uk.gov.hmcts.reform.sscs.ccd.domain.SscsCaseDetails; +import uk.gov.hmcts.reform.sscs.functional.handlers.BaseHandler; + +@RunWith(SpringRunner.class) +@TestPropertySource(locations = "classpath:config/application_functional.properties") +@SpringBootTest +public class SendToFirstTierSubmittedHandlerTest extends BaseHandler { + protected static final String CASE_ID_TO_BE_REPLACED = "12345656789"; + @Autowired + private ObjectMapper mapper; + + @DisplayName("Given about to submit callback for send to first tier event, should set fields") + @Test + public void testSendToFirstTierSubmitted() throws IOException { + String jsonCallback = getJsonCallbackForTest("callback/sendToFirstTierRequest.json"); + Callback callback = deserializer.deserialize(jsonCallback); + + SscsCaseDetails caseDetails = createCase(); + callback = addCaseIdtoCallback(callback, caseDetails.getId().toString()); + + String response = RestAssured.given() + .log().method().log().headers().log().uri().log().body(true) + .contentType(ContentType.JSON) + .header(new Header("ServiceAuthorization", idamTokens.getServiceAuthorization())) + .header(new Header("Authorization", idamTokens.getIdamOauth2Token())) + .body(callback) + .post("/ccdSubmittedEvent") + .then() + .statusCode(HttpStatus.SC_OK) + .log().all(true).extract().body().asString(); + + JsonNode root = mapper.readTree(response); + SscsCaseData result = mapper.readValue(root.path("data").toPrettyString(), new TypeReference<>(){}); + assertThat(result.getDwpState()).isNull(); + assertThat(result.getInterlocReferralReason()).isNull(); + assertThat(result.getInterlocReviewState()).isNull(); + } + + private Callback addCaseIdtoCallback(Callback sscsCaseDataCallback, String id) { + String jsonCallback = serializeSscsCallback(sscsCaseDataCallback); + jsonCallback = jsonCallback.replace(CASE_ID_TO_BE_REPLACED, id); + return deserializer.deserialize(jsonCallback); + } +} diff --git a/src/functionalTest/java/uk/gov/hmcts/reform/sscs/functional/handlers/writefinaldecision/WriteFinalDecisionAboutToSubmitHandlerTest.java b/src/functionalTest/java/uk/gov/hmcts/reform/sscs/functional/handlers/writefinaldecision/WriteFinalDecisionAboutToSubmitHandlerTest.java index a41113e65d..3dc5ca01d0 100644 --- a/src/functionalTest/java/uk/gov/hmcts/reform/sscs/functional/handlers/writefinaldecision/WriteFinalDecisionAboutToSubmitHandlerTest.java +++ b/src/functionalTest/java/uk/gov/hmcts/reform/sscs/functional/handlers/writefinaldecision/WriteFinalDecisionAboutToSubmitHandlerTest.java @@ -55,6 +55,9 @@ public void givenAboutToSubmitCallbackForEvent_shouldSetFields() throws Exceptio .assertThat().body("writeFinalDecisionAnythingElse", equalTo("Something else.")) .assertThat().body("writeFinalDecisionStartDate", equalTo("2019-10-10")) .assertThat().body("writeFinalDecisionTypeOfHearing", equalTo("telephone")) - .assertThat().body("writeFinalDecisionPreviewDocument.document_url", notNullValue()); + .assertThat().body("writeFinalDecisionPreviewDocument.document_url", notNullValue()) + .assertThat().body("finalDecisionHeldAt", equalTo("Chester")) + .assertThat().body("finalDecisionIdamSurname", equalTo("Service Account")) + .assertThat().body("finalDecisionJudge", equalTo("Judge Ed")); } } diff --git a/src/functionalTest/resources/handlers/writefinaldecision/writeFinalDecisionCallback.json b/src/functionalTest/resources/handlers/writefinaldecision/writeFinalDecisionCallback.json index ee9ecdc3e0..54efb5e2ee 100644 --- a/src/functionalTest/resources/handlers/writefinaldecision/writeFinalDecisionCallback.json +++ b/src/functionalTest/resources/handlers/writefinaldecision/writeFinalDecisionCallback.json @@ -60,6 +60,9 @@ "document_binary_url": "http://dm-store:5005/documents/7539160a-b124-4539-b7c1-f3dcfbcea94c/binary", "document_filename": "decisionIssued.pdf" }, + "finalDecisionHeldAt": "Chester", + "finalDecisionJudge": "Judge Ed", + "finalDecisionIdamSurname": "Service Account", "subscriptions": { "appellantSubscription": {}, "appointeeSubscription": {}, diff --git a/src/main/java/uk/gov/hmcts/reform/sscs/ccd/presubmit/sendtofirsttier/SendToFirstTierSubmittedHandler.java b/src/main/java/uk/gov/hmcts/reform/sscs/ccd/presubmit/sendtofirsttier/SendToFirstTierSubmittedHandler.java index 10a8aa3f94..827fb0ba3f 100644 --- a/src/main/java/uk/gov/hmcts/reform/sscs/ccd/presubmit/sendtofirsttier/SendToFirstTierSubmittedHandler.java +++ b/src/main/java/uk/gov/hmcts/reform/sscs/ccd/presubmit/sendtofirsttier/SendToFirstTierSubmittedHandler.java @@ -2,7 +2,6 @@ import static java.util.Objects.requireNonNull; -import java.util.Optional; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Value; @@ -47,14 +46,13 @@ public PreSubmitCallbackResponse handle(CallbackType callbackType, SscsCaseData caseData = callback.getCaseDetails().getCaseData(); if (isHandleCcdCallbackMapV2Enabled) { - Optional sscsCaseDataOptional = ccdCallbackMapService.handleCcdCallbackMapV2( + caseData = ccdCallbackMapService.handleCcdCallbackMapV2( caseData.getPostHearing().getSendToFirstTier().getAction(), callback.getCaseDetails().getId() ); - return new PreSubmitCallbackResponse<>(sscsCaseDataOptional.orElse(caseData)); } else { caseData = ccdCallbackMapService.handleCcdCallbackMap(caseData.getPostHearing().getSendToFirstTier().getAction(), caseData); - return new PreSubmitCallbackResponse<>(caseData); } + return new PreSubmitCallbackResponse<>(caseData); } } diff --git a/src/main/java/uk/gov/hmcts/reform/sscs/ccd/presubmit/writefinaldecision/WriteFinalDecisionPreviewDecisionServiceBase.java b/src/main/java/uk/gov/hmcts/reform/sscs/ccd/presubmit/writefinaldecision/WriteFinalDecisionPreviewDecisionServiceBase.java index f535cd4391..8bee3357ae 100644 --- a/src/main/java/uk/gov/hmcts/reform/sscs/ccd/presubmit/writefinaldecision/WriteFinalDecisionPreviewDecisionServiceBase.java +++ b/src/main/java/uk/gov/hmcts/reform/sscs/ccd/presubmit/writefinaldecision/WriteFinalDecisionPreviewDecisionServiceBase.java @@ -90,7 +90,7 @@ protected NoticeIssuedTemplateBody createPayload(PreSubmitCallbackResponse response = handler.handle(SUBMITTED, callback, USER_AUTHORISATION); diff --git a/src/test/java/uk/gov/hmcts/reform/sscs/ccd/presubmit/writefinaldecision/WriteFinalDecisionPreviewDecisionServiceTestBase.java b/src/test/java/uk/gov/hmcts/reform/sscs/ccd/presubmit/writefinaldecision/WriteFinalDecisionPreviewDecisionServiceTestBase.java index 8cedbfe74a..103d06e912 100644 --- a/src/test/java/uk/gov/hmcts/reform/sscs/ccd/presubmit/writefinaldecision/WriteFinalDecisionPreviewDecisionServiceTestBase.java +++ b/src/test/java/uk/gov/hmcts/reform/sscs/ccd/presubmit/writefinaldecision/WriteFinalDecisionPreviewDecisionServiceTestBase.java @@ -43,6 +43,7 @@ public abstract class WriteFinalDecisionPreviewDecisionServiceTestBase { protected static final String ORIGINAL_HELD_AT = "held at testtest"; protected static final String ORIGINAL_JUDGE_NAME = "test judge name name"; protected static final String USER_AUTHORISATION = "Bearer token"; + protected static final String LOGGED_IN_JUDGE_NAME = "Judge Full Name"; protected static final String URL = "http://dm-store/documents/123"; public static final String APPELLANT_LAST_NAME = "APPELLANT Last'NamE"; protected WriteFinalDecisionPreviewDecisionServiceBase service; @@ -105,7 +106,7 @@ public void setUp() throws IOException { when(callback.getEvent()).thenReturn(EventType.WRITE_FINAL_DECISION); when(callback.getCaseDetails()).thenReturn(caseDetails); - when(userDetailsService.buildLoggedInUserName("Bearer token")).thenReturn("Judge Full Name"); + when(userDetailsService.buildLoggedInUserName(USER_AUTHORISATION)).thenReturn(LOGGED_IN_JUDGE_NAME); sscsCaseData = SscsCaseData.builder() .ccdCaseId("ccdId") @@ -937,20 +938,100 @@ public void givenPostHearingIsEnabledAndFinalHeldAtHasNotBeenSet_thenDontUpdateH @Test public void givenPostHearingIsEnabledAndFinalHeldAtHasBeenSet_thenDontUpdateFinalDecisionHeldAt() { when(caseDetails.getState()).thenReturn(State.POST_HEARING); - sscsCaseData.getSscsFinalDecisionCaseData().setFinalDecisionHeldAt(ORIGINAL_HELD_AT); - PreSubmitCallbackResponse response = service.preview(callback, DocumentType.CORRECTED_DECISION_NOTICE, USER_AUTHORISATION, false, true, true); + sscsCaseData.getPostHearing().getCorrection().setIsCorrectionFinalDecisionInProgress(YES); + setDescriptorFlowIndicator(isDescriptorFlowSupported() ? "yes" : "no", sscsCaseData); + sscsCaseData.getSscsFinalDecisionCaseData().setWriteFinalDecisionGenerateNotice(YES); + sscsCaseData.getSscsFinalDecisionCaseData().setWriteFinalDecisionDateOfDecision(DATE_OF_DECISION); + setHigherRateScenarioFields(sscsCaseData); + sscsCaseData.getSscsFinalDecisionCaseData().setFinalDecisionJudge(ORIGINAL_JUDGE_NAME); + sscsCaseData.getSscsFinalDecisionCaseData().setFinalDecisionHeldAt("venue 1 name"); + + Hearing hearing1 = Hearing.builder().value(HearingDetails.builder() + .hearingDate("2019-01-01").venue(Venue.builder().name("venue 1 name").address(Address.builder().postcode("postcode").build()).build()).build()).build(); + + Hearing hearing2 = Hearing.builder().value(HearingDetails.builder() + .hearingDate("2019-01-02").venue(Venue.builder().name("venue 2 name").address(Address.builder().postcode("postcode").build()).build()).build()).build(); + + List hearings = Arrays.asList(hearing2, hearing1); + sscsCaseData.setHearings(hearings); + + PreSubmitCallbackResponse response = service.preview(callback, DocumentType.CORRECTION_GRANTED, USER_AUTHORISATION, false, true, true); + + NoticeIssuedTemplateBody payload = verifyTemplateBody(NoticeIssuedTemplateBody.ENGLISH_IMAGE, APPELLANT_LAST_NAME, null, "2018-10-10", true, + true, true, isDescriptorFlowSupported(), true, true, documentConfiguration.getDocuments().get(LanguagePreference.ENGLISH).get(EventType.CORRECTION_GRANTED)); + WriteFinalDecisionTemplateBody body = payload.getWriteFinalDecisionTemplateBody(); + assertNotNull(body); + + assertEquals("venue 1 name", body.getHeldAt()); - assertEquals(ORIGINAL_HELD_AT, response.getData().getSscsFinalDecisionCaseData().getFinalDecisionHeldAt()); + assertEquals("venue 1 name", response.getData().getSscsFinalDecisionCaseData().getFinalDecisionHeldAt()); } @Test - public void givenFinalDecisionJudgeIsSet_thenDontGetSignedInJudgeName() { + public void givenCorrectionNotInProgressAndFinalHeldAtHasBeenSet_thenUpdateFinalDecisionHeldAt() { when(caseDetails.getState()).thenReturn(State.POST_HEARING); + sscsCaseData.getPostHearing().getCorrection().setIsCorrectionFinalDecisionInProgress(NO); + setDescriptorFlowIndicator(isDescriptorFlowSupported() ? "yes" : "no", sscsCaseData); + sscsCaseData.getSscsFinalDecisionCaseData().setWriteFinalDecisionGenerateNotice(YES); + sscsCaseData.getSscsFinalDecisionCaseData().setWriteFinalDecisionDateOfDecision(DATE_OF_DECISION); + setHigherRateScenarioFields(sscsCaseData); + sscsCaseData.getSscsFinalDecisionCaseData().setFinalDecisionHeldAt("venue 1 name"); + + Hearing hearing1 = Hearing.builder().value(HearingDetails.builder() + .hearingDate("2019-01-01").venue(Venue.builder().name("venue 1 name").address(Address.builder().postcode("postcode").build()).build()).build()).build(); + + Hearing hearing2 = Hearing.builder().value(HearingDetails.builder() + .hearingDate("2019-01-02").venue(Venue.builder().name("venue 2 name").address(Address.builder().postcode("postcode").build()).build()).build()).build(); + + List hearings = Arrays.asList(hearing2, hearing1); + sscsCaseData.setHearings(hearings); + + service.preview(callback, DocumentType.DRAFT_DECISION_NOTICE, USER_AUTHORISATION, false, true, true); + + NoticeIssuedTemplateBody payload = verifyTemplateBody(NoticeIssuedTemplateBody.ENGLISH_IMAGE, APPELLANT_LAST_NAME, null, "2018-10-10", true, + true, true, isDescriptorFlowSupported(), true, documentConfiguration.getDocuments().get(LanguagePreference.ENGLISH).get(EventType.ISSUE_FINAL_DECISION)); + + WriteFinalDecisionTemplateBody body = payload.getWriteFinalDecisionTemplateBody(); + assertNotNull(body); + + assertEquals("venue 2 name", body.getHeldAt()); + } + + @Test + public void givenFinalDecisionJudgeIsSetAndCorrectionInProgress_thenDontGetSignedInJudgeName() { + when(caseDetails.getState()).thenReturn(State.POST_HEARING); + sscsCaseData.getPostHearing().getCorrection().setIsCorrectionFinalDecisionInProgress(YES); + setDescriptorFlowIndicator(isDescriptorFlowSupported() ? "yes" : "no", sscsCaseData); + sscsCaseData.getSscsFinalDecisionCaseData().setWriteFinalDecisionGenerateNotice(YES); + sscsCaseData.getSscsFinalDecisionCaseData().setWriteFinalDecisionDateOfDecision(DATE_OF_DECISION); + setHigherRateScenarioFields(sscsCaseData); sscsCaseData.getSscsFinalDecisionCaseData().setFinalDecisionJudge(ORIGINAL_JUDGE_NAME); - PreSubmitCallbackResponse response = service.preview(callback, DocumentType.CORRECTED_DECISION_NOTICE, USER_AUTHORISATION, false, true, true); + PreSubmitCallbackResponse response = service.preview(callback, DocumentType.CORRECTION_GRANTED, USER_AUTHORISATION, false, true, true); verify(userDetailsService, atMostOnce()).buildLoggedInUserName(USER_AUTHORISATION); assertEquals(ORIGINAL_JUDGE_NAME, response.getData().getSscsFinalDecisionCaseData().getFinalDecisionJudge()); + + NoticeIssuedTemplateBody payload = verifyTemplateBody(NoticeIssuedTemplateBody.ENGLISH_IMAGE, APPELLANT_LAST_NAME, null, "2018-10-10", true, + true, true, isDescriptorFlowSupported(), true, true, documentConfiguration.getDocuments().get(LanguagePreference.ENGLISH).get(EventType.CORRECTION_GRANTED)); + WriteFinalDecisionTemplateBody body = payload.getWriteFinalDecisionTemplateBody(); + assertEquals(ORIGINAL_JUDGE_NAME, body.getHeldBefore()); + } + + @Test + public void givenFinalDecisionJudgeIsSetAndCorrectionIsNotInProgress_thenGetSignedInJudgeName() { + when(caseDetails.getState()).thenReturn(State.POST_HEARING); + sscsCaseData.getPostHearing().getCorrection().setIsCorrectionFinalDecisionInProgress(NO); + setDescriptorFlowIndicator(isDescriptorFlowSupported() ? "yes" : "no", sscsCaseData); + sscsCaseData.getSscsFinalDecisionCaseData().setWriteFinalDecisionGenerateNotice(YES); + sscsCaseData.getSscsFinalDecisionCaseData().setWriteFinalDecisionDateOfDecision(DATE_OF_DECISION); + setHigherRateScenarioFields(sscsCaseData); + sscsCaseData.getSscsFinalDecisionCaseData().setFinalDecisionJudge(ORIGINAL_JUDGE_NAME); + service.preview(callback, DocumentType.DRAFT_DECISION_NOTICE, USER_AUTHORISATION, false, true, true); + + NoticeIssuedTemplateBody payload = verifyTemplateBody(NoticeIssuedTemplateBody.ENGLISH_IMAGE, APPELLANT_LAST_NAME, null, "2018-10-10", true, + true, true, isDescriptorFlowSupported(), true, documentConfiguration.getDocuments().get(LanguagePreference.ENGLISH).get(EventType.ISSUE_FINAL_DECISION)); + WriteFinalDecisionTemplateBody body = payload.getWriteFinalDecisionTemplateBody(); + assertEquals(LOGGED_IN_JUDGE_NAME, body.getHeldBefore()); } @Test diff --git a/src/test/resources/callback/sendToFirstTierRequest.json b/src/test/resources/callback/sendToFirstTierRequest.json new file mode 100644 index 0000000000..cc1731ebcf --- /dev/null +++ b/src/test/resources/callback/sendToFirstTierRequest.json @@ -0,0 +1,3160 @@ +{ + "case_details": { + "id": 12345656789, + "jurisdiction": "SSCS", + "state": "Dormant", + "case_type_id": "Benefit", + "created_date": [ + 2018, + 10, + 23, + 15, + 4, + 48, + 187000000 + ], + "last_modified": [ + 2018, + 10, + 23, + 15, + 4, + 48, + 187000000 + ], + "security_classification": "PUBLIC", + "case_data": { + "appeal": { + "rep": { + "id": "170b034a-8950-4029-bfea-0b827ab6636f", + "name": { + "title": "Mrs", + "lastName": "Davies", + "firstName": "Ginny" + }, + "address": { + "town": "Town", + "line1": "123 Hairy Lane", + "line2": "Off Hairy Park", + "county": "County", + "postcode": "CF240AD" + }, + "contact": { + "email": "hmctspentet2@mailinator.com", + "phone": null, + "mobile": "07398785051" + }, + "identity": { + "dob": null, + "nino": null + }, + "organisation": "HP Ltd", + "hasRepresentative": "Yes" + }, + "signer": null, + "appellant": { + "id": "61334f6b-3789-42d4-b3a1-004d3d174b96", + "name": { + "title": "Mr", + "lastName": "Tues_1", + "firstName": "Tester" + }, + "role": {}, + "address": { + "town": "Hairyfield", + "line1": "123 Hairy Lane", + "line2": "Off Hairy Park", + "county": "Kent", + "postcode": "CF240AD" + }, + "contact": { + "email": null, + "phone": null, + "mobile": null + }, + "identity": { + "dob": "1995-03-22", + "nino": "4ZFFLTIQB" + }, + "appointee": { + "id": "12048741-eab7-4081-b85f-27df7a5d6d38", + "name": { + "title": "Mrs", + "lastName": "Bloggs", + "firstName": "Mary" + }, + "address": { + "town": "Another Town", + "line1": "999 Another Street", + "county": "Newcastle", + "postcode": "CF240AD" + }, + "contact": { + "email": "hmctspentet1@mailinator.com", + "phone": null, + "mobile": "07398785050" + }, + "identity": { + "dob": "1991-03-31", + "nino": null + }, + "organisation": null + }, + "isAppointee": "No", + "organisation": null, + "confidentialityRequired": null, + "isAddressSameAsAppointee": null + }, + "mrnDetails": { + "mrnDate": "2024-07-06", + "mrnLateReason": null, + "dwpIssuingOffice": "DWP PIP (1)", + "mrnMissingReason": null + }, + "benefitType": { + "code": "PIP", + "description": "Personal Independence Payment" + }, + "hearingType": "oral", + "receivedVia": "Online", + "appealReasons": { + "reasons": [ + { + "id": "13436dc4-e7e3-4209-a2e3-8e19fa6ce575", + "value": { + "reason": "aaaaaaaaaa", + "description": "aaaaaaaaaa" + } + }, + { + "id": "987b1773-af37-4849-b6d7-4168a039106d", + "value": { + "reason": "bbbbbbbbbb", + "description": "bbbbbbbbbb" + } + }, + { + "id": "ffebf979-59b8-45ed-a1d8-681ae7e0509c", + "value": { + "reason": "cccccccccc", + "description": "cccccccccc" + } + } + ], + "otherReasons": "Another reason" + }, + "hearingOptions": { + "other": "Yes, this...", + "languages": null, + "arrangements": [], + "excludeDates": [], + "wantsSupport": "No", + "wantsToAttend": "Yes", + "signLanguageType": "sse" + }, + "hearingSubtype": { + "wantsHearingTypeVideo": "No", + "wantsHearingTypeTelephone": "No", + "wantsHearingTypeFaceToFace": "Yes" + } + }, + "region": "CARDIFF", + "ogdType": "DWP", + "outcome": "decisionInFavourOfAppellant", + "caseCode": "002CC", + "dwpState": "finalDecisionIssued", + "hearings": [ + { + "id": "dde30e0e-62b1-47f6-9852-2ed740530b22", + "value": { + "end": "2024-07-10T09:25:00.000", + "time": "08:20:00.000", + "start": "2024-07-10T09:20:00.000", + "venue": { + "name": "Eastgate House", + "address": { + "town": "Cardiff", + "line1": "City Road Entrance", + "line2": "Newport Road", + "county": "", + "postcode": "CF24 0AB", + "postcodeLookup": "CF24 0AB", + "postcodeAddress": "CF24 0AB" + }, + "googleMapLink": "https://www.google.com/maps/place/Eastgate+House,+35-43+Newport+Rd,+Cardiff+CF24+0AB,+UK/@51.4850547,-3.1680269,17z/data=!3m1!4b1!4m5!3m4!1s0x486e1cc65a7b76a7:0x44ee35803c574bf7!8m2!3d51.4850514!4d-3.1658382" + }, + "epimsId": "372653", + "hearingId": "2030019529", + "hearingDate": "2024-07-10", + "hearingStatus": "LISTED", + "versionNumber": 1, + "hearingChannel": "INTER" + } + } + ], + "issueCode": "CC", + "correction": { + "isCorrectionFinalDecisionInProgress": "No" + }, + "dwpDueDate": "2024-08-07", + "benefitCode": "002", + "caseBundles": [ + { + "id": "b22d9a55-9df0-40db-bccc-f72f277e65aa", + "value": { + "id": "8cb66ae9-24bf-4eb5-840f-47384aff5f67", + "title": "SSCS Bundle Original", + "folders": [ + { + "id": "f9656fe0-7a07-41f0-a6eb-bc6ed7c138de", + "value": { + "name": "FTA", + "folders": [], + "documents": [ + { + "id": "53e20a20-a801-4308-be06-1ac588a7d763", + "value": { + "name": "FTA response received on 10-07-2024", + "sortIndex": 0, + "description": null, + "sourceDocument": { + "document_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/5e6886bf-107f-4854-8809-fea8ef87b6dc", + "document_filename": "FTA response received on 10-07-2024.pdf", + "document_binary_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/5e6886bf-107f-4854-8809-fea8ef87b6dc/binary" + } + } + }, + { + "id": "ba0f57a8-e057-4c77-9f4f-31e9c662bce6", + "value": { + "name": "FTA evidence received on 10-07-2024", + "sortIndex": 0, + "description": null, + "sourceDocument": { + "document_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/99321a6c-c6c1-48c3-b8f1-c61b41e4c85b", + "document_filename": "FTA evidence received on 10-07-2024.pdf", + "document_binary_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/99321a6c-c6c1-48c3-b8f1-c61b41e4c85b/binary" + } + } + } + ], + "sortIndex": 0 + } + }, + { + "id": "1f195f3d-4ac3-4618-8c18-ac327fbdd434", + "value": { + "name": "Further additions", + "folders": [], + "documents": [ + { + "id": "d7b6a1ab-d5dc-4dbb-bccc-d08b83e85c0e", + "value": { + "name": "Addition A - Final Decision Notice issued on 10-07-2024.pdf", + "sortIndex": 0, + "description": null, + "sourceDocument": { + "document_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/b6436651-19e6-44d0-9449-aab703ae9e2a", + "document_filename": "Final Decision Notice issued on 10-07-2024.pdf", + "document_binary_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/b6436651-19e6-44d0-9449-aab703ae9e2a/binary" + } + } + } + ], + "sortIndex": 1 + } + } + ], + "fileName": "1720632301448566-SscsBundle.pdf", + "documents": [], + "description": null, + "stitchStatus": "DONE", + "hasCoversheets": "Yes", + "paginationStyle": null, + "pageNumberFormat": "numberOfPages", + "stitchedDocument": { + "document_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/9229836d-930d-49ff-a1a9-0950e2957517", + "document_filename": "1720632301448566-SscsBundle.pdf", + "document_binary_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/9229836d-930d-49ff-a1a9-0950e2957517/binary" + }, + "coverpageTemplate": "TB-SCS-LET-ENG-Cover-Letter.docx", + "eligibleForCloning": "no", + "hasTableOfContents": "Yes", + "eligibleForStitching": "no", + "hasFolderCoversheets": "No", + "stitchingFailureMessage": null + } + } + ], + "caseCreated": "2024-07-10", + "dwpDocuments": [ + { + "id": "5501b4f3-404a-4a32-a27c-ad37911a69f7", + "value": { + "documentLink": { + "document_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/e68d94fd-cf2e-4e83-9a55-3f0ce5ef48c8", + "document_filename": "AT38 received on 10-07-2024.pdf", + "document_binary_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/e68d94fd-cf2e-4e83-9a55-3f0ce5ef48c8/binary" + }, + "documentType": "at38", + "documentFileName": "AT38 received on 10-07-2024", + "documentDateTimeAdded": "2024-07-10T17:27:46.349" + } + }, + { + "id": "61a8cc68-a6fc-418e-81f8-f126f05fd399", + "value": { + "documentLink": { + "document_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/5e6886bf-107f-4854-8809-fea8ef87b6dc", + "document_filename": "FTA response received on 10-07-2024.pdf", + "document_binary_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/5e6886bf-107f-4854-8809-fea8ef87b6dc/binary" + }, + "documentType": "dwpResponse", + "documentFileName": "FTA response received on 10-07-2024", + "documentDateTimeAdded": "2024-07-10T17:27:46.349" + } + }, + { + "id": "ab3dacd0-6a99-4de6-b875-82afc83d9e19", + "value": { + "documentLink": { + "document_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/99321a6c-c6c1-48c3-b8f1-c61b41e4c85b", + "document_filename": "FTA evidence received on 10-07-2024.pdf", + "document_binary_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/99321a6c-c6c1-48c3-b8f1-c61b41e4c85b/binary" + }, + "documentType": "dwpEvidenceBundle", + "documentFileName": "FTA evidence received on 10-07-2024", + "documentDateTimeAdded": "2024-07-10T17:27:46.349" + } + } + ], + "hearingRoute": "listAssist", + "hearingState": "createHearing", + "jointPartyId": "29086152-6adf-4f4c-b764-327377f7baa9", + "sscsDocument": [ + { + "id": "d79f5a30-fd46-4045-ad5b-82c8604c759b", + "value": { + "documentLink": { + "document_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/1b793b69-7d8a-45ee-ae27-630aafcd1f05", + "document_filename": "hello.pdf", + "document_binary_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/1b793b69-7d8a-45ee-ae27-630aafcd1f05/binary" + }, + "documentType": "upperTribunalsDecisionRemitted", + "bundleAddition": "B", + "documentFileName": "Addition B - Upper Tribunals Decision Remitted Notice issued on 10-07-2024.pdf", + "documentDateAdded": "2024-07-10", + "originalPartySender": "Upper Tribunal" + } + }, + { + "id": "d7858eda-da03-4076-b213-1214602bc6eb", + "value": { + "documentLink": { + "document_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/ab64046d-9093-4e16-beac-d54432461768", + "document_filename": "Tues_1_IQB.pdf", + "document_binary_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/ab64046d-9093-4e16-beac-d54432461768/binary" + }, + "documentType": "sscs1", + "documentFileName": "Tues_1_IQB.pdf", + "documentDateAdded": "2024-07-10" + } + }, + { + "id": "23772126-4439-484f-b52f-9086e3140ec1", + "value": { + "documentLink": { + "document_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/b6436651-19e6-44d0-9449-aab703ae9e2a", + "document_filename": "Final Decision Notice issued on 10-07-2024.pdf", + "document_binary_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/b6436651-19e6-44d0-9449-aab703ae9e2a/binary" + }, + "documentType": "finalDecisionNotice", + "bundleAddition": "A", + "documentFileName": "Addition A - Final Decision Notice issued on 10-07-2024.pdf", + "documentDateAdded": "2024-07-10" + } + } + ], + "dateSentToDwp": "2024-07-10", + "hmctsDwpState": "sentToDwp", + "previousState": "hearing", + "subscriptions": { + "appellantSubscription": { + "tya": "hE5qXRfR4C", + "email": "hmctspentet1@mailinator.com", + "mobile": null, + "reason": null, + "subscribeSms": "Yes", + "subscribeEmail": "Yes", + "lastLoggedIntoMya": null, + "wantSmsNotifications": "Yes" + }, + "appointeeSubscription": { + "tya": null, + "email": null, + "mobile": null, + "reason": null, + "subscribeSms": null, + "subscribeEmail": null, + "lastLoggedIntoMya": null, + "wantSmsNotifications": null + }, + "supporterSubscription": { + "tya": null, + "email": null, + "mobile": null, + "reason": null, + "subscribeSms": null, + "subscribeEmail": null, + "lastLoggedIntoMya": null, + "wantSmsNotifications": null + }, + "jointPartySubscription": { + "tya": null, + "email": null, + "mobile": null, + "reason": null, + "subscribeSms": null, + "subscribeEmail": null, + "lastLoggedIntoMya": null, + "wantSmsNotifications": null + }, + "representativeSubscription": { + "tya": "kwZaCHjhPV", + "email": "hmctspentet2@mailinator.com", + "mobile": "+447398785051", + "reason": null, + "subscribeSms": "Yes", + "subscribeEmail": "Yes", + "lastLoggedIntoMya": null, + "wantSmsNotifications": "Yes" + } + }, + "SearchCriteria": { + "SearchParties": [ + { + "id": "c1a26fc1-aff0-4bab-b13e-6066e020c802", + "value": { + "Name": "Mr Tester Tues_1", + "PostCode": "CF240AD", + "DateOfBirth": "1995-03-22", + "AddressLine1": "123 Hairy Lane" + } + }, + { + "id": "469d6a21-7197-479b-aed1-7399eacd38d7", + "value": { + "Name": "Mrs Mary Bloggs", + "PostCode": "CF240AD", + "DateOfBirth": "1991-03-31", + "AddressLine1": "999 Another Street", + "EmailAddress": "hmctspentet1@mailinator.com" + } + } + ], + "OtherCaseReferences": [ + { + "id": "9a76bd8d-152c-4bc5-a28c-4249a3648798", + "value": "4ZFFLTIQB" + } + ] + }, + "addedDocuments": null, + "caseNamePublic": "Tester Tues_1", + "dwpFurtherInfo": "No", + "isScottishCase": "No", + "dwpResponseDate": "2024-07-10", + "evidencePresent": "No", + "processingVenue": "Cardiff", + "sendToFirstTier": { + "action": "remitted", + "decisionDocument": { + "document_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/534405a9-f1d6-4b1f-aa6f-6cac5139da8d", + "document_filename": "hello.pdf", + "document_binary_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/534405a9-f1d6-4b1f-aa6f-6cac5139da8d/binary" + } + }, + "hearingRecording": { + "recordings": [ + { + "id": "ed10818d-f3be-4b77-9bef-ea517ce6d31f", + "value": { + "document_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/d14a1be0-0f7e-4f76-932e-827ed84e0fea", + "document_filename": "Screenshare - 2024-06-04 12_16_01 PM.mp4", + "document_binary_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/d14a1be0-0f7e-4f76-932e-827ed84e0fea/binary" + } + } + ], + "hearingType": "final" + }, + "createdInGapsFrom": "readyToList", + "dwpRegionalCentre": "Newcastle", + "historicalBundles": [], + "preWorkAllocation": "No", + "CaseAccessCategory": "personalIndependencePayment", + "finalDecisionJudge": "SSCS ctsc", + "finalDecisionHeldAt": "Eastgate House, Cardiff", + "defaultListingValues": { + "autoList": "No", + "duration": 60, + "hearingWindow": { + "dateRangeEnd": null, + "dateRangeStart": "2024-08-10", + "firstDateTimeMustBe": null + }, + "appellantInterpreter": { + "interpreterLanguage": null, + "isInterpreterWanted": "No" + }, + "hearingVenueEpimsIds": [ + { + "id": "057786cc-fcf9-4371-b857-e48057e95e75", + "value": { + "value": "372653" + } + } + ], + "appellantHearingChannel": "INTER" + }, + "selectHearingDetails": { + "value": { + "code": "2030019529", + "label": "Eastgate House 08:20:00 10 Jul 2024" + }, + "list_items": [ + { + "code": "2030019529", + "label": "Eastgate House 08:20:00 10 Jul 2024" + } + ] + }, + "caseNameHmctsInternal": "Tester Tues_1", + "dwpIsOfficerAttending": "No", + "panelMemberExclusions": { + "excludedPanelMembers": [], + "reservedPanelMembers": [], + "arePanelMembersExcluded": null, + "arePanelMembersReserved": null + }, + "poAttendanceConfirmed": "No", + "sscsHearingRecordings": [ + { + "id": "2ed22a62-f3c0-49e6-b22c-e144bb3f5373", + "value": { + "venue": "Eastgate House", + "hearingId": "2030019529", + "recordings": [ + { + "id": "395ea857-9fbf-4cee-99f3-cbc21ee2c950", + "value": { + "document_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/d14a1be0-0f7e-4f76-932e-827ed84e0fea", + "document_filename": "Final Eastgate House 10 Jul 2024.mp4", + "document_binary_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/d14a1be0-0f7e-4f76-932e-827ed84e0fea/binary" + } + } + ], + "uploadDate": "10-07-2024 05:33:29 PM", + "hearingDate": "10-07-2024 08:20:00 AM", + "hearingType": "final" + } + } + ], + "workBasketHearingDate": "2024-07-10", + "caseManagementCategory": { + "value": { + "code": "PIP", + "label": "Personal Independence Payment" + }, + "list_items": [ + { + "code": "PIP", + "label": "Personal Independence Payment" + } + ] + }, + "caseManagementLocation": { + "region": "7", + "baseLocation": "372653" + }, + "issueFinalDecisionDate": "2024-07-10", + "caseNameHmctsRestricted": "Tester Tues_1", + "finalDecisionIssuedDate": "2024-07-10", + "finalDecisionIdamSurname": "SSCS ctsc", + "multiBundleConfiguration": [ + { + "id": "45057e17-47b6-4186-8ef3-9691549f209d", + "value": "sscs-bundle-config.yaml" + } + ], + "regionalProcessingCenter": { + "city": "CARDIFF", + "name": "CARDIFF", + "email": "Cardiff_SYA_Respon@justice.gov.uk", + "epimsId": "372653", + "address1": "HM Courts & Tribunals Service", + "address2": "Social Security & Child Support Appeals", + "address3": "Eastgate House", + "address4": "Newport Road", + "postcode": "CF24 0AB", + "faxNumber": "0870 739 4438", + "phoneNumber": "0300 123 1142", + "hearingRoute": "listAssist" + }, + "tribunalDirectPoToAttend": "No", + "workBasketHearingEpimsId": "372653", + "writeFinalDecisionReasons": [ + { + "id": "ead6c6d0-527e-420a-9d5e-5ece806c27dd", + "value": "RRR" + } + ], + "finalDecisionGeneratedDate": "2024-07-10", + "dwpUploadAudioVideoEvidence": [], + "otherPartyAttendedQuestions": [], + "workBasketHearingDateIssued": "2024-07-10 17:30", + "writeFinalDecisionGeneratedDate": "2024-07-10", + "writeFinalDecisionTypeOfHearing": "faceToFace", + "hasUnprocessedAudioVideoEvidence": "No", + "writeFinalDecisionDateOfDecision": "2024-06-05", + "writeFinalDecisionGenerateNotice": "Yes", + "writeFinalDecisionPreviewDocument": { + "document_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/fe46eb0f-ad66-46f6-9470-bfbce7d6c3df", + "document_filename": "Final Decision Notice issued on 10-07-2024.pdf", + "document_binary_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/fe46eb0f-ad66-46f6-9470-bfbce7d6c3df/binary" + }, + "writeFinalDecisionAllowedOrRefused": "allowed", + "writeFinalDecisionIsDescriptorFlow": "No", + "writeFinalDecisionDetailsOfDecision": "T", + "writeFinalDecisionPageSectionReference": "B7", + "finalDecisionWasOriginalDecisionUploaded": "No", + "showFinalDecisionNoticeSummaryOfOutcomePage": "Yes", + "writeFinalDecisionAppellantAttendedQuestion": "No", + "writeFinalDecisionPresentingOfficerAttendedQuestion": "No" + }, + "data_classification": { + "appeal": { + "value": { + "rep": { + "value": { + "id": "PUBLIC", + "name": { + "value": { + "title": "PUBLIC", + "lastName": "PUBLIC", + "firstName": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "address": { + "value": { + "town": "PUBLIC", + "line1": "PUBLIC", + "line2": "PUBLIC", + "county": "PUBLIC", + "postcode": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "contact": { + "value": { + "email": "PUBLIC", + "phone": "PUBLIC", + "mobile": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "identity": { + "value": { + "dob": "PUBLIC", + "nino": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "organisation": "PUBLIC", + "hasRepresentative": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "signer": "PUBLIC", + "appellant": { + "value": { + "id": "PUBLIC", + "name": { + "value": { + "title": "PUBLIC", + "lastName": "PUBLIC", + "firstName": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "role": { + "value": {}, + "classification": "PUBLIC" + }, + "address": { + "value": { + "town": "PUBLIC", + "line1": "PUBLIC", + "line2": "PUBLIC", + "county": "PUBLIC", + "postcode": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "contact": { + "value": { + "email": "PUBLIC", + "phone": "PUBLIC", + "mobile": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "identity": { + "value": { + "dob": "PUBLIC", + "nino": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "appointee": { + "value": { + "id": "PUBLIC", + "name": { + "value": { + "title": "PUBLIC", + "lastName": "PUBLIC", + "firstName": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "address": { + "value": { + "town": "PUBLIC", + "line1": "PUBLIC", + "county": "PUBLIC", + "postcode": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "contact": { + "value": { + "email": "PUBLIC", + "phone": "PUBLIC", + "mobile": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "identity": { + "value": { + "dob": "PUBLIC", + "nino": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "organisation": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "isAppointee": "PUBLIC", + "organisation": "PUBLIC", + "confidentialityRequired": "PUBLIC", + "isAddressSameAsAppointee": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "mrnDetails": { + "value": { + "mrnDate": "PUBLIC", + "mrnLateReason": "PUBLIC", + "dwpIssuingOffice": "PUBLIC", + "mrnMissingReason": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "benefitType": { + "value": { + "code": "PUBLIC", + "description": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "hearingType": "PUBLIC", + "receivedVia": "PUBLIC", + "appealReasons": { + "value": { + "reasons": { + "value": [ + { + "id": "a459c11b-9f6e-4518-bb51-f9a5e269dcee", + "value": { + "reason": "PUBLIC", + "description": "PUBLIC" + } + }, + { + "id": "435c32cf-29eb-4f5e-9954-bb23fa168bbd", + "value": { + "reason": "PUBLIC", + "description": "PUBLIC" + } + }, + { + "id": "d4a142fd-7855-43ef-9308-f6a523532353", + "value": { + "reason": "PUBLIC", + "description": "PUBLIC" + } + } + ], + "classification": "PUBLIC" + }, + "otherReasons": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "hearingOptions": { + "value": { + "other": "PUBLIC", + "languages": "PUBLIC", + "wantsSupport": "PUBLIC", + "wantsToAttend": "PUBLIC", + "signLanguageType": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "hearingSubtype": { + "value": {}, + "classification": "PUBLIC" + } + }, + "classification": "PUBLIC" + }, + "region": "PUBLIC", + "ogdType": "PUBLIC", + "outcome": "PUBLIC", + "caseCode": "PUBLIC", + "dwpState": "PUBLIC", + "hearings": { + "value": [ + { + "id": "68eca3e5-0691-4c8f-886a-0945987f93b6", + "value": { + "end": "PUBLIC", + "time": "PUBLIC", + "start": "PUBLIC", + "venue": { + "value": { + "name": "PUBLIC", + "address": { + "value": { + "town": "PUBLIC", + "line1": "PUBLIC", + "line2": "PUBLIC", + "county": "PUBLIC", + "postcode": "PUBLIC", + "postcodeLookup": "PUBLIC", + "postcodeAddress": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "googleMapLink": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "epimsId": "PUBLIC", + "hearingId": "PUBLIC", + "hearingDate": "PUBLIC", + "hearingStatus": "PUBLIC", + "versionNumber": "PUBLIC", + "hearingChannel": "PUBLIC" + } + } + ], + "classification": "PUBLIC" + }, + "setAside": { + "value": {}, + "classification": "PUBLIC" + }, + "issueCode": "PUBLIC", + "correction": { + "value": { + "isCorrectionFinalDecisionInProgress": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "dwpDueDate": "PUBLIC", + "benefitCode": "PUBLIC", + "caseBundles": { + "value": [ + { + "id": "93c4a1e9-4b8a-4fc0-a712-a1a7e3fe756d", + "value": { + "id": "PUBLIC", + "title": "PUBLIC", + "folders": { + "value": [ + { + "id": "957acebc-1ca6-488d-ba43-de2a1be684d0", + "value": { + "name": "PUBLIC", + "folders": { + "value": [], + "classification": "PUBLIC" + }, + "documents": { + "value": [ + { + "id": "1e7c2c60-53b7-48d5-8b41-6de88e01f8fe", + "value": { + "name": "PUBLIC", + "sortIndex": "PUBLIC", + "description": "PUBLIC", + "sourceDocument": "PUBLIC" + } + }, + { + "id": "7f4e2dc0-1fa1-48fa-a732-9dc6676ea486", + "value": { + "name": "PUBLIC", + "sortIndex": "PUBLIC", + "description": "PUBLIC", + "sourceDocument": "PUBLIC" + } + } + ], + "classification": "PUBLIC" + }, + "sortIndex": "PUBLIC" + } + }, + { + "id": "8faa7cca-5812-4df2-b938-ea585002a6de", + "value": { + "name": "PUBLIC", + "folders": { + "value": [], + "classification": "PUBLIC" + }, + "documents": { + "value": [ + { + "id": "2fff73e7-5bfe-4f20-9e30-4d64cb9d7778", + "value": { + "name": "PUBLIC", + "sortIndex": "PUBLIC", + "description": "PUBLIC", + "sourceDocument": "PUBLIC" + } + } + ], + "classification": "PUBLIC" + }, + "sortIndex": "PUBLIC" + } + } + ], + "classification": "PUBLIC" + }, + "fileName": "PUBLIC", + "documents": { + "value": [], + "classification": "PUBLIC" + }, + "description": "PUBLIC", + "stitchStatus": "PUBLIC", + "hasCoversheets": "PUBLIC", + "paginationStyle": "PUBLIC", + "pageNumberFormat": "PUBLIC", + "stitchedDocument": "PUBLIC", + "coverpageTemplate": "PUBLIC", + "eligibleForCloning": "PUBLIC", + "hasTableOfContents": "PUBLIC", + "eligibleForStitching": "PUBLIC", + "hasFolderCoversheets": "PUBLIC", + "stitchingFailureMessage": "PUBLIC" + } + } + ], + "classification": "PUBLIC" + }, + "caseCreated": "PUBLIC", + "dwpDocuments": { + "value": [ + { + "id": "50d6682e-290f-404e-88e0-7b3bf4d0a1f6", + "value": { + "documentLink": "PUBLIC", + "documentType": "PUBLIC", + "documentFileName": "PUBLIC", + "documentDateTimeAdded": "PUBLIC" + } + }, + { + "id": "47f9acab-a5ca-4b26-adba-3de3dc5f96c7", + "value": { + "documentLink": "PUBLIC", + "documentType": "PUBLIC", + "documentFileName": "PUBLIC", + "documentDateTimeAdded": "PUBLIC" + } + }, + { + "id": "41ea5a98-2a01-45d3-9ab6-cf891783666a", + "value": { + "documentLink": "PUBLIC", + "documentType": "PUBLIC", + "documentFileName": "PUBLIC", + "documentDateTimeAdded": "PUBLIC" + } + } + ], + "classification": "PUBLIC" + }, + "hearingRoute": "PUBLIC", + "hearingState": "PUBLIC", + "jointPartyId": "PUBLIC", + "sscsDocument": { + "value": [ + { + "id": "4a5bb6ae-ee9d-4d4b-a852-46e494f7dc9d", + "value": { + "documentLink": "PUBLIC", + "documentType": "PUBLIC", + "bundleAddition": "PUBLIC", + "documentFileName": "PUBLIC", + "documentDateAdded": "PUBLIC", + "originalPartySender": "PUBLIC" + } + }, + { + "id": "2e97b4a3-6f64-4873-be27-72527d2443cc", + "value": { + "documentLink": "PUBLIC", + "documentType": "PUBLIC", + "documentFileName": "PUBLIC", + "documentDateAdded": "PUBLIC" + } + }, + { + "id": "c50457a3-0f76-4138-83ed-18bdb72b8ddc", + "value": { + "documentLink": "PUBLIC", + "documentType": "PUBLIC", + "bundleAddition": "PUBLIC", + "documentFileName": "PUBLIC", + "documentDateAdded": "PUBLIC" + } + } + ], + "classification": "PUBLIC" + }, + "dateSentToDwp": "PUBLIC", + "hmctsDwpState": "PUBLIC", + "previousState": "PUBLIC", + "subscriptions": { + "value": { + "appellantSubscription": { + "value": { + "tya": "PUBLIC", + "email": "PUBLIC", + "mobile": "PUBLIC", + "reason": "PUBLIC", + "subscribeSms": "PUBLIC", + "subscribeEmail": "PUBLIC", + "lastLoggedIntoMya": "PUBLIC", + "wantSmsNotifications": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "appointeeSubscription": { + "value": { + "tya": "PUBLIC", + "email": "PUBLIC", + "mobile": "PUBLIC", + "reason": "PUBLIC", + "subscribeSms": "PUBLIC", + "subscribeEmail": "PUBLIC", + "lastLoggedIntoMya": "PUBLIC", + "wantSmsNotifications": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "supporterSubscription": { + "value": { + "tya": "PUBLIC", + "email": "PUBLIC", + "mobile": "PUBLIC", + "reason": "PUBLIC", + "subscribeSms": "PUBLIC", + "subscribeEmail": "PUBLIC", + "lastLoggedIntoMya": "PUBLIC", + "wantSmsNotifications": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "jointPartySubscription": { + "value": { + "tya": "PUBLIC", + "email": "PUBLIC", + "mobile": "PUBLIC", + "reason": "PUBLIC", + "subscribeSms": "PUBLIC", + "subscribeEmail": "PUBLIC", + "lastLoggedIntoMya": "PUBLIC", + "wantSmsNotifications": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "representativeSubscription": { + "value": { + "tya": "PUBLIC", + "email": "PUBLIC", + "mobile": "PUBLIC", + "reason": "PUBLIC", + "subscribeSms": "PUBLIC", + "subscribeEmail": "PUBLIC", + "lastLoggedIntoMya": "PUBLIC", + "wantSmsNotifications": "PUBLIC" + }, + "classification": "PUBLIC" + } + }, + "classification": "PUBLIC" + }, + "SearchCriteria": { + "value": { + "SearchParties": { + "value": [ + { + "id": "08d6ba99-453e-46f1-bb2f-2a5454db19d7", + "value": { + "Name": "PUBLIC", + "PostCode": "PUBLIC", + "DateOfBirth": "PUBLIC", + "AddressLine1": "PUBLIC" + } + }, + { + "id": "b28ff69f-67ce-4427-8a71-734f46f39b0c", + "value": { + "Name": "PUBLIC", + "PostCode": "PUBLIC", + "DateOfBirth": "PUBLIC", + "AddressLine1": "PUBLIC", + "EmailAddress": "PUBLIC" + } + } + ], + "classification": "PUBLIC" + }, + "OtherCaseReferences": { + "value": [ + { + "id": "32eb7b91-3e05-4646-8266-0b0117c84933", + "classification": "PUBLIC" + } + ], + "classification": "PUBLIC" + } + }, + "classification": "PUBLIC" + }, + "addedDocuments": "PUBLIC", + "caseNamePublic": "PUBLIC", + "dwpFurtherInfo": "PUBLIC", + "isScottishCase": "PUBLIC", + "libertyToApply": { + "value": { + "action": "PUBLIC", + "requestFormat": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "dwpResponseDate": "PUBLIC", + "evidencePresent": "PUBLIC", + "previewDocument": "PUBLIC", + "processingVenue": "PUBLIC", + "sendToFirstTier": { + "value": { + "action": "PUBLIC", + "decisionDocument": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "hearingRecording": { + "value": { + "recordings": { + "value": [ + { + "id": "2085b752-87fe-4594-ba28-5e342d66f648", + "classification": "PUBLIC" + } + ], + "classification": "PUBLIC" + }, + "hearingType": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "createdInGapsFrom": "PUBLIC", + "dwpRegionalCentre": "PUBLIC", + "historicalBundles": { + "value": [], + "classification": "PUBLIC" + }, + "preWorkAllocation": "PUBLIC", + "CaseAccessCategory": "PUBLIC", + "finalDecisionJudge": "PUBLIC", + "permissionToAppeal": { + "value": { + "action": "PUBLIC", + "requestFormat": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "statementOfReasons": { + "value": { + "action": "PUBLIC", + "requestFormat": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "finalDecisionHeldAt": "PUBLIC", + "defaultListingValues": { + "value": { + "autoList": "PUBLIC", + "duration": "PUBLIC", + "hearingWindow": { + "value": { + "dateRangeEnd": "PUBLIC", + "dateRangeStart": "PUBLIC", + "firstDateTimeMustBe": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "appellantInterpreter": { + "value": { + "interpreterLanguage": "PUBLIC", + "isInterpreterWanted": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "hearingVenueEpimsIds": { + "value": [ + { + "id": "106bf3c9-351f-4964-a16d-a0ce63a93e27", + "value": { + "value": "PUBLIC" + } + } + ], + "classification": "PUBLIC" + }, + "appellantHearingChannel": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "selectHearingDetails": "PUBLIC", + "caseNameHmctsInternal": "PUBLIC", + "dwpIsOfficerAttending": "PUBLIC", + "poAttendanceConfirmed": "PUBLIC", + "sscsHearingRecordings": { + "value": [ + { + "id": "00ac7ce3-a00f-4b88-8d90-751604f1c28d", + "value": { + "venue": "PUBLIC", + "hearingId": "PUBLIC", + "recordings": { + "value": [ + { + "id": "891b6611-eeb7-4d47-8b01-bf5950ff296a", + "classification": "PUBLIC" + } + ], + "classification": "PUBLIC" + }, + "uploadDate": "PUBLIC", + "hearingDate": "PUBLIC", + "hearingType": "PUBLIC" + } + } + ], + "classification": "PUBLIC" + }, + "workBasketHearingDate": "PUBLIC", + "caseManagementCategory": "PUBLIC", + "caseManagementLocation": { + "value": { + "region": "PUBLIC", + "baseLocation": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "issueFinalDecisionDate": "PUBLIC", + "postHearingRequestType": "PUBLIC", + "caseNameHmctsRestricted": "PUBLIC", + "finalDecisionIssuedDate": "PUBLIC", + "finalDecisionIdamSurname": "PUBLIC", + "multiBundleConfiguration": { + "value": [ + { + "id": "d926a145-f65e-4834-812b-bdef77022602", + "classification": "PUBLIC" + } + ], + "classification": "PUBLIC" + }, + "regionalProcessingCenter": { + "value": { + "city": "PUBLIC", + "name": "PUBLIC", + "email": "PUBLIC", + "epimsId": "PUBLIC", + "address1": "PUBLIC", + "address2": "PUBLIC", + "address3": "PUBLIC", + "address4": "PUBLIC", + "postcode": "PUBLIC", + "faxNumber": "PUBLIC", + "phoneNumber": "PUBLIC", + "hearingRoute": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "tribunalDirectPoToAttend": "PUBLIC", + "workBasketHearingEpimsId": "PUBLIC", + "presentingOfficersDetails": { + "value": { + "name": { + "value": { + "title": "PUBLIC", + "lastName": "PUBLIC", + "firstName": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "contact": { + "value": { + "email": "PUBLIC", + "phone": "PUBLIC", + "mobile": "PUBLIC" + }, + "classification": "PUBLIC" + } + }, + "classification": "PUBLIC" + }, + "writeFinalDecisionReasons": { + "value": [ + { + "id": "7a7faf80-624b-474d-913b-400a7c4b03e3", + "classification": "PUBLIC" + } + ], + "classification": "PUBLIC" + }, + "finalDecisionGeneratedDate": "PUBLIC", + "dwpUploadAudioVideoEvidence": { + "value": [], + "classification": "PUBLIC" + }, + "otherPartyAttendedQuestions": { + "value": [], + "classification": "PUBLIC" + }, + "workBasketHearingDateIssued": "PUBLIC", + "writeFinalDecisionGeneratedDate": "PUBLIC", + "writeFinalDecisionTypeOfHearing": "PUBLIC", + "hasUnprocessedAudioVideoEvidence": "PUBLIC", + "writeFinalDecisionDateOfDecision": "PUBLIC", + "writeFinalDecisionGenerateNotice": "PUBLIC", + "writeFinalDecisionPreviewDocument": "PUBLIC", + "writeFinalDecisionAllowedOrRefused": "PUBLIC", + "writeFinalDecisionIsDescriptorFlow": "PUBLIC", + "writeFinalDecisionDetailsOfDecision": "PUBLIC", + "writeFinalDecisionPageSectionReference": "PUBLIC", + "finalDecisionWasOriginalDecisionUploaded": "PUBLIC", + "showFinalDecisionNoticeSummaryOfOutcomePage": "PUBLIC", + "writeFinalDecisionAppellantAttendedQuestion": "PUBLIC", + "writeFinalDecisionPresentingOfficerAttendedQuestion": "PUBLIC" + }, + "after_submit_callback_response": null, + "callback_response_status_code": null, + "callback_response_status": null, + "delete_draft_response_status_code": null, + "delete_draft_response_status": null, + "security_classifications": { + "dwpTimeExtension": { + "classification": "PUBLIC", + "value": [ + ] + }, + "generatedNino": "PUBLIC", + "hearings": { + "classification": "PUBLIC", + "value": [ + { + "value": { + "venue": { + "classification": "PUBLIC", + "value": { + "name": "PUBLIC", + "address": { + "classification": "PUBLIC", + "value": { + "line1": "PUBLIC", + "line2": "PUBLIC", + "town": "PUBLIC", + "county": "PUBLIC", + "postcode": "PUBLIC" + } + }, + "googleMapLink": "PUBLIC" + } + }, + "hearingDate": "PUBLIC", + "time": "PUBLIC", + "adjourned": "PUBLIC", + "eventDate": "PUBLIC", + "hearingId": "PUBLIC" + }, + "id": "491adfdc-a8d3-430d-bd47-5ae3eac2149f" + } + ] + }, + "subscriptions": { + "classification": "PUBLIC", + "value": { + "appellantSubscription": { + "classification": "PUBLIC", + "value": { + "wantSmsNotifications": "PUBLIC", + "tya": "PUBLIC", + "email": "PUBLIC", + "mobile": "PUBLIC", + "subscribeEmail": "PUBLIC", + "subscribeSms": "PUBLIC", + "reason": "PUBLIC" + } + }, + "representativeSubscription": { + "classification": "PUBLIC", + "value": { + "wantSmsNotifications": "PUBLIC", + "tya": "PUBLIC", + "email": "PUBLIC", + "mobile": "PUBLIC", + "subscribeEmail": "PUBLIC", + "subscribeSms": "PUBLIC", + "reason": "PUBLIC" + } + } + } + }, + "evidence": { + "classification": "PUBLIC", + "value": { + "documents": { + "classification": "PUBLIC", + "value": [ + ] + } + } + }, + "caseReference": "PUBLIC", + "generatedSurname": "PUBLIC", + "regionalProcessingCenter": { + "classification": "PUBLIC", + "value": { + "faxNumber": "PUBLIC", + "address4": "PUBLIC", + "phoneNumber": "PUBLIC", + "name": "PUBLIC", + "address1": "PUBLIC", + "address2": "PUBLIC", + "address3": "PUBLIC", + "postcode": "PUBLIC", + "city": "PUBLIC" + } + }, + "appeal": { + "classification": "PUBLIC", + "value": { + "mrnDetails": { + "classification": "PUBLIC", + "value": { + } + }, + "appellant": { + "classification": "PUBLIC", + "value": { + "name": { + "classification": "PUBLIC", + "value": { + "title": "PUBLIC", + "firstName": "PUBLIC", + "lastName": "PUBLIC" + } + }, + "address": { + "classification": "PUBLIC", + "value": { + } + }, + "contact": { + "classification": "PUBLIC", + "value": { + "email": "PUBLIC", + "phone": "PUBLIC", + "mobile": "PUBLIC" + } + }, + "identity": { + "classification": "PUBLIC", + "value": { + "dob": "PUBLIC", + "nino": "PUBLIC" + } + }, + "isAppointee": "PUBLIC" + } + }, + "benefitType": { + "classification": "PUBLIC", + "value": { + "code": "PUBLIC" + } + }, + "hearingOptions": { + "classification": "PUBLIC", + "value": { + "wantsToAttend": "PUBLIC", + "other": "PUBLIC" + } + }, + "appealReasons": { + "classification": "PUBLIC", + "value": { + } + }, + "rep": { + "classification": "PUBLIC", + "value": { + } + }, + "signer": "PUBLIC", + "hearingType": "PUBLIC" + } + }, + "region": "PUBLIC", + "generatedDOB": "PUBLIC", + "events": { + "classification": "PUBLIC", + "value": [ + { + "value": { + "date": "PUBLIC", + "type": "PUBLIC", + "description": "PUBLIC" + }, + "id": "324a9f42-b9a0-428d-ae22-24fa606a46cc" + }, + { + "value": { + "date": "PUBLIC", + "type": "PUBLIC", + "description": "PUBLIC" + }, + "id": "2b863cb1-5b99-4ac1-8b4c-f0b9c71f1fd8" + }, + { + "value": { + "date": "PUBLIC", + "type": "PUBLIC", + "description": "PUBLIC" + }, + "id": "b8c61d93-1e82-44c9-bfff-55339f829a0e" + }, + { + "value": { + "date": "PUBLIC", + "type": "PUBLIC", + "description": "PUBLIC" + }, + "id": "29a280db-7937-49db-ae7c-84c62581e3a2" + } + ] + } + } + }, + "case_details_before": { + "id": 12345656789, + "jurisdiction": "SSCS", + "state": "interlocutoryReviewState", + "case_type_id": "Benefit", + "created_date": [ + 2018, + 10, + 23, + 15, + 4, + 48, + 187000000 + ], + "last_modified": [ + 2018, + 10, + 23, + 15, + 4, + 48, + 187000000 + ], + "security_classification": "PUBLIC", + "case_data": { + "appeal": { + "rep": { + "id": "c9ef0d56-09d5-4cb0-a794-1381c493c1a0", + "name": { + "title": "Mrs", + "lastName": "Davies", + "firstName": "Ginny" + }, + "address": { + "town": "Town", + "line1": "123 Hairy Lane", + "line2": "Off Hairy Park", + "county": "County", + "postcode": "CF240AD" + }, + "contact": { + "email": "hmctspentet2@mailinator.com", + "phone": null, + "mobile": "07398785051" + }, + "identity": { + "dob": null, + "nino": null + }, + "organisation": "HP Ltd", + "hasRepresentative": "Yes" + }, + "signer": null, + "appellant": { + "id": "d21eccf1-bd09-4407-ad8f-737686c07b37", + "name": { + "title": "Mr", + "lastName": "Tues_1", + "firstName": "Tester" + }, + "role": {}, + "address": { + "town": "Hairyfield", + "line1": "123 Hairy Lane", + "line2": "Off Hairy Park", + "county": "Kent", + "postcode": "CF240AD" + }, + "contact": { + "email": null, + "phone": null, + "mobile": null + }, + "identity": { + "dob": "1995-03-22", + "nino": "Y8ROESOLS" + }, + "appointee": { + "id": "0aac3155-83c7-44d9-bb51-38a91610d46d", + "name": { + "title": "Mrs", + "lastName": "Bloggs", + "firstName": "Mary" + }, + "address": { + "town": "Another Town", + "line1": "999 Another Street", + "county": "Newcastle", + "postcode": "CF240AD" + }, + "contact": { + "email": "hmctspentet1@mailinator.com", + "phone": null, + "mobile": "07398785050" + }, + "identity": { + "dob": "1991-03-31", + "nino": null + }, + "organisation": null + }, + "isAppointee": "No", + "organisation": null, + "confidentialityRequired": null, + "isAddressSameAsAppointee": null + }, + "mrnDetails": { + "mrnDate": "2024-06-13", + "mrnLateReason": null, + "dwpIssuingOffice": "DWP PIP (1)", + "mrnMissingReason": null + }, + "benefitType": { + "code": "PIP", + "description": "Personal Independence Payment" + }, + "hearingType": "oral", + "receivedVia": "Online", + "appealReasons": { + "reasons": [ + { + "id": "dfebc2ad-994f-4bce-94e7-848d6641f155", + "value": { + "reason": "aaaaaaaaaa", + "description": "aaaaaaaaaa" + } + }, + { + "id": "22651e30-940e-4431-b554-ddf8a8052af7", + "value": { + "reason": "bbbbbbbbbb", + "description": "bbbbbbbbbb" + } + }, + { + "id": "1dda428f-c87a-4b33-80df-87b3d386ac58", + "value": { + "reason": "cccccccccc", + "description": "cccccccccc" + } + } + ], + "otherReasons": "Another reason" + }, + "hearingOptions": { + "other": "Yes, this...", + "languages": null, + "wantsSupport": "No", + "wantsToAttend": "Yes", + "signLanguageType": "sse" + }, + "hearingSubtype": {} + }, + "region": "CARDIFF", + "ogdType": "DWP", + "outcome": "decisionInFavourOfAppellant", + "caseCode": "002CC", + "dwpState": "finalDecisionIssued", + "hearings": [ + { + "id": "30fb37aa-9141-43a0-b9db-34f157bf2447", + "value": { + "end": "2024-06-25T10:45:00.000", + "time": "09:30:00.000", + "start": "2024-06-25T10:30:00.000", + "venue": { + "name": "Eastgate House", + "address": { + "town": "Cardiff", + "line1": "City Road Entrance", + "line2": "Newport Road", + "county": "", + "postcode": "CF24 0AB", + "postcodeLookup": "CF24 0AB", + "postcodeAddress": "CF24 0AB" + }, + "googleMapLink": "https://www.google.com/maps/place/Eastgate+House,+35-43+Newport+Rd,+Cardiff+CF24+0AB,+UK/@51.4850547,-3.1680269,17z/data=!3m1!4b1!4m5!3m4!1s0x486e1cc65a7b76a7:0x44ee35803c574bf7!8m2!3d51.4850514!4d-3.1658382" + }, + "epimsId": "372653", + "hearingId": "2030018102", + "hearingDate": "2024-06-25", + "hearingStatus": "LISTED", + "versionNumber": 1, + "hearingChannel": "INTER" + } + } + ], + "setAside": {}, + "issueCode": "CC", + "correction": { + "isCorrectionFinalDecisionInProgress": "No" + }, + "dwpDueDate": "2024-07-23", + "benefitCode": "002", + "caseBundles": [ + { + "id": "e7a6944f-d5b4-4d5c-8032-589c9418af44", + "value": { + "id": "c77d9684-8b68-4849-8162-9033bc6f34ac", + "title": "SSCS Bundle Original", + "folders": [ + { + "id": "5528a184-a81e-47b5-b39d-0dcaa05fad12", + "value": { + "name": "FTA", + "folders": [], + "documents": [ + { + "id": "7dcdbe0d-ca4d-41c1-93f0-797f7a71f3f0", + "value": { + "name": "FTA response received on 25-06-2024", + "sortIndex": 0, + "description": null, + "sourceDocument": { + "document_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/6d51856d-c860-430c-9544-c9850f4d3fa6", + "document_filename": "FTA response received on 25-06-2024.pdf", + "document_binary_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/6d51856d-c860-430c-9544-c9850f4d3fa6/binary" + } + } + }, + { + "id": "4ef6004a-a46b-4e9b-9c93-ee38a1e50fc2", + "value": { + "name": "FTA evidence received on 25-06-2024", + "sortIndex": 0, + "description": null, + "sourceDocument": { + "document_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/941d8f3c-1b35-4de5-9946-99be7b4b92ce", + "document_filename": "FTA evidence received on 25-06-2024.pdf", + "document_binary_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/941d8f3c-1b35-4de5-9946-99be7b4b92ce/binary" + } + } + } + ], + "sortIndex": 0 + } + }, + { + "id": "708c0b96-f4ad-4fb5-80fe-5f1262e93749", + "value": { + "name": "Further additions", + "folders": [], + "documents": [ + { + "id": "26b21b43-b53b-45e5-b397-67e5294a3f9a", + "value": { + "name": "Addition A - Final Decision Notice issued on 25-06-2024.pdf", + "sortIndex": 0, + "description": null, + "sourceDocument": { + "document_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/180beace-1b59-42eb-86f0-32cba7864b17", + "document_filename": "Final Decision Notice issued on 25-06-2024.pdf", + "document_binary_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/180beace-1b59-42eb-86f0-32cba7864b17/binary" + } + } + } + ], + "sortIndex": 1 + } + } + ], + "fileName": "1719326447715524-SscsBundle.pdf", + "documents": [], + "description": null, + "stitchStatus": "NEW", + "hasCoversheets": "Yes", + "paginationStyle": null, + "pageNumberFormat": "numberOfPages", + "stitchedDocument": null, + "coverpageTemplate": "TB-SCS-LET-ENG-Cover-Letter.docx", + "eligibleForCloning": "no", + "hasTableOfContents": "Yes", + "eligibleForStitching": "no", + "hasFolderCoversheets": "No", + "stitchingFailureMessage": null + } + } + ], + "caseCreated": "2024-06-25", + "dwpDocuments": [ + { + "id": "50d6682e-290f-404e-88e0-7b3bf4d0a1f6", + "value": { + "documentLink": { + "document_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/ca7e06f0-f4ec-4b48-a712-e6bc66b4364a", + "document_filename": "AT38 received on 25-06-2024.pdf", + "document_binary_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/ca7e06f0-f4ec-4b48-a712-e6bc66b4364a/binary" + }, + "documentType": "at38", + "documentFileName": "AT38 received on 25-06-2024", + "documentDateTimeAdded": "2024-06-25T15:40:30.990" + } + }, + { + "id": "47f9acab-a5ca-4b26-adba-3de3dc5f96c7", + "value": { + "documentLink": { + "document_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/6d51856d-c860-430c-9544-c9850f4d3fa6", + "document_filename": "FTA response received on 25-06-2024.pdf", + "document_binary_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/6d51856d-c860-430c-9544-c9850f4d3fa6/binary" + }, + "documentType": "dwpResponse", + "documentFileName": "FTA response received on 25-06-2024", + "documentDateTimeAdded": "2024-06-25T15:40:30.990" + } + }, + { + "id": "41ea5a98-2a01-45d3-9ab6-cf891783666a", + "value": { + "documentLink": { + "document_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/941d8f3c-1b35-4de5-9946-99be7b4b92ce", + "document_filename": "FTA evidence received on 25-06-2024.pdf", + "document_binary_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/941d8f3c-1b35-4de5-9946-99be7b4b92ce/binary" + }, + "documentType": "dwpEvidenceBundle", + "documentFileName": "FTA evidence received on 25-06-2024", + "documentDateTimeAdded": "2024-06-25T15:40:30.990" + } + } + ], + "hearingRoute": "listAssist", + "hearingState": "createHearing", + "jointPartyId": "9f857e5e-a47b-4adb-9aa6-28e94e139089", + "sscsDocument": [ + { + "id": "2e97b4a3-6f64-4873-be27-72527d2443cc", + "value": { + "documentLink": { + "document_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/d46abae2-624f-4e2e-8b3a-2c710db9ea0b", + "document_filename": "Tues_1_OLS.pdf", + "document_binary_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/d46abae2-624f-4e2e-8b3a-2c710db9ea0b/binary" + }, + "documentType": "sscs1", + "documentFileName": "Tues_1_OLS.pdf", + "documentDateAdded": "2024-06-25" + } + }, + { + "id": "c50457a3-0f76-4138-83ed-18bdb72b8ddc", + "value": { + "documentLink": { + "document_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/180beace-1b59-42eb-86f0-32cba7864b17", + "document_filename": "Final Decision Notice issued on 25-06-2024.pdf", + "document_binary_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/180beace-1b59-42eb-86f0-32cba7864b17/binary" + }, + "documentType": "finalDecisionNotice", + "bundleAddition": "A", + "documentFileName": "Addition A - Final Decision Notice issued on 25-06-2024.pdf", + "documentDateAdded": "2024-06-25" + } + } + ], + "dateSentToDwp": "2024-06-25", + "hmctsDwpState": "sentToDwp", + "previousState": "hearing", + "subscriptions": { + "appellantSubscription": { + "tya": "Lg9Bpd7CBO", + "email": "hmctspentet1@mailinator.com", + "mobile": null, + "reason": null, + "subscribeSms": "Yes", + "subscribeEmail": "Yes", + "lastLoggedIntoMya": null, + "wantSmsNotifications": "Yes" + }, + "appointeeSubscription": { + "tya": null, + "email": null, + "mobile": null, + "reason": null, + "subscribeSms": null, + "subscribeEmail": null, + "lastLoggedIntoMya": null, + "wantSmsNotifications": null + }, + "supporterSubscription": { + "tya": null, + "email": null, + "mobile": null, + "reason": null, + "subscribeSms": null, + "subscribeEmail": null, + "lastLoggedIntoMya": null, + "wantSmsNotifications": null + }, + "jointPartySubscription": { + "tya": null, + "email": null, + "mobile": null, + "reason": null, + "subscribeSms": null, + "subscribeEmail": null, + "lastLoggedIntoMya": null, + "wantSmsNotifications": null + }, + "representativeSubscription": { + "tya": "RLVMQBQsWl", + "email": "hmctspentet2@mailinator.com", + "mobile": "+447398785051", + "reason": null, + "subscribeSms": "Yes", + "subscribeEmail": "Yes", + "lastLoggedIntoMya": null, + "wantSmsNotifications": "Yes" + } + }, + "SearchCriteria": { + "SearchParties": [ + { + "id": "1bbe71ae-2b43-44cb-9f5b-bae782360f9a", + "value": { + "Name": "Mr Tester Tues_1", + "PostCode": "CF240AD", + "DateOfBirth": "1995-03-22", + "AddressLine1": "123 Hairy Lane" + } + }, + { + "id": "4e9a083d-81e7-4324-b10a-60b7bcc50155", + "value": { + "Name": "Mrs Mary Bloggs", + "PostCode": "CF240AD", + "DateOfBirth": "1991-03-31", + "AddressLine1": "999 Another Street", + "EmailAddress": "hmctspentet1@mailinator.com" + } + } + ], + "OtherCaseReferences": [ + { + "id": "de0c7a00-4729-4d05-8e9b-d5b29963e425", + "value": "Y8ROESOLS" + } + ] + }, + "addedDocuments": null, + "caseNamePublic": "Tester Tues_1", + "dwpFurtherInfo": "No", + "isScottishCase": "No", + "libertyToApply": { + "action": null, + "requestFormat": null + }, + "dwpResponseDate": "2024-06-25", + "evidencePresent": "No", + "processingVenue": "Cardiff", + "sendToFirstTier": { + "action": null, + "decisionDocument": null + }, + "hearingRecording": { + "recordings": [ + { + "id": "0e15a1fb-8624-4158-b671-1d106eb43219", + "value": { + "document_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/7413ebe3-5582-407b-a501-da5690ef618e", + "document_filename": "Screenshare - 2024-06-04 12_16_01 PM.mp4", + "document_binary_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/7413ebe3-5582-407b-a501-da5690ef618e/binary" + } + } + ], + "hearingType": "final" + }, + "createdInGapsFrom": "readyToList", + "dwpRegionalCentre": "Newcastle", + "historicalBundles": [], + "preWorkAllocation": "No", + "CaseAccessCategory": "personalIndependencePayment", + "finalDecisionJudge": "SSCS ctsc", + "permissionToAppeal": { + "action": null, + "requestFormat": null + }, + "statementOfReasons": { + "action": null, + "requestFormat": null + }, + "finalDecisionHeldAt": "Eastgate House, Cardiff", + "defaultListingValues": { + "autoList": "No", + "duration": 60, + "hearingWindow": { + "dateRangeEnd": null, + "dateRangeStart": "2024-07-26", + "firstDateTimeMustBe": null + }, + "appellantInterpreter": { + "interpreterLanguage": null, + "isInterpreterWanted": "No" + }, + "hearingVenueEpimsIds": [ + { + "id": "dec5af94-1206-4407-824d-c1ebd6814ce1", + "value": { + "value": "372653" + } + } + ], + "appellantHearingChannel": "INTER" + }, + "selectHearingDetails": { + "value": { + "code": "2030018102", + "label": "Eastgate House 09:30:00 25 Jun 2024" + }, + "list_items": [ + { + "code": "2030018102", + "label": "Eastgate House 09:30:00 25 Jun 2024" + } + ] + }, + "caseNameHmctsInternal": "Tester Tues_1", + "dwpIsOfficerAttending": "No", + "poAttendanceConfirmed": "No", + "sscsHearingRecordings": [ + { + "id": "6961620b-2929-45aa-8255-e4a1d20c9092", + "value": { + "venue": "Eastgate House", + "hearingId": "2030018102", + "recordings": [ + { + "id": "fc3bb4e9-37f5-4f1d-8a5a-c684daf3b3b5", + "value": { + "document_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/7413ebe3-5582-407b-a501-da5690ef618e", + "document_filename": "Final Eastgate House 25 Jun 2024.mp4", + "document_binary_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/7413ebe3-5582-407b-a501-da5690ef618e/binary" + } + } + ], + "uploadDate": "25-06-2024 04:34:19 PM", + "hearingDate": "25-06-2024 09:30:00 AM", + "hearingType": "final" + } + } + ], + "workBasketHearingDate": "2024-06-25", + "caseManagementCategory": { + "value": { + "code": "PIP", + "label": "Personal Independence Payment" + }, + "list_items": [ + { + "code": "PIP", + "label": "Personal Independence Payment" + } + ] + }, + "caseManagementLocation": { + "region": "7", + "baseLocation": "372653" + }, + "issueFinalDecisionDate": "2024-06-25", + "caseNameHmctsRestricted": "Tester Tues_1", + "finalDecisionIssuedDate": "2024-06-25", + "finalDecisionIdamSurname": "SSCS ctsc", + "multiBundleConfiguration": [ + { + "id": "f1116f70-492d-4fde-a4ba-89dc27780e00", + "value": "sscs-bundle-config.yaml" + } + ], + "regionalProcessingCenter": { + "city": "CARDIFF", + "name": "CARDIFF", + "email": "Cardiff_SYA_Respon@justice.gov.uk", + "epimsId": "372653", + "address1": "HM Courts & Tribunals Service", + "address2": "Social Security & Child Support Appeals", + "address3": "Eastgate House", + "address4": "Newport Road", + "postcode": "CF24 0AB", + "faxNumber": "0870 739 4438", + "phoneNumber": "0300 123 1142", + "hearingRoute": "listAssist" + }, + "tribunalDirectPoToAttend": "No", + "workBasketHearingEpimsId": "372653", + "presentingOfficersDetails": { + "name": { + "title": null, + "lastName": null, + "firstName": null + }, + "contact": { + "email": null, + "phone": null, + "mobile": null + } + }, + "writeFinalDecisionReasons": [ + { + "id": "7a7faf80-624b-474d-913b-400a7c4b03e3", + "value": "Reasons" + } + ], + "finalDecisionGeneratedDate": "2024-06-25", + "dwpUploadAudioVideoEvidence": [], + "otherPartyAttendedQuestions": [], + "workBasketHearingDateIssued": "2024-06-25 15:46", + "writeFinalDecisionGeneratedDate": "2024-06-25", + "writeFinalDecisionTypeOfHearing": "faceToFace", + "hasUnprocessedAudioVideoEvidence": "No", + "writeFinalDecisionDateOfDecision": "2024-04-02", + "writeFinalDecisionGenerateNotice": "Yes", + "writeFinalDecisionPreviewDocument": { + "document_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/aae184ac-2b49-44b1-811a-f4e6e7552f33", + "document_filename": "Final Decision Notice issued on 25-06-2024.pdf", + "document_binary_url": "http://dm-store-aat.service.core-compute-aat.internal/documents/aae184ac-2b49-44b1-811a-f4e6e7552f33/binary" + }, + "writeFinalDecisionAllowedOrRefused": "allowed", + "writeFinalDecisionIsDescriptorFlow": "No", + "writeFinalDecisionDetailsOfDecision": "Finished", + "writeFinalDecisionPageSectionReference": "B1", + "finalDecisionWasOriginalDecisionUploaded": "No", + "showFinalDecisionNoticeSummaryOfOutcomePage": "Yes", + "writeFinalDecisionAppellantAttendedQuestion": "Yes", + "writeFinalDecisionPresentingOfficerAttendedQuestion": "Yes" + }, + "data_classification": { + "appeal": { + "value": { + "rep": { + "value": { + "id": "PUBLIC", + "name": { + "value": { + "title": "PUBLIC", + "lastName": "PUBLIC", + "firstName": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "address": { + "value": { + "town": "PUBLIC", + "line1": "PUBLIC", + "line2": "PUBLIC", + "county": "PUBLIC", + "postcode": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "contact": { + "value": { + "email": "PUBLIC", + "phone": "PUBLIC", + "mobile": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "identity": { + "value": { + "dob": "PUBLIC", + "nino": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "organisation": "PUBLIC", + "hasRepresentative": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "signer": "PUBLIC", + "appellant": { + "value": { + "id": "PUBLIC", + "name": { + "value": { + "title": "PUBLIC", + "lastName": "PUBLIC", + "firstName": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "role": { + "value": {}, + "classification": "PUBLIC" + }, + "address": { + "value": { + "town": "PUBLIC", + "line1": "PUBLIC", + "line2": "PUBLIC", + "county": "PUBLIC", + "postcode": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "contact": { + "value": { + "email": "PUBLIC", + "phone": "PUBLIC", + "mobile": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "identity": { + "value": { + "dob": "PUBLIC", + "nino": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "appointee": { + "value": { + "id": "PUBLIC", + "name": { + "value": { + "title": "PUBLIC", + "lastName": "PUBLIC", + "firstName": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "address": { + "value": { + "town": "PUBLIC", + "line1": "PUBLIC", + "county": "PUBLIC", + "postcode": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "contact": { + "value": { + "email": "PUBLIC", + "phone": "PUBLIC", + "mobile": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "identity": { + "value": { + "dob": "PUBLIC", + "nino": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "organisation": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "isAppointee": "PUBLIC", + "organisation": "PUBLIC", + "confidentialityRequired": "PUBLIC", + "isAddressSameAsAppointee": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "mrnDetails": { + "value": { + "mrnDate": "PUBLIC", + "mrnLateReason": "PUBLIC", + "dwpIssuingOffice": "PUBLIC", + "mrnMissingReason": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "benefitType": { + "value": { + "code": "PUBLIC", + "description": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "hearingType": "PUBLIC", + "receivedVia": "PUBLIC", + "appealReasons": { + "value": { + "reasons": { + "value": [ + { + "id": "dfebc2ad-994f-4bce-94e7-848d6641f155", + "value": { + "reason": "PUBLIC", + "description": "PUBLIC" + } + }, + { + "id": "22651e30-940e-4431-b554-ddf8a8052af7", + "value": { + "reason": "PUBLIC", + "description": "PUBLIC" + } + }, + { + "id": "1dda428f-c87a-4b33-80df-87b3d386ac58", + "value": { + "reason": "PUBLIC", + "description": "PUBLIC" + } + } + ], + "classification": "PUBLIC" + }, + "otherReasons": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "hearingOptions": { + "value": { + "other": "PUBLIC", + "languages": "PUBLIC", + "wantsSupport": "PUBLIC", + "wantsToAttend": "PUBLIC", + "signLanguageType": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "hearingSubtype": { + "value": {}, + "classification": "PUBLIC" + } + }, + "classification": "PUBLIC" + }, + "region": "PUBLIC", + "ogdType": "PUBLIC", + "outcome": "PUBLIC", + "caseCode": "PUBLIC", + "dwpState": "PUBLIC", + "hearings": { + "value": [ + { + "id": "30fb37aa-9141-43a0-b9db-34f157bf2447", + "value": { + "end": "PUBLIC", + "time": "PUBLIC", + "start": "PUBLIC", + "venue": { + "value": { + "name": "PUBLIC", + "address": { + "value": { + "town": "PUBLIC", + "line1": "PUBLIC", + "line2": "PUBLIC", + "county": "PUBLIC", + "postcode": "PUBLIC", + "postcodeLookup": "PUBLIC", + "postcodeAddress": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "googleMapLink": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "epimsId": "PUBLIC", + "hearingId": "PUBLIC", + "hearingDate": "PUBLIC", + "hearingStatus": "PUBLIC", + "versionNumber": "PUBLIC", + "hearingChannel": "PUBLIC" + } + } + ], + "classification": "PUBLIC" + }, + "setAside": { + "value": {}, + "classification": "PUBLIC" + }, + "issueCode": "PUBLIC", + "correction": { + "value": { + "isCorrectionFinalDecisionInProgress": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "dwpDueDate": "PUBLIC", + "benefitCode": "PUBLIC", + "caseBundles": { + "value": [ + { + "id": "e7a6944f-d5b4-4d5c-8032-589c9418af44", + "value": { + "id": "PUBLIC", + "title": "PUBLIC", + "folders": { + "value": [ + { + "id": "5528a184-a81e-47b5-b39d-0dcaa05fad12", + "value": { + "name": "PUBLIC", + "folders": { + "value": [], + "classification": "PUBLIC" + }, + "documents": { + "value": [ + { + "id": "7dcdbe0d-ca4d-41c1-93f0-797f7a71f3f0", + "value": { + "name": "PUBLIC", + "sortIndex": "PUBLIC", + "description": "PUBLIC", + "sourceDocument": "PUBLIC" + } + }, + { + "id": "4ef6004a-a46b-4e9b-9c93-ee38a1e50fc2", + "value": { + "name": "PUBLIC", + "sortIndex": "PUBLIC", + "description": "PUBLIC", + "sourceDocument": "PUBLIC" + } + } + ], + "classification": "PUBLIC" + }, + "sortIndex": "PUBLIC" + } + }, + { + "id": "708c0b96-f4ad-4fb5-80fe-5f1262e93749", + "value": { + "name": "PUBLIC", + "folders": { + "value": [], + "classification": "PUBLIC" + }, + "documents": { + "value": [ + { + "id": "26b21b43-b53b-45e5-b397-67e5294a3f9a", + "value": { + "name": "PUBLIC", + "sortIndex": "PUBLIC", + "description": "PUBLIC", + "sourceDocument": "PUBLIC" + } + } + ], + "classification": "PUBLIC" + }, + "sortIndex": "PUBLIC" + } + } + ], + "classification": "PUBLIC" + }, + "fileName": "PUBLIC", + "documents": { + "value": [], + "classification": "PUBLIC" + }, + "description": "PUBLIC", + "stitchStatus": "PUBLIC", + "hasCoversheets": "PUBLIC", + "paginationStyle": "PUBLIC", + "pageNumberFormat": "PUBLIC", + "stitchedDocument": "PUBLIC", + "coverpageTemplate": "PUBLIC", + "eligibleForCloning": "PUBLIC", + "hasTableOfContents": "PUBLIC", + "eligibleForStitching": "PUBLIC", + "hasFolderCoversheets": "PUBLIC", + "stitchingFailureMessage": "PUBLIC" + } + } + ], + "classification": "PUBLIC" + }, + "caseCreated": "PUBLIC", + "dwpDocuments": { + "value": [ + { + "id": "50d6682e-290f-404e-88e0-7b3bf4d0a1f6", + "value": { + "documentLink": "PUBLIC", + "documentType": "PUBLIC", + "documentFileName": "PUBLIC", + "documentDateTimeAdded": "PUBLIC" + } + }, + { + "id": "47f9acab-a5ca-4b26-adba-3de3dc5f96c7", + "value": { + "documentLink": "PUBLIC", + "documentType": "PUBLIC", + "documentFileName": "PUBLIC", + "documentDateTimeAdded": "PUBLIC" + } + }, + { + "id": "41ea5a98-2a01-45d3-9ab6-cf891783666a", + "value": { + "documentLink": "PUBLIC", + "documentType": "PUBLIC", + "documentFileName": "PUBLIC", + "documentDateTimeAdded": "PUBLIC" + } + } + ], + "classification": "PUBLIC" + }, + "hearingRoute": "PUBLIC", + "hearingState": "PUBLIC", + "jointPartyId": "PUBLIC", + "sscsDocument": { + "value": [ + { + "id": "2e97b4a3-6f64-4873-be27-72527d2443cc", + "value": { + "documentLink": "PUBLIC", + "documentType": "PUBLIC", + "documentFileName": "PUBLIC", + "documentDateAdded": "PUBLIC" + } + }, + { + "id": "c50457a3-0f76-4138-83ed-18bdb72b8ddc", + "value": { + "documentLink": "PUBLIC", + "documentType": "PUBLIC", + "bundleAddition": "PUBLIC", + "documentFileName": "PUBLIC", + "documentDateAdded": "PUBLIC" + } + } + ], + "classification": "PUBLIC" + }, + "dateSentToDwp": "PUBLIC", + "hmctsDwpState": "PUBLIC", + "previousState": "PUBLIC", + "subscriptions": { + "value": { + "appellantSubscription": { + "value": { + "tya": "PUBLIC", + "email": "PUBLIC", + "mobile": "PUBLIC", + "reason": "PUBLIC", + "subscribeSms": "PUBLIC", + "subscribeEmail": "PUBLIC", + "lastLoggedIntoMya": "PUBLIC", + "wantSmsNotifications": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "appointeeSubscription": { + "value": { + "tya": "PUBLIC", + "email": "PUBLIC", + "mobile": "PUBLIC", + "reason": "PUBLIC", + "subscribeSms": "PUBLIC", + "subscribeEmail": "PUBLIC", + "lastLoggedIntoMya": "PUBLIC", + "wantSmsNotifications": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "supporterSubscription": { + "value": { + "tya": "PUBLIC", + "email": "PUBLIC", + "mobile": "PUBLIC", + "reason": "PUBLIC", + "subscribeSms": "PUBLIC", + "subscribeEmail": "PUBLIC", + "lastLoggedIntoMya": "PUBLIC", + "wantSmsNotifications": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "jointPartySubscription": { + "value": { + "tya": "PUBLIC", + "email": "PUBLIC", + "mobile": "PUBLIC", + "reason": "PUBLIC", + "subscribeSms": "PUBLIC", + "subscribeEmail": "PUBLIC", + "lastLoggedIntoMya": "PUBLIC", + "wantSmsNotifications": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "representativeSubscription": { + "value": { + "tya": "PUBLIC", + "email": "PUBLIC", + "mobile": "PUBLIC", + "reason": "PUBLIC", + "subscribeSms": "PUBLIC", + "subscribeEmail": "PUBLIC", + "lastLoggedIntoMya": "PUBLIC", + "wantSmsNotifications": "PUBLIC" + }, + "classification": "PUBLIC" + } + }, + "classification": "PUBLIC" + }, + "SearchCriteria": { + "value": { + "SearchParties": { + "value": [ + { + "id": "1bbe71ae-2b43-44cb-9f5b-bae782360f9a", + "value": { + "Name": "PUBLIC", + "PostCode": "PUBLIC", + "DateOfBirth": "PUBLIC", + "AddressLine1": "PUBLIC" + } + }, + { + "id": "4e9a083d-81e7-4324-b10a-60b7bcc50155", + "value": { + "Name": "PUBLIC", + "PostCode": "PUBLIC", + "DateOfBirth": "PUBLIC", + "AddressLine1": "PUBLIC", + "EmailAddress": "PUBLIC" + } + } + ], + "classification": "PUBLIC" + }, + "OtherCaseReferences": { + "value": [ + { + "id": "de0c7a00-4729-4d05-8e9b-d5b29963e425", + "classification": "PUBLIC" + } + ], + "classification": "PUBLIC" + } + }, + "classification": "PUBLIC" + }, + "addedDocuments": "PUBLIC", + "caseNamePublic": "PUBLIC", + "dwpFurtherInfo": "PUBLIC", + "isScottishCase": "PUBLIC", + "libertyToApply": { + "value": { + "action": "PUBLIC", + "requestFormat": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "dwpResponseDate": "PUBLIC", + "evidencePresent": "PUBLIC", + "processingVenue": "PUBLIC", + "sendToFirstTier": { + "value": { + "action": "PUBLIC", + "decisionDocument": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "hearingRecording": { + "value": { + "recordings": { + "value": [ + { + "id": "0e15a1fb-8624-4158-b671-1d106eb43219", + "classification": "PUBLIC" + } + ], + "classification": "PUBLIC" + }, + "hearingType": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "createdInGapsFrom": "PUBLIC", + "dwpRegionalCentre": "PUBLIC", + "historicalBundles": { + "value": [], + "classification": "PUBLIC" + }, + "preWorkAllocation": "PUBLIC", + "CaseAccessCategory": "PUBLIC", + "finalDecisionJudge": "PUBLIC", + "permissionToAppeal": { + "value": { + "action": "PUBLIC", + "requestFormat": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "statementOfReasons": { + "value": { + "action": "PUBLIC", + "requestFormat": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "finalDecisionHeldAt": "PUBLIC", + "defaultListingValues": { + "value": { + "autoList": "PUBLIC", + "duration": "PUBLIC", + "hearingWindow": { + "value": { + "dateRangeEnd": "PUBLIC", + "dateRangeStart": "PUBLIC", + "firstDateTimeMustBe": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "appellantInterpreter": { + "value": { + "interpreterLanguage": "PUBLIC", + "isInterpreterWanted": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "hearingVenueEpimsIds": { + "value": [ + { + "id": "dec5af94-1206-4407-824d-c1ebd6814ce1", + "value": { + "value": "PUBLIC" + } + } + ], + "classification": "PUBLIC" + }, + "appellantHearingChannel": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "selectHearingDetails": "PUBLIC", + "caseNameHmctsInternal": "PUBLIC", + "dwpIsOfficerAttending": "PUBLIC", + "poAttendanceConfirmed": "PUBLIC", + "sscsHearingRecordings": { + "value": [ + { + "id": "6961620b-2929-45aa-8255-e4a1d20c9092", + "value": { + "venue": "PUBLIC", + "hearingId": "PUBLIC", + "recordings": { + "value": [ + { + "id": "fc3bb4e9-37f5-4f1d-8a5a-c684daf3b3b5", + "classification": "PUBLIC" + } + ], + "classification": "PUBLIC" + }, + "uploadDate": "PUBLIC", + "hearingDate": "PUBLIC", + "hearingType": "PUBLIC" + } + } + ], + "classification": "PUBLIC" + }, + "workBasketHearingDate": "PUBLIC", + "caseManagementCategory": "PUBLIC", + "caseManagementLocation": { + "value": { + "region": "PUBLIC", + "baseLocation": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "issueFinalDecisionDate": "PUBLIC", + "caseNameHmctsRestricted": "PUBLIC", + "finalDecisionIssuedDate": "PUBLIC", + "finalDecisionIdamSurname": "PUBLIC", + "multiBundleConfiguration": { + "value": [ + { + "id": "f1116f70-492d-4fde-a4ba-89dc27780e00", + "classification": "PUBLIC" + } + ], + "classification": "PUBLIC" + }, + "regionalProcessingCenter": { + "value": { + "city": "PUBLIC", + "name": "PUBLIC", + "email": "PUBLIC", + "epimsId": "PUBLIC", + "address1": "PUBLIC", + "address2": "PUBLIC", + "address3": "PUBLIC", + "address4": "PUBLIC", + "postcode": "PUBLIC", + "faxNumber": "PUBLIC", + "phoneNumber": "PUBLIC", + "hearingRoute": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "tribunalDirectPoToAttend": "PUBLIC", + "workBasketHearingEpimsId": "PUBLIC", + "presentingOfficersDetails": { + "value": { + "name": { + "value": { + "title": "PUBLIC", + "lastName": "PUBLIC", + "firstName": "PUBLIC" + }, + "classification": "PUBLIC" + }, + "contact": { + "value": { + "email": "PUBLIC", + "phone": "PUBLIC", + "mobile": "PUBLIC" + }, + "classification": "PUBLIC" + } + }, + "classification": "PUBLIC" + }, + "writeFinalDecisionReasons": { + "value": [ + { + "id": "7a7faf80-624b-474d-913b-400a7c4b03e3", + "classification": "PUBLIC" + } + ], + "classification": "PUBLIC" + }, + "finalDecisionGeneratedDate": "PUBLIC", + "dwpUploadAudioVideoEvidence": { + "value": [], + "classification": "PUBLIC" + }, + "otherPartyAttendedQuestions": { + "value": [], + "classification": "PUBLIC" + }, + "workBasketHearingDateIssued": "PUBLIC", + "writeFinalDecisionGeneratedDate": "PUBLIC", + "writeFinalDecisionTypeOfHearing": "PUBLIC", + "hasUnprocessedAudioVideoEvidence": "PUBLIC", + "writeFinalDecisionDateOfDecision": "PUBLIC", + "writeFinalDecisionGenerateNotice": "PUBLIC", + "writeFinalDecisionPreviewDocument": "PUBLIC", + "writeFinalDecisionAllowedOrRefused": "PUBLIC", + "writeFinalDecisionIsDescriptorFlow": "PUBLIC", + "writeFinalDecisionDetailsOfDecision": "PUBLIC", + "writeFinalDecisionPageSectionReference": "PUBLIC", + "finalDecisionWasOriginalDecisionUploaded": "PUBLIC", + "showFinalDecisionNoticeSummaryOfOutcomePage": "PUBLIC", + "writeFinalDecisionAppellantAttendedQuestion": "PUBLIC", + "writeFinalDecisionPresentingOfficerAttendedQuestion": "PUBLIC" + }, + "after_submit_callback_response": null, + "callback_response_status_code": null, + "callback_response_status": null, + "delete_draft_response_status_code": null, + "delete_draft_response_status": null, + "security_classifications": { + "dwpTimeExtension": { + "classification": "PUBLIC", + "value": [ + ] + }, + "generatedNino": "PUBLIC", + "hearings": { + "classification": "PUBLIC", + "value": [ + { + "value": { + "venue": { + "classification": "PUBLIC", + "value": { + "name": "PUBLIC", + "address": { + "classification": "PUBLIC", + "value": { + "line1": "PUBLIC", + "line2": "PUBLIC", + "town": "PUBLIC", + "county": "PUBLIC", + "postcode": "PUBLIC" + } + }, + "googleMapLink": "PUBLIC" + } + }, + "hearingDate": "PUBLIC", + "time": "PUBLIC", + "adjourned": "PUBLIC", + "eventDate": "PUBLIC", + "hearingId": "PUBLIC" + }, + "id": "491adfdc-a8d3-430d-bd47-5ae3eac2149f" + } + ] + }, + "subscriptions": { + "classification": "PUBLIC", + "value": { + "appellantSubscription": { + "classification": "PUBLIC", + "value": { + "wantSmsNotifications": "PUBLIC", + "tya": "PUBLIC", + "email": "PUBLIC", + "mobile": "PUBLIC", + "subscribeEmail": "PUBLIC", + "subscribeSms": "PUBLIC", + "reason": "PUBLIC" + } + }, + "representativeSubscription": { + "classification": "PUBLIC", + "value": { + "wantSmsNotifications": "PUBLIC", + "tya": "PUBLIC", + "email": "PUBLIC", + "mobile": "PUBLIC", + "subscribeEmail": "PUBLIC", + "subscribeSms": "PUBLIC", + "reason": "PUBLIC" + } + } + } + }, + "evidence": { + "classification": "PUBLIC", + "value": { + "documents": { + "classification": "PUBLIC", + "value": [ + ] + } + } + }, + "caseReference": "PUBLIC", + "generatedSurname": "PUBLIC", + "regionalProcessingCenter": { + "classification": "PUBLIC", + "value": { + "faxNumber": "PUBLIC", + "address4": "PUBLIC", + "phoneNumber": "PUBLIC", + "name": "PUBLIC", + "address1": "PUBLIC", + "address2": "PUBLIC", + "address3": "PUBLIC", + "postcode": "PUBLIC", + "city": "PUBLIC" + } + }, + "appeal": { + "classification": "PUBLIC", + "value": { + "mrnDetails": { + "classification": "PUBLIC", + "value": { + } + }, + "appellant": { + "classification": "PUBLIC", + "value": { + "name": { + "classification": "PUBLIC", + "value": { + "title": "PUBLIC", + "firstName": "PUBLIC", + "lastName": "PUBLIC" + } + }, + "address": { + "classification": "PUBLIC", + "value": { + } + }, + "contact": { + "classification": "PUBLIC", + "value": { + "email": "PUBLIC", + "phone": "PUBLIC", + "mobile": "PUBLIC" + } + }, + "identity": { + "classification": "PUBLIC", + "value": { + "dob": "PUBLIC", + "nino": "PUBLIC" + } + }, + "isAppointee": "PUBLIC" + } + }, + "benefitType": { + "classification": "PUBLIC", + "value": { + "code": "PUBLIC" + } + }, + "hearingOptions": { + "classification": "PUBLIC", + "value": { + "wantsToAttend": "PUBLIC", + "other": "PUBLIC" + } + }, + "appealReasons": { + "classification": "PUBLIC", + "value": { + } + }, + "rep": { + "classification": "PUBLIC", + "value": { + } + }, + "signer": "PUBLIC", + "hearingType": "PUBLIC" + } + }, + "region": "PUBLIC", + "generatedDOB": "PUBLIC", + "events": { + "classification": "PUBLIC", + "value": [ + { + "value": { + "date": "PUBLIC", + "type": "PUBLIC", + "description": "PUBLIC" + }, + "id": "324a9f42-b9a0-428d-ae22-24fa606a46cc" + }, + { + "value": { + "date": "PUBLIC", + "type": "PUBLIC", + "description": "PUBLIC" + }, + "id": "2b863cb1-5b99-4ac1-8b4c-f0b9c71f1fd8" + }, + { + "value": { + "date": "PUBLIC", + "type": "PUBLIC", + "description": "PUBLIC" + }, + "id": "b8c61d93-1e82-44c9-bfff-55339f829a0e" + }, + { + "value": { + "date": "PUBLIC", + "type": "PUBLIC", + "description": "PUBLIC" + }, + "id": "29a280db-7937-49db-ae7c-84c62581e3a2" + } + ] + } + } + }, + "event_id": "sendToFirstTier" +}