To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
HTTP + CSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /service/AddListMember HTTP/1.1
Host: www.bernhardthospitality.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"emailAddress":"String","emailClient":"String","emailType":"String","id":"String","interests":{"String":false},"ipOpt":"String","ipSignup":"String","language":"String","lastChanged":"String","listId":"String","location":{"countryCode":"String","dstoff":0,"gmtoff":0,"latitude":0,"longitude":0,"timezone":"String"},"memberRating":0,"mergeFields":{"String":{}},"lastNote":{"id":0,"body":"String","createdAt":"0001-01-01T00:00:00.0000000Z","createdBy":"String"},"stats":{"averageOpenRate":0,"averageClickRate":0},"status":"Subscribed","statusIfNew":"Subscribed","unsubscribeReason":"String","timestampOpt":"String","timestampSignup":"String","uniqueEmailId":"String","vip":false}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"emailAddress":"String","emailClient":"String","emailType":"String","id":"String","interests":{"String":false},"ipOpt":"String","ipSignup":"String","language":"String","lastChanged":"String","listId":"String","location":{"countryCode":"String","dstoff":0,"gmtoff":0,"latitude":0,"longitude":0,"timezone":"String"},"memberRating":0,"mergeFields":{"String":{}},"lastNote":{"id":0,"body":"String","createdAt":"0001-01-01T00:00:00.0000000Z","createdBy":"String"},"stats":{"averageOpenRate":0,"averageClickRate":0},"status":"Subscribed","statusIfNew":"Subscribed","unsubscribeReason":"String","timestampOpt":"String","timestampSignup":"String","uniqueEmailId":"String","vip":false}