JiwaAPI

<back to all web services

SM_JobsQuery

Requires Authentication
SM_JobsQuery Parameters:
NameParameterData TypeRequiredDescription
RecIDquerystringNo
RecIDStartsWithquerystringNo
RecIDEndsWithquerystringNo
RecIDContainsquerystringNo
RecIDLikequerystringNo
RecIDBetweenquerystring[]No
RecIDInquerystring[]No
JobNoquerystringNo
JobNoStartsWithquerystringNo
JobNoEndsWithquerystringNo
JobNoContainsquerystringNo
JobNoLikequerystringNo
JobNoBetweenquerystring[]No
JobNoInquerystring[]No
DB_Main_RecIDquerystringNo
DB_Main_RecIDStartsWithquerystringNo
DB_Main_RecIDEndsWithquerystringNo
DB_Main_RecIDContainsquerystringNo
DB_Main_RecIDLikequerystringNo
DB_Main_RecIDBetweenquerystring[]No
DB_Main_RecIDInquerystring[]No
CN_Contact_RecIDquerystringNo
CN_Contact_RecIDStartsWithquerystringNo
CN_Contact_RecIDEndsWithquerystringNo
CN_Contact_RecIDContainsquerystringNo
CN_Contact_RecIDLikequerystringNo
CN_Contact_RecIDBetweenquerystring[]No
CN_Contact_RecIDInquerystring[]No
ReferencequerystringNo
ReferenceStartsWithquerystringNo
ReferenceEndsWithquerystringNo
ReferenceContainsquerystringNo
ReferenceLikequerystringNo
ReferenceBetweenquerystring[]No
ReferenceInquerystring[]No
DescriptionquerystringNo
DescriptionStartsWithquerystringNo
DescriptionEndsWithquerystringNo
DescriptionContainsquerystringNo
DescriptionLikequerystringNo
DescriptionBetweenquerystring[]No
DescriptionInquerystring[]No
Coordinator_HR_Staff_RecIDquerystringNo
Coordinator_HR_Staff_RecIDStartsWithquerystringNo
Coordinator_HR_Staff_RecIDEndsWithquerystringNo
Coordinator_HR_Staff_RecIDContainsquerystringNo
Coordinator_HR_Staff_RecIDLikequerystringNo
Coordinator_HR_Staff_RecIDBetweenquerystring[]No
Coordinator_HR_Staff_RecIDInquerystring[]No
DateLoggedqueryDateTime?No
DateLoggedGreaterThanOrEqualToqueryDateTime?No
DateLoggedGreaterThanqueryDateTime?No
DateLoggedLessThanqueryDateTime?No
DateLoggedLessThanOrEqualToqueryDateTime?No
DateLoggedNotEqualToqueryDateTime?No
DateLoggedBetweenqueryDateTime[]No
DateLoggedInqueryDateTime[]No
LastSavedDateTimequeryDateTime?No
LastSavedDateTimeGreaterThanOrEqualToqueryDateTime?No
LastSavedDateTimeGreaterThanqueryDateTime?No
LastSavedDateTimeLessThanqueryDateTime?No
LastSavedDateTimeLessThanOrEqualToqueryDateTime?No
LastSavedDateTimeNotEqualToqueryDateTime?No
LastSavedDateTimeBetweenqueryDateTime[]No
LastSavedDateTimeInqueryDateTime[]No
LastSaved_HR_Staff_RecIDquerystringNo
LastSaved_HR_Staff_RecIDStartsWithquerystringNo
LastSaved_HR_Staff_RecIDEndsWithquerystringNo
LastSaved_HR_Staff_RecIDContainsquerystringNo
LastSaved_HR_Staff_RecIDLikequerystringNo
LastSaved_HR_Staff_RecIDBetweenquerystring[]No
LastSaved_HR_Staff_RecIDInquerystring[]No
IN_PriceSchemes_RecIDquerystringNo
IN_PriceSchemes_RecIDStartsWithquerystringNo
IN_PriceSchemes_RecIDEndsWithquerystringNo
IN_PriceSchemes_RecIDContainsquerystringNo
IN_PriceSchemes_RecIDLikequerystringNo
IN_PriceSchemes_RecIDBetweenquerystring[]No
IN_PriceSchemes_RecIDInquerystring[]No
TaxExemptNoquerystringNo
TaxExemptNoStartsWithquerystringNo
TaxExemptNoEndsWithquerystringNo
TaxExemptNoContainsquerystringNo
TaxExemptNoLikequerystringNo
TaxExemptNoBetweenquerystring[]No
TaxExemptNoInquerystring[]No
RowHashquerybyte[]No
IN_LogicalIDquerystringNo
IN_LogicalIDStartsWithquerystringNo
IN_LogicalIDEndsWithquerystringNo
IN_LogicalIDContainsquerystringNo
IN_LogicalIDLikequerystringNo
IN_LogicalIDBetweenquerystring[]No
IN_LogicalIDInquerystring[]No
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
SM_Jobs Parameters:
NameParameterData TypeRequiredDescription
RecIDformstringNo
JobNoformstringNo
DB_Main_RecIDformstringNo
CN_Contact_RecIDformstringNo
ReferenceformstringNo
DescriptionformstringNo
Coordinator_HR_Staff_RecIDformstringNo
DateLoggedformDateTimeNo
LastSavedDateTimeformDateTimeNo
LastSaved_HR_Staff_RecIDformstringNo
IN_PriceSchemes_RecIDformstringNo
TaxExemptNoformstringNo
RowHashformbyte[]No
IN_LogicalIDformstringNo
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/SM_JobsQuery HTTP/1.1 
Host: api.jiwa.com.au 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"RecID":"String","RecIDStartsWith":"String","RecIDEndsWith":"String","RecIDContains":"String","RecIDLike":"String","RecIDBetween":["String"],"RecIDIn":["String"],"JobNo":"String","JobNoStartsWith":"String","JobNoEndsWith":"String","JobNoContains":"String","JobNoLike":"String","JobNoBetween":["String"],"JobNoIn":["String"],"DB_Main_RecID":"String","DB_Main_RecIDStartsWith":"String","DB_Main_RecIDEndsWith":"String","DB_Main_RecIDContains":"String","DB_Main_RecIDLike":"String","DB_Main_RecIDBetween":["String"],"DB_Main_RecIDIn":["String"],"CN_Contact_RecID":"String","CN_Contact_RecIDStartsWith":"String","CN_Contact_RecIDEndsWith":"String","CN_Contact_RecIDContains":"String","CN_Contact_RecIDLike":"String","CN_Contact_RecIDBetween":["String"],"CN_Contact_RecIDIn":["String"],"Reference":"String","ReferenceStartsWith":"String","ReferenceEndsWith":"String","ReferenceContains":"String","ReferenceLike":"String","ReferenceBetween":["String"],"ReferenceIn":["String"],"Description":"String","DescriptionStartsWith":"String","DescriptionEndsWith":"String","DescriptionContains":"String","DescriptionLike":"String","DescriptionBetween":["String"],"DescriptionIn":["String"],"Coordinator_HR_Staff_RecID":"String","Coordinator_HR_Staff_RecIDStartsWith":"String","Coordinator_HR_Staff_RecIDEndsWith":"String","Coordinator_HR_Staff_RecIDContains":"String","Coordinator_HR_Staff_RecIDLike":"String","Coordinator_HR_Staff_RecIDBetween":["String"],"Coordinator_HR_Staff_RecIDIn":["String"],"DateLogged":"0001-01-01T00:00:00.0000000","DateLoggedGreaterThanOrEqualTo":"0001-01-01T00:00:00.0000000","DateLoggedGreaterThan":"0001-01-01T00:00:00.0000000","DateLoggedLessThan":"0001-01-01T00:00:00.0000000","DateLoggedLessThanOrEqualTo":"0001-01-01T00:00:00.0000000","DateLoggedNotEqualTo":"0001-01-01T00:00:00.0000000","DateLoggedBetween":["0001-01-01T00:00:00.0000000"],"DateLoggedIn":["0001-01-01T00:00:00.0000000"],"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"],"LastSaved_HR_Staff_RecID":"String","LastSaved_HR_Staff_RecIDStartsWith":"String","LastSaved_HR_Staff_RecIDEndsWith":"String","LastSaved_HR_Staff_RecIDContains":"String","LastSaved_HR_Staff_RecIDLike":"String","LastSaved_HR_Staff_RecIDBetween":["String"],"LastSaved_HR_Staff_RecIDIn":["String"],"IN_PriceSchemes_RecID":"String","IN_PriceSchemes_RecIDStartsWith":"String","IN_PriceSchemes_RecIDEndsWith":"String","IN_PriceSchemes_RecIDContains":"String","IN_PriceSchemes_RecIDLike":"String","IN_PriceSchemes_RecIDBetween":["String"],"IN_PriceSchemes_RecIDIn":["String"],"TaxExemptNo":"String","TaxExemptNoStartsWith":"String","TaxExemptNoEndsWith":"String","TaxExemptNoContains":"String","TaxExemptNoLike":"String","TaxExemptNoBetween":["String"],"TaxExemptNoIn":["String"],"RowHash":"AA==","IN_LogicalID":"String","IN_LogicalIDStartsWith":"String","IN_LogicalIDEndsWith":"String","IN_LogicalIDContains":"String","IN_LogicalIDLike":"String","IN_LogicalIDBetween":["String"],"IN_LogicalIDIn":["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":[{"RecID":"String","JobNo":"String","DB_Main_RecID":"String","CN_Contact_RecID":"String","Reference":"String","Description":"String","Coordinator_HR_Staff_RecID":"String","LastSaved_HR_Staff_RecID":"String","IN_PriceSchemes_RecID":"String","TaxExemptNo":"String","RowHash":"AA==","IN_LogicalID":"String"}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}