Build a function that will update a hosted feature layer on arcgis

Job ID: 34934080

Budget: $30 – $250 CAD

Source of the data is json, destination of new or changed data is a hosted feature layer (original created with csv) on AGOL using arcgis REST API.

Current problem, although two fields are marked with latitude and longitude there is also x and y coordinates, both are values set EXACTLY the same way, same variable, yet.. x and y end up "close" to zero. Pipeline is corrupting the data.
Related categories: PHP Linux JSON ArcGIS