The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /csv/reply/DownloadInvoices HTTP/1.1
Host: api-preprod.merseyflow.co.uk
Content-Type: text/csv
Content-Length: length
AccountId,PageSize,PageNumber,Sorting,StartDate,EndDate,SearchAmount,SearchInvoiceNumber
0,0,0,String,0001-01-01,0001-01-01,0,String
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
DownloadStream,ResponseStatus
AA==,"{ErrorCode:String,Message:String,StackTrace:String,Errors:[{ErrorCode:String,FieldName:String,Message:String}]}"