POST DistOneAPi/addtocartforsouthern

Request Information

URI Parameters

None.

Body Parameters

Collection of southernpunchoutcartmodel
NameDescriptionTypeAdditional information
QuoteNumber

string

None.

itemname

string

None.

qty

integer

None.

um

string

None.

price

decimal number

None.

userid

string

None.

sessionid

string

None.

priceper

decimal number

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "QuoteNumber": "sample string 1",
    "itemname": "sample string 2",
    "qty": 3,
    "um": "sample string 4",
    "price": 5.0,
    "userid": "sample string 6",
    "sessionid": "sample string 7",
    "priceper": 8.0
  },
  {
    "QuoteNumber": "sample string 1",
    "itemname": "sample string 2",
    "qty": 3,
    "um": "sample string 4",
    "price": 5.0,
    "userid": "sample string 6",
    "sessionid": "sample string 7",
    "priceper": 8.0
  }
]

text/xml

Sample:
<ArrayOfsouthernpunchoutcartmodel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DistOneWebAPI.ViewModels">
  <southernpunchoutcartmodel>
    <QuoteNumber>sample string 1</QuoteNumber>
    <itemname>sample string 2</itemname>
    <price>5</price>
    <priceper>8</priceper>
    <qty>3</qty>
    <sessionid>sample string 7</sessionid>
    <um>sample string 4</um>
    <userid>sample string 6</userid>
  </southernpunchoutcartmodel>
  <southernpunchoutcartmodel>
    <QuoteNumber>sample string 1</QuoteNumber>
    <itemname>sample string 2</itemname>
    <price>5</price>
    <priceper>8</priceper>
    <qty>3</qty>
    <sessionid>sample string 7</sessionid>
    <um>sample string 4</um>
    <userid>sample string 6</userid>
  </southernpunchoutcartmodel>
</ArrayOfsouthernpunchoutcartmodel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>