| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| RecID | query | string | No | |
| RecIDStartsWith | query | string | No | |
| RecIDEndsWith | query | string | No | |
| RecIDContains | query | string | No | |
| RecIDLike | query | string | No | |
| RecIDBetween | query | string[] | No | |
| RecIDIn | query | string[] | No | |
| SO_ExportMain_RecID | query | string | No | |
| SO_ExportMain_RecIDStartsWith | query | string | No | |
| SO_ExportMain_RecIDEndsWith | query | string | No | |
| SO_ExportMain_RecIDContains | query | string | No | |
| SO_ExportMain_RecIDLike | query | string | No | |
| SO_ExportMain_RecIDBetween | query | string[] | No | |
| SO_ExportMain_RecIDIn | query | string[] | No | |
| LastSavedDateTime | query | DateTime? | No | |
| LastSavedDateTimeGreaterThanOrEqualTo | query | DateTime? | No | |
| LastSavedDateTimeGreaterThan | query | DateTime? | No | |
| LastSavedDateTimeLessThan | query | DateTime? | No | |
| LastSavedDateTimeLessThanOrEqualTo | query | DateTime? | No | |
| LastSavedDateTimeNotEqualTo | query | DateTime? | No | |
| LastSavedDateTimeBetween | query | DateTime[] | No | |
| LastSavedDateTimeIn | query | DateTime[] | No | |
| ItemNo | query | int? | No | |
| ItemNoGreaterThanOrEqualTo | query | int? | No | |
| ItemNoGreaterThan | query | int? | No | |
| ItemNoLessThan | query | int? | No | |
| ItemNoLessThanOrEqualTo | query | int? | No | |
| ItemNoNotEqualTo | query | int? | No | |
| ItemNoBetween | query | int[] | No | |
| ItemNoIn | query | int[] | No | |
| SO_Main_InvoiceID | query | string | No | |
| SO_Main_InvoiceIDStartsWith | query | string | No | |
| SO_Main_InvoiceIDEndsWith | query | string | No | |
| SO_Main_InvoiceIDContains | query | string | No | |
| SO_Main_InvoiceIDLike | query | string | No | |
| SO_Main_InvoiceIDBetween | query | string[] | No | |
| SO_Main_InvoiceIDIn | query | string[] | No | |
| FlaggedForExport | query | bool? | No | |
| SO_History_InvoiceHistoryID | query | string | No | |
| SO_History_InvoiceHistoryIDStartsWith | query | string | No | |
| SO_History_InvoiceHistoryIDEndsWith | query | string | No | |
| SO_History_InvoiceHistoryIDContains | query | string | No | |
| SO_History_InvoiceHistoryIDLike | query | string | No | |
| SO_History_InvoiceHistoryIDBetween | query | string[] | No | |
| SO_History_InvoiceHistoryIDIn | query | string[] | No | |
| RowHash | query | byte[] | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Skip | form | int? | No | |
| Take | form | int? | No | |
| OrderBy | form | string | No | |
| OrderByDesc | form | string | No | |
| Include | form | string | No | |
| Fields | form | string | No | |
| Meta | form | Dictionary<string, string> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| RecID | form | string | No | |
| SO_ExportMain_RecID | form | string | No | |
| LastSavedDateTime | form | DateTime | No | |
| ItemNo | form | int | No | |
| SO_Main_InvoiceID | form | string | No | |
| FlaggedForExport | form | bool? | No | |
| SO_History_InvoiceHistoryID | form | string | No | |
| RowHash | form | byte[] | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Offset | form | int | No | |
| Total | form | int | No | |
| Results | form | List<T> | No | |
| Meta | form | Dictionary<string, string> | No | |
| ResponseStatus | form | ResponseStatus | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /csv/reply/SO_ExportLinesQuery HTTP/1.1
Host: localhost
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"RecID":"String","RecIDStartsWith":"String","RecIDEndsWith":"String","RecIDContains":"String","RecIDLike":"String","RecIDBetween":["String"],"RecIDIn":["String"],"SO_ExportMain_RecID":"String","SO_ExportMain_RecIDStartsWith":"String","SO_ExportMain_RecIDEndsWith":"String","SO_ExportMain_RecIDContains":"String","SO_ExportMain_RecIDLike":"String","SO_ExportMain_RecIDBetween":["String"],"SO_ExportMain_RecIDIn":["String"],"LastSavedDateTime":"0001-01-01T00:00:00.0000000","LastSavedDateTimeGreaterThanOrEqualTo":"0001-01-01T00:00:00.0000000","LastSavedDateTimeGreaterThan":"0001-01-01T00:00:00.0000000","LastSavedDateTimeLessThan":"0001-01-01T00:00:00.0000000","LastSavedDateTimeLessThanOrEqualTo":"0001-01-01T00:00:00.0000000","LastSavedDateTimeNotEqualTo":"0001-01-01T00:00:00.0000000","LastSavedDateTimeBetween":["0001-01-01T00:00:00.0000000"],"LastSavedDateTimeIn":["0001-01-01T00:00:00.0000000"],"ItemNo":0,"ItemNoGreaterThanOrEqualTo":0,"ItemNoGreaterThan":0,"ItemNoLessThan":0,"ItemNoLessThanOrEqualTo":0,"ItemNoNotEqualTo":0,"ItemNoBetween":[0],"ItemNoIn":[0],"SO_Main_InvoiceID":"String","SO_Main_InvoiceIDStartsWith":"String","SO_Main_InvoiceIDEndsWith":"String","SO_Main_InvoiceIDContains":"String","SO_Main_InvoiceIDLike":"String","SO_Main_InvoiceIDBetween":["String"],"SO_Main_InvoiceIDIn":["String"],"FlaggedForExport":false,"SO_History_InvoiceHistoryID":"String","SO_History_InvoiceHistoryIDStartsWith":"String","SO_History_InvoiceHistoryIDEndsWith":"String","SO_History_InvoiceHistoryIDContains":"String","SO_History_InvoiceHistoryIDLike":"String","SO_History_InvoiceHistoryIDBetween":["String"],"SO_History_InvoiceHistoryIDIn":["String"],"RowHash":"AA==","Skip":0,"Take":0,"OrderBy":"String","OrderByDesc":"String","Include":"String","Fields":"String","Meta":{"String":"String"}}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"Results":[{"RecID":"String","SO_ExportMain_RecID":"String","SO_Main_InvoiceID":"String","FlaggedForExport":false,"SO_History_InvoiceHistoryID":"String","RowHash":"AA=="}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}