GET api/products/main

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of MainProductDTO
NameDescriptionTypeAdditional information
BillingPeriod

integer

None.

StartCostSEK

decimal number

None.

StartCostEUR

decimal number

None.

CostLevels

Collection of MainProductCostLevel

None.

ID

integer

None.

Name

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "BillingPeriod": 1,
    "StartCostSEK": 1.0,
    "StartCostEUR": 1.0,
    "CostLevels": [
      {
        "Name": "sample string 1",
        "Level": 2,
        "PeriodicCostSEK": 3.0,
        "PeriodicCostEUR": 4.0,
        "UnitCostSEK": 5.0,
        "UnitCostEUR": 6.0
      },
      {
        "Name": "sample string 1",
        "Level": 2,
        "PeriodicCostSEK": 3.0,
        "PeriodicCostEUR": 4.0,
        "UnitCostSEK": 5.0,
        "UnitCostEUR": 6.0
      }
    ],
    "ID": 2,
    "Name": "sample string 3"
  },
  {
    "BillingPeriod": 1,
    "StartCostSEK": 1.0,
    "StartCostEUR": 1.0,
    "CostLevels": [
      {
        "Name": "sample string 1",
        "Level": 2,
        "PeriodicCostSEK": 3.0,
        "PeriodicCostEUR": 4.0,
        "UnitCostSEK": 5.0,
        "UnitCostEUR": 6.0
      },
      {
        "Name": "sample string 1",
        "Level": 2,
        "PeriodicCostSEK": 3.0,
        "PeriodicCostEUR": 4.0,
        "UnitCostSEK": 5.0,
        "UnitCostEUR": 6.0
      }
    ],
    "ID": 2,
    "Name": "sample string 3"
  }
]