Hi Aman,
You create your export like this:
export = {
:filter => { :filterRule => "member", :membershipUri => '/contact/list/'+list_id },
:name => "Contact List Export - " + Time.now.to_s,
:secondsToRetainData => "3600",
:secondsToAutoDelete => "3600",
:fields => { :C_EmailAddress => "{{Contact.Field(C_EmailAddress)}}"}
}
response = HTTParty.post('https://secure.eloqua.com/API/Bulk/1.0/contact/export', :body => export.to_json, :basic_auth => auth, :headers => { 'Content-Type' => 'application/json' })
That's in Ruby - but you can see the syntax. Hope that helps.
Cheers,
Ryan