JiwaAPI

<back to all web services

HR_DepartmentsQuery

Requires Authentication
The following routes are available for this service:
GET/Queries/HR_DepartmentsRetrieves a list of departments.
HR_DepartmentsQuery Parameters:
NameParameterData TypeRequiredDescription
RecIDquerystringNo
RecIDStartsWithquerystringNo
RecIDEndsWithquerystringNo
RecIDContainsquerystringNo
RecIDLikequerystringNo
RecIDBetweenquerystring[]No
RecIDInquerystring[]No
NamequerystringNo
NameStartsWithquerystringNo
NameEndsWithquerystringNo
NameContainsquerystringNo
NameLikequerystringNo
NameBetweenquerystring[]No
NameInquerystring[]No
Manager_HR_Staff_RecIDquerystringNo
Manager_HR_Staff_RecIDStartsWithquerystringNo
Manager_HR_Staff_RecIDEndsWithquerystringNo
Manager_HR_Staff_RecIDContainsquerystringNo
Manager_HR_Staff_RecIDLikequerystringNo
Manager_HR_Staff_RecIDBetweenquerystring[]No
Manager_HR_Staff_RecIDInquerystring[]No
RowHashquerybyte[]No
IsEnabledquerybool?No
IsDefaultquerybool?No
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
HR_Departments Parameters:
NameParameterData TypeRequiredDescription
RecIDformstringNo
NameformstringNo
Manager_HR_Staff_RecIDformstringNo
RowHashformbyte[]No
IsEnabledformboolNo
IsDefaultformboolNo
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.

GET /Queries/HR_Departments HTTP/1.1 
Host: api.jiwa.com.au 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Results":[{"RecID":"String","Name":"String","Manager_HR_Staff_RecID":"String","RowHash":"AA=="}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}