Q: I am looking to create an internal tool app to help me manage staff work orders (for example a property inspection).
The staff would need to see some information on the task (access details, on-site contact, property address, property name etc) and be able to report back with their comments and photos.
The contractor would use the app to select an existing record, seeing the existing information and being able to submit a form when on-site.
1) Can I do a custom JSON API call with the existing data in the record
i.e. the custom api call would be
http://www.site.com/json/getPropertyName
{ "propertyid": "123456", "authkey": "123456" }
then the form would pull the property name from an API and display it on the form page before loading the form
The benefit is you could have an updateable form that pulls existing data and prefills it
2) Our contractors would take 40-60 photos of a job, is there an upload type optimise photo that would resize the size (resize to 1000x1000 max sides) and quality of each photo (90% compression) on the client-side (javascript) before uploading them on the form to reduce data and storage usage?