POST api/MobileOrdering/CreateOrders
Request Information
URI Parameters
None.
Body Parameters
Collection of MobileOrderModel| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderNumber | string |
None. |
|
| CustomerId | integer |
None. |
|
| OrderDate | date |
None. |
|
| RequiredDate | date |
None. |
|
| Status | string |
None. |
|
| PurchaseOrderNumber | string |
None. |
|
| Comment | string |
None. |
|
| SyncGuid | globally unique identifier |
None. |
|
| OrderLines | Collection of MobileOrderLineModel |
None. |
|
| AppUserId | integer |
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. |
Request Formats
application/json, text/json
Sample:
[
null,
{
"_OrderNumber": "sample string 1",
"_CustomerId": 2,
"_OrderDate": "2025-12-06T14:30:34.0786882+10:30",
"_RequiredDate": "2025-12-06T14:30:34.0786882+10:30",
"_Status": "sample string 5",
"_PurchaseOrderNumber": "sample string 6",
"_Comment": "sample string 7",
"_SyncGuid": "42d68156-6115-4af0-b51a-dfc6d4062fda",
"_OrderLines": [
null,
{
"_OrderId": 1,
"_ProductId": 2,
"_FacilityId": 3,
"_PalletTypeId": 4,
"_Quantity": 5.0,
"_Price": 6.0,
"_Comment": "sample string 7",
"_SyncGuid": "890f5f1e-911b-4335-9027-cf77b7abd2e4",
"_DespatchedQuantity": 9.0,
"_AppUserId": 10,
"_Id": 11,
"_OldId": 12,
"_ConcurTimeStamp": "QEA=",
"_RowVersionNumeric": null,
"_DeletedDate": "2099-12-31T00:00:00",
"_ValidationErrors": []
}
],
"_AppUserId": 9,
"_Id": 10,
"_OldId": 11,
"_ConcurTimeStamp": "QEA=",
"_RowVersionNumeric": null,
"_DeletedDate": "2099-12-31T00:00:00",
"_ValidationErrors": []
}
]
application/xml, text/xml
Sample:
<ArrayOfMobileOrderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreshPackMultiProduce.BusinessObjects">
<MobileOrderModel i:nil="true" />
<MobileOrderModel>
<_ConcurTimeStamp>QEA=</_ConcurTimeStamp>
<_DeletedDate>2099-12-31T00:00:00</_DeletedDate>
<_Id>10</_Id>
<_OldId>11</_OldId>
<_RowVersionNumeric i:nil="true" />
<_ValidationErrors xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<_AppUserId>9</_AppUserId>
<_Comment>sample string 7</_Comment>
<_CustomerId>2</_CustomerId>
<_OrderDate>2025-12-06T14:30:34.0786882+10:30</_OrderDate>
<_OrderLines>
<MobileOrderLineModel i:nil="true" />
<MobileOrderLineModel>
<_ConcurTimeStamp>QEA=</_ConcurTimeStamp>
<_DeletedDate>2099-12-31T00:00:00</_DeletedDate>
<_Id>11</_Id>
<_OldId>12</_OldId>
<_RowVersionNumeric i:nil="true" />
<_ValidationErrors xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<_AppUserId>10</_AppUserId>
<_Comment>sample string 7</_Comment>
<_DespatchedQuantity>9</_DespatchedQuantity>
<_FacilityId>3</_FacilityId>
<_OrderId>1</_OrderId>
<_PalletTypeId>4</_PalletTypeId>
<_Price>6</_Price>
<_ProductId>2</_ProductId>
<_Quantity>5</_Quantity>
<_SyncGuid>890f5f1e-911b-4335-9027-cf77b7abd2e4</_SyncGuid>
</MobileOrderLineModel>
</_OrderLines>
<_OrderNumber>sample string 1</_OrderNumber>
<_PurchaseOrderNumber>sample string 6</_PurchaseOrderNumber>
<_RequiredDate>2025-12-06T14:30:34.0786882+10:30</_RequiredDate>
<_Status>sample string 5</_Status>
<_SyncGuid>42d68156-6115-4af0-b51a-dfc6d4062fda</_SyncGuid>
</MobileOrderModel>
</ArrayOfMobileOrderModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
MobileReturnResponseOfListOfMobileOrderModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Response | MobileResponseModel |
None. |
|
| Data | Collection of MobileOrderModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"_Response": {
"_Result": true,
"_ErrorMessage": "sample string 2",
"_ShowDialog": true
},
"_Data": [
null,
{
"_OrderNumber": "sample string 1",
"_CustomerId": 2,
"_OrderDate": "2025-12-06T14:30:34.0786882+10:30",
"_RequiredDate": "2025-12-06T14:30:34.0786882+10:30",
"_Status": "sample string 5",
"_PurchaseOrderNumber": "sample string 6",
"_Comment": "sample string 7",
"_SyncGuid": "439fee58-dd3a-458c-a444-c81f8b080e57",
"_OrderLines": [
null,
{
"_OrderId": 1,
"_ProductId": 2,
"_FacilityId": 3,
"_PalletTypeId": 4,
"_Quantity": 5.0,
"_Price": 6.0,
"_Comment": "sample string 7",
"_SyncGuid": "97135e7d-9c6e-4a57-b573-aab34e172241",
"_DespatchedQuantity": 9.0,
"_AppUserId": 10,
"_Id": 11,
"_OldId": 12,
"_ConcurTimeStamp": "QEA=",
"_RowVersionNumeric": null,
"_DeletedDate": "2099-12-31T00:00:00",
"_ValidationErrors": []
}
],
"_AppUserId": 9,
"_Id": 10,
"_OldId": 11,
"_ConcurTimeStamp": "QEA=",
"_RowVersionNumeric": null,
"_DeletedDate": "2099-12-31T00:00:00",
"_ValidationErrors": []
}
]
}
application/xml, text/xml
Sample:
<MobileReturnResponseOfArrayOfMobileOrderModel2_PY0mizd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreshPackMultiProduce.BusinessObjects">
<_Data>
<MobileOrderModel i:nil="true" />
<MobileOrderModel>
<_ConcurTimeStamp>QEA=</_ConcurTimeStamp>
<_DeletedDate>2099-12-31T00:00:00</_DeletedDate>
<_Id>10</_Id>
<_OldId>11</_OldId>
<_RowVersionNumeric i:nil="true" />
<_ValidationErrors xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<_AppUserId>9</_AppUserId>
<_Comment>sample string 7</_Comment>
<_CustomerId>2</_CustomerId>
<_OrderDate>2025-12-06T14:30:34.0786882+10:30</_OrderDate>
<_OrderLines>
<MobileOrderLineModel i:nil="true" />
<MobileOrderLineModel>
<_ConcurTimeStamp>QEA=</_ConcurTimeStamp>
<_DeletedDate>2099-12-31T00:00:00</_DeletedDate>
<_Id>11</_Id>
<_OldId>12</_OldId>
<_RowVersionNumeric i:nil="true" />
<_ValidationErrors xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<_AppUserId>10</_AppUserId>
<_Comment>sample string 7</_Comment>
<_DespatchedQuantity>9</_DespatchedQuantity>
<_FacilityId>3</_FacilityId>
<_OrderId>1</_OrderId>
<_PalletTypeId>4</_PalletTypeId>
<_Price>6</_Price>
<_ProductId>2</_ProductId>
<_Quantity>5</_Quantity>
<_SyncGuid>97135e7d-9c6e-4a57-b573-aab34e172241</_SyncGuid>
</MobileOrderLineModel>
</_OrderLines>
<_OrderNumber>sample string 1</_OrderNumber>
<_PurchaseOrderNumber>sample string 6</_PurchaseOrderNumber>
<_RequiredDate>2025-12-06T14:30:34.0786882+10:30</_RequiredDate>
<_Status>sample string 5</_Status>
<_SyncGuid>439fee58-dd3a-458c-a444-c81f8b080e57</_SyncGuid>
</MobileOrderModel>
</_Data>
<_Response>
<_ErrorMessage>sample string 2</_ErrorMessage>
<_Result>true</_Result>
<_ShowDialog>true</_ShowDialog>
</_Response>
</MobileReturnResponseOfArrayOfMobileOrderModel2_PY0mizd>