JiwaAPI

<back to all web services

v_Oscar_StockLevelQuery

Requires Authentication
The following routes are available for this service:
GET/Queries/OscarStockLevelsQueryable list stock levels for Oscar
v_Oscar_StockLevelQuery Parameters:
NameParameterData TypeRequiredDescription
IN_WarehouseSOHIDquerystringNo
IN_WarehouseSOHIDStartsWithquerystringNo
IN_WarehouseSOHIDEndsWithquerystringNo
IN_WarehouseSOHIDContainsquerystringNo
IN_WarehouseSOHIDLikequerystringNo
IN_WarehouseSOHIDBetweenquerystring[]No
IN_WarehouseSOHIDInquerystring[]No
InventoryIDquerystringNo
InventoryIDStartsWithquerystringNo
InventoryIDEndsWithquerystringNo
InventoryIDContainsquerystringNo
InventoryIDLikequerystringNo
InventoryIDBetweenquerystring[]No
InventoryIDInquerystring[]No
PartNoquerystringNo
PartNoStartsWithquerystringNo
PartNoEndsWithquerystringNo
PartNoContainsquerystringNo
PartNoLikequerystringNo
PartNoBetweenquerystring[]No
PartNoInquerystring[]No
AAPIquerystringNo
AAPIStartsWithquerystringNo
AAPIEndsWithquerystringNo
AAPIContainsquerystringNo
AAPILikequerystringNo
AAPIBetweenquerystring[]No
AAPIInquerystring[]No
DescriptionquerystringNo
DescriptionStartsWithquerystringNo
DescriptionEndsWithquerystringNo
DescriptionContainsquerystringNo
DescriptionLikequerystringNo
DescriptionBetweenquerystring[]No
DescriptionInquerystring[]No
LogicalWarehouseIDquerystringNo
LogicalWarehouseIDStartsWithquerystringNo
LogicalWarehouseIDEndsWithquerystringNo
LogicalWarehouseIDContainsquerystringNo
LogicalWarehouseIDLikequerystringNo
LogicalWarehouseIDBetweenquerystring[]No
LogicalWarehouseIDInquerystring[]No
LogicalWarehouseDescriptionquerystringNo
LogicalWarehouseDescriptionStartsWithquerystringNo
LogicalWarehouseDescriptionEndsWithquerystringNo
LogicalWarehouseDescriptionContainsquerystringNo
LogicalWarehouseDescriptionLikequerystringNo
LogicalWarehouseDescriptionBetweenquerystring[]No
LogicalWarehouseDescriptionInquerystring[]No
LogicalWarehouseCodequerystringNo
LogicalWarehouseCodeStartsWithquerystringNo
LogicalWarehouseCodeEndsWithquerystringNo
LogicalWarehouseCodeContainsquerystringNo
LogicalWarehouseCodeLikequerystringNo
LogicalWarehouseCodeBetweenquerystring[]No
LogicalWarehouseCodeInquerystring[]No
LogicalWarehouseInTransitquerybool?No
PhysicalWarehouseIDquerystringNo
PhysicalWarehouseIDStartsWithquerystringNo
PhysicalWarehouseIDEndsWithquerystringNo
PhysicalWarehouseIDContainsquerystringNo
PhysicalWarehouseIDLikequerystringNo
PhysicalWarehouseIDBetweenquerystring[]No
PhysicalWarehouseIDInquerystring[]No
PhysicalWarehouseDescriptionquerystringNo
PhysicalWarehouseDescriptionStartsWithquerystringNo
PhysicalWarehouseDescriptionEndsWithquerystringNo
PhysicalWarehouseDescriptionContainsquerystringNo
PhysicalWarehouseDescriptionLikequerystringNo
PhysicalWarehouseDescriptionBetweenquerystring[]No
PhysicalWarehouseDescriptionInquerystring[]No
PhysicalWarehouseAddress1querystringNo
PhysicalWarehouseAddress1StartsWithquerystringNo
PhysicalWarehouseAddress1EndsWithquerystringNo
PhysicalWarehouseAddress1ContainsquerystringNo
PhysicalWarehouseAddress1LikequerystringNo
PhysicalWarehouseAddress1Betweenquerystring[]No
PhysicalWarehouseAddress1Inquerystring[]No
PhysicalWarehouseAddress2querystringNo
PhysicalWarehouseAddress2StartsWithquerystringNo
PhysicalWarehouseAddress2EndsWithquerystringNo
PhysicalWarehouseAddress2ContainsquerystringNo
PhysicalWarehouseAddress2LikequerystringNo
PhysicalWarehouseAddress2Betweenquerystring[]No
PhysicalWarehouseAddress2Inquerystring[]No
PhysicalWarehouseAddress3querystringNo
PhysicalWarehouseAddress3StartsWithquerystringNo
PhysicalWarehouseAddress3EndsWithquerystringNo
PhysicalWarehouseAddress3ContainsquerystringNo
PhysicalWarehouseAddress3LikequerystringNo
PhysicalWarehouseAddress3Betweenquerystring[]No
PhysicalWarehouseAddress3Inquerystring[]No
PhysicalWarehouseAddress4querystringNo
PhysicalWarehouseAddress4StartsWithquerystringNo
PhysicalWarehouseAddress4EndsWithquerystringNo
PhysicalWarehouseAddress4ContainsquerystringNo
PhysicalWarehouseAddress4LikequerystringNo
PhysicalWarehouseAddress4Betweenquerystring[]No
PhysicalWarehouseAddress4Inquerystring[]No
PhysicalWarehousePostcodequerystringNo
PhysicalWarehousePostcodeStartsWithquerystringNo
PhysicalWarehousePostcodeEndsWithquerystringNo
PhysicalWarehousePostcodeContainsquerystringNo
PhysicalWarehousePostcodeLikequerystringNo
PhysicalWarehousePostcodeBetweenquerystring[]No
PhysicalWarehousePostcodeInquerystring[]No
PhysicalWarehouseTelephonequerystringNo
PhysicalWarehouseTelephoneStartsWithquerystringNo
PhysicalWarehouseTelephoneEndsWithquerystringNo
PhysicalWarehouseTelephoneContainsquerystringNo
PhysicalWarehouseTelephoneLikequerystringNo
PhysicalWarehouseTelephoneBetweenquerystring[]No
PhysicalWarehouseTelephoneInquerystring[]No
QuantityLeftquerydecimal?No
QuantityLeftGreaterThanOrEqualToquerydecimal?No
QuantityLeftGreaterThanquerydecimal?No
QuantityLeftLessThanquerydecimal?No
QuantityLeftLessThanOrEqualToquerydecimal?No
QuantityLeftNotEqualToquerydecimal?No
QuantityLeftBetweenqueryNullable<Decimal>[]No
QuantityLeftInqueryNullable<Decimal>[]No
QuantityAllocatedquerydecimal?No
QuantityAllocatedGreaterThanOrEqualToquerydecimal?No
QuantityAllocatedGreaterThanquerydecimal?No
QuantityAllocatedLessThanquerydecimal?No
QuantityAllocatedLessThanOrEqualToquerydecimal?No
QuantityAllocatedNotEqualToquerydecimal?No
QuantityAllocatedBetweenqueryNullable<Decimal>[]No
QuantityAllocatedInqueryNullable<Decimal>[]No
QuantityAvailablequerydecimal?No
QuantityAvailableGreaterThanOrEqualToquerydecimal?No
QuantityAvailableGreaterThanquerydecimal?No
QuantityAvailableLessThanquerydecimal?No
QuantityAvailableLessThanOrEqualToquerydecimal?No
QuantityAvailableNotEqualToquerydecimal?No
QuantityAvailableBetweenqueryNullable<Decimal>[]No
QuantityAvailableInqueryNullable<Decimal>[]No
Statusqueryshort?No
StatusStartsWithqueryshort?No
StatusEndsWithqueryshort?No
StatusContainsqueryshort?No
StatusLikequeryshort?No
StatusBetweenqueryNullable<Int16>[]No
StatusInqueryNullable<Int16>[]No
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
v_Oscar_StockLevel Parameters:
NameParameterData TypeRequiredDescription
IN_WarehouseSOHIDformstringNo
InventoryIDformstringNo
PartNoformstringNo
AAPIformstringNo
DescriptionformstringNo
LogicalWarehouseIDformstringNo
LogicalWarehouseDescriptionformstringNo
LogicalWarehouseCodeformstringNo
LogicalWarehouseInTransitformbool?No
PhysicalWarehouseIDformstringNo
PhysicalWarehouseDescriptionformstringNo
PhysicalWarehouseAddress1formstringNo
PhysicalWarehouseAddress2formstringNo
PhysicalWarehouseAddress3formstringNo
PhysicalWarehouseAddress4formstringNo
PhysicalWarehousePostcodeformstringNo
PhysicalWarehouseTelephoneformstringNo
QuantityLeftformdecimal?No
QuantityAllocatedformdecimal?No
QuantityAvailableformdecimal?No
Statusformint?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 .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.

GET /Queries/OscarStockLevels HTTP/1.1 
Host: 10.150.151.12 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Results":[{"IN_WarehouseSOHID":"String","InventoryID":"String","PartNo":"String","AAPI":"String","Description":"String","LogicalWarehouseID":"String","LogicalWarehouseDescription":"String","LogicalWarehouseCode":"String","LogicalWarehouseInTransit":false,"PhysicalWarehouseID":"String","PhysicalWarehouseDescription":"String","PhysicalWarehouseAddress1":"String","PhysicalWarehouseAddress2":"String","PhysicalWarehouseAddress3":"String","PhysicalWarehouseAddress4":"String","PhysicalWarehousePostcode":"String","PhysicalWarehouseTelephone":"String","QuantityLeft":0,"QuantityAllocated":0,"QuantityAvailable":0,"Status":0}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}