JiwaAPI

<back to all web services

SM_PrioritiesQuery

Requires Authentication
SM_PrioritiesQuery Parameters:
NameParameterData TypeRequiredDescription
RecIDquerystringNo
RecIDStartsWithquerystringNo
RecIDEndsWithquerystringNo
RecIDContainsquerystringNo
RecIDLikequerystringNo
RecIDBetweenquerystring[]No
RecIDInquerystring[]No
NamequerystringNo
NameStartsWithquerystringNo
NameEndsWithquerystringNo
NameContainsquerystringNo
NameLikequerystringNo
NameBetweenquerystring[]No
NameInquerystring[]No
DescriptionquerystringNo
DescriptionStartsWithquerystringNo
DescriptionEndsWithquerystringNo
DescriptionContainsquerystringNo
DescriptionLikequerystringNo
DescriptionBetweenquerystring[]No
DescriptionInquerystring[]No
ItemNoqueryint?No
ItemNoGreaterThanOrEqualToqueryint?No
ItemNoGreaterThanqueryint?No
ItemNoLessThanqueryint?No
ItemNoLessThanOrEqualToqueryint?No
ItemNoNotEqualToqueryint?No
ItemNoBetweenqueryint[]No
ItemNoInqueryint[]No
IsEnabledquerybool?No
RowHashquerybyte[]No
IsDefaultquerybool?No
ResponseTimequerydecimal?No
ResponseTimeGreaterThanOrEqualToquerydecimal?No
ResponseTimeGreaterThanquerydecimal?No
ResponseTimeLessThanquerydecimal?No
ResponseTimeLessThanOrEqualToquerydecimal?No
ResponseTimeNotEqualToquerydecimal?No
ResponseTimeBetweenqueryNullable<Decimal>[]No
ResponseTimeInqueryNullable<Decimal>[]No
Deadlinequerybool?No
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
SM_Priorities Parameters:
NameParameterData TypeRequiredDescription
RecIDformstringNo
NameformstringNo
DescriptionformstringNo
ItemNoformintNo
IsEnabledformbool?No
RowHashformbyte[]No
IsDefaultformbool?No
ResponseTimeformdecimal?No
Deadlineformbool?No
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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /json/reply/SM_PrioritiesQuery HTTP/1.1 
Host: api.jiwa.com.au 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"RecID":"String","RecIDStartsWith":"String","RecIDEndsWith":"String","RecIDContains":"String","RecIDLike":"String","RecIDBetween":["String"],"RecIDIn":["String"],"Name":"String","NameStartsWith":"String","NameEndsWith":"String","NameContains":"String","NameLike":"String","NameBetween":["String"],"NameIn":["String"],"Description":"String","DescriptionStartsWith":"String","DescriptionEndsWith":"String","DescriptionContains":"String","DescriptionLike":"String","DescriptionBetween":["String"],"DescriptionIn":["String"],"ItemNo":0,"ItemNoGreaterThanOrEqualTo":0,"ItemNoGreaterThan":0,"ItemNoLessThan":0,"ItemNoLessThanOrEqualTo":0,"ItemNoNotEqualTo":0,"ItemNoBetween":[0],"ItemNoIn":[0],"IsEnabled":false,"RowHash":"AA==","IsDefault":false,"ResponseTime":0,"ResponseTimeGreaterThanOrEqualTo":0,"ResponseTimeGreaterThan":0,"ResponseTimeLessThan":0,"ResponseTimeLessThanOrEqualTo":0,"ResponseTimeNotEqualTo":0,"ResponseTimeBetween":[0],"ResponseTimeIn":[0],"Deadline":false,"Skip":0,"Take":0,"OrderBy":"String","OrderByDesc":"String","Include":"String","Fields":"String","Meta":{"String":"String"}}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Results":[{"RecID":"String","Name":"String","Description":"String","IsEnabled":false,"RowHash":"AA==","IsDefault":false,"ResponseTime":0,"Deadline":false}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}