GET api/products/main
Gives you a list of our available main products
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
List of products
Collection of MainProductDTOName | Description | Type | Additional information |
---|---|---|---|
BillingPeriod |
The period between billing dates, in months |
integer |
None. |
StartCostSEK |
The initial start-up cost, in SEK |
decimal number |
None. |
StartCostEUR |
The initial start-up cost, in EUR |
decimal number |
None. |
CostLevels |
Possible cost levels for leveling periodic vs unit costs |
Collection of MainProductCostLevel |
None. |
ID |
Product ID |
integer |
None. |
Name |
Product 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" } ]