POST api/MobileTruckLoad/GetTruckLoadDispatches
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
MobileReturnResponseOfListOfMobileTruckLoadDispatchModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Response | MobileResponseModel |
None. |
|
| Data | Collection of MobileTruckLoadDispatchModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"_Response": {
"_Result": true,
"_ErrorMessage": "sample string 2",
"_ShowDialog": true
},
"_Data": [
null,
{
"DispatchRef": "sample string 1",
"CustomerName": "sample string 2",
"RegionCode": "sample string 3",
"SourceFacilityCode": "sample string 4",
"DispatchDate": "2025-12-06T14:32:20.462015+10:30",
"EstimatedArrivalDate": "2025-12-06T14:32:20.462015+10:30",
"OldId": 7,
"RowVersionNumeric": 1,
"ValidationErrors": [],
"Id": 0,
"Code": null,
"Description": null,
"DeletedDate": "0001-01-01T00:00:00",
"ConcurTimeStamp": "QEA="
}
]
}
application/xml, text/xml
Sample:
<MobileReturnResponseOfArrayOfMobileTruckLoadDispatchModelFtrMcklY xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreshPackMultiProduce.BusinessObjects">
<_Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/FreshPackMultiProduce.WebApi.Models.MobileModels">
<d2p1:MobileTruckLoadDispatchModel i:nil="true" />
<d2p1:MobileTruckLoadDispatchModel>
<_x003C_Code_x003E_k__BackingField i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/FreshPackMultiProduce.WebApi.Models.MasterDataModels" />
<_x003C_ConcurTimeStamp_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/FreshPackMultiProduce.WebApi.Models.MasterDataModels">QEA=</_x003C_ConcurTimeStamp_x003E_k__BackingField>
<_x003C_DeletedDate_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/FreshPackMultiProduce.WebApi.Models.MasterDataModels">0001-01-01T00:00:00</_x003C_DeletedDate_x003E_k__BackingField>
<_x003C_Description_x003E_k__BackingField i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/FreshPackMultiProduce.WebApi.Models.MasterDataModels" />
<_x003C_Id_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/FreshPackMultiProduce.WebApi.Models.MasterDataModels">0</_x003C_Id_x003E_k__BackingField>
<d2p1:OldId>7</d2p1:OldId>
<d2p1:RowVersionNumeric>1</d2p1:RowVersionNumeric>
<d2p1:ValidationErrors xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<d2p1:CustomerName>sample string 2</d2p1:CustomerName>
<d2p1:DispatchDate>2025-12-06T14:32:20.462015+10:30</d2p1:DispatchDate>
<d2p1:DispatchRef>sample string 1</d2p1:DispatchRef>
<d2p1:EstimatedArrivalDate>2025-12-06T14:32:20.462015+10:30</d2p1:EstimatedArrivalDate>
<d2p1:RegionCode>sample string 3</d2p1:RegionCode>
<d2p1:SourceFacilityCode>sample string 4</d2p1:SourceFacilityCode>
</d2p1:MobileTruckLoadDispatchModel>
</_Data>
<_Response>
<_ErrorMessage>sample string 2</_ErrorMessage>
<_Result>true</_Result>
<_ShowDialog>true</_ShowDialog>
</_Response>
</MobileReturnResponseOfArrayOfMobileTruckLoadDispatchModelFtrMcklY>