Skip to content

Commit 5cd4669

Browse files
OAS Update
1 parent d7ba944 commit 5cd4669

2 files changed

Lines changed: 532 additions & 124 deletions

File tree

‎services/pim/v2/pim.json‎

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -999,7 +999,12 @@
999999
"title",
10001000
"priceListVisibility",
10011001
"unit",
1002+
"quantityInputUnit",
10021003
"unitBilling",
1004+
"meteringType",
1005+
"focusConsumedUnit",
1006+
"hourlyAggregation",
1007+
"denominator",
10031008
"region",
10041009
"prices",
10051010
"finOpsFocus"
@@ -1069,6 +1074,12 @@
10691074
"nullable": true,
10701075
"type": "boolean"
10711076
},
1077+
"denominator": {
1078+
"description": "Conversion of the quantity value from the quantity input unit to the invoice unit.",
1079+
"example": 1024,
1080+
"format": "float",
1081+
"type": "number"
1082+
},
10721083
"deprecated": {
10731084
"description": "Attribute that indicates if product is deprecated or not.",
10741085
"example": "yes",
@@ -1084,12 +1095,28 @@
10841095
"finOpsFocus": {
10851096
"$ref": "#/components/schemas/FinOpsFocus"
10861097
},
1098+
"focusConsumedUnit": {
1099+
"description": "The unit displayed in the Focus Report.",
1100+
"example": "Hours",
1101+
"type": "string"
1102+
},
1103+
"focusDocumentation": {
1104+
"description": "The documentation in the Focus Report.",
1105+
"example": "focus documentation example",
1106+
"nullable": true,
1107+
"type": "string"
1108+
},
10871109
"generalProductGroup": {
10881110
"description": "Category designation one level below the generic designation that describes the overall product group to which all the SKUs are allocated to.",
10891111
"example": "Managed Windows Server",
10901112
"nullable": true,
10911113
"type": "string"
10921114
},
1115+
"hourlyAggregation": {
1116+
"description": "Aggregation logic to be applied to the sent events within the metering bucket (currently 1 day)",
1117+
"example": "SUM",
1118+
"type": "string"
1119+
},
10931120
"id": {
10941121
"description": "SKU ID \\ Complete SAP article number with prefix. Will be shown on the invoice like this",
10951122
"example": "ST-01234567",
@@ -1112,6 +1139,11 @@
11121139
"nullable": true,
11131140
"type": "string"
11141141
},
1142+
"meteringType": {
1143+
"description": "Defines which type of calculation is applied. Either discrete (point-in-time) or continuously (continuous).",
1144+
"example": "discrete",
1145+
"type": "string"
1146+
},
11151147
"metric": {
11161148
"description": "Metric of service",
11171149
"example": "CPU",
@@ -1149,6 +1181,11 @@
11491181
"nullable": true,
11501182
"type": "string"
11511183
},
1184+
"quantityInputUnit": {
1185+
"description": "The unit sent in the quantity field of the Consumption API and Metering API.",
1186+
"example": "Bytes",
1187+
"type": "string"
1188+
},
11521189
"rateType": {
11531190
"description": "Rate type of service",
11541191
"example": "flat",
@@ -1485,6 +1522,12 @@
14851522
"nullable": true,
14861523
"type": "integer"
14871524
},
1525+
"denominator": {
1526+
"description": "Conversion of the quantity value from the quantity input unit to the invoice unit.",
1527+
"example": 1024,
1528+
"format": "float",
1529+
"type": "number"
1530+
},
14881531
"deprecated": {
14891532
"description": "Attribute that indicates if product is deprecated or not.",
14901533
"example": "yes",
@@ -1558,6 +1601,17 @@
15581601
"example": "c1.1",
15591602
"type": "string"
15601603
},
1604+
"focusConsumedUnit": {
1605+
"description": "The unit displayed in the Focus Report.",
1606+
"example": "Hours",
1607+
"type": "string"
1608+
},
1609+
"focusDocumentation": {
1610+
"description": "The documentation in the Focus Report.",
1611+
"example": "focus documentation example",
1612+
"nullable": true,
1613+
"type": "string"
1614+
},
15611615
"generalProductGroup": {
15621616
"description": "Category designation one level below the generic designation that describes the overall product group to which all the SKUs are allocated to.",
15631617
"example": "Managed Windows Server",
@@ -1568,6 +1622,11 @@
15681622
"example": "Intel",
15691623
"type": "string"
15701624
},
1625+
"hourlyAggregation": {
1626+
"description": "Aggregation logic to be applied to the sent events within the metering bucket (currently 1 day)",
1627+
"example": "SUM",
1628+
"type": "string"
1629+
},
15711630
"initialRuntimeInMonths": {
15721631
"description": "Initial runtime in months",
15731632
"example": 12,
@@ -1605,6 +1664,11 @@
16051664
"format": "int64",
16061665
"type": "integer"
16071666
},
1667+
"meteringType": {
1668+
"description": "Defines which type of calculation is applied. Either discrete (point-in-time) or continuously (continuous).",
1669+
"example": "discrete",
1670+
"type": "string"
1671+
},
16081672
"metricPerMin": {
16091673
"description": "metricPerMin",
16101674
"example": 30000,
@@ -1655,6 +1719,11 @@
16551719
"nullable": true,
16561720
"type": "integer"
16571721
},
1722+
"quantityInputUnit": {
1723+
"description": "Quantity input unit",
1724+
"example": "Hours",
1725+
"type": "string"
1726+
},
16581727
"ram": {
16591728
"description": "RAM (in GB)",
16601729
"example": 2,

0 commit comments

Comments
 (0)