POST DistOneAPi/PostSouthernOrderData

Request Information

URI Parameters

None.

Body Parameters

SouthernOrderViewModel
NameDescriptionTypeAdditional information
BuyerCookie

string

None.

Total

string

None.

FromId

string

None.

ToId

string

None.

SenderId

string

None.

UserAgent

string

None.

OrderLines

Collection of SouthernOrderLine

None.

Request Formats

application/json, text/json

Sample:
{
  "BuyerCookie": "sample string 1",
  "Total": "sample string 2",
  "FromId": "sample string 3",
  "ToId": "sample string 4",
  "SenderId": "sample string 5",
  "UserAgent": "sample string 6",
  "OrderLines": [
    {
      "quantity": "sample string 1",
      "item": "sample string 2",
      "price_per": "sample string 3",
      "descr": "sample string 4",
      "um_o": "sample string 5"
    },
    {
      "quantity": "sample string 1",
      "item": "sample string 2",
      "price_per": "sample string 3",
      "descr": "sample string 4",
      "um_o": "sample string 5"
    }
  ]
}

text/xml

Sample:
<SouthernOrderViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DistOneWebAPI.ViewModels">
  <BuyerCookie>sample string 1</BuyerCookie>
  <FromId>sample string 3</FromId>
  <OrderLines>
    <SouthernOrderLine>
      <descr>sample string 4</descr>
      <item>sample string 2</item>
      <price_per>sample string 3</price_per>
      <quantity>sample string 1</quantity>
      <um_o>sample string 5</um_o>
    </SouthernOrderLine>
    <SouthernOrderLine>
      <descr>sample string 4</descr>
      <item>sample string 2</item>
      <price_per>sample string 3</price_per>
      <quantity>sample string 1</quantity>
      <um_o>sample string 5</um_o>
    </SouthernOrderLine>
  </OrderLines>
  <SenderId>sample string 5</SenderId>
  <ToId>sample string 4</ToId>
  <Total>sample string 2</Total>
  <UserAgent>sample string 6</UserAgent>
</SouthernOrderViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />