@@ -1099,16 +1099,16 @@ <h3 id="mesh_objects"><a class="link" href="#mesh_objects">meshObjects</a></h3>
1099
1099
Expires: 0
1100
1100
Strict-Transport-Security: max-age=31536000 ; includeSubDomains
1101
1101
X-Frame-Options: DENY
1102
- Content-Length: 673
1102
+ Content-Length: 666
1103
1103
1104
1104
{
1105
1105
"_links" : {
1106
- "meshtenantusagereports " : {
1107
- "href" : "https://mesh-billing-url/api/meshobjects/meshtenantusagereports{?ownedByWorkspace,ownedByProject,isManaged,platform,platformType,platformTenantId, period,reportCategory,paymentMethodIdentifier,meshTenantId,finalizedAfter,cancelledAfter,status,showCancelled,sort }",
1106
+ "meshchargebacks " : {
1107
+ "href" : "https://mesh-billing-url/api/meshobjects/meshchargebacks{?workspaceIdentifier,projectIdentifier, period,finalized,finalizedSince,cancelledSince }",
1108
1108
"templated" : true
1109
1109
},
1110
- "meshchargebacks " : {
1111
- "href" : "https://mesh-billing-url/api/meshobjects/meshchargebacks{?workspaceIdentifier,projectIdentifier, period,finalized,legacy,finalizedSince,cancelledSince }",
1110
+ "meshtenantusagereports " : {
1111
+ "href" : "https://mesh-billing-url/api/meshobjects/meshtenantusagereports{?ownedByWorkspace,ownedByProject,isManaged,platform,platformType,platformTenantId, period,reportCategory,paymentMethodIdentifier,meshTenantId,finalizedAfter,cancelledAfter,status,showCancelled,sort }",
1112
1112
"templated" : true
1113
1113
},
1114
1114
"self" : {
@@ -1320,7 +1320,7 @@ <h5 id="_list_meshtenantusagereports"><a class="link" href="#_list_meshtenantusa
1320
1320
"reportCategory" : "BILLING",
1321
1321
"platformType" : "Azure",
1322
1322
"platform" : "azure.prod",
1323
- "platformTenantId" : "3ce47185-bb38-4da7-99eb-cb69e72c65dd ",
1323
+ "platformTenantId" : "b2214ee2-910b-4fde-b6a6-7c68b2d95304 ",
1324
1324
"version" : 2
1325
1325
},
1326
1326
"status" : {
@@ -1371,7 +1371,7 @@ <h5 id="_list_meshtenantusagereports"><a class="link" href="#_list_meshtenantusa
1371
1371
"reportCategory" : "BILLING",
1372
1372
"platformType" : "Azure",
1373
1373
"platform" : "azure.prod",
1374
- "platformTenantId" : "ff73e596-f784-4984-bad6-c99507cc30ad ",
1374
+ "platformTenantId" : "cab5bcad-6598-4e32-a7e3-cdf45a9bff13 ",
1375
1375
"version" : 1
1376
1376
},
1377
1377
"status" : {
@@ -1699,7 +1699,7 @@ <h5 id="_get_meshtenantusagereport"><a class="link" href="#_get_meshtenantusager
1699
1699
"reportCategory" : "BILLING",
1700
1700
"platformType" : "Azure",
1701
1701
"platform" : "azure.prod",
1702
- "platformTenantId" : "3ce47185-bb38-4da7-99eb-cb69e72c65dd ",
1702
+ "platformTenantId" : "b2214ee2-910b-4fde-b6a6-7c68b2d95304 ",
1703
1703
"version" : 2
1704
1704
},
1705
1705
"status" : {
@@ -1898,102 +1898,58 @@ <h5 id="_list_meshchargebacks"><a class="link" href="#_list_meshchargebacks">Lis
1898
1898
Expires: 0
1899
1899
Strict-Transport-Security: max-age=31536000 ; includeSubDomains
1900
1900
X-Frame-Options: DENY
1901
- Content-Length: 3377
1901
+ Content-Length: 1984
1902
1902
1903
1903
{
1904
1904
"_embedded" : {
1905
1905
"meshChargebacks" : [ {
1906
1906
"kind" : "meshChargeback",
1907
1907
"apiVersion" : "v3",
1908
1908
"metadata" : {
1909
- "name" : "2025-04-01Z/testPartner:testWorkspace:testProject",
1910
- "createdOn" : "2025-04-09T12:08:16.210065300Z",
1911
- "finalized" : true
1909
+ "name" : "2025-02-01Z/testPartner:testWorkspace:testProject",
1910
+ "createdOn" : "2025-03-02T00:00:00Z",
1911
+ "finalized" : true,
1912
+ "finalizationDate" : "2025-03-02T00:00:00Z",
1913
+ "version" : 1
1912
1914
},
1913
1915
"spec" : {
1914
1916
"projectIdentifier" : "testProject",
1915
- "period" : "2025-04 -01Z",
1917
+ "period" : "2025-02 -01Z",
1916
1918
"tags" : {
1917
1919
"paymentIdentifier" : [ "123" ]
1918
1920
},
1919
1921
"workspaceIdentifier" : "testWorkspace"
1920
1922
},
1921
1923
"status" : {
1922
1924
"timeframe" : {
1923
- "from" : "2025-04 -01T00:00:00Z",
1924
- "to" : "2025-05 -01T00:00:00Z"
1925
+ "from" : "2025-02 -01T00:00:00Z",
1926
+ "to" : "2025-03 -01T00:00:00Z"
1925
1927
},
1926
1928
"lineItems" : [ {
1927
1929
"reportCategory" : "BILLING",
1928
- "platformTenantId" : "test1-localProjectId ",
1929
- "platformFullIdentifier" : "test1-instance.test1- location",
1930
- "reportId" : "test1-reportId ",
1931
- "entryDate" : "2019-08-03T00:07:01.289Z ",
1932
- "period" : "2019-07 -01Z",
1930
+ "platformTenantId" : "test1-id ",
1931
+ "platformFullIdentifier" : "test1-platform. location",
1932
+ "reportId" : "TenantUsageReports/ test1-platform.location:test1-id:2025-02-01Z:1 ",
1933
+ "entryDate" : "2025-03-02T00:00:00Z ",
1934
+ "period" : "2025-02 -01Z",
1933
1935
"netAmount" : 1.65,
1934
- "baseNetAmount" : 1.65,
1935
- "baseCurrency" : "EUR",
1936
- "exchangeRate" : 1,
1937
- "currency" : "EUR",
1938
- "sellerId" : "Operations",
1939
- "sellerProductGroup" : "Platform Team"
1940
- }, {
1941
- "reportCategory" : "BILLING",
1942
- "platformTenantId" : "test2-localProjectId",
1943
- "platformFullIdentifier" : "test2-instance.test2-location",
1944
- "reportId" : "test2-reportId",
1945
- "entryDate" : "2019-08-03T00:07:01.289Z",
1946
- "period" : "2019-07-01Z",
1947
- "netAmount" : 3.12,
1948
- "baseNetAmount" : 3.12,
1936
+ "baseNetAmount" : 1.815,
1949
1937
"baseCurrency" : "EUR",
1950
- "exchangeRate" : 1,
1951
- "currency" : "EUR ",
1938
+ "exchangeRate" : 1.1 ,
1939
+ "currency" : "USD ",
1952
1940
"sellerId" : "Operations",
1953
1941
"sellerProductGroup" : "Platform Team"
1954
1942
} ],
1955
1943
"netAmounts" : [ {
1956
- "currency" : "EUR",
1957
- "amount" : 4.77,
1958
- "baseCurrency" : "EUR",
1959
- "baseNetAmount" : 4.77
1960
- } ]
1961
- },
1962
- "_links" : {
1963
- "self" : {
1964
- "href" : "https://mesh-billing-url/api/meshobjects/meshchargebacks/2025-04-01Z/testPartner%3AtestWorkspace%3AtestProject"
1965
- }
1966
- }
1967
- }, {
1968
- "kind" : "meshChargeback",
1969
- "apiVersion" : "v3",
1970
- "metadata" : {
1971
- "name" : "2025-03-01Z/testPartner:testWorkspace:testProject",
1972
- "createdOn" : "2025-04-09T12:08:16.210990500Z",
1973
- "finalized" : true
1974
- },
1975
- "spec" : {
1976
- "projectIdentifier" : "testProject",
1977
- "period" : "2025-03-01Z",
1978
- "tags" : { },
1979
- "workspaceIdentifier" : "testWorkspace"
1980
- },
1981
- "status" : {
1982
- "timeframe" : {
1983
- "from" : "2025-03-01T00:00:00Z",
1984
- "to" : "2025-04-01T00:00:00Z"
1985
- },
1986
- "lineItems" : [ ],
1987
- "netAmounts" : [ {
1988
- "currency" : "EUR",
1989
- "amount" : 0,
1944
+ "currency" : "USD",
1945
+ "amount" : 1.65,
1990
1946
"baseCurrency" : "EUR",
1991
- "baseNetAmount" : 0
1947
+ "baseNetAmount" : 1.815
1992
1948
} ]
1993
1949
},
1994
1950
"_links" : {
1995
1951
"self" : {
1996
- "href" : "https://mesh-billing-url/api/meshobjects/meshchargebacks/2025-03 -01Z/testPartner%3AtestWorkspace%3AtestProject"
1952
+ "href" : "https://mesh-billing-url/api/meshobjects/meshchargebacks/2025-02 -01Z/testPartner%3AtestWorkspace%3AtestProject%3A1 "
1997
1953
}
1998
1954
}
1999
1955
} ]
@@ -2005,7 +1961,7 @@ <h5 id="_list_meshchargebacks"><a class="link" href="#_list_meshchargebacks">Lis
2005
1961
},
2006
1962
"page" : {
2007
1963
"size" : 10,
2008
- "totalElements" : 2 ,
1964
+ "totalElements" : 1 ,
2009
1965
"totalPages" : 1,
2010
1966
"number" : 0
2011
1967
}
@@ -2040,7 +1996,7 @@ <h5 id="_get_meshchargeback"><a class="link" href="#_get_meshchargeback">Get mes
2040
1996
< div class ="listingblock ">
2041
1997
< div class ="title "> Example Request</ div >
2042
1998
< div class ="content ">
2043
- < pre class ="highlightjs highlight nowrap "> < code data-lang ="http " class ="language-http hljs "> GET /api/meshobjects/meshchargebacks/2025-04 -01Z/testPartner%253AtestWorkspace%253AtestProject HTTP/1.1
1999
+ < pre class ="highlightjs highlight nowrap "> < code data-lang ="http " class ="language-http hljs "> GET /api/meshobjects/meshchargebacks/2025-02 -01Z/testPartner%253AtestWorkspace%253AtestProject%253A1 HTTP/1.1
2044
2000
Authorization: Basic dmFsaWRfdXNlcm5hbWU6dmFsaWRfcGFzc3dvcmQ=
2045
2001
Accept: application/vnd.meshcloud.api.meshchargeback.v3.hal+json
2046
2002
Host: mesh-billing-url</ code > </ pre >
@@ -2049,7 +2005,7 @@ <h5 id="_get_meshchargeback"><a class="link" href="#_get_meshchargeback">Get mes
2049
2005
< div class ="listingblock ">
2050
2006
< div class ="title "> Example Curl Request</ div >
2051
2007
< div class ="content ">
2052
- < pre class ="highlightjs highlight "> < code data-lang ="bash " class ="language-bash hljs "> $ curl 'https://mesh-billing-url/api/meshobjects/meshchargebacks/2025-04 -01Z/testPartner%253AtestWorkspace%253AtestProject' -i -u 'valid_username:valid_password' -X GET \
2008
+ < pre class ="highlightjs highlight "> < code data-lang ="bash " class ="language-bash hljs "> $ curl 'https://mesh-billing-url/api/meshobjects/meshchargebacks/2025-02 -01Z/testPartner%253AtestWorkspace%253AtestProject%253A1 ' -i -u 'valid_username:valid_password' -X GET \
2053
2009
-H 'Accept: application/vnd.meshcloud.api.meshchargeback.v3.hal+json'</ code > </ pre >
2054
2010
</ div >
2055
2011
</ div >
@@ -2099,6 +2055,21 @@ <h5 id="_get_meshchargeback"><a class="link" href="#_get_meshchargeback">Get mes
2099
2055
< td class ="tableblock halign-left valign-top "> < p class ="tableblock "> Finalization state of the meshChargeback. Value is 'true' for finalized and 'false' for preview meshChargebacks.</ p > </ td >
2100
2056
</ tr >
2101
2057
< tr >
2058
+ < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> < code > metadata.finalizationDate</ code > </ p > </ td >
2059
+ < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> < code > String</ code > </ p > </ td >
2060
+ < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> The date when the meshChargeback was finalized. Can be null in case of preview meshChargebacks.</ p > </ td >
2061
+ </ tr >
2062
+ < tr >
2063
+ < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> < code > metadata.cancellationDate</ code > </ p > </ td >
2064
+ < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> < code > String</ code > </ p > </ td >
2065
+ < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> If an update to an already finalized meshChargeback comes in, the old meshChargeback gets cancelled. The cancellationDate provides the date at which this cancellation happened.</ p > </ td >
2066
+ </ tr >
2067
+ < tr >
2068
+ < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> < code > metadata.version</ code > </ p > </ td >
2069
+ < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> < code > Number</ code > </ p > </ td >
2070
+ < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> If an update to an already finalized meshChargeback comes in, the old meshChargeback gets cancelled and a new meshChargeback is created. The version is incremented in that case. For an initial or a preview meshChargeback, the version is 1.</ p > </ td >
2071
+ </ tr >
2072
+ < tr >
2102
2073
< td class ="tableblock halign-left valign-top "> < p class ="tableblock "> < code > spec</ code > </ p > </ td >
2103
2074
< td class ="tableblock halign-left valign-top "> < p class ="tableblock "> < code > Object</ code > </ p > </ td >
2104
2075
< td class ="tableblock halign-left valign-top "> < p class ="tableblock "> All fields in this section describe the meshChargeback.</ p > </ td >
@@ -2255,68 +2226,56 @@ <h5 id="_get_meshchargeback"><a class="link" href="#_get_meshchargeback">Get mes
2255
2226
Expires: 0
2256
2227
Strict-Transport-Security: max-age=31536000 ; includeSubDomains
2257
2228
X-Frame-Options: DENY
2258
- Content-Length: 1852
2229
+ Content-Length: 1452
2259
2230
2260
2231
{
2261
2232
"kind" : "meshChargeback",
2262
2233
"apiVersion" : "v3",
2263
2234
"metadata" : {
2264
- "name" : "2025-04-01Z/testPartner:testWorkspace:testProject",
2265
- "createdOn" : "2025-04-09T12:08:16.210065300Z",
2266
- "finalized" : true
2235
+ "name" : "2025-02-01Z/testPartner:testWorkspace:testProject",
2236
+ "createdOn" : "2025-03-02T00:00:00Z",
2237
+ "finalized" : true,
2238
+ "finalizationDate" : "2025-03-02T00:00:00Z",
2239
+ "version" : 1
2267
2240
},
2268
2241
"spec" : {
2269
2242
"projectIdentifier" : "testProject",
2270
- "period" : "2025-04 -01Z",
2243
+ "period" : "2025-02 -01Z",
2271
2244
"tags" : {
2272
2245
"paymentIdentifier" : [ "123" ]
2273
2246
},
2274
2247
"workspaceIdentifier" : "testWorkspace"
2275
2248
},
2276
2249
"status" : {
2277
2250
"timeframe" : {
2278
- "from" : "2025-04 -01T00:00:00Z",
2279
- "to" : "2025-05 -01T00:00:00Z"
2251
+ "from" : "2025-02 -01T00:00:00Z",
2252
+ "to" : "2025-03 -01T00:00:00Z"
2280
2253
},
2281
2254
"lineItems" : [ {
2282
2255
"reportCategory" : "BILLING",
2283
- "platformTenantId" : "test1-localProjectId ",
2284
- "platformFullIdentifier" : "test1-instance.test1- location",
2285
- "reportId" : "test1-reportId ",
2286
- "entryDate" : "2019-08-03T00:07:01.289Z ",
2287
- "period" : "2019-07 -01Z",
2256
+ "platformTenantId" : "test1-id ",
2257
+ "platformFullIdentifier" : "test1-platform. location",
2258
+ "reportId" : "TenantUsageReports/ test1-platform.location:test1-id:2025-02-01Z:1 ",
2259
+ "entryDate" : "2025-03-02T00:00:00Z ",
2260
+ "period" : "2025-02 -01Z",
2288
2261
"netAmount" : 1.65,
2289
- "baseNetAmount" : 1.65,
2290
- "baseCurrency" : "EUR",
2291
- "exchangeRate" : 1,
2292
- "currency" : "EUR",
2293
- "sellerId" : "Operations",
2294
- "sellerProductGroup" : "Platform Team"
2295
- }, {
2296
- "reportCategory" : "BILLING",
2297
- "platformTenantId" : "test2-localProjectId",
2298
- "platformFullIdentifier" : "test2-instance.test2-location",
2299
- "reportId" : "test2-reportId",
2300
- "entryDate" : "2019-08-03T00:07:01.289Z",
2301
- "period" : "2019-07-01Z",
2302
- "netAmount" : 3.12,
2303
- "baseNetAmount" : 3.12,
2262
+ "baseNetAmount" : 1.815,
2304
2263
"baseCurrency" : "EUR",
2305
- "exchangeRate" : 1,
2306
- "currency" : "EUR ",
2264
+ "exchangeRate" : 1.1 ,
2265
+ "currency" : "USD ",
2307
2266
"sellerId" : "Operations",
2308
2267
"sellerProductGroup" : "Platform Team"
2309
2268
} ],
2310
2269
"netAmounts" : [ {
2311
- "currency" : "EUR ",
2312
- "amount" : 4.77 ,
2270
+ "currency" : "USD ",
2271
+ "amount" : 1.65 ,
2313
2272
"baseCurrency" : "EUR",
2314
- "baseNetAmount" : 4.77
2273
+ "baseNetAmount" : 1.815
2315
2274
} ]
2316
2275
},
2317
2276
"_links" : {
2318
2277
"self" : {
2319
- "href" : "https://mesh-billing-url/api/meshobjects/meshchargebacks/2025-04 -01Z/testPartner%3AtestWorkspace%3AtestProject"
2278
+ "href" : "https://mesh-billing-url/api/meshobjects/meshchargebacks/2025-02 -01Z/testPartner%3AtestWorkspace%3AtestProject%3A1 "
2320
2279
}
2321
2280
}
2322
2281
}</ code > </ pre >
@@ -2603,7 +2562,7 @@ <h5 id="_put_meshresourceusagereports"><a class="link" href="#_put_meshresourceu
2603
2562
</ div >
2604
2563
< div id ="footer ">
2605
2564
< div id ="footer-text ">
2606
- Last updated 2025-04-09 12:06:25 UTC
2565
+ Last updated 2025-04-16 12:43:45 UTC
2607
2566
</ div >
2608
2567
</ div >
2609
2568
< link rel ="stylesheet " href ="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.6/styles/github.min.css ">
0 commit comments