POST api/MobileSupplierReceipt/FetchProductsForReceiptProductSelection
Request Information
URI Parameters
None.
Body Parameters
MobileRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| AppUserId | integer |
None. |
|
| DeviceName | string |
None. |
|
| Parameters | Collection of MobileRequestParameter |
None. |
|
| ListParameters | Collection of MobileRequestListParameter |
None. |
|
| Parameters | Object |
None. |
Request Formats
application/json, text/json
Sample:
{
"_AppUserId": 1,
"_DeviceName": "sample string 2",
"_Parameters": [
{
"_Key": "sample string 1",
"_Value": {}
},
{
"_Key": "sample string 1",
"_Value": {}
}
],
"_ListParameters": [
{
"_Key": "sample string 1",
"_Value": [
{},
{}
]
},
{
"_Key": "sample string 1",
"_Value": [
{},
{}
]
}
]
}
application/xml, text/xml
Sample:
<MobileRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreshPackMultiProduce.BusinessObjects">
<_AppUserId>1</_AppUserId>
<_DeviceName>sample string 2</_DeviceName>
<_ListParameters>
<MobileRequestListParameter>
<_Key>sample string 1</_Key>
<_Value xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:anyType />
<d4p1:anyType />
</_Value>
</MobileRequestListParameter>
<MobileRequestListParameter>
<_Key>sample string 1</_Key>
<_Value xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:anyType />
<d4p1:anyType />
</_Value>
</MobileRequestListParameter>
</_ListParameters>
<_Parameters>
<MobileRequestParameter>
<_Key>sample string 1</_Key>
<_Value />
</MobileRequestParameter>
<MobileRequestParameter>
<_Key>sample string 1</_Key>
<_Value />
</MobileRequestParameter>
</_Parameters>
</MobileRequestModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of MobileProductModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductCode | string |
None. |
|
| ProductDescription | string |
None. |
|
| TCE | decimal number |
None. |
|
| SpecWeight | decimal number |
None. |
|
| ProductCount | integer |
None. |
|
| ProductImage | Collection of byte |
None. |
|
| Produce | MobileProduceModel |
None. |
|
| Variety | MobileVarietyModel |
None. |
|
| ProductColour | MobileProductColourModel |
None. |
|
| Grade | MobileGradeModel |
None. |
|
| ProductSize | MobileProductSizeModel |
None. |
|
| HandlingUnit | MobileHandlingUnitModel |
None. |
|
| PackType | MobilePackTypeModel |
None. |
|
| Brand | MobileBrandModel |
None. |
|
| ItemBrand | MobileItemBrandModel |
None. |
|
| FruitLabel | MobileFruitLabelModel |
None. |
|
| DefaultOrderFacility | MobileFacilityModel |
None. |
|
| Customers | Collection of MobileCustomerProductModel |
None. |
|
| PalletTypes | Collection of MobilePalletTypeModel |
None. |
|
| LabelType | MobileLabelTypeModel |
None. |
|
| Id | integer |
None. |
|
| OldId | integer |
None. |
|
| ConcurTimeStamp | Collection of byte |
None. |
|
| RowVersion | Object |
None. |
|
| RowVersionNumeric | integer |
None. |
|
| DeletedDate | date |
None. |
|
| ValidationErrors | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
[
null,
{
"_ProductCode": "sample string 1",
"_ProductDescription": "sample string 2",
"_TCE": 3.0,
"_SpecWeight": 4.0,
"_ProductCount": 5,
"_ProductImage": "QEA=",
"_Produce": null,
"_Variety": null,
"_ProductColour": null,
"_Grade": null,
"_ProductSize": null,
"_HandlingUnit": null,
"_PackType": null,
"_Brand": null,
"_ItemBrand": null,
"_FruitLabel": null,
"_DefaultOrderFacility": null,
"_Customers": [
null,
{
"_CustomerId": 1,
"_ProductId": 2,
"_ShowInQuickSearch": true,
"_Price": 4.0,
"_SortOrder": 5,
"_Id": 6,
"_OldId": 7,
"_ConcurTimeStamp": "QEA=",
"_RowVersionNumeric": null,
"_DeletedDate": "2099-12-31T00:00:00",
"_ValidationErrors": []
}
],
"_PalletTypes": [
null,
{
"_PalletTypeCode": "sample string 1",
"_PalletTypeDescription": "sample string 2",
"_NettWeight": 3.0,
"_UnitsPerPallet": 4.0,
"_IsBin": true,
"_GrossWeight": 6.0,
"_Id": 7,
"_OldId": 8,
"_ConcurTimeStamp": "QEA=",
"_RowVersionNumeric": null,
"_DeletedDate": "2099-12-31T00:00:00",
"_ValidationErrors": []
}
],
"_LabelType": null,
"_Id": 6,
"_OldId": 7,
"_ConcurTimeStamp": "QEA=",
"_RowVersionNumeric": null,
"_DeletedDate": "2099-12-31T00:00:00",
"_ValidationErrors": []
}
]
application/xml, text/xml
Sample:
<ArrayOfMobileProductModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreshPackMultiProduce.BusinessObjects">
<MobileProductModel i:nil="true" />
<MobileProductModel>
<_ConcurTimeStamp>QEA=</_ConcurTimeStamp>
<_DeletedDate>2099-12-31T00:00:00</_DeletedDate>
<_Id>6</_Id>
<_OldId>7</_OldId>
<_RowVersionNumeric i:nil="true" />
<_ValidationErrors xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<_Brand i:nil="true" />
<_Customers>
<MobileCustomerProductModel i:nil="true" />
<MobileCustomerProductModel>
<_ConcurTimeStamp>QEA=</_ConcurTimeStamp>
<_DeletedDate>2099-12-31T00:00:00</_DeletedDate>
<_Id>6</_Id>
<_OldId>7</_OldId>
<_RowVersionNumeric i:nil="true" />
<_ValidationErrors xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<_CustomerId>1</_CustomerId>
<_Price>4</_Price>
<_ProductId>2</_ProductId>
<_ShowInQuickSearch>true</_ShowInQuickSearch>
<_SortOrder>5</_SortOrder>
</MobileCustomerProductModel>
</_Customers>
<_DefaultOrderFacility i:nil="true" />
<_FruitLabel i:nil="true" />
<_Grade i:nil="true" />
<_HandlingUnit i:nil="true" />
<_ItemBrand i:nil="true" />
<_LabelType i:nil="true" />
<_PackType i:nil="true" />
<_PalletTypes>
<MobilePalletTypeModel i:nil="true" />
<MobilePalletTypeModel>
<_ConcurTimeStamp>QEA=</_ConcurTimeStamp>
<_DeletedDate>2099-12-31T00:00:00</_DeletedDate>
<_Id>7</_Id>
<_OldId>8</_OldId>
<_RowVersionNumeric i:nil="true" />
<_ValidationErrors xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<_GrossWeight>6</_GrossWeight>
<_IsBin>true</_IsBin>
<_NettWeight>3</_NettWeight>
<_PalletTypeCode>sample string 1</_PalletTypeCode>
<_PalletTypeDescription>sample string 2</_PalletTypeDescription>
<_UnitsPerPallet>4</_UnitsPerPallet>
</MobilePalletTypeModel>
</_PalletTypes>
<_Produce i:nil="true" />
<_ProductCode>sample string 1</_ProductCode>
<_ProductColour i:nil="true" />
<_ProductCount>5</_ProductCount>
<_ProductDescription>sample string 2</_ProductDescription>
<_ProductImage>QEA=</_ProductImage>
<_ProductSize i:nil="true" />
<_SpecWeight>4</_SpecWeight>
<_TCE>3</_TCE>
<_Variety i:nil="true" />
</MobileProductModel>
</ArrayOfMobileProductModel>