POST api/WebOrder/JustForReference
Request Information
URI Parameters
None.
Body Parameters
ItemsName | Description | Type | Additional information |
---|---|---|---|
item | Collection of ItemsItem |
None. |
Request Formats
application/json, text/json
Sample:
{ "item": [ { "entity_id": 1, "magento_orderno": "sample string 2", "created_at": "2024-09-29T05:36:14.8658725+02:00", "customer_id": "sample string 4", "customer_firstname": "sample string 5", "customer_lastname": "sample string 6", "pickup_location_id": "sample string 7", "pickup_location_type": {}, "delivery_method": "sample string 9", "currency": "sample string 10", "item": [ { "item_id": 1, "sku": "sample string 2", "qty_ordered": 3.0, "row_total": 4.0, "discount_amount": 5.0 }, { "item_id": 1, "sku": "sample string 2", "qty_ordered": 3.0, "row_total": 4.0, "discount_amount": 5.0 } ], "address": [ { "entity_id": 1, "street": "sample string 2", "postcode": "sample string 3", "city": "sample string 4", "telephone": "sample string 5", "email": "sample string 6" }, { "entity_id": 1, "street": "sample string 2", "postcode": "sample string 3", "city": "sample string 4", "telephone": "sample string 5", "email": "sample string 6" } ], "payment": [ { "entity_id": 1 }, { "entity_id": 1 } ], "transaction": [ { "transaction_id": 1 }, { "transaction_id": 1 } ] }, { "entity_id": 1, "magento_orderno": "sample string 2", "created_at": "2024-09-29T05:36:14.8658725+02:00", "customer_id": "sample string 4", "customer_firstname": "sample string 5", "customer_lastname": "sample string 6", "pickup_location_id": "sample string 7", "pickup_location_type": {}, "delivery_method": "sample string 9", "currency": "sample string 10", "item": [ { "item_id": 1, "sku": "sample string 2", "qty_ordered": 3.0, "row_total": 4.0, "discount_amount": 5.0 }, { "item_id": 1, "sku": "sample string 2", "qty_ordered": 3.0, "row_total": 4.0, "discount_amount": 5.0 } ], "address": [ { "entity_id": 1, "street": "sample string 2", "postcode": "sample string 3", "city": "sample string 4", "telephone": "sample string 5", "email": "sample string 6" }, { "entity_id": 1, "street": "sample string 2", "postcode": "sample string 3", "city": "sample string 4", "telephone": "sample string 5", "email": "sample string 6" } ], "payment": [ { "entity_id": 1 }, { "entity_id": 1 } ], "transaction": [ { "transaction_id": 1 }, { "transaction_id": 1 } ] } ] }
application/xml, text/xml
Sample:
<Items xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MagentoVisma.Models.WebOrder"> <item> <ItemsItem> <address> <ItemsItemItem1> <city>sample string 4</city> <email>sample string 6</email> <entity_id>1</entity_id> <postcode>sample string 3</postcode> <street>sample string 2</street> <telephone>sample string 5</telephone> </ItemsItemItem1> <ItemsItemItem1> <city>sample string 4</city> <email>sample string 6</email> <entity_id>1</entity_id> <postcode>sample string 3</postcode> <street>sample string 2</street> <telephone>sample string 5</telephone> </ItemsItemItem1> </address> <created_at>2024-09-29T05:36:14.8658725+02:00</created_at> <currency>sample string 10</currency> <customer_firstname>sample string 5</customer_firstname> <customer_id>sample string 4</customer_id> <customer_lastname>sample string 6</customer_lastname> <delivery_method>sample string 9</delivery_method> <entity_id>1</entity_id> <item> <ItemsItemItem> <discount_amount>5</discount_amount> <item_id>1</item_id> <qty_ordered>3</qty_ordered> <row_total>4</row_total> <sku>sample string 2</sku> </ItemsItemItem> <ItemsItemItem> <discount_amount>5</discount_amount> <item_id>1</item_id> <qty_ordered>3</qty_ordered> <row_total>4</row_total> <sku>sample string 2</sku> </ItemsItemItem> </item> <magento_orderno>sample string 2</magento_orderno> <payment> <ItemsItemItem2> <entity_id>1</entity_id> </ItemsItemItem2> <ItemsItemItem2> <entity_id>1</entity_id> </ItemsItemItem2> </payment> <pickup_location_id>sample string 7</pickup_location_id> <pickup_location_type /> <transaction> <ItemsItemItem3> <transaction_id>1</transaction_id> </ItemsItemItem3> <ItemsItemItem3> <transaction_id>1</transaction_id> </ItemsItemItem3> </transaction> </ItemsItem> <ItemsItem> <address> <ItemsItemItem1> <city>sample string 4</city> <email>sample string 6</email> <entity_id>1</entity_id> <postcode>sample string 3</postcode> <street>sample string 2</street> <telephone>sample string 5</telephone> </ItemsItemItem1> <ItemsItemItem1> <city>sample string 4</city> <email>sample string 6</email> <entity_id>1</entity_id> <postcode>sample string 3</postcode> <street>sample string 2</street> <telephone>sample string 5</telephone> </ItemsItemItem1> </address> <created_at>2024-09-29T05:36:14.8658725+02:00</created_at> <currency>sample string 10</currency> <customer_firstname>sample string 5</customer_firstname> <customer_id>sample string 4</customer_id> <customer_lastname>sample string 6</customer_lastname> <delivery_method>sample string 9</delivery_method> <entity_id>1</entity_id> <item> <ItemsItemItem> <discount_amount>5</discount_amount> <item_id>1</item_id> <qty_ordered>3</qty_ordered> <row_total>4</row_total> <sku>sample string 2</sku> </ItemsItemItem> <ItemsItemItem> <discount_amount>5</discount_amount> <item_id>1</item_id> <qty_ordered>3</qty_ordered> <row_total>4</row_total> <sku>sample string 2</sku> </ItemsItemItem> </item> <magento_orderno>sample string 2</magento_orderno> <payment> <ItemsItemItem2> <entity_id>1</entity_id> </ItemsItemItem2> <ItemsItemItem2> <entity_id>1</entity_id> </ItemsItemItem2> </payment> <pickup_location_id>sample string 7</pickup_location_id> <pickup_location_type /> <transaction> <ItemsItemItem3> <transaction_id>1</transaction_id> </ItemsItemItem3> <ItemsItemItem3> <transaction_id>1</transaction_id> </ItemsItemItem3> </transaction> </ItemsItem> </item> </Items>
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. |