Hi kawish abbas,
The value and the format of the coordinates you have to provide depends on the Spatial Reference of the service you are talking to.
So, in the Lahore Tiger example I have given in this thread I did use coordinates with WKID 102100 (which is essentially EPSG: 3857) to land on the lawn of Lahore Fort, because that is the WKID used by this service:
https://services.arcgis.com/V6ZHFr6zdgNZuVG0/ArcGIS/rest/services/Hazards_Uptown_Charlotte/FeatureSe...
So the question is: what is the Spatial Reference of your Karachi service? If you provide coordinates in the same Spatial Reference your point will appear correctly on the map.
Does this answer your question?
Egge-Jan
[
{
"attributes" : {
"HazardType" : "Dangerous Animal",
"Description" : "We saw a tiger on the lawn",
"SpecialInstructions" : "No Action",
"Status" : "Active",
"Priority" : "High"
},
"geometry" : {
"x" : 8272644.51,
"y" : 3709258.71
}
}
]