JiwaAPI

<back to all web services

SO_BORunLinesQuery

Requires Authentication
SO_BORunLinesQuery Parameters:
NameParameterData TypeRequiredDescription
RecIDquerystringNo
RecIDStartsWithquerystringNo
RecIDEndsWithquerystringNo
RecIDContainsquerystringNo
RecIDLikequerystringNo
RecIDBetweenquerystring[]No
RecIDInquerystring[]No
RunIDquerystringNo
RunIDStartsWithquerystringNo
RunIDEndsWithquerystringNo
RunIDContainsquerystringNo
RunIDLikequerystringNo
RunIDBetweenquerystring[]No
RunIDInquerystring[]No
SourceTypequeryshort?No
SourceTypeGreaterThanOrEqualToqueryshort?No
SourceTypeGreaterThanqueryshort?No
SourceTypeLessThanqueryshort?No
SourceTypeLessThanOrEqualToqueryshort?No
SourceTypeNotEqualToqueryshort?No
SourceTypeBetweenqueryNullable<Int16>[]No
SourceTypeInqueryNullable<Int16>[]No
SourceLineIDquerystringNo
SourceLineIDStartsWithquerystringNo
SourceLineIDEndsWithquerystringNo
SourceLineIDContainsquerystringNo
SourceLineIDLikequerystringNo
SourceLineIDBetweenquerystring[]No
SourceLineIDInquerystring[]No
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
SO_BORunLines Parameters:
NameParameterData TypeRequiredDescription
RecIDformstringNo
RunIDformstringNo
SourceTypeformshort?No
SourceLineIDformstringNo
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/SO_BORunLinesQuery 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"],"RunID":"String","RunIDStartsWith":"String","RunIDEndsWith":"String","RunIDContains":"String","RunIDLike":"String","RunIDBetween":["String"],"RunIDIn":["String"],"SourceType":0,"SourceTypeGreaterThanOrEqualTo":0,"SourceTypeGreaterThan":0,"SourceTypeLessThan":0,"SourceTypeLessThanOrEqualTo":0,"SourceTypeNotEqualTo":0,"SourceTypeBetween":[0],"SourceTypeIn":[0],"SourceLineID":"String","SourceLineIDStartsWith":"String","SourceLineIDEndsWith":"String","SourceLineIDContains":"String","SourceLineIDLike":"String","SourceLineIDBetween":["String"],"SourceLineIDIn":["String"],"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","RunID":"String","SourceType":0,"SourceLineID":"String"}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}