JiwaAPI

<back to all web services

v_JB_DefaultEstimateQuery

Requires Authentication
v_JB_DefaultEstimateQuery Parameters:
NameParameterData TypeRequiredDescription
EstimateChargequerydecimal?No
EstimateChargeGreaterThanOrEqualToquerydecimal?No
EstimateChargeGreaterThanquerydecimal?No
EstimateChargeLessThanquerydecimal?No
EstimateChargeLessThanOrEqualToquerydecimal?No
EstimateChargeNotEqualToquerydecimal?No
EstimateChargeBetweenqueryNullable<Decimal>[]No
EstimateChargeInqueryNullable<Decimal>[]No
EstimateCostquerydecimal?No
EstimateCostGreaterThanOrEqualToquerydecimal?No
EstimateCostGreaterThanquerydecimal?No
EstimateCostLessThanquerydecimal?No
EstimateCostLessThanOrEqualToquerydecimal?No
EstimateCostNotEqualToquerydecimal?No
EstimateCostBetweenqueryNullable<Decimal>[]No
EstimateCostInqueryNullable<Decimal>[]No
JobIDquerystringNo
JobIDStartsWithquerystringNo
JobIDEndsWithquerystringNo
JobIDContainsquerystringNo
JobIDLikequerystringNo
JobIDBetweenquerystring[]No
JobIDInquerystring[]No
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
v_JB_DefaultEstimate Parameters:
NameParameterData TypeRequiredDescription
EstimateChargeformdecimal?No
EstimateCostformdecimal?No
JobIDformstringNo
QueryResponse<T> Parameters:
NameParameterData TypeRequiredDescription
OffsetformintNo
TotalformintNo
ResultsformList<T>No
MetaformDictionary<string, string>No
ResponseStatusformResponseStatusNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/v_JB_DefaultEstimateQuery HTTP/1.1 
Host: api.jiwa.com.au 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"EstimateCharge":0,"EstimateChargeGreaterThanOrEqualTo":0,"EstimateChargeGreaterThan":0,"EstimateChargeLessThan":0,"EstimateChargeLessThanOrEqualTo":0,"EstimateChargeNotEqualTo":0,"EstimateChargeBetween":[0],"EstimateChargeIn":[0],"EstimateCost":0,"EstimateCostGreaterThanOrEqualTo":0,"EstimateCostGreaterThan":0,"EstimateCostLessThan":0,"EstimateCostLessThanOrEqualTo":0,"EstimateCostNotEqualTo":0,"EstimateCostBetween":[0],"EstimateCostIn":[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":[{"EstimateCharge":0,"EstimateCost":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"}}}