Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
SM_PrepaidLabourPacks_RecID | query | string | No | |
SM_PrepaidLabourPacks_RecIDStartsWith | query | string | No | |
SM_PrepaidLabourPacks_RecIDEndsWith | query | string | No | |
SM_PrepaidLabourPacks_RecIDContains | query | string | No | |
SM_PrepaidLabourPacks_RecIDLike | query | string | No | |
SM_PrepaidLabourPacks_RecIDBetween | query | string[] | No | |
SM_PrepaidLabourPacks_RecIDIn | query | string[] | No | |
HoursUsed | query | decimal? | No | |
HoursUsedGreaterThanOrEqualTo | query | decimal? | No | |
HoursUsedGreaterThan | query | decimal? | No | |
HoursUsedLessThan | query | decimal? | No | |
HoursUsedLessThanOrEqualTo | query | decimal? | No | |
HoursUsedNotEqualTo | query | decimal? | No | |
HoursUsedBetween | query | Nullable<Decimal>[] | No | |
HoursUsedIn | query | Nullable<Decimal>[] | 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 |
---|---|---|---|---|
SM_PrepaidLabourPacks_RecID | form | string | No | |
HoursUsed | form | decimal? | 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_PrepaidLabourPacksHoursUsedQuery HTTP/1.1
Host: api.jiwa.com.au
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"SM_PrepaidLabourPacks_RecID":"String","SM_PrepaidLabourPacks_RecIDStartsWith":"String","SM_PrepaidLabourPacks_RecIDEndsWith":"String","SM_PrepaidLabourPacks_RecIDContains":"String","SM_PrepaidLabourPacks_RecIDLike":"String","SM_PrepaidLabourPacks_RecIDBetween":["String"],"SM_PrepaidLabourPacks_RecIDIn":["String"],"HoursUsed":0,"HoursUsedGreaterThanOrEqualTo":0,"HoursUsedGreaterThan":0,"HoursUsedLessThan":0,"HoursUsedLessThanOrEqualTo":0,"HoursUsedNotEqualTo":0,"HoursUsedBetween":[0],"HoursUsedIn":[0],"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":[{"SM_PrepaidLabourPacks_RecID":"String","HoursUsed":0}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}