added mock call for case view
This commit is contained in:
@@ -3,7 +3,7 @@ const ApiResponse = (req, res) => {
|
||||
res.json({
|
||||
"value": [
|
||||
{
|
||||
"@odata.etag": 'W/"547952"',
|
||||
"@odata.etag": "W547952",
|
||||
"lpaname": "Vale of Glamorgan Council",
|
||||
"accountid": "56e7ef63-7e64-eb11-aaba-00224800be9c",
|
||||
"address1": "21 Courtenay Road",
|
||||
@@ -17,9 +17,32 @@ const ApiResponse = (req, res) => {
|
||||
"statuscode@OData.Community.Display.V1.FormattedValue":
|
||||
"In Progress",
|
||||
"statuscode": "1",
|
||||
"caseDetails": {
|
||||
"casetype": "",
|
||||
"lpa": "",
|
||||
"caseSummary":
|
||||
"Erection of a two-storey chalet style detached dwelling",
|
||||
"caseOfficer": "Neale Oliver",
|
||||
"procedure": "Written representations",
|
||||
"status": "In progress",
|
||||
"decision": "Allowed",
|
||||
"outcome_document": "23424Appeal Decision.pdf",
|
||||
"caseLinkStatus": "not linked",
|
||||
"linkedCases": "none",
|
||||
},
|
||||
"caseDates": {
|
||||
"start_date": "26-May-21",
|
||||
"questionnaireDue": "02-Jun-21",
|
||||
"statementsDue": "30-Jun-21",
|
||||
"interestedPartyCommentsdue": "30-Jun-21",
|
||||
"appellantLPAFinalCommentsdue": "4-Jul-21",
|
||||
"inquiryEvidenceDue": "N/A",
|
||||
"eventDate": "Date arranged",
|
||||
"decisionDate": "Not yet decided",
|
||||
},
|
||||
},
|
||||
{
|
||||
"@odata.etag": 'W/"547952"',
|
||||
"@odata.etag": "W547952",
|
||||
"lpaname": "Bridgend CBC",
|
||||
"accountid": "56e7ef63-7e64-eb11-aaba-00224800be9c",
|
||||
"address1": "17 Colin Way",
|
||||
@@ -33,10 +56,33 @@ const ApiResponse = (req, res) => {
|
||||
"statuscode@OData.Community.Display.V1.FormattedValue":
|
||||
"In Progress",
|
||||
"statuscode": "1",
|
||||
"caseDetails": {
|
||||
"casetype": "",
|
||||
"lpa": "",
|
||||
"caseSummary":
|
||||
"Erection of a two-storey chalet style detached dwelling",
|
||||
"caseOfficer": "Neale Oliver",
|
||||
"procedure": "Written representations",
|
||||
"status": "In progress",
|
||||
"decision": "Allowed",
|
||||
"outcome_document": "23424Appeal Decision.pdf",
|
||||
"caseLinkStatus": "not linked",
|
||||
"linkedCases": "none",
|
||||
},
|
||||
"caseDates": {
|
||||
"start_date": "26-May-21",
|
||||
"questionnaireDue": "02-Jun-21",
|
||||
"statementsDue": "30-Jun-21",
|
||||
"interestedPartyCommentsdue": "30-Jun-21",
|
||||
"appellantLPAFinalCommentsdue": "4-Jul-21",
|
||||
"inquiryEvidenceDue": "N/A",
|
||||
"eventDate": "Date arranged",
|
||||
"decisionDate": "Not yet decided",
|
||||
},
|
||||
},
|
||||
{
|
||||
"@odata.etag": 'W/"547952"',
|
||||
"lpaname": "Cardiff County Council Planning (A)",
|
||||
"@odata.etag": "W547952",
|
||||
"lpaname": "Cardiff County Council Planning (A)",
|
||||
"accountid": "56e7ef63-7e64-eb11-aaba-00224800be9c",
|
||||
"address1": "120 Severn Grove",
|
||||
"town": "Cardiff",
|
||||
@@ -49,10 +95,33 @@ const ApiResponse = (req, res) => {
|
||||
"statuscode@OData.Community.Display.V1.FormattedValue":
|
||||
"In Progress",
|
||||
"statuscode": "1",
|
||||
"caseDetails": {
|
||||
"casetype": "",
|
||||
"lpa": "",
|
||||
"caseSummary":
|
||||
"Erection of a two-storey chalet style detached dwelling",
|
||||
"caseOfficer": "Neale Oliver",
|
||||
"procedure": "Written representations",
|
||||
"status": "In progress",
|
||||
"decision": "Allowed",
|
||||
"outcome_document": "23424Appeal Decision.pdf",
|
||||
"caseLinkStatus": "not linked",
|
||||
"linkedCases": "none",
|
||||
},
|
||||
"caseDates": {
|
||||
"start_date": "26-May-21",
|
||||
"questionnaireDue": "02-Jun-21",
|
||||
"statementsDue": "30-Jun-21",
|
||||
"interestedPartyCommentsdue": "30-Jun-21",
|
||||
"appellantLPAFinalCommentsdue": "4-Jul-21",
|
||||
"inquiryEvidenceDue": "N/A",
|
||||
"eventDate": "Date arranged",
|
||||
"decisionDate": "Not yet decided",
|
||||
},
|
||||
},
|
||||
{
|
||||
"@odata.etag": 'W/"547952"',
|
||||
"lpaname": "Cardiff County Council Planning",
|
||||
"@odata.etag": "W547952",
|
||||
"lpaname": "Cardiff County Council Planning",
|
||||
"accountid": "56e7ef63-7e64-eb11-aaba-00224800be9c",
|
||||
"address1": "25 Merches Gardens",
|
||||
"town": "Cardiff",
|
||||
@@ -65,6 +134,29 @@ const ApiResponse = (req, res) => {
|
||||
"statuscode@OData.Community.Display.V1.FormattedValue":
|
||||
"In Progress",
|
||||
"statuscode": "1",
|
||||
"caseDetails": {
|
||||
"casetype": "",
|
||||
"lpa": "",
|
||||
"caseSummary":
|
||||
"Erection of a two-storey chalet style detached dwelling",
|
||||
"caseOfficer": "Neale Oliver",
|
||||
"procedure": "Written representations",
|
||||
"status": "In progress",
|
||||
"decision": "Allowed",
|
||||
"outcome_document": "23424Appeal Decision.pdf",
|
||||
"caseLinkStatus": "not linked",
|
||||
"linkedCases": "none",
|
||||
},
|
||||
"caseDates": {
|
||||
"start_date": "26-May-21",
|
||||
"questionnaireDue": "02-Jun-21",
|
||||
"statementsDue": "30-Jun-21",
|
||||
"interestedPartyCommentsdue": "30-Jun-21",
|
||||
"appellantLPAFinalCommentsdue": "4-Jul-21",
|
||||
"inquiryEvidenceDue": "N/A",
|
||||
"eventDate": "Date arranged",
|
||||
"decisionDate": "Not yet decided",
|
||||
},
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user