| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| InvoicedAmount | query | decimal? | No | |
| InvoicedAmountGreaterThanOrEqualTo | query | decimal? | No | |
| InvoicedAmountGreaterThan | query | decimal? | No | |
| InvoicedAmountLessThan | query | decimal? | No | |
| InvoicedAmountLessThanOrEqualTo | query | decimal? | No | |
| InvoicedAmountNotEqualTo | query | decimal? | No | |
| InvoicedAmountBetween | query | Nullable<Decimal>[] | No | |
| InvoicedAmountIn | query | Nullable<Decimal>[] | No | |
| InvoicedCost | query | decimal? | No | |
| InvoicedCostGreaterThanOrEqualTo | query | decimal? | No | |
| InvoicedCostGreaterThan | query | decimal? | No | |
| InvoicedCostLessThan | query | decimal? | No | |
| InvoicedCostLessThanOrEqualTo | query | decimal? | No | |
| InvoicedCostNotEqualTo | query | decimal? | No | |
| InvoicedCostBetween | query | Nullable<Decimal>[] | No | |
| InvoicedCostIn | query | Nullable<Decimal>[] | No | |
| JobID | query | string | No | |
| JobIDStartsWith | query | string | No | |
| JobIDEndsWith | query | string | No | |
| JobIDContains | query | string | No | |
| JobIDLike | query | string | No | |
| JobIDBetween | query | string[] | No | |
| JobIDIn | 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 |
|---|---|---|---|---|
| InvoicedAmount | form | decimal? | No | |
| InvoicedCost | form | decimal? | No | |
| JobID | 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_JB_InvoicedToDateQuery HTTP/1.1
Host: localhost
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"InvoicedAmount":0,"InvoicedAmountGreaterThanOrEqualTo":0,"InvoicedAmountGreaterThan":0,"InvoicedAmountLessThan":0,"InvoicedAmountLessThanOrEqualTo":0,"InvoicedAmountNotEqualTo":0,"InvoicedAmountBetween":[0],"InvoicedAmountIn":[0],"InvoicedCost":0,"InvoicedCostGreaterThanOrEqualTo":0,"InvoicedCostGreaterThan":0,"InvoicedCostLessThan":0,"InvoicedCostLessThanOrEqualTo":0,"InvoicedCostNotEqualTo":0,"InvoicedCostBetween":[0],"InvoicedCostIn":[0],"JobID":"String","JobIDStartsWith":"String","JobIDEndsWith":"String","JobIDContains":"String","JobIDLike":"String","JobIDBetween":["String"],"JobIDIn":["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":[{"InvoicedAmount":0,"InvoicedCost":0,"JobID":"String"}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}