JiwaAPI

<back to all web services

SO_PaymentTypesQuery

Requires Authentication
SO_PaymentTypesQuery Parameters:
NameParameterData TypeRequiredDescription
RecIDquerystringNo
RecIDStartsWithquerystringNo
RecIDEndsWithquerystringNo
RecIDContainsquerystringNo
RecIDLikequerystringNo
RecIDBetweenquerystring[]No
RecIDInquerystring[]No
NamequerystringNo
NameStartsWithquerystringNo
NameEndsWithquerystringNo
NameContainsquerystringNo
NameLikequerystringNo
NameBetweenquerystring[]No
NameInquerystring[]No
IsEnabledquerybool?No
IsDefaultquerybool?No
IsCreditCardquerybool?No
GL_Main_RecIDquerystringNo
GL_Main_RecIDStartsWithquerystringNo
GL_Main_RecIDEndsWithquerystringNo
GL_Main_RecIDContainsquerystringNo
GL_Main_RecIDLikequerystringNo
GL_Main_RecIDBetweenquerystring[]No
GL_Main_RecIDInquerystring[]No
ItemNoqueryint?No
ItemNoGreaterThanOrEqualToqueryint?No
ItemNoGreaterThanqueryint?No
ItemNoLessThanqueryint?No
ItemNoLessThanOrEqualToqueryint?No
ItemNoNotEqualToqueryint?No
ItemNoBetweenqueryint[]No
ItemNoInqueryint[]No
RowHashquerybyte[]No
IsPOSquerybool?No
CodequerystringNo
CodeStartsWithquerystringNo
CodeEndsWithquerystringNo
CodeContainsquerystringNo
CodeLikequerystringNo
CodeBetweenquerystring[]No
CodeInquerystring[]No
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
SO_PaymentTypes Parameters:
NameParameterData TypeRequiredDescription
RecIDformstringNo
NameformstringNo
IsEnabledformboolNo
IsDefaultformboolNo
IsCreditCardformboolNo
GL_Main_RecIDformstringNo
ItemNoformintNo
RowHashformbyte[]No
IsPOSformboolNo
CodeformstringNo
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/SO_PaymentTypesQuery 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"],"Name":"String","NameStartsWith":"String","NameEndsWith":"String","NameContains":"String","NameLike":"String","NameBetween":["String"],"NameIn":["String"],"IsEnabled":false,"IsDefault":false,"IsCreditCard":false,"GL_Main_RecID":"String","GL_Main_RecIDStartsWith":"String","GL_Main_RecIDEndsWith":"String","GL_Main_RecIDContains":"String","GL_Main_RecIDLike":"String","GL_Main_RecIDBetween":["String"],"GL_Main_RecIDIn":["String"],"ItemNo":0,"ItemNoGreaterThanOrEqualTo":0,"ItemNoGreaterThan":0,"ItemNoLessThan":0,"ItemNoLessThanOrEqualTo":0,"ItemNoNotEqualTo":0,"ItemNoBetween":[0],"ItemNoIn":[0],"RowHash":"AA==","IsPOS":false,"Code":"String","CodeStartsWith":"String","CodeEndsWith":"String","CodeContains":"String","CodeLike":"String","CodeBetween":["String"],"CodeIn":["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","Name":"String","GL_Main_RecID":"String","RowHash":"AA==","Code":"String"}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}