Skip to content

Commit

Permalink
Merge pull request #91 from hmcts/RET-2501-AmendPartyDetails-Response
Browse files Browse the repository at this point in the history
RET 2501: Amend party details responses
  • Loading branch information
fergusoshea committed Jul 20, 2023
2 parents 2ac418c + 7e35f0a commit 48b82c2
Show file tree
Hide file tree
Showing 8 changed files with 49 additions and 67 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"description": "ET SUBMIT_CLAIMANT_TSE event should create a AmendPartyDetails task",
"description": "ET SUBMIT_CLAIMANT_TSE event should create an AmendPartyDetails task",
"enabled": true,
"jurisdiction": "EMPLOYMENT",
"caseType": "ET_EnglandWales",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"description": "ET CLAIMANT_TSE_RESPOND event should create a AmendPartyDetails task",
"description": "ET CLAIMANT_TSE_RESPOND event should create an AmendPartyDetails task",
"enabled": true,
"jurisdiction": "EMPLOYMENT",
"caseType": "ET_EnglandWales",
Expand Down Expand Up @@ -32,8 +32,14 @@
"AdditionalData": {
"Data": {
"genericTseApplicationCollection": [
{"value": {"type": "Amend my claim"}},
{"value": {"type": "Change my personal details"}}
{
"value": {
"type": "Change personal details",
"respondCollection": [
{"value": {"from": "Claimant"}}
]
}
}
]
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@
"NewStateId": "Accepted",
"AdditionalData": {
"Data": {
"resTseSelectApplication": "Change personal details"
"genericTseApplicationCollection": [
{"value": {"type": "Amend response"}},
{"value": {"type": "Change personal details"}}
]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"description": "ET tseRespond event should create a AmendPartyDetails task",
"description": "ET tseRespond event should create an AmendPartyDetails task",
"enabled": true,
"jurisdiction": "EMPLOYMENT",
"caseType": "ET_EnglandWales",
Expand Down Expand Up @@ -31,7 +31,16 @@
"NewStateId": "Accepted",
"AdditionalData": {
"Data": {
"resTseSelectApplication": "Change personal details"
"genericTseApplicationCollection": [
{
"value": {
"type": "Change my personal details",
"respondCollection": [
{"value": {"from": "Respondent"}}
]
}
}
]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,14 @@
"AdditionalData": {
"Data": {
"genericTseApplicationCollection": [
{"value": {"type": "Change my personal details"}},
{"value": {"type": "Withdraw all/part of claim"}}
{
"value": {
"type": "Amend response",
"respondCollection": [
{"value": {"from": "Claimant"}}
]
}
}
]
}
}
Expand All @@ -46,39 +52,12 @@
{
"credentials": "WaSystemUser",
"status": 200,
"numberOfTasksAvailable": 2,
"numberOfTasksAvailable": 1,
"numberOfRolesAvailable": 4,
"taskData": {
"template": "task-response.json",
"replacements": {
"tasks": [
{
"id": "{$VERIFIER-UUID}",
"name": "Amend Party Details",
"type": "AmendPartyDetails",
"task_state": "unassigned",
"task_system": "SELF",
"security_classification": "PUBLIC",
"task_title": "Amend Party Details",
"created_date": "{$VERIFIER-ZONED_DATETIME_TODAY}",
"due_date": "{$VERIFIER-ZONED_DATETIME_TODAY+1_WORKING_DAYS}",
"execution_type": "Case Management Task",
"jurisdiction": "EMPLOYMENT",
"case_type_id": "ET_EnglandWales",
"case_id": "{$GENERATED_CASE_ID}",
"case_category": "Employment",
"case_name": "George Jetson v Cosmo Spacely",
"auto_assigned": false,
"warnings": false,
"warning_list": {
"values": []
},
"case_management_category": "Employment",
"work_type_id": "applications",
"work_type_label": "Applications",
"description": "[Update Claimant Details](cases/case-details/${[CASE_REFERENCE]}/trigger/amendClaimantDetails/amendClaimantDetails1) [OR Respondent Details](cases/case-details/${[CASE_REFERENCE]}/trigger/amendClaimantDetails/amendClaimantDetails1)[,as instructed]",
"role_category": "ADMIN"
},
{
"id": "{$VERIFIER-UUID}",
"name": "Contact Tribunal With An Application",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@
"NewStateId": "Accepted",
"AdditionalData": {
"Data": {
"resTseSelectApplication": "Amend response"
"genericTseApplicationCollection": [
{"value": {"type": "Change personal details"}},
{"value": {"type": "Amend response"}}
]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,16 @@
"NewStateId": "Accepted",
"AdditionalData": {
"Data": {
"resTseSelectApplication": "Order a witness to attend to give evidence"
"genericTseApplicationCollection": [
{
"value": {
"type": "Amend my claim",
"respondCollection": [
{"value": {"from": "Respondent"}}
]
}
}
]
}
}
}
Expand All @@ -43,39 +52,12 @@
{
"credentials": "WaSystemUser",
"status": 200,
"numberOfTasksAvailable": 2,
"numberOfTasksAvailable": 1,
"numberOfRolesAvailable": 4,
"taskData": {
"template": "task-response.json",
"replacements": {
"tasks": [
{
"id": "{$VERIFIER-UUID}",
"name": "Amend Party Details",
"type": "AmendPartyDetails",
"task_state": "unassigned",
"task_system": "SELF",
"security_classification": "PUBLIC",
"task_title": "Amend Party Details",
"created_date": "{$VERIFIER-ZONED_DATETIME_TODAY}",
"due_date": "{$VERIFIER-ZONED_DATETIME_TODAY+1_WORKING_DAYS}",
"execution_type": "Case Management Task",
"jurisdiction": "EMPLOYMENT",
"case_type_id": "ET_EnglandWales",
"case_id": "{$GENERATED_CASE_ID}",
"case_category": "Employment",
"case_name": "George Jetson v Cosmo Spacely",
"auto_assigned": false,
"warnings": false,
"warning_list": {
"values": []
},
"case_management_category": "Employment",
"work_type_id": "applications",
"work_type_label": "Applications",
"description": "[Update Claimant Details](cases/case-details/${[CASE_REFERENCE]}/trigger/amendClaimantDetails/amendClaimantDetails1) [OR Respondent Details](cases/case-details/${[CASE_REFERENCE]}/trigger/amendClaimantDetails/amendClaimantDetails1)[,as instructed]",
"role_category": "ADMIN"
},
{
"id": "{$VERIFIER-UUID}",
"name": "Contact Tribunal With An Application",
Expand Down

0 comments on commit 48b82c2

Please sign in to comment.