diff --git a/pages/api/incidents_form.js b/pages/api/incidents_form.js new file mode 100644 index 00000000..88c80784 --- /dev/null +++ b/pages/api/incidents_form.js @@ -0,0 +1,27 @@ +export default(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 + } + ] + } + ) +}; \ No newline at end of file