POST orderitem/modifiers
Authorized only.
Request Information
URI Parameters
None.
Body Parameters
ApiPushRequestOfOrderItemMenuModifierApiModelName | Description | Type | Additional information |
---|---|---|---|
Inserted | Collection of OrderItemMenuModifierApiModel |
None. |
|
Updated | Collection of OrderItemMenuModifierApiModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "Inserted": [ { "CompanyId": 1, "OrderItemId": 2, "OrderItemMobileId": 1, "OrderId": 3, "OrderMobileId": 1, "ModifierId": 4, "ModifierName": "sample string 5", "ModifierCode": "sample string 6", "Quantity": 7.0, "PriceType": 8, "PriceAmount": 9.0, "Price": 10.0, "ModifierSetId": 11, "ModifierSetName": "sample string 12", "ModifierSetCode": "sample string 13", "ModifierOptionId": 1, "ModifierOptionName": "sample string 14", "ModifierOptionValue": "sample string 15", "PizzaSide": 1, "InternalMobileId": 16, "Id": 1, "MobileId": 1, "IsInserted": true, "IsUpdated": true, "IsDeleted": true }, { "CompanyId": 1, "OrderItemId": 2, "OrderItemMobileId": 1, "OrderId": 3, "OrderMobileId": 1, "ModifierId": 4, "ModifierName": "sample string 5", "ModifierCode": "sample string 6", "Quantity": 7.0, "PriceType": 8, "PriceAmount": 9.0, "Price": 10.0, "ModifierSetId": 11, "ModifierSetName": "sample string 12", "ModifierSetCode": "sample string 13", "ModifierOptionId": 1, "ModifierOptionName": "sample string 14", "ModifierOptionValue": "sample string 15", "PizzaSide": 1, "InternalMobileId": 16, "Id": 1, "MobileId": 1, "IsInserted": true, "IsUpdated": true, "IsDeleted": true } ], "Updated": [ { "CompanyId": 1, "OrderItemId": 2, "OrderItemMobileId": 1, "OrderId": 3, "OrderMobileId": 1, "ModifierId": 4, "ModifierName": "sample string 5", "ModifierCode": "sample string 6", "Quantity": 7.0, "PriceType": 8, "PriceAmount": 9.0, "Price": 10.0, "ModifierSetId": 11, "ModifierSetName": "sample string 12", "ModifierSetCode": "sample string 13", "ModifierOptionId": 1, "ModifierOptionName": "sample string 14", "ModifierOptionValue": "sample string 15", "PizzaSide": 1, "InternalMobileId": 16, "Id": 1, "MobileId": 1, "IsInserted": true, "IsUpdated": true, "IsDeleted": true }, { "CompanyId": 1, "OrderItemId": 2, "OrderItemMobileId": 1, "OrderId": 3, "OrderMobileId": 1, "ModifierId": 4, "ModifierName": "sample string 5", "ModifierCode": "sample string 6", "Quantity": 7.0, "PriceType": 8, "PriceAmount": 9.0, "Price": 10.0, "ModifierSetId": 11, "ModifierSetName": "sample string 12", "ModifierSetCode": "sample string 13", "ModifierOptionId": 1, "ModifierOptionName": "sample string 14", "ModifierOptionValue": "sample string 15", "PizzaSide": 1, "InternalMobileId": 16, "Id": 1, "MobileId": 1, "IsInserted": true, "IsUpdated": true, "IsDeleted": true } ] }
application/xml, text/xml
Sample:
<ApiPushRequestOfOrderItemMenuModifierApiModelSoOqNYiB xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Api"> <Inserted xmlns:d2p1="http://schemas.datacontract.org/2004/07/IConnect.Data.Mapping.Mobile.Catalog"> <d2p1:OrderItemMenuModifierApiModel> <Id xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</Id> <InternalMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">16</InternalMobileId> <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsDeleted> <IsInserted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsInserted> <IsUpdated xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsUpdated> <MobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</MobileId> <CompanyId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">1</CompanyId> <ModifierCode xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">sample string 6</ModifierCode> <ModifierId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">4</ModifierId> <ModifierName xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">sample string 5</ModifierName> <ModifierOptionId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">1</ModifierOptionId> <ModifierOptionName xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">sample string 14</ModifierOptionName> <ModifierOptionValue xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">sample string 15</ModifierOptionValue> <ModifierSetCode xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">sample string 13</ModifierSetCode> <ModifierSetId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">11</ModifierSetId> <ModifierSetName xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">sample string 12</ModifierSetName> <OrderId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">3</OrderId> <OrderItemId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">2</OrderItemId> <OrderItemMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">1</OrderItemMobileId> <OrderMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">1</OrderMobileId> <PizzaSide xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">TopLeft</PizzaSide> <Price xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">10</Price> <PriceAmount xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">9</PriceAmount> <PriceType xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">8</PriceType> <Quantity xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">7</Quantity> </d2p1:OrderItemMenuModifierApiModel> <d2p1:OrderItemMenuModifierApiModel> <Id xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</Id> <InternalMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">16</InternalMobileId> <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsDeleted> <IsInserted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsInserted> <IsUpdated xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsUpdated> <MobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</MobileId> <CompanyId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">1</CompanyId> <ModifierCode xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">sample string 6</ModifierCode> <ModifierId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">4</ModifierId> <ModifierName xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">sample string 5</ModifierName> <ModifierOptionId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">1</ModifierOptionId> <ModifierOptionName xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">sample string 14</ModifierOptionName> <ModifierOptionValue xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">sample string 15</ModifierOptionValue> <ModifierSetCode xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">sample string 13</ModifierSetCode> <ModifierSetId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">11</ModifierSetId> <ModifierSetName xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">sample string 12</ModifierSetName> <OrderId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">3</OrderId> <OrderItemId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">2</OrderItemId> <OrderItemMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">1</OrderItemMobileId> <OrderMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">1</OrderMobileId> <PizzaSide xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">TopLeft</PizzaSide> <Price xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">10</Price> <PriceAmount xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">9</PriceAmount> <PriceType xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">8</PriceType> <Quantity xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">7</Quantity> </d2p1:OrderItemMenuModifierApiModel> </Inserted> <Updated xmlns:d2p1="http://schemas.datacontract.org/2004/07/IConnect.Data.Mapping.Mobile.Catalog"> <d2p1:OrderItemMenuModifierApiModel> <Id xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</Id> <InternalMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">16</InternalMobileId> <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsDeleted> <IsInserted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsInserted> <IsUpdated xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsUpdated> <MobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</MobileId> <CompanyId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">1</CompanyId> <ModifierCode xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">sample string 6</ModifierCode> <ModifierId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">4</ModifierId> <ModifierName xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">sample string 5</ModifierName> <ModifierOptionId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">1</ModifierOptionId> <ModifierOptionName xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">sample string 14</ModifierOptionName> <ModifierOptionValue xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">sample string 15</ModifierOptionValue> <ModifierSetCode xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">sample string 13</ModifierSetCode> <ModifierSetId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">11</ModifierSetId> <ModifierSetName xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">sample string 12</ModifierSetName> <OrderId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">3</OrderId> <OrderItemId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">2</OrderItemId> <OrderItemMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">1</OrderItemMobileId> <OrderMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">1</OrderMobileId> <PizzaSide xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">TopLeft</PizzaSide> <Price xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">10</Price> <PriceAmount xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">9</PriceAmount> <PriceType xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">8</PriceType> <Quantity xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">7</Quantity> </d2p1:OrderItemMenuModifierApiModel> <d2p1:OrderItemMenuModifierApiModel> <Id xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</Id> <InternalMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">16</InternalMobileId> <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsDeleted> <IsInserted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsInserted> <IsUpdated xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsUpdated> <MobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</MobileId> <CompanyId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">1</CompanyId> <ModifierCode xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">sample string 6</ModifierCode> <ModifierId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">4</ModifierId> <ModifierName xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">sample string 5</ModifierName> <ModifierOptionId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">1</ModifierOptionId> <ModifierOptionName xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">sample string 14</ModifierOptionName> <ModifierOptionValue xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">sample string 15</ModifierOptionValue> <ModifierSetCode xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">sample string 13</ModifierSetCode> <ModifierSetId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">11</ModifierSetId> <ModifierSetName xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">sample string 12</ModifierSetName> <OrderId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">3</OrderId> <OrderItemId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">2</OrderItemId> <OrderItemMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">1</OrderItemMobileId> <OrderMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">1</OrderMobileId> <PizzaSide xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">TopLeft</PizzaSide> <Price xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">10</Price> <PriceAmount xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">9</PriceAmount> <PriceType xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">8</PriceType> <Quantity xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Order">7</Quantity> </d2p1:OrderItemMenuModifierApiModel> </Updated> </ApiPushRequestOfOrderItemMenuModifierApiModelSoOqNYiB>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |