POST api/MobileOrdering/UpdateOrders

Request Information

URI Parameters

None.

Body Parameters

Collection of MobileOrderModel
NameDescriptionTypeAdditional 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:35:10.0868026+10:30",
    "_RequiredDate": "2025-12-06T14:35:10.0868026+10:30",
    "_Status": "sample string 5",
    "_PurchaseOrderNumber": "sample string 6",
    "_Comment": "sample string 7",
    "_SyncGuid": "37e7654a-f609-40fa-abe1-5bb59f95a998",
    "_OrderLines": [
      null,
      {
        "_OrderId": 1,
        "_ProductId": 2,
        "_FacilityId": 3,
        "_PalletTypeId": 4,
        "_Quantity": 5.0,
        "_Price": 6.0,
        "_Comment": "sample string 7",
        "_SyncGuid": "df6088cb-2049-4edb-9749-eacaacc3a58a",
        "_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:35:10.0868026+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>df6088cb-2049-4edb-9749-eacaacc3a58a</_SyncGuid>
      </MobileOrderLineModel>
    </_OrderLines>
    <_OrderNumber>sample string 1</_OrderNumber>
    <_PurchaseOrderNumber>sample string 6</_PurchaseOrderNumber>
    <_RequiredDate>2025-12-06T14:35:10.0868026+10:30</_RequiredDate>
    <_Status>sample string 5</_Status>
    <_SyncGuid>37e7654a-f609-40fa-abe1-5bb59f95a998</_SyncGuid>
  </MobileOrderModel>
</ArrayOfMobileOrderModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

MobileReturnResponseOfListOfMobileOrderModel
NameDescriptionTypeAdditional 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:35:10.0868026+10:30",
      "_RequiredDate": "2025-12-06T14:35:10.0868026+10:30",
      "_Status": "sample string 5",
      "_PurchaseOrderNumber": "sample string 6",
      "_Comment": "sample string 7",
      "_SyncGuid": "f5d2aba2-0a64-40f7-a0e1-4e616efc344b",
      "_OrderLines": [
        null,
        {
          "_OrderId": 1,
          "_ProductId": 2,
          "_FacilityId": 3,
          "_PalletTypeId": 4,
          "_Quantity": 5.0,
          "_Price": 6.0,
          "_Comment": "sample string 7",
          "_SyncGuid": "ddc5a947-5b0a-46ea-afeb-ab7c4cee883d",
          "_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:35:10.0868026+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>ddc5a947-5b0a-46ea-afeb-ab7c4cee883d</_SyncGuid>
        </MobileOrderLineModel>
      </_OrderLines>
      <_OrderNumber>sample string 1</_OrderNumber>
      <_PurchaseOrderNumber>sample string 6</_PurchaseOrderNumber>
      <_RequiredDate>2025-12-06T14:35:10.0868026+10:30</_RequiredDate>
      <_Status>sample string 5</_Status>
      <_SyncGuid>f5d2aba2-0a64-40f7-a0e1-4e616efc344b</_SyncGuid>
    </MobileOrderModel>
  </_Data>
  <_Response>
    <_ErrorMessage>sample string 2</_ErrorMessage>
    <_Result>true</_Result>
    <_ShowDialog>true</_ShowDialog>
  </_Response>
</MobileReturnResponseOfArrayOfMobileOrderModel2_PY0mizd>