Closed EmilTemirov closed 9 years ago
Hi! I'm trying to delete an Asset via API on gresb.com, but it doesn't work. I sent following POST request to https://gresb.com/api/responses/3356/asset_level_data?access_token=MY_ACCESS_TOKEN:
{ "buildings": [ { "partners_id": "GCAE8Ca-T2i1IXp5bzbnnQ", "_destroy": true } ] }
But the Asset is not deleted. The same action on api-sanbox.gresb.com works fine.
I figured it out, I forgot to set Content-Type: application/json. Please, do describe this in the documentation.
Hi! I'm trying to delete an Asset via API on gresb.com, but it doesn't work. I sent following POST request to https://gresb.com/api/responses/3356/asset_level_data?access_token=MY_ACCESS_TOKEN:
But the Asset is not deleted. The same action on api-sanbox.gresb.com works fine.