diff --git a/api/applicant.json b/api/applicant.json deleted file mode 100644 index 7f7849fd..00000000 --- a/api/applicant.json +++ /dev/null @@ -1,2 +0,0 @@ -{"@odata.context":"https://devcrm2016.llcdt.gov.wales/DVPINS/api/data/v8.2/$metadata#contacts(address1_addressid,address1_addresstypecode,address1_city,address1_country,address1_county,address1_fax,firstname,lastname)",value:[0:{@odata.etag:"W/"509484"",address1_addressid:"6c267cf9-1ba2-4e38-9f48-2b94a341e392",address1_addresstypecode: null ,address1_city: null ,address1_country: null ,address1_county: null ,address1_fax: null ,firstname: null ,lastname:"Trembath",contactid:"9d481bc3-7c64-eb11-aaba-00224800be9c"},1:{@odata.etag:"W/"509501"",address1_addressid:"9a546d64-b7b5-42bf-bafd-b547e718fddd",address1_addresstypecode: null ,address1_city: null ,address1_country: null ,address1_county: null ,address1_fax: null ,firstname: null ,lastname:"Jones",contactid:"1e2e0e6f-7e64-eb11-aaba-00224800be9c"},2:{@odata.etag:"W/"509506"",address1_addressid:"214e5b63-9bc8-478a-90e2-39417d9e096b",address1_addresstypecode: null ,address1_city: null ,address1_country: null ,address1_county: null ,address1_fax: null ,firstname: null ,lastname:"Thomas",contactid:"d1658f77-7e64-eb11-aaba-00224800be9c"},3:{@odata.etag:"W/"694902"",address1_addressid:"6258fd0c-2d18-41dd-b629-123c880f16a1",address1_addresstypecode: null ,address1_city: null ,address1_country: null ,address1_county: null ,address1_fax: null ,firstname:"James",lastname:"Hollowhead",contactid:"755e07ea-82ad-eb11-aac3-00224800be9c"},4:{@odata.etag:"W/"694906"",address1_addressid:"436104d2-5ee0-4494-b0f8-3059f738e9cf",address1_addresstypecode: null ,address1_city: null ,address1_country: null ,address1_county: null ,address1_fax: null ,firstname:"T",lastname:"Gillbert",contactid:"b8022d00-83ad-eb11-aac3-00224800be9c"},5:{@odata.etag:"W/"694910"",address1_addressid:"36e9cccc-ac84-4023-ae92-d6b9556d8ddf",address1_addresstypecode: null ,address1_city: null ,address1_country: null ,address1_county: null ,address1_fax: null ,firstname:"Mike",lastname:"Parker",contactid:"99b3220f-83ad-eb11-aac3-00224800be9c"},6:{@odata.etag:"W/"694914"",address1_addressid:"83169722-1283-4a4c-b346-28f50cd208cd",address1_addresstypecode: null ,address1_city: null ,address1_country: null ,address1_county: null ,address1_fax: null ,firstname:"Lloyd",lastname:"Evans",contactid:"5bee9821-83ad-eb11-aac3-00224800be9c"},7:{@odata.etag:"W/"694918"",address1_addressid:"a164b5d8-f9d2-46d4-b97b-b59327173f0a",address1_addresstypecode: null ,address1_city: null ,address1_country: null ,address1_county: null ,address1_fax: null ,firstname:"Mr",lastname:"Bartlett",contactid:"c2be7d2e-83ad-eb11-aac3-00224800be9c"},8:{@odata.etag:"W/"709237"",address1_addressid:"b75d552e-3896-46a7-bd65-a743f457f119",address1_addresstypecode: null ,address1_city: null ,address1_country: null ,address1_county: null ,address1_fax: null ,firstname:"Zoe",lastname:"Dawson",contactid:"003eef05-29ba-eb11-aac4-00224800be9c"},9:{@odata.etag:"W/"750707"",address1_addressid:"34bbd453-7d23-4c17-806e-1edf2e981cc8",address1_addresstypecode: null ,address1_city: null ,address1_country: null ,address1_county: null ,address1_fax: null ,firstname:"Appellant Contact",lastname:"Gary Trembath",contactid:"985cc5f8-1dd8-eb11-aac5-00224800be9c"},10:{@odata.etag:"W/"750703"",address1_addressid:"20ce70a9-571c-4a81-b410-f521d64d3dcb",address1_addresstypecode: null ,address1_city: null ,address1_country: null ,address1_county: null ,address1_fax: null ,firstname:"Agent Contact",lastname:"Gary Trembath",contactid:"9eb124a5-1ed8-eb11-aac5-00224800be9c"},11:{@odata.etag:"W/"750860"",address1_addressid:"a6a4641c-0875-4d5e-8360-99355eb73ee4",address1_addresstypecode: null ,address1_city: null ,address1_country: null ,address1_county: null ,address - \ No newline at end of file diff --git a/api/lpa.json b/api/lpa.json deleted file mode 100644 index bd225a4d..00000000 --- a/api/lpa.json +++ /dev/null @@ -1 +0,0 @@ -0:{@odata.context:"https://devcrm2016.llcdt.gov.wales/DVPINS/api/data/v8.2/$metadata#accounts(name)",value:[0:{@odata.etag:"W/"547952"",name:"Bridgend CBC",accountid:"56e7ef63-7e64-eb11-aaba-00224800be9c"},1:{@odata.etag:"W/"694923"",name:"Bishop Landaff High School",accountid:"c9389617-82ad-eb11-aac3-00224800be9c"},2:{@odata.etag:"W/"694925"",name:"Stanwell High school",accountid:"24537624-82ad-eb11-aac3-00224800be9c"},3:{@odata.etag:"W/"694927"",name:"Barry Boys High School",accountid:"80d99a34-82ad-eb11-aac3-00224800be9c"},4:{@odata.etag:"W/"694929"",name:"St Sirus High School",accountid:"6d337b5a-82ad-eb11-aac3-00224800be9c"},5:{@odata.etag:"W/"694931"",name:"Fitzalan High School",accountid:"984d0e75-82ad-eb11-aac3-00224800be9c"},6:{@odata.etag:"W/"709453"",name:"Zoe",accountid:"41fead24-29ba-eb11-aac4-00224800be9c"},7:{@odata.etag:"W/"755017"",name:"Blaenau Gwent County Borough Council",accountid:"744c69f4-48da-eb11-aac5-00224800be9c"},8:{@odata.etag:"W/"755020"",name:"Caerphilly County Borough Council",accountid:"243c0009-49da-eb11-aac5-00224800be9c"},9:{@odata.etag:"W/"755026"",name:"Bridgend County Borough Council",accountid:"c35f6f84-49da-eb11-aabd-00224800d1bd"},10:{@odata.etag:"W/"755029"",name:"Cardiff Council",accountid:"c75f6f84-49da-eb11-aabd-00224800d1bd"},11:{@odata.etag:"W/"755032"",name:"Carmarthenshire County Council",accountid:"c95f6f84-49da-eb11-aabd-00224800d1bd"},12:{@odata.etag:"W/"755035"",name:"Ceredigion County Council",accountid:"cb5f6f84-49da-eb11-aabd-00224800d1bd"},13:{@odata.etag:"W/"755038"",name:"Conwy County Borough Council",accountid:"cd5f6f84-49da-eb11-aabd-00224800d1bd"},14:{@odata.etag:"W/"755041"",name:"Denbighshire County Council",accountid:"cf5f6f84-49da-eb11-aabd-00224800d1bd"},15:{@odata.etag:"W/"755044"",name:"Flintshire County Council",accountid:"d15f6f84-49da-eb11-aabd-00224800d1bd"},16:{@odata.etag:"W/"755047"",name:"Gwynedd Council",accountid:"d35f6f84-49da-eb11-aabd-00224800d1bd"},17:{@odata.etag:"W/"755050"",name:"Isle of Anglesey County Council",accountid:"d55f6f84-49da-eb11-aabd-00224800d1bd"},18:{@odata.etag:"W/"755053"",name:"Merthyr Tydfil County Borough Council",accountid:"d75f6f84-49da-eb11-aabd-00224800d1bd"},19:{@odata.etag:"W/"755056"",name:"Monmouthshire County Council",accountid:"d95f6f84-49da-eb11-aabd-00224800d1bd"},20:{@odata.etag:"W/"755059"",name:"Neath Port Talbot County Borough Council",accountid:"db5f6f84-49da-eb11-aabd-00224800d1bd"},21:{@odata.etag:"W/"755062"",name:"Newport City Council",accountid:"dd5f6f84-49da-eb11-aabd-00224800d1bd"},22:{@odata.etag:"W/"755065"",name:"Pembrokeshire County Council",accountid:"df5f6f84-49da-eb11-aabd-00224800d1bd"},23:{@odata.etag:"W/"755068"",name:"Powys County Council",accountid:"e15f6f84-49da-eb11-aabd-00224800d1bd"},24:{@odata.etag:"W/"755071"",name:"Rhondda Cynon Taf County Borough Council",accountid:"e35f6f84-49da-eb11-aabd-00224800d1bd"},25:{@odata.etag:"W/"755074"",name:"Swansea Council",accountid:"e55f6f84-49da-eb11-aabd-00224800d1bd"},26:{@odata.etag:"W/"755077"",name:"Torfaen County Borough Council",accountid:"e75f6f84-49da-eb11-aabd-00224800d1bd"},27:{@odata.etag:"W/"755080"",name:"Vale of Glamorgan Council",accountid:"e95f6f84-49da-eb11-aabd-00224800d1bd"},28:{@odata.etag:"W/"755083"",name:"Wrexham County Borough Council",accountid:"eb5f6f84-49da-eb11-aabd-00224800d1bd"}]} \ No newline at end of file diff --git a/pages/api/appealforms/pinswg_dns.js b/pages/api/appealforms/pinswg_dns.js deleted file mode 100644 index 2bc8c3f3..00000000 --- a/pages/api/appealforms/pinswg_dns.js +++ /dev/null @@ -1,20 +0,0 @@ -const ApiResponse = (req, res) => { - res.statusCode = 200; - res.json({ - "@odata.context": - "https://devcrm2016.llcdt.gov.wales/DVPINS/api/data/v8.2/$metadata#systemforms(formid,name,formxml)", - "@odata.count": 1, - "value": [ - { - "@odata.etag": 'W/"741371"', - "formid": "f004343c-b599-4174-bc96-e4ebc44239b7", - "name": "Information", - "formxml": - '
', - "objecttypecode": "pinswg_dns", - "type": 2, - }, - ], - }); -}; -export default ApiResponse; diff --git a/pages/api/appealforms/pinswg_harbourrevisionorder.js b/pages/api/appealforms/pinswg_harbourrevisionorder.js deleted file mode 100644 index acfc2377..00000000 --- a/pages/api/appealforms/pinswg_harbourrevisionorder.js +++ /dev/null @@ -1,20 +0,0 @@ -const ApiResponse = (req, res) => { - res.statusCode = 200; - res.json({ - "@odata.context": - "https://devcrm2016.llcdt.gov.wales/DVPINS/api/data/v8.2/$metadata#systemforms(formid,name,formxml)", - "@odata.count": 1, - "value": [ - { - "@odata.etag": 'W/"741574"', - "formid": "bb043f1b-ad18-41d0-9eaa-f0e561cb3948", - "name": "Information", - "formxml": - '', - "objecttypecode": "pinswg_harbourrevisionorder", - "type": 2, - }, - ], - }); -}; -export default ApiResponse; diff --git a/pages/api/appealforms/pinswg_householderappealhas.js b/pages/api/appealforms/pinswg_householderappealhas.js deleted file mode 100644 index 34e4a28a..00000000 --- a/pages/api/appealforms/pinswg_householderappealhas.js +++ /dev/null @@ -1,20 +0,0 @@ -const ApiResponse = (req, res) => { - res.statusCode = 200; - res.json({ - "@odata.context": - "https://devcrm2016.llcdt.gov.wales/DVPINS/api/data/v8.2/$metadata#systemforms(formid,name,formxml)", - "@odata.count": 1, - "value": [ - { - "@odata.etag": 'W/"741656"', - "formid": "e9ecc810-db6d-4fb4-abb4-a1a45d8cd11c", - "name": "Information", - "formxml": - '', - "objecttypecode": "pinswg_householderappealhas", - "type": 2, - }, - ], - }); -}; -export default ApiResponse; diff --git a/pages/api/appealforms/pinswg_planningappeals78.js b/pages/api/appealforms/pinswg_planningappeals78.js deleted file mode 100644 index 02237549..00000000 --- a/pages/api/appealforms/pinswg_planningappeals78.js +++ /dev/null @@ -1,20 +0,0 @@ -const ApiResponse = (req, res) => { - res.statusCode = 200; - res.json({ - "@odata.context": - "https://devcrm2016.llcdt.gov.wales/DVPINS/api/data/v8.2/$metadata#systemforms(formid,name,formxml)", - "@odata.count": 1, - "value": [ - { - "@odata.etag": 'W/"741929"', - "formid": "d0293a90-3d6a-4a25-bbf3-2b579a0ec134", - "name": "Information", - "formxml": - '', - "objecttypecode": "pinswg_planningappeals78", - "type": 2, - }, - ], - }); -}; -export default ApiResponse; diff --git a/pages/api/appealforms/pinswg_planningconditionss73s79.js b/pages/api/appealforms/pinswg_planningconditionss73s79.js deleted file mode 100644 index e31c3b9a..00000000 --- a/pages/api/appealforms/pinswg_planningconditionss73s79.js +++ /dev/null @@ -1,20 +0,0 @@ -const ApiResponse = (req, res) => { - res.statusCode = 200; - res.json({ - "@odata.context": - "https://devcrm2016.llcdt.gov.wales/DVPINS/api/data/v8.2/$metadata#systemforms(formid,name,formxml)", - "@odata.count": 1, - "value": [ - { - "@odata.etag": 'W/"741978"', - "formid": "dfb64730-0df3-4e48-8c76-7899e72eddc2", - "name": "Information", - "formxml": - '', - "objecttypecode": "pinswg_planningconditionss73s79", - "type": 2, - }, - ], - }); -}; -export default ApiResponse; diff --git a/pages/api/appealforms/pinswg_planningobligationappeals106.js b/pages/api/appealforms/pinswg_planningobligationappeals106.js deleted file mode 100644 index df0c7d51..00000000 --- a/pages/api/appealforms/pinswg_planningobligationappeals106.js +++ /dev/null @@ -1,20 +0,0 @@ -const ApiResponse = (req, res) => { - res.statusCode = 200; - res.json({ - "@odata.context": - "https://devcrm2016.llcdt.gov.wales/DVPINS/api/data/v8.2/$metadata#systemforms(formid,name,formxml)", - "@odata.count": 1, - "value": [ - { - "@odata.etag": 'W/"742035"', - "formid": "61d8a8a7-d1d3-4349-b64a-3b274a55b612", - "name": "Information", - "formxml": - '', - "objecttypecode": "pinswg_planningobligationappeals106", - "type": 2, - }, - ], - }); -}; -export default ApiResponse; diff --git a/pages/api/appealforms/pinswg_row.js b/pages/api/appealforms/pinswg_row.js deleted file mode 100644 index 809c6e61..00000000 --- a/pages/api/appealforms/pinswg_row.js +++ /dev/null @@ -1,20 +0,0 @@ -const ApiResponse = (req, res) => { - res.statusCode = 200; - res.json({ - "@odata.context": - "https://devcrm2016.llcdt.gov.wales/DVPINS/api/data/v8.2/$metadata#systemforms(formid,name,formxml)", - "@odata.count": 1, - "value": [ - { - "@odata.etag": 'W/"742078"', - "formid": "45e17e5d-ba77-4e39-b20e-5a5336d5b1f3", - "name": "Information", - "formxml": - '', - "objecttypecode": "pinswg_row", - "type": 2, - }, - ], - }); -}; -export default ApiResponse; diff --git a/pages/api/appealforms/pinswg_transportandworkact.js b/pages/api/appealforms/pinswg_transportandworkact.js deleted file mode 100644 index f6519030..00000000 --- a/pages/api/appealforms/pinswg_transportandworkact.js +++ /dev/null @@ -1,20 +0,0 @@ -const ApiResponse = (req, res) => { - res.statusCode = 200; - res.json({ - "@odata.context": - "https://devcrm2016.llcdt.gov.wales/DVPINS/api/data/v8.2/$metadata#systemforms(formid,name,formxml)", - "@odata.count": 1, - "value": [ - { - "@odata.etag": 'W/"742121"', - "formid": "f3bd3169-29d3-4c8c-9c14-dbf301220143", - "name": "Information", - "formxml": - '', - "objecttypecode": "pinswg_transportandworkact", - "type": 2, - }, - ], - }); -}; -export default ApiResponse; diff --git a/pages/api/incidents_form.js b/pages/api/incidents_form.js deleted file mode 100644 index adbf6be7..00000000 --- a/pages/api/incidents_form.js +++ /dev/null @@ -1,29 +0,0 @@ -const ApiResponse = (req, res) => { - res.statusCode = 200; - res.json({ - "@odata.context": - "https://devcrm2016.llcdt.gov.wales/DVPINS/api/data/v8.2/$metadata#systemforms(formid,name,formxml)", - "@odata.count": 2, - "value": [ - { - "@odata.etag": 'W/"706035"', - "formid": "4a63c8d1-6c1e-48ec-9db4-3e6c7155334c", - "name": "Case", - "formxml": - '', - "objecttypecode": "incident", - "type": 2, - }, - { - "@odata.etag": 'W/"462223"', - "formid": "f658c846-f74c-459b-b591-b97558958106", - "name": "Information", - "formxml": - '', - "objecttypecode": "incident", - "type": 2, - }, - ], - }); -}; -export default ApiResponse; diff --git a/pages/api/searchresults.js b/pages/api/searchresults.js deleted file mode 100644 index caa53307..00000000 --- a/pages/api/searchresults.js +++ /dev/null @@ -1,101 +0,0 @@ -const ApiResponse = (req, res) => { - res.statusCode = 200; - res.json({ - "@odata.context": - "https://devcrm2016.llcdt.gov.wales/DVPINS/api/data/v8.2/$metadata#incidents(_accountid_value,_customerid_value,pinswg_appealcasetype,statuscode,ticketnumber,title)", - "@odata.count": 9, - "value": [ - { - "@odata.etag": 'W/"704047"', - "_accountid_value": null, - "_customerid_value": "56e7ef63-7e64-eb11-aaba-00224800be9c", - "pinswg_appealcasetype": 846040000, - "statuscode": 1, - "ticketnumber": "CAS-00009-W8N6W4", - "title": "CAS-00009-W8N6W4", - "incidentid": "9919eac3-21af-eb11-aac3-00224800be9c", - }, - { - "@odata.etag": 'W/"704095"', - "_accountid_value": null, - "_customerid_value": "56e7ef63-7e64-eb11-aaba-00224800be9c", - "pinswg_appealcasetype": 846040011, - "statuscode": 1, - "ticketnumber": "CAS-00010-J9W6L5", - "title": "CAS-00010-J9W6L5", - "incidentid": "55f4fc74-33af-eb11-aac3-00224800be9c", - }, - { - "@odata.etag": 'W/"709250"', - "_accountid_value": null, - "_customerid_value": "41fead24-29ba-eb11-aac4-00224800be9c", - "pinswg_appealcasetype": 846040001, - "statuscode": 1, - "ticketnumber": "CAS-00011-K1N0J8", - "title": "CAS-00011-K1N0J8", - "incidentid": "6bd04d33-29ba-eb11-aac4-00224800be9c", - }, - { - "@odata.etag": 'W/"710463"', - "_accountid_value": null, - "_customerid_value": "56e7ef63-7e64-eb11-aaba-00224800be9c", - "pinswg_appealcasetype": 846040000, - "statuscode": 1, - "ticketnumber": "CAS-00012-D9W6S8", - "title": "CAS-00012-D9W6S8", - "incidentid": "b9c9cbe4-6abc-eb11-aac4-00224800be9c", - }, - { - "@odata.etag": 'W/"746096"', - "_accountid_value": null, - "_customerid_value": "80d99a34-82ad-eb11-aac3-00224800be9c", - "pinswg_appealcasetype": 846040025, - "statuscode": 1, - "ticketnumber": "CAS-00013-Z0B5Z9", - "title": "CAS-00013-Z0B5Z9", - "incidentid": "34071ec4-54d3-eb11-aac5-00224800be9c", - }, - { - "@odata.etag": 'W/"749764"', - "_accountid_value": null, - "_customerid_value": "56e7ef63-7e64-eb11-aaba-00224800be9c", - "pinswg_appealcasetype": 846040021, - "statuscode": 1, - "ticketnumber": "CAS-00014-S3L9B4", - "title": "CAS-00014-S3L9B4", - "incidentid": "2230700b-ebd7-eb11-aac5-00224800be9c", - }, - { - "@odata.etag": 'W/"750875"', - "_accountid_value": null, - "_customerid_value": "cfb7b446-a7d8-eb11-aac5-00224800be9c", - "pinswg_appealcasetype": 846040000, - "statuscode": 1, - "ticketnumber": "CAS-00015-L7J9H1", - "title": "CAS-00015-L7J9H1", - "incidentid": "d5b7b446-a7d8-eb11-aac5-00224800be9c", - }, - { - "@odata.etag": 'W/"755001"', - "_accountid_value": null, - "_customerid_value": "cfb7b446-a7d8-eb11-aac5-00224800be9c", - "pinswg_appealcasetype": 846040004, - "statuscode": 1, - "ticketnumber": "CAS-00016-Y9K9Q0", - "title": "CAS-00016-Y9K9Q0", - "incidentid": "cc6f93ea-bdd9-eb11-aac5-00224800be9c", - }, - { - "@odata.etag": 'W/"755216"', - "_accountid_value": null, - "_customerid_value": "243c0009-49da-eb11-aac5-00224800be9c", - "pinswg_appealcasetype": 846040004, - "statuscode": 1, - "ticketnumber": "CAS-00017-B8X7N0", - "title": "CAS-00017-B8X7N0", - "incidentid": "73895a1b-68dd-eb11-aac5-00224800be9c", - }, - ], - }); -}; -export default ApiResponse; diff --git a/pages/api/searchresults2.js b/pages/api/searchresults2.js deleted file mode 100644 index d1c43979..00000000 --- a/pages/api/searchresults2.js +++ /dev/null @@ -1,191 +0,0 @@ -const ApiResponse = (req, res) => { - res.statusCode = 200; - res.json({ - "@odata.context": - "https://devcrm2016.llcdt.gov.wales/DVPINS/api/data/v8.2/$metadata#incidents(_accountid_value,_customerid_value,pinswg_appealcasetype,statuscode,ticketnumber,title)", - "@odata.count": "9", - "value": [ - { - "@odata.etag": 'W/"704047"', - "_accountid_value": null, - "_customerid_value@OData.Community.Display.V1.FormattedValue": - "Bridgend CBC", - "_customerid_value@Microsoft.Dynamics.CRM.associatednavigationproperty": - "customerid_account", - "_customerid_value@Microsoft.Dynamics.CRM.lookuplogicalname": - "account", - "_customerid_value": "56e7ef63-7e64-eb11-aaba-00224800be9c", - "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue": - "Planning Appeal - S78", - "pinswg_appealcasetype": "846040000", - "statuscode@OData.Community.Display.V1.FormattedValue": - "In Progress", - "statuscode": "1", - "ticketnumber": "CAS-00009-W8N6W4", - "title": "CAS-00009-W8N6W4", - "incidentid": "9919eac3-21af-eb11-aac3-00224800be9c", - }, - { - "@odata.etag": 'W/"704095"', - "_accountid_value": null, - "_customerid_value@OData.Community.Display.V1.FormattedValue": - "Bridgend CBC", - "_customerid_value@Microsoft.Dynamics.CRM.associatednavigationproperty": - "customerid_account", - "_customerid_value@Microsoft.Dynamics.CRM.lookuplogicalname": - "account", - "_customerid_value": "56e7ef63-7e64-eb11-aaba-00224800be9c", - "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue": - "DNS", - "pinswg_appealcasetype": "846040011", - "statuscode@OData.Community.Display.V1.FormattedValue": - "In Progress", - "statuscode": "1", - "ticketnumber": "CAS-00010-J9W6L5", - "title": "CAS-00010-J9W6L5", - "incidentid": "55f4fc74-33af-eb11-aac3-00224800be9c", - }, - { - "@odata.etag": 'W/"709250"', - "_accountid_value": null, - "_customerid_value@OData.Community.Display.V1.FormattedValue": - "Zoe", - "_customerid_value@Microsoft.Dynamics.CRM.associatednavigationproperty": - "customerid_account", - "_customerid_value@Microsoft.Dynamics.CRM.lookuplogicalname": - "account", - "_customerid_value": "41fead24-29ba-eb11-aac4-00224800be9c", - "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue": - "Planning Conditions - S73 + S79", - "pinswg_appealcasetype": "846040001", - "statuscode@OData.Community.Display.V1.FormattedValue": - "In Progress", - "statuscode": "1", - "ticketnumber": "CAS-00011-K1N0J8", - "title": "CAS-00011-K1N0J8", - "incidentid": "6bd04d33-29ba-eb11-aac4-00224800be9c", - }, - { - "@odata.etag": 'W/"710463"', - "_accountid_value": null, - "_customerid_value@OData.Community.Display.V1.FormattedValue": - "Bridgend CBC", - "_customerid_value@Microsoft.Dynamics.CRM.associatednavigationproperty": - "customerid_account", - "_customerid_value@Microsoft.Dynamics.CRM.lookuplogicalname": - "account", - "_customerid_value": "56e7ef63-7e64-eb11-aaba-00224800be9c", - "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue": - "Planning Appeal - S78", - "pinswg_appealcasetype": "846040000", - "statuscode@OData.Community.Display.V1.FormattedValue": - "In Progress", - "statuscode": "1", - "ticketnumber": "CAS-00012-D9W6S8", - "title": "CAS-00012-D9W6S8", - "incidentid": "b9c9cbe4-6abc-eb11-aac4-00224800be9c", - }, - { - "@odata.etag": 'W/"74609"', - "_accountid_value": null, - "_customerid_value@OData.Community.Display.V1.FormattedValue": - "Barry Boys High School", - "_customerid_value@Microsoft.Dynamics.CRM.associatednavigationproperty": - "customerid_account", - "_customerid_value@Microsoft.Dynamics.CRM.lookuplogicalname": - "account", - "_customerid_value": "80d99a34-82ad-eb11-aac3-00224800be9c", - "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue": - "Listed Building and Convention S73 + S79", - "pinswg_appealcasetype": "846040025", - "statuscode@OData.Community.Display.V1.FormattedValue": - "In Progress", - "statuscode": "1", - "ticketnumber": "CAS-00013-Z0B5Z9", - "title": "CAS-00013-Z0B5Z9", - "incidentid": "34071ec4-54d3-eb11-aac5-00224800be9c", - }, - { - "@odata.etag": 'W/"749764"', - "_accountid_value": null, - "_customerid_value@OData.Community.Display.V1.FormattedValue": - "Bridgend CBC", - "_customerid_value@Microsoft.Dynamics.CRM.associatednavigationproperty": - "customerid_account", - "_customerid_value@Microsoft.Dynamics.CRM.lookuplogicalname": - "account", - "_customerid_value": "56e7ef63-7e64-eb11-aaba-00224800be9c", - "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue": - "Wayleave", - "pinswg_appealcasetype": "846040021", - "statuscode@OData.Community.Display.V1.FormattedValue": - "In Progress", - "statuscode": "1", - "ticketnumber": "CAS-00014-S3L9B4", - "title": "CAS-00014-S3L9B4", - "incidentid": "2230700b-ebd7-eb11-aac5-00224800be9c", - }, - { - "@odata.etag": 'W/"750875"', - "_accountid_value": null, - "_customerid_value@OData.Community.Display.V1.FormattedValue": - "test customer", - "_customerid_value@Microsoft.Dynamics.CRM.associatednavigationproperty": - "customerid_contact", - "_customerid_value@Microsoft.Dynamics.CRM.lookuplogicalname": - "contact", - "_customerid_value": "cfb7b446-a7d8-eb11-aac5-00224800be9c", - "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue": - "Planning Appeal - S78", - "pinswg_appealcasetype": "846040000", - "statuscode@OData.Community.Display.V1.FormattedValue": - "In Progress", - "statuscode": "1", - "ticketnumber": "CAS-00015-L7J9H1", - "title": "CAS-00015-L7J9H1", - "incidentid": "d5b7b446-a7d8-eb11-aac5-00224800be9c", - }, - { - "@odata.etag": 'W/"755001"', - "_accountid_value": null, - "_customerid_value@OData.Community.Display.V1.FormattedValue": - "test customer", - "_customerid_value@Microsoft.Dynamics.CRM.associatednavigationproperty": - "customerid_contact", - "_customerid_value@Microsoft.Dynamics.CRM.lookuplogicalname": - "contact", - "_customerid_value": "cfb7b446-a7d8-eb11-aac5-00224800be9c", - "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue": - "Householder Appeal (HAS)", - "pinswg_appealcasetype": "846040004", - "statuscode@OData.Community.Display.V1.FormattedValue": - "In Progress", - "statuscode": "1", - "ticketnumber": "CAS-00016-Y9K9Q0", - "title": "CAS-00016-Y9K9Q0", - "incidentid": "cc6f93ea-bdd9-eb11-aac5-00224800be9c", - }, - { - "@odata.etag": 'W/"755216"', - "_accountid_value": null, - "_customerid_value@OData.Community.Display.V1.FormattedValue": - "Caerphilly County Borough Council", - "_customerid_value@Microsoft.Dynamics.CRM.associatednavigationproperty": - "customerid_account", - "_customerid_value@Microsoft.Dynamics.CRM.lookuplogicalname": - "account", - "_customerid_value": "243c0009-49da-eb11-aac5-00224800be9c", - "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue": - "Householder Appeal (HAS)", - "pinswg_appealcasetype": "846040004", - "statuscode@OData.Community.Display.V1.FormattedValue": - "In Progress", - "statuscode": "1", - "ticketnumber": "CAS-00017-B8X7N0", - "title": "CAS-00017-B8X7N0", - "incidentid": "73895a1b-68dd-eb11-aac5-00224800be9c", - }, - ], - }); -}; -export default ApiResponse; diff --git a/pages/api/viewall.js b/pages/api/viewall.js deleted file mode 100644 index caa53307..00000000 --- a/pages/api/viewall.js +++ /dev/null @@ -1,101 +0,0 @@ -const ApiResponse = (req, res) => { - res.statusCode = 200; - res.json({ - "@odata.context": - "https://devcrm2016.llcdt.gov.wales/DVPINS/api/data/v8.2/$metadata#incidents(_accountid_value,_customerid_value,pinswg_appealcasetype,statuscode,ticketnumber,title)", - "@odata.count": 9, - "value": [ - { - "@odata.etag": 'W/"704047"', - "_accountid_value": null, - "_customerid_value": "56e7ef63-7e64-eb11-aaba-00224800be9c", - "pinswg_appealcasetype": 846040000, - "statuscode": 1, - "ticketnumber": "CAS-00009-W8N6W4", - "title": "CAS-00009-W8N6W4", - "incidentid": "9919eac3-21af-eb11-aac3-00224800be9c", - }, - { - "@odata.etag": 'W/"704095"', - "_accountid_value": null, - "_customerid_value": "56e7ef63-7e64-eb11-aaba-00224800be9c", - "pinswg_appealcasetype": 846040011, - "statuscode": 1, - "ticketnumber": "CAS-00010-J9W6L5", - "title": "CAS-00010-J9W6L5", - "incidentid": "55f4fc74-33af-eb11-aac3-00224800be9c", - }, - { - "@odata.etag": 'W/"709250"', - "_accountid_value": null, - "_customerid_value": "41fead24-29ba-eb11-aac4-00224800be9c", - "pinswg_appealcasetype": 846040001, - "statuscode": 1, - "ticketnumber": "CAS-00011-K1N0J8", - "title": "CAS-00011-K1N0J8", - "incidentid": "6bd04d33-29ba-eb11-aac4-00224800be9c", - }, - { - "@odata.etag": 'W/"710463"', - "_accountid_value": null, - "_customerid_value": "56e7ef63-7e64-eb11-aaba-00224800be9c", - "pinswg_appealcasetype": 846040000, - "statuscode": 1, - "ticketnumber": "CAS-00012-D9W6S8", - "title": "CAS-00012-D9W6S8", - "incidentid": "b9c9cbe4-6abc-eb11-aac4-00224800be9c", - }, - { - "@odata.etag": 'W/"746096"', - "_accountid_value": null, - "_customerid_value": "80d99a34-82ad-eb11-aac3-00224800be9c", - "pinswg_appealcasetype": 846040025, - "statuscode": 1, - "ticketnumber": "CAS-00013-Z0B5Z9", - "title": "CAS-00013-Z0B5Z9", - "incidentid": "34071ec4-54d3-eb11-aac5-00224800be9c", - }, - { - "@odata.etag": 'W/"749764"', - "_accountid_value": null, - "_customerid_value": "56e7ef63-7e64-eb11-aaba-00224800be9c", - "pinswg_appealcasetype": 846040021, - "statuscode": 1, - "ticketnumber": "CAS-00014-S3L9B4", - "title": "CAS-00014-S3L9B4", - "incidentid": "2230700b-ebd7-eb11-aac5-00224800be9c", - }, - { - "@odata.etag": 'W/"750875"', - "_accountid_value": null, - "_customerid_value": "cfb7b446-a7d8-eb11-aac5-00224800be9c", - "pinswg_appealcasetype": 846040000, - "statuscode": 1, - "ticketnumber": "CAS-00015-L7J9H1", - "title": "CAS-00015-L7J9H1", - "incidentid": "d5b7b446-a7d8-eb11-aac5-00224800be9c", - }, - { - "@odata.etag": 'W/"755001"', - "_accountid_value": null, - "_customerid_value": "cfb7b446-a7d8-eb11-aac5-00224800be9c", - "pinswg_appealcasetype": 846040004, - "statuscode": 1, - "ticketnumber": "CAS-00016-Y9K9Q0", - "title": "CAS-00016-Y9K9Q0", - "incidentid": "cc6f93ea-bdd9-eb11-aac5-00224800be9c", - }, - { - "@odata.etag": 'W/"755216"', - "_accountid_value": null, - "_customerid_value": "243c0009-49da-eb11-aac5-00224800be9c", - "pinswg_appealcasetype": 846040004, - "statuscode": 1, - "ticketnumber": "CAS-00017-B8X7N0", - "title": "CAS-00017-B8X7N0", - "incidentid": "73895a1b-68dd-eb11-aac5-00224800be9c", - }, - ], - }); -}; -export default ApiResponse;