| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| SourceNo | query | int? | No | |
| SourceNoGreaterThanOrEqualTo | query | int? | No | |
| SourceNoGreaterThan | query | int? | No | |
| SourceNoLessThan | query | int? | No | |
| SourceNoLessThanOrEqualTo | query | int? | No | |
| SourceNoNotEqualTo | query | int? | No | |
| SourceNoBetween | query | int[] | No | |
| SourceNoIn | query | int[] | No | |
| SourceName | query | string | No | |
| SourceNameStartsWith | query | string | No | |
| SourceNameEndsWith | query | string | No | |
| SourceNameContains | query | string | No | |
| SourceNameLike | query | string | No | |
| SourceNameBetween | query | string[] | No | |
| SourceNameIn | query | string[] | 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 |
|---|---|---|---|---|
| SourceNo | form | int | No | |
| SourceName | form | string | 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/v_DebtorTransactionSourcesQuery HTTP/1.1
Host: localhost
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"SourceNo":0,"SourceNoGreaterThanOrEqualTo":0,"SourceNoGreaterThan":0,"SourceNoLessThan":0,"SourceNoLessThanOrEqualTo":0,"SourceNoNotEqualTo":0,"SourceNoBetween":[0],"SourceNoIn":[0],"SourceName":"String","SourceNameStartsWith":"String","SourceNameEndsWith":"String","SourceNameContains":"String","SourceNameLike":"String","SourceNameBetween":["String"],"SourceNameIn":["String"],"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":[{"SourceName":"String"}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}