Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
RecID | query | Guid? | No | |
RecIDIn | query | Guid[] | No | |
IN_Main_InventoryID | query | string | No | |
IN_Main_InventoryIDStartsWith | query | string | No | |
IN_Main_InventoryIDEndsWith | query | string | No | |
IN_Main_InventoryIDContains | query | string | No | |
IN_Main_InventoryIDLike | query | string | No | |
IN_Main_InventoryIDBetween | query | string[] | No | |
IN_Main_InventoryIDIn | query | string[] | No | |
Name | query | string | No | |
NameStartsWith | query | string | No | |
NameEndsWith | query | string | No | |
NameContains | query | string | No | |
NameLike | query | string | No | |
NameBetween | query | string[] | No | |
NameIn | query | string[] | No | |
Inner_IN_UnitOfMeasure_RecID | query | Guid? | No | |
Inner_IN_UnitOfMeasure_RecIDIn | query | Nullable<Guid>[] | No | |
QuantityInnersPerUnitOfMeasure | query | decimal? | No | |
QuantityInnersPerUnitOfMeasureGreaterThanOrEqualTo | query | decimal? | No | |
QuantityInnersPerUnitOfMeasureGreaterThan | query | decimal? | No | |
QuantityInnersPerUnitOfMeasureLessThan | query | decimal? | No | |
QuantityInnersPerUnitOfMeasureLessThanOrEqualTo | query | decimal? | No | |
QuantityInnersPerUnitOfMeasureNotEqualTo | query | decimal? | No | |
QuantityInnersPerUnitOfMeasureBetween | query | decimal[] | No | |
QuantityInnersPerUnitOfMeasureIn | query | decimal[] | No | |
IsSell | query | bool? | No | |
IsPurchase | query | bool? | No | |
PartNo | query | string | No | |
PartNoStartsWith | query | string | No | |
PartNoEndsWith | query | string | No | |
PartNoContains | query | string | No | |
PartNoLike | query | string | No | |
PartNoBetween | query | string[] | No | |
PartNoIn | query | string[] | No | |
Barcode | query | string | No | |
BarcodeStartsWith | query | string | No | |
BarcodeEndsWith | query | string | No | |
BarcodeContains | query | string | No | |
BarcodeLike | query | string | No | |
BarcodeBetween | query | string[] | No | |
BarcodeIn | query | string[] | No | |
IsEnabled | query | bool? | No | |
ItemNo | query | int? | No | |
ItemNoGreaterThanOrEqualTo | query | int? | No | |
ItemNoGreaterThan | query | int? | No | |
ItemNoLessThan | query | int? | No | |
ItemNoLessThanOrEqualTo | query | int? | No | |
ItemNoNotEqualTo | query | int? | No | |
ItemNoBetween | query | int[] | No | |
ItemNoIn | query | int[] | No | |
LastSavedDateTime | query | DateTime? | No | |
LastSavedDateTimeGreaterThanOrEqualTo | query | DateTime? | No | |
LastSavedDateTimeGreaterThan | query | DateTime? | No | |
LastSavedDateTimeLessThan | query | DateTime? | No | |
LastSavedDateTimeLessThanOrEqualTo | query | DateTime? | No | |
LastSavedDateTimeNotEqualTo | query | DateTime? | No | |
LastSavedDateTimeBetween | query | DateTime[] | No | |
LastSavedDateTimeIn | query | DateTime[] | No | |
RowHash | query | byte[] | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Skip | form | int? | No | |
Take | form | int? | No | |
OrderBy | form | string | No | |
OrderByDesc | form | string | No | |
Include | form | string | No | |
Fields | form | string | No | |
Meta | form | Dictionary<string, string> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
RecID | form | Guid | No | |
IN_Main_InventoryID | form | string | No | |
Name | form | string | No | |
Inner_IN_UnitOfMeasure_RecID | form | Guid? | No | |
QuantityInnersPerUnitOfMeasure | form | decimal | No | |
IsSell | form | bool | No | |
IsPurchase | form | bool | No | |
PartNo | form | string | No | |
Barcode | form | string | No | |
IsEnabled | form | bool | No | |
ItemNo | form | int | No | |
LastSavedDateTime | form | DateTime | No | |
RowHash | form | byte[] | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Offset | form | int | No | |
Total | form | int | No | |
Results | form | List<T> | No | |
Meta | form | Dictionary<string, string> | No | |
ResponseStatus | form | ResponseStatus | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /xml/reply/IN_UnitOfMeasureQuery HTTP/1.1
Host: api.jiwa.com.au
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<IN_UnitOfMeasureQuery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.Tables">
<Fields xmlns="http://schemas.servicestack.net/types">String</Fields>
<Include xmlns="http://schemas.servicestack.net/types">String</Include>
<Meta xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.servicestack.net/types">
<d2p1:KeyValueOfstringstring>
<d2p1:Key>String</d2p1:Key>
<d2p1:Value>String</d2p1:Value>
</d2p1:KeyValueOfstringstring>
</Meta>
<OrderBy xmlns="http://schemas.servicestack.net/types">String</OrderBy>
<OrderByDesc xmlns="http://schemas.servicestack.net/types">String</OrderByDesc>
<Skip xmlns="http://schemas.servicestack.net/types">0</Skip>
<Take xmlns="http://schemas.servicestack.net/types">0</Take>
<Barcode>String</Barcode>
<BarcodeBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</BarcodeBetween>
<BarcodeContains>String</BarcodeContains>
<BarcodeEndsWith>String</BarcodeEndsWith>
<BarcodeIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</BarcodeIn>
<BarcodeLike>String</BarcodeLike>
<BarcodeStartsWith>String</BarcodeStartsWith>
<IN_Main_InventoryID>String</IN_Main_InventoryID>
<IN_Main_InventoryIDBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</IN_Main_InventoryIDBetween>
<IN_Main_InventoryIDContains>String</IN_Main_InventoryIDContains>
<IN_Main_InventoryIDEndsWith>String</IN_Main_InventoryIDEndsWith>
<IN_Main_InventoryIDIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</IN_Main_InventoryIDIn>
<IN_Main_InventoryIDLike>String</IN_Main_InventoryIDLike>
<IN_Main_InventoryIDStartsWith>String</IN_Main_InventoryIDStartsWith>
<Inner_IN_UnitOfMeasure_RecID>00000000-0000-0000-0000-000000000000</Inner_IN_UnitOfMeasure_RecID>
<Inner_IN_UnitOfMeasure_RecIDIn xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:guid>00000000-0000-0000-0000-000000000000</d2p1:guid>
</Inner_IN_UnitOfMeasure_RecIDIn>
<IsEnabled>false</IsEnabled>
<IsPurchase>false</IsPurchase>
<IsSell>false</IsSell>
<ItemNo>0</ItemNo>
<ItemNoBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>0</d2p1:int>
</ItemNoBetween>
<ItemNoGreaterThan>0</ItemNoGreaterThan>
<ItemNoGreaterThanOrEqualTo>0</ItemNoGreaterThanOrEqualTo>
<ItemNoIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>0</d2p1:int>
</ItemNoIn>
<ItemNoLessThan>0</ItemNoLessThan>
<ItemNoLessThanOrEqualTo>0</ItemNoLessThanOrEqualTo>
<ItemNoNotEqualTo>0</ItemNoNotEqualTo>
<LastSavedDateTime>0001-01-01T00:00:00</LastSavedDateTime>
<LastSavedDateTimeBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:dateTime>0001-01-01T00:00:00</d2p1:dateTime>
</LastSavedDateTimeBetween>
<LastSavedDateTimeGreaterThan>0001-01-01T00:00:00</LastSavedDateTimeGreaterThan>
<LastSavedDateTimeGreaterThanOrEqualTo>0001-01-01T00:00:00</LastSavedDateTimeGreaterThanOrEqualTo>
<LastSavedDateTimeIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:dateTime>0001-01-01T00:00:00</d2p1:dateTime>
</LastSavedDateTimeIn>
<LastSavedDateTimeLessThan>0001-01-01T00:00:00</LastSavedDateTimeLessThan>
<LastSavedDateTimeLessThanOrEqualTo>0001-01-01T00:00:00</LastSavedDateTimeLessThanOrEqualTo>
<LastSavedDateTimeNotEqualTo>0001-01-01T00:00:00</LastSavedDateTimeNotEqualTo>
<Name>String</Name>
<NameBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</NameBetween>
<NameContains>String</NameContains>
<NameEndsWith>String</NameEndsWith>
<NameIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</NameIn>
<NameLike>String</NameLike>
<NameStartsWith>String</NameStartsWith>
<PartNo>String</PartNo>
<PartNoBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</PartNoBetween>
<PartNoContains>String</PartNoContains>
<PartNoEndsWith>String</PartNoEndsWith>
<PartNoIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</PartNoIn>
<PartNoLike>String</PartNoLike>
<PartNoStartsWith>String</PartNoStartsWith>
<QuantityInnersPerUnitOfMeasure>0</QuantityInnersPerUnitOfMeasure>
<QuantityInnersPerUnitOfMeasureBetween xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:decimal>0</d2p1:decimal>
</QuantityInnersPerUnitOfMeasureBetween>
<QuantityInnersPerUnitOfMeasureGreaterThan>0</QuantityInnersPerUnitOfMeasureGreaterThan>
<QuantityInnersPerUnitOfMeasureGreaterThanOrEqualTo>0</QuantityInnersPerUnitOfMeasureGreaterThanOrEqualTo>
<QuantityInnersPerUnitOfMeasureIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:decimal>0</d2p1:decimal>
</QuantityInnersPerUnitOfMeasureIn>
<QuantityInnersPerUnitOfMeasureLessThan>0</QuantityInnersPerUnitOfMeasureLessThan>
<QuantityInnersPerUnitOfMeasureLessThanOrEqualTo>0</QuantityInnersPerUnitOfMeasureLessThanOrEqualTo>
<QuantityInnersPerUnitOfMeasureNotEqualTo>0</QuantityInnersPerUnitOfMeasureNotEqualTo>
<RecID>00000000-0000-0000-0000-000000000000</RecID>
<RecIDIn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>00000000-0000-0000-0000-000000000000</d2p1:guid>
</RecIDIn>
<RowHash>AA==</RowHash>
</IN_UnitOfMeasureQuery>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <QueryResponseOfIN_UnitOfMeasure7kRqkrSv xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types"> <Offset>0</Offset> <Total>0</Total> <Results xmlns:d2p1="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.Tables"> <d2p1:IN_UnitOfMeasure> <d2p1:_x003C_Barcode_x003E_k__BackingField>String</d2p1:_x003C_Barcode_x003E_k__BackingField> <d2p1:_x003C_IN_Main_InventoryID_x003E_k__BackingField>String</d2p1:_x003C_IN_Main_InventoryID_x003E_k__BackingField> <d2p1:_x003C_Inner_IN_UnitOfMeasure_RecID_x003E_k__BackingField>00000000-0000-0000-0000-000000000000</d2p1:_x003C_Inner_IN_UnitOfMeasure_RecID_x003E_k__BackingField> <d2p1:_x003C_IsEnabled_x003E_k__BackingField>false</d2p1:_x003C_IsEnabled_x003E_k__BackingField> <d2p1:_x003C_IsPurchase_x003E_k__BackingField>false</d2p1:_x003C_IsPurchase_x003E_k__BackingField> <d2p1:_x003C_IsSell_x003E_k__BackingField>false</d2p1:_x003C_IsSell_x003E_k__BackingField> <d2p1:_x003C_ItemNo_x003E_k__BackingField>0</d2p1:_x003C_ItemNo_x003E_k__BackingField> <d2p1:_x003C_LastSavedDateTime_x003E_k__BackingField>0001-01-01T00:00:00</d2p1:_x003C_LastSavedDateTime_x003E_k__BackingField> <d2p1:_x003C_Name_x003E_k__BackingField>String</d2p1:_x003C_Name_x003E_k__BackingField> <d2p1:_x003C_PartNo_x003E_k__BackingField>String</d2p1:_x003C_PartNo_x003E_k__BackingField> <d2p1:_x003C_QuantityInnersPerUnitOfMeasure_x003E_k__BackingField>0</d2p1:_x003C_QuantityInnersPerUnitOfMeasure_x003E_k__BackingField> <d2p1:_x003C_RecID_x003E_k__BackingField>00000000-0000-0000-0000-000000000000</d2p1:_x003C_RecID_x003E_k__BackingField> <d2p1:_x003C_RowHash_x003E_k__BackingField>AA==</d2p1:_x003C_RowHash_x003E_k__BackingField> </d2p1:IN_UnitOfMeasure> </Results> <Meta xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:KeyValueOfstringstring> <d2p1:Key>String</d2p1:Key> <d2p1:Value>String</d2p1:Value> </d2p1:KeyValueOfstringstring> </Meta> <ResponseStatus> <ErrorCode>String</ErrorCode> <Message>String</Message> <StackTrace>String</StackTrace> <Errors> <ResponseError> <ErrorCode>String</ErrorCode> <FieldName>String</FieldName> <Message>String</Message> <Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:KeyValueOfstringstring> <d5p1:Key>String</d5p1:Key> <d5p1:Value>String</d5p1:Value> </d5p1:KeyValueOfstringstring> </Meta> </ResponseError> </Errors> <Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:KeyValueOfstringstring> <d3p1:Key>String</d3p1:Key> <d3p1:Value>String</d3p1:Value> </d3p1:KeyValueOfstringstring> </Meta> </ResponseStatus> </QueryResponseOfIN_UnitOfMeasure7kRqkrSv>