JiwaAPI

<back to all web services

IN_UnitOfMeasureQuery

Requires Authentication
IN_UnitOfMeasureQuery Parameters:
NameParameterData TypeRequiredDescription
RecIDqueryGuid?No
RecIDInqueryGuid[]No
IN_Main_InventoryIDquerystringNo
IN_Main_InventoryIDStartsWithquerystringNo
IN_Main_InventoryIDEndsWithquerystringNo
IN_Main_InventoryIDContainsquerystringNo
IN_Main_InventoryIDLikequerystringNo
IN_Main_InventoryIDBetweenquerystring[]No
IN_Main_InventoryIDInquerystring[]No
NamequerystringNo
NameStartsWithquerystringNo
NameEndsWithquerystringNo
NameContainsquerystringNo
NameLikequerystringNo
NameBetweenquerystring[]No
NameInquerystring[]No
Inner_IN_UnitOfMeasure_RecIDqueryGuid?No
Inner_IN_UnitOfMeasure_RecIDInqueryNullable<Guid>[]No
QuantityInnersPerUnitOfMeasurequerydecimal?No
QuantityInnersPerUnitOfMeasureGreaterThanOrEqualToquerydecimal?No
QuantityInnersPerUnitOfMeasureGreaterThanquerydecimal?No
QuantityInnersPerUnitOfMeasureLessThanquerydecimal?No
QuantityInnersPerUnitOfMeasureLessThanOrEqualToquerydecimal?No
QuantityInnersPerUnitOfMeasureNotEqualToquerydecimal?No
QuantityInnersPerUnitOfMeasureBetweenquerydecimal[]No
QuantityInnersPerUnitOfMeasureInquerydecimal[]No
IsSellquerybool?No
IsPurchasequerybool?No
PartNoquerystringNo
PartNoStartsWithquerystringNo
PartNoEndsWithquerystringNo
PartNoContainsquerystringNo
PartNoLikequerystringNo
PartNoBetweenquerystring[]No
PartNoInquerystring[]No
BarcodequerystringNo
BarcodeStartsWithquerystringNo
BarcodeEndsWithquerystringNo
BarcodeContainsquerystringNo
BarcodeLikequerystringNo
BarcodeBetweenquerystring[]No
BarcodeInquerystring[]No
IsEnabledquerybool?No
ItemNoqueryint?No
ItemNoGreaterThanOrEqualToqueryint?No
ItemNoGreaterThanqueryint?No
ItemNoLessThanqueryint?No
ItemNoLessThanOrEqualToqueryint?No
ItemNoNotEqualToqueryint?No
ItemNoBetweenqueryint[]No
ItemNoInqueryint[]No
LastSavedDateTimequeryDateTime?No
LastSavedDateTimeGreaterThanOrEqualToqueryDateTime?No
LastSavedDateTimeGreaterThanqueryDateTime?No
LastSavedDateTimeLessThanqueryDateTime?No
LastSavedDateTimeLessThanOrEqualToqueryDateTime?No
LastSavedDateTimeNotEqualToqueryDateTime?No
LastSavedDateTimeBetweenqueryDateTime[]No
LastSavedDateTimeInqueryDateTime[]No
RowHashquerybyte[]No
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
IN_UnitOfMeasure Parameters:
NameParameterData TypeRequiredDescription
RecIDformGuidNo
IN_Main_InventoryIDformstringNo
NameformstringNo
Inner_IN_UnitOfMeasure_RecIDformGuid?No
QuantityInnersPerUnitOfMeasureformdecimalNo
IsSellformboolNo
IsPurchaseformboolNo
PartNoformstringNo
BarcodeformstringNo
IsEnabledformboolNo
ItemNoformintNo
LastSavedDateTimeformDateTimeNo
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 .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.

POST /json/reply/IN_UnitOfMeasureQuery HTTP/1.1 
Host: api.jiwa.com.au 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"RecID":"00000000000000000000000000000000","RecIDIn":["00000000-0000-0000-0000-000000000000"],"IN_Main_InventoryID":"String","IN_Main_InventoryIDStartsWith":"String","IN_Main_InventoryIDEndsWith":"String","IN_Main_InventoryIDContains":"String","IN_Main_InventoryIDLike":"String","IN_Main_InventoryIDBetween":["String"],"IN_Main_InventoryIDIn":["String"],"Name":"String","NameStartsWith":"String","NameEndsWith":"String","NameContains":"String","NameLike":"String","NameBetween":["String"],"NameIn":["String"],"Inner_IN_UnitOfMeasure_RecID":"00000000000000000000000000000000","Inner_IN_UnitOfMeasure_RecIDIn":["00000000000000000000000000000000"],"QuantityInnersPerUnitOfMeasure":0,"QuantityInnersPerUnitOfMeasureGreaterThanOrEqualTo":0,"QuantityInnersPerUnitOfMeasureGreaterThan":0,"QuantityInnersPerUnitOfMeasureLessThan":0,"QuantityInnersPerUnitOfMeasureLessThanOrEqualTo":0,"QuantityInnersPerUnitOfMeasureNotEqualTo":0,"QuantityInnersPerUnitOfMeasureBetween":[0],"QuantityInnersPerUnitOfMeasureIn":[0],"IsSell":false,"IsPurchase":false,"PartNo":"String","PartNoStartsWith":"String","PartNoEndsWith":"String","PartNoContains":"String","PartNoLike":"String","PartNoBetween":["String"],"PartNoIn":["String"],"Barcode":"String","BarcodeStartsWith":"String","BarcodeEndsWith":"String","BarcodeContains":"String","BarcodeLike":"String","BarcodeBetween":["String"],"BarcodeIn":["String"],"IsEnabled":false,"ItemNo":0,"ItemNoGreaterThanOrEqualTo":0,"ItemNoGreaterThan":0,"ItemNoLessThan":0,"ItemNoLessThanOrEqualTo":0,"ItemNoNotEqualTo":0,"ItemNoBetween":[0],"ItemNoIn":[0],"LastSavedDateTime":"0001-01-01T00:00:00.0000000","LastSavedDateTimeGreaterThanOrEqualTo":"0001-01-01T00:00:00.0000000","LastSavedDateTimeGreaterThan":"0001-01-01T00:00:00.0000000","LastSavedDateTimeLessThan":"0001-01-01T00:00:00.0000000","LastSavedDateTimeLessThanOrEqualTo":"0001-01-01T00:00:00.0000000","LastSavedDateTimeNotEqualTo":"0001-01-01T00:00:00.0000000","LastSavedDateTimeBetween":["0001-01-01T00:00:00.0000000"],"LastSavedDateTimeIn":["0001-01-01T00:00:00.0000000"],"RowHash":"AA==","Skip":0,"Take":0,"OrderBy":"String","OrderByDesc":"String","Include":"String","Fields":"String","Meta":{"String":"String"}}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Results":[{"IN_Main_InventoryID":"String","Name":"String","Inner_IN_UnitOfMeasure_RecID":"00000000000000000000000000000000","PartNo":"String","Barcode":"String","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"}}}