diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-03-01/examples/CalculateRefund.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-03-01/examples/CalculateRefund.json index e8c9ea78c131..923a3eafe54e 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-03-01/examples/CalculateRefund.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-03-01/examples/CalculateRefund.json @@ -1,6 +1,7 @@ { "parameters": { "api-version": "2022-03-01", + "reservationOrderId": "276e7ae4-84d0-4da6-ab4b-d6b94f3557da", "body": { "id": "/providers/microsoft.capacity/reservationOrders/50000000-aaaa-bbbb-cccc-100000000004", "properties": { diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-03-01/examples/Return.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-03-01/examples/Return.json index 13cfc3f17dad..0b8e6bb73900 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-03-01/examples/Return.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-03-01/examples/Return.json @@ -1,6 +1,7 @@ { "parameters": { "api-version": "2022-03-01", + "reservationOrderId": "276e7ae4-84d0-4da6-ab4b-d6b94f3557da", "body": { "properties": { "sessionId": "10000000-aaaa-bbbb-cccc-200000000000", diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-03-01/reservations.json b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-03-01/reservations.json index 32dc9a0fd6a2..a217db79c8c1 100644 --- a/specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-03-01/reservations.json +++ b/specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-03-01/reservations.json @@ -652,7 +652,7 @@ } } }, - "/providers/Microsoft.Capacity/calculateRefund": { + "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/calculateRefund": { "post": { "summary": "Calculate the refund amount of a reservation order.", "description": "Calculate price for returning `Reservations` if there are no policy errors.\n", @@ -663,6 +663,9 @@ } }, "parameters": [ + { + "$ref": "#/parameters/ReservationOrderIdParameter" + }, { "$ref": "#/parameters/ApiVersionParameter" }, @@ -689,7 +692,7 @@ } } }, - "/providers/Microsoft.Capacity/return": { + "/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/return": { "post": { "summary": "Return a reservation.", "description": "Return a reservation.", @@ -700,6 +703,9 @@ } }, "parameters": [ + { + "$ref": "#/parameters/ReservationOrderIdParameter" + }, { "$ref": "#/parameters/ApiVersionParameter" },