POST api/MobileOrdering/GetCustomerProducts
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
MobileCustomerProductListModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Hash | string |
None. |
|
| MobileCustomerProductModels | Collection of MobileCustomerProductModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"_Hash": "sample string 1",
"_MobileCustomerProductModels": [
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": []
}
]
}
application/xml, text/xml
Sample:
<MobileCustomerProductListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreshPackMultiProduce.BusinessObjects">
<_Hash>sample string 1</_Hash>
<_MobileCustomerProductModels>
<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:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<_CustomerId>1</_CustomerId>
<_Price>4</_Price>
<_ProductId>2</_ProductId>
<_ShowInQuickSearch>true</_ShowInQuickSearch>
<_SortOrder>5</_SortOrder>
</MobileCustomerProductModel>
</_MobileCustomerProductModels>
</MobileCustomerProductListModel>