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 /Trans/RejectTransBySaler/ HTTP/1.1
Host: baseservices2.needion.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"TransId":0,"ReasonId":0,"Reason":"String","start":"\/Date(1610897768972+0300)\/","DeviceUUID":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"Result":false,"ResMessage":"String","Error":{"ErrorYn":false,"ErrorCode":"String","ErrorDescription":"String"},"PageInfo":{"TotalRecordCount":0,"TotalPageCount":0,"CurrentPage":0}}