JiwaAPI

<back to all web services

LogicalWarehousesQuery

Requires Authentication
The following routes are available for this service:
GET/Queries/LogicalWarehousesLogical warehouses with their physical warehouse and Show On Web flag (AutoQuery: Skip, Take, OrderBy, Fields, Include=Total and column filters).
LogicalWarehousesQuery Parameters:
NameParameterData TypeRequiredDescription
IN_LogicalIDquerystringNo
IN_LogicalIDInquerystring[]No
IN_PhysicalIDquerystringNo
WebEnabledquerybool?No
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
v_TFM_LogicalWarehouses Parameters:
NameParameterData TypeRequiredDescription
IN_LogicalIDformstringNo
IN_PhysicalIDformstringNo
DescriptionformstringNo
LastSavedDateTimeformDateTime?No
WebEnabledformbool?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/LogicalWarehouses HTTP/1.1 
Host: testapi.wagga.redpoint.com.au 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Results":[{"IN_LogicalID":"String","IN_PhysicalID":"String","Description":"String","LastSavedDateTime":"0001-01-01T00:00:00.0000000","WebEnabled":false}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}