JiwaAPI

<back to all web services

RA_RequestInQuery

Requires Authentication
RA_RequestInQuery Parameters:
NameParameterData TypeRequiredDescription
RA_ShipMain_RecIDquerystringNo
RA_ShipMain_RecIDStartsWithquerystringNo
RA_ShipMain_RecIDEndsWithquerystringNo
RA_ShipMain_RecIDContainsquerystringNo
RA_ShipMain_RecIDLikequerystringNo
RA_ShipMain_RecIDBetweenquerystring[]No
RA_ShipMain_RecIDInquerystring[]No
RA_RequestMain_RecIDquerystringNo
RA_RequestMain_RecIDStartsWithquerystringNo
RA_RequestMain_RecIDEndsWithquerystringNo
RA_RequestMain_RecIDContainsquerystringNo
RA_RequestMain_RecIDLikequerystringNo
RA_RequestMain_RecIDBetweenquerystring[]No
RA_RequestMain_RecIDInquerystring[]No
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
RA_RequestIn Parameters:
NameParameterData TypeRequiredDescription
RA_ShipMain_RecIDformstringNo
RA_RequestMain_RecIDformstringNo
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/RA_RequestInQuery HTTP/1.1 
Host: api.jiwa.com.au 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"RA_ShipMain_RecID":"String","RA_ShipMain_RecIDStartsWith":"String","RA_ShipMain_RecIDEndsWith":"String","RA_ShipMain_RecIDContains":"String","RA_ShipMain_RecIDLike":"String","RA_ShipMain_RecIDBetween":["String"],"RA_ShipMain_RecIDIn":["String"],"RA_RequestMain_RecID":"String","RA_RequestMain_RecIDStartsWith":"String","RA_RequestMain_RecIDEndsWith":"String","RA_RequestMain_RecIDContains":"String","RA_RequestMain_RecIDLike":"String","RA_RequestMain_RecIDBetween":["String"],"RA_RequestMain_RecIDIn":["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":[{"RA_ShipMain_RecID":"String","RA_RequestMain_RecID":"String"}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}