I want to expose my service to another system using rest api. Once the system calls the service they should be able to download the all the accounts data(1mn) in csv format.

Can I achieve this using rest api?


Do I have to use bulk api 2.0 methods and query the data and return in csv format?

I need some suggestions over this.

1 Answer 1


Yes, you can achieve that. You can implement your RESTFUL Salesforce service.

Read and follow documentation about Apex Rest

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .