Hi guys,
I used to extract contacts and activities with Bulk API v2.0, until our project needs Asset data, such as Email, Form etc
I read some post and documentation from community and understand, to get Asset data I have to use REST API
Then I made a simple script, in which it send HTTP request (via Curl) to server, and hope give me CSV format file since it is a kind of flat file, easy for following job to handle
The problem occurs, seems REST API, no matter v1.0 or v2.0 does not support text/csv for HTTP Header Accept, which works well in my another script using BULK API v2.0; there is always HTTP 406 returned
I see in REST API v1.0 documentation, it says REST supports "application/json" (default) and "application/xml", however I do not find documentation of REST API v2.0 (maybe because it is not stable)
So just want to confirm, does CSV format really not support in REST API?
If so, I think I need to save my data as XML format
Waiting for your help
Thanks~