POST api/WebshopCarts/PostRequestPricesFromGuest?companyId={companyId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyId

integer

Required

Body Parameters

RequestPriceVm
NameDescriptionTypeAdditional information
RequestPriceName

string

Required

RequestPriceEmail

string

Required

RequestPricePhone

string

Required

RequestPriceAdress

string

None.

RequestPriceText

string

None.

CartList

string

None.

CartVmList

Collection of CartVm

None.

Request Formats

application/json, text/json

Sample:
{
  "requestPriceName": "sample string 1",
  "requestPriceEmail": "sample string 2",
  "requestPricePhone": "sample string 3",
  "requestPriceAdress": "sample string 4",
  "requestPriceText": "sample string 5",
  "cartList": "sample string 6",
  "cartVmList": [
    {
      "productId": 1,
      "productCode": "sample string 2",
      "productImage": "sample string 3",
      "productDescriptionShort": "sample string 4",
      "priceExcl": 5.0,
      "totalPriceIncl": 6.0,
      "tvaAmount": 7.0,
      "productDiscountPriceExcl": 8.0,
      "amount": 9.0,
      "totalPriceExcl": 10.0,
      "price": 11.0,
      "totalPriceEx": 12.0
    },
    {
      "productId": 1,
      "productCode": "sample string 2",
      "productImage": "sample string 3",
      "productDescriptionShort": "sample string 4",
      "priceExcl": 5.0,
      "totalPriceIncl": 6.0,
      "tvaAmount": 7.0,
      "productDiscountPriceExcl": 8.0,
      "amount": 9.0,
      "totalPriceExcl": 10.0,
      "price": 11.0,
      "totalPriceEx": 12.0
    }
  ]
}

application/xml, text/xml

Sample:
<RequestPriceVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gruo.Core.Models.WebshopViewModels">
  <CartList>sample string 6</CartList>
  <CartVmList>
    <CartVm>
      <Amount>9</Amount>
      <Price>11</Price>
      <PriceExcl>5</PriceExcl>
      <ProductCode>sample string 2</ProductCode>
      <ProductDescriptionShort>sample string 4</ProductDescriptionShort>
      <ProductDiscountPriceExcl>8</ProductDiscountPriceExcl>
      <ProductId>1</ProductId>
      <ProductImage>sample string 3</ProductImage>
      <TotalPriceEx>12</TotalPriceEx>
      <TotalPriceExcl>10</TotalPriceExcl>
      <TotalPriceIncl>6</TotalPriceIncl>
      <TvaAmount>7</TvaAmount>
    </CartVm>
    <CartVm>
      <Amount>9</Amount>
      <Price>11</Price>
      <PriceExcl>5</PriceExcl>
      <ProductCode>sample string 2</ProductCode>
      <ProductDescriptionShort>sample string 4</ProductDescriptionShort>
      <ProductDiscountPriceExcl>8</ProductDiscountPriceExcl>
      <ProductId>1</ProductId>
      <ProductImage>sample string 3</ProductImage>
      <TotalPriceEx>12</TotalPriceEx>
      <TotalPriceExcl>10</TotalPriceExcl>
      <TotalPriceIncl>6</TotalPriceIncl>
      <TvaAmount>7</TvaAmount>
    </CartVm>
  </CartVmList>
  <RequestPriceAdress>sample string 4</RequestPriceAdress>
  <RequestPriceEmail>sample string 2</RequestPriceEmail>
  <RequestPriceName>sample string 1</RequestPriceName>
  <RequestPricePhone>sample string 3</RequestPricePhone>
  <RequestPriceText>sample string 5</RequestPriceText>
</RequestPriceVm>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

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