POST api/MarketPlaceCarts

Request Information

URI Parameters

None.

Body Parameters

Cart
NameDescriptionTypeAdditional information
ConfirmationNumber

string

None.

TerminalID

integer

None.

PlaceID

integer

None.

PointOfSaleID

integer

None.

Total

decimal number

None.

CurrencyID

integer

None.

Language

string

None.

Items

Collection of CartItem

None.

IPAddress

string

None.

Browser

string

None.

OS

string

None.

CheckOut

CheckOut

None.

Request Formats

application/json, text/json

Sample:
{
  "ConfirmationNumber": "sample string 1",
  "TerminalID": 2,
  "PlaceID": 3,
  "PointOfSaleID": 4,
  "Total": 5.0,
  "CurrencyID": 6,
  "Language": "sample string 7",
  "Items": [
    {
      "CartItemID": 1,
      "ItemID": 1,
      "Item": "sample string 2",
      "ItemTypeID": 1,
      "Picture": [
        {
          "PictureID": 1,
          "Picture": "sample string 2",
          "Description": "sample string 3"
        },
        {
          "PictureID": 1,
          "Picture": "sample string 2",
          "Description": "sample string 3"
        }
      ],
      "Length": "sample string 3",
      "ReservedFor": "sample string 4",
      "Provider": "sample string 5",
      "ItemDate": "sample string 6",
      "WeeklyAvailabilityID": 1,
      "Schedule": "sample string 7",
      "Total": 8.0,
      "Notes": "sample string 9",
      "Deleted": true,
      "DateSaved": "2024-05-19T15:17:04.5597039-06:00",
      "Details": [
        {
          "PriceID": 1,
          "PriceTypeID": 2,
          "ExchangeRateID": 1,
          "Quantity": 3.0,
          "Price": 4.0,
          "Unit": "sample string 5",
          "Deleted": true
        },
        {
          "PriceID": 1,
          "PriceTypeID": 2,
          "ExchangeRateID": 1,
          "Quantity": 3.0,
          "Price": 4.0,
          "Unit": "sample string 5",
          "Deleted": true
        }
      ],
      "ApplyForMultipleDates": true
    },
    {
      "CartItemID": 1,
      "ItemID": 1,
      "Item": "sample string 2",
      "ItemTypeID": 1,
      "Picture": [
        {
          "PictureID": 1,
          "Picture": "sample string 2",
          "Description": "sample string 3"
        },
        {
          "PictureID": 1,
          "Picture": "sample string 2",
          "Description": "sample string 3"
        }
      ],
      "Length": "sample string 3",
      "ReservedFor": "sample string 4",
      "Provider": "sample string 5",
      "ItemDate": "sample string 6",
      "WeeklyAvailabilityID": 1,
      "Schedule": "sample string 7",
      "Total": 8.0,
      "Notes": "sample string 9",
      "Deleted": true,
      "DateSaved": "2024-05-19T15:17:04.5597039-06:00",
      "Details": [
        {
          "PriceID": 1,
          "PriceTypeID": 2,
          "ExchangeRateID": 1,
          "Quantity": 3.0,
          "Price": 4.0,
          "Unit": "sample string 5",
          "Deleted": true
        },
        {
          "PriceID": 1,
          "PriceTypeID": 2,
          "ExchangeRateID": 1,
          "Quantity": 3.0,
          "Price": 4.0,
          "Unit": "sample string 5",
          "Deleted": true
        }
      ],
      "ApplyForMultipleDates": true
    }
  ],
  "IPAddress": "sample string 8",
  "Browser": "sample string 9",
  "OS": "sample string 10",
  "CheckOut": {
    "FirstName": "sample string 1",
    "LastName": "sample string 2",
    "BillingAddress": "sample string 3",
    "City": "sample string 4",
    "State": "sample string 5",
    "ZipCode": "sample string 6",
    "CountryID": 1,
    "HolderName": "sample string 7",
    "CardNumber": "sample string 8",
    "ExpMonth": "sample string 9",
    "ExpYear": "sample string 10",
    "SecurityNumber": "sample string 11",
    "SpecialRequest": "sample string 12",
    "Email": "sample string 13",
    "merchantID": "sample string 14"
  }
}

application/xml, text/xml

Sample:
<MarketPlaceViewModel.Cart xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ePlat.Models.ViewModels">
  <Browser>sample string 9</Browser>
  <CheckOut>
    <BillingAddress>sample string 3</BillingAddress>
    <CardNumber>sample string 8</CardNumber>
    <City>sample string 4</City>
    <CountryID>1</CountryID>
    <Email>sample string 13</Email>
    <ExpMonth>sample string 9</ExpMonth>
    <ExpYear>sample string 10</ExpYear>
    <FirstName>sample string 1</FirstName>
    <HolderName>sample string 7</HolderName>
    <LastName>sample string 2</LastName>
    <SecurityNumber>sample string 11</SecurityNumber>
    <SpecialRequest>sample string 12</SpecialRequest>
    <State>sample string 5</State>
    <ZipCode>sample string 6</ZipCode>
    <merchantID>sample string 14</merchantID>
  </CheckOut>
  <ConfirmationNumber>sample string 1</ConfirmationNumber>
  <CurrencyID>6</CurrencyID>
  <IPAddress>sample string 8</IPAddress>
  <Items>
    <MarketPlaceViewModel.CartItem>
      <ApplyForMultipleDates>true</ApplyForMultipleDates>
      <CartItemID>1</CartItemID>
      <DateSaved>2024-05-19T15:17:04.5597039-06:00</DateSaved>
      <Deleted>true</Deleted>
      <Details>
        <MarketPlaceViewModel.CartItemDetail>
          <Deleted>true</Deleted>
          <ExchangeRateID>1</ExchangeRateID>
          <Price>4</Price>
          <PriceID>1</PriceID>
          <PriceTypeID>2</PriceTypeID>
          <Quantity>3</Quantity>
          <Unit>sample string 5</Unit>
        </MarketPlaceViewModel.CartItemDetail>
        <MarketPlaceViewModel.CartItemDetail>
          <Deleted>true</Deleted>
          <ExchangeRateID>1</ExchangeRateID>
          <Price>4</Price>
          <PriceID>1</PriceID>
          <PriceTypeID>2</PriceTypeID>
          <Quantity>3</Quantity>
          <Unit>sample string 5</Unit>
        </MarketPlaceViewModel.CartItemDetail>
      </Details>
      <Item>sample string 2</Item>
      <ItemDate>sample string 6</ItemDate>
      <ItemID>1</ItemID>
      <ItemTypeID>1</ItemTypeID>
      <Length>sample string 3</Length>
      <Notes>sample string 9</Notes>
      <Picture>
        <PictureListItem>
          <Description>sample string 3</Description>
          <Picture>sample string 2</Picture>
          <PictureID>1</PictureID>
        </PictureListItem>
        <PictureListItem>
          <Description>sample string 3</Description>
          <Picture>sample string 2</Picture>
          <PictureID>1</PictureID>
        </PictureListItem>
      </Picture>
      <Provider>sample string 5</Provider>
      <ReservedFor>sample string 4</ReservedFor>
      <Schedule>sample string 7</Schedule>
      <Total>8</Total>
      <WeeklyAvailabilityID>1</WeeklyAvailabilityID>
    </MarketPlaceViewModel.CartItem>
    <MarketPlaceViewModel.CartItem>
      <ApplyForMultipleDates>true</ApplyForMultipleDates>
      <CartItemID>1</CartItemID>
      <DateSaved>2024-05-19T15:17:04.5597039-06:00</DateSaved>
      <Deleted>true</Deleted>
      <Details>
        <MarketPlaceViewModel.CartItemDetail>
          <Deleted>true</Deleted>
          <ExchangeRateID>1</ExchangeRateID>
          <Price>4</Price>
          <PriceID>1</PriceID>
          <PriceTypeID>2</PriceTypeID>
          <Quantity>3</Quantity>
          <Unit>sample string 5</Unit>
        </MarketPlaceViewModel.CartItemDetail>
        <MarketPlaceViewModel.CartItemDetail>
          <Deleted>true</Deleted>
          <ExchangeRateID>1</ExchangeRateID>
          <Price>4</Price>
          <PriceID>1</PriceID>
          <PriceTypeID>2</PriceTypeID>
          <Quantity>3</Quantity>
          <Unit>sample string 5</Unit>
        </MarketPlaceViewModel.CartItemDetail>
      </Details>
      <Item>sample string 2</Item>
      <ItemDate>sample string 6</ItemDate>
      <ItemID>1</ItemID>
      <ItemTypeID>1</ItemTypeID>
      <Length>sample string 3</Length>
      <Notes>sample string 9</Notes>
      <Picture>
        <PictureListItem>
          <Description>sample string 3</Description>
          <Picture>sample string 2</Picture>
          <PictureID>1</PictureID>
        </PictureListItem>
        <PictureListItem>
          <Description>sample string 3</Description>
          <Picture>sample string 2</Picture>
          <PictureID>1</PictureID>
        </PictureListItem>
      </Picture>
      <Provider>sample string 5</Provider>
      <ReservedFor>sample string 4</ReservedFor>
      <Schedule>sample string 7</Schedule>
      <Total>8</Total>
      <WeeklyAvailabilityID>1</WeeklyAvailabilityID>
    </MarketPlaceViewModel.CartItem>
  </Items>
  <Language>sample string 7</Language>
  <OS>sample string 10</OS>
  <PlaceID>3</PlaceID>
  <PointOfSaleID>4</PointOfSaleID>
  <TerminalID>2</TerminalID>
  <Total>5</Total>
</MarketPlaceViewModel.Cart>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AttemptResponse
NameDescriptionTypeAdditional information
Type

Attempt_ResponseTypes

None.

Exception

Exception

None.

ObjectID

Object

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Type": 0,
  "Exception": {
    "ClassName": "System.Exception",
    "Message": null,
    "Data": null,
    "InnerException": null,
    "HelpURL": "sample string 1",
    "StackTraceString": null,
    "RemoteStackTraceString": null,
    "RemoteStackIndex": 0,
    "ExceptionMethod": null,
    "HResult": 3,
    "Source": "sample string 2",
    "WatsonBuckets": null
  },
  "ObjectID": {},
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<AttemptResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ePlat.Models.Utils">
  <Exception xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <ClassName xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">System.Exception</ClassName>
    <Message i:nil="true" xmlns="" />
    <Data i:nil="true" xmlns="" />
    <InnerException i:nil="true" xmlns="" />
    <HelpURL xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 1</HelpURL>
    <StackTraceString i:nil="true" xmlns="" />
    <RemoteStackTraceString i:nil="true" xmlns="" />
    <RemoteStackIndex xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">0</RemoteStackIndex>
    <ExceptionMethod i:nil="true" xmlns="" />
    <HResult xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">3</HResult>
    <Source xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</Source>
    <WatsonBuckets i:nil="true" xmlns="" />
  </Exception>
  <Message>sample string 2</Message>
  <ObjectID />
  <Type>Warning</Type>
</AttemptResponse>