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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyId

integer

Required

Body Parameters

Collection of CartVm
NameDescriptionTypeAdditional information
ProductId

integer

None.

ProductCode

string

None.

ProductImage

string

None.

ProductDescriptionShort

string

None.

PriceExcl

decimal number

None.

TotalPriceIncl

decimal number

None.

TvaAmount

decimal number

None.

ProductDiscountPriceExcl

decimal number

None.

Amount

decimal number

None.

TotalPriceExcl

decimal number

None.

Price

decimal number

None.

TotalPriceEx

decimal number

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "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:
<ArrayOfCartVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gruo.Core.Models.WebshopViewModels">
  <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>
</ArrayOfCartVm>

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>