JiwaAPI

<back to all web services

IN_TransferReasonsQuery

Requires Authentication
The following routes are available for this service:
GET/Queries/IN_TransferReasonsRetrieves a list of stock transfer reasons.
IN_TransferReasonsQuery Parameters:
NameParameterData TypeRequiredDescription
RecIDquerystringNo
RecIDStartsWithquerystringNo
RecIDEndsWithquerystringNo
RecIDContainsquerystringNo
RecIDLikequerystringNo
RecIDBetweenquerystring[]No
RecIDInquerystring[]No
NamequerystringNo
NameStartsWithquerystringNo
NameEndsWithquerystringNo
NameContainsquerystringNo
NameLikequerystringNo
NameBetweenquerystring[]No
NameInquerystring[]No
WriteOffAccountOverridequerybool?No
WriteOffAccountIDquerystringNo
WriteOffAccountIDStartsWithquerystringNo
WriteOffAccountIDEndsWithquerystringNo
WriteOffAccountIDContainsquerystringNo
WriteOffAccountIDLikequerystringNo
WriteOffAccountIDBetweenquerystring[]No
WriteOffAccountIDInquerystring[]No
WriteOnAccountOverridequerybool?No
WriteOnAccountIDquerystringNo
WriteOnAccountIDStartsWithquerystringNo
WriteOnAccountIDEndsWithquerystringNo
WriteOnAccountIDContainsquerystringNo
WriteOnAccountIDLikequerystringNo
WriteOnAccountIDBetweenquerystring[]No
WriteOnAccountIDInquerystring[]No
DefaultReasonquerybool?No
ReadOnlyquerybool?No
CreatedDateTimequeryDateTime?No
CreatedDateTimeGreaterThanOrEqualToqueryDateTime?No
CreatedDateTimeGreaterThanqueryDateTime?No
CreatedDateTimeLessThanqueryDateTime?No
CreatedDateTimeLessThanOrEqualToqueryDateTime?No
CreatedDateTimeNotEqualToqueryDateTime?No
CreatedDateTimeBetweenqueryNullable<DateTime>[]No
CreatedDateTimeInqueryNullable<DateTime>[]No
CreatedByStaffIDquerystringNo
CreatedByStaffIDStartsWithquerystringNo
CreatedByStaffIDEndsWithquerystringNo
CreatedByStaffIDContainsquerystringNo
CreatedByStaffIDLikequerystringNo
CreatedByStaffIDBetweenquerystring[]No
CreatedByStaffIDInquerystring[]No
LastSavedDateTimequeryDateTime?No
LastSavedDateTimeGreaterThanOrEqualToqueryDateTime?No
LastSavedDateTimeGreaterThanqueryDateTime?No
LastSavedDateTimeLessThanqueryDateTime?No
LastSavedDateTimeLessThanOrEqualToqueryDateTime?No
LastSavedDateTimeNotEqualToqueryDateTime?No
LastSavedDateTimeBetweenqueryNullable<DateTime>[]No
LastSavedDateTimeInqueryNullable<DateTime>[]No
LastSavedByStaffIDquerystringNo
LastSavedByStaffIDStartsWithquerystringNo
LastSavedByStaffIDEndsWithquerystringNo
LastSavedByStaffIDContainsquerystringNo
LastSavedByStaffIDLikequerystringNo
LastSavedByStaffIDBetweenquerystring[]No
LastSavedByStaffIDInquerystring[]No
ItemNoqueryint?No
ItemNoGreaterThanOrEqualToqueryint?No
ItemNoGreaterThanqueryint?No
ItemNoLessThanqueryint?No
ItemNoLessThanOrEqualToqueryint?No
ItemNoNotEqualToqueryint?No
ItemNoBetweenqueryNullable<Int32>[]No
ItemNoInqueryNullable<Int32>[]No
RowHashquerybyte[]No
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
IN_TransferReasons Parameters:
NameParameterData TypeRequiredDescription
RecIDformstringNo
NameformstringNo
WriteOffAccountOverrideformbool?No
WriteOffAccountIDformstringNo
WriteOnAccountOverrideformbool?No
WriteOnAccountIDformstringNo
DefaultReasonformbool?No
ReadOnlyformbool?No
CreatedDateTimeformDateTime?No
CreatedByStaffIDformstringNo
LastSavedDateTimeformDateTime?No
LastSavedByStaffIDformstringNo
ItemNoformint?No
RowHashformbyte[]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 .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/IN_TransferReasons HTTP/1.1 
Host: millers.jiwa.com.au 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Results":[{"RecID":"String","Name":"String","WriteOffAccountOverride":false,"WriteOffAccountID":"String","WriteOnAccountOverride":false,"WriteOnAccountID":"String","DefaultReason":false,"ReadOnly":false,"CreatedDateTime":"0001-01-01T00:00:00.0000000","CreatedByStaffID":"String","LastSavedDateTime":"0001-01-01T00:00:00.0000000","LastSavedByStaffID":"String","ItemNo":0,"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"}}}