|
1 | 1 | openapi: 3.0.1
|
2 | 2 | info:
|
3 | 3 | description: |
|
4 |
| -**This file forms part of MEF W123** |
| 4 | +**This file forms part of MEF 123** |
5 | 5 |
|
6 |
| -**This specification represents MEF work in progress and is subject to |
7 |
| -change.** |
8 |
| -
|
9 |
| -This API implements Business Requirements described in MEF W57.2 |
| 6 | +This API implements Business Requirements described in MEF 57.2 |
10 | 7 |
|
11 | 8 | Product Order Management allows the Buyer to request the Seller to initiate and complete the
|
12 | 9 | fulfillment process of an installation of a Product Offering, an update to
|
|
38 | 35 | which is licensed by the TM Forum under the Apache License version 2.0. Such
|
39 | 36 | content has been modified by the MEF Forum and its contributors.
|
40 | 37 | title: Product Ordering Management
|
41 |
| -version: 9.0.0-RC |
| 38 | +version: 10.0.0 |
42 | 39 | servers:
|
43 |
| -- url: 'https://{serverBase}/mefApi/sonata/productOrderingManagement/v9/' |
| 40 | +- url: 'https://{serverBase}/mefApi/sonata/productOrderingManagement/v10/' |
44 | 41 | variables:
|
45 | 42 | serverBase:
|
46 | 43 | default: mef.net
|
@@ -1656,6 +1653,11 @@ components:
|
1656 | 1653 | description: >-
|
1657 | 1654 | Identifies the type of reason, Technical or Commercial, for the
|
1658 | 1655 | Cancellation request
|
| 1656 | + charge: |
| 1657 | +description: |
| 1658 | +The Charge Identifier of any charges that are related to the Cancel |
| 1659 | +Product Order. |
| 1660 | +$ref: '#/components/schemas/MEFProductOrderChargeRef' |
1659 | 1661 | href:
|
1660 | 1662 | description: >
|
1661 | 1663 | Hyperlink to the cancellation request. Hyperlink MAY be used by the
|
@@ -2073,7 +2075,7 @@ components:
|
2073 | 2075 | notification is sent. E.g. for "callback":
|
2074 | 2076 | "https://buyer.co/listenerEndpoint", the product order state change
|
2075 | 2077 | event notification will be sent to:
|
2076 |
| -`https://buyer.co/listenerEndpoint/mefApi/sonata/productOrderNotification/v9/listener/productOrderStateChangeEvent` |
| 2078 | +`https://buyer.co/listenerEndpoint/mefApi/sonata/productOrderNotification/v10/listener/productOrderStateChangeEvent` |
2077 | 2079 | type: string
|
2078 | 2080 | query:
|
2079 | 2081 | description: >-
|
@@ -2749,6 +2751,7 @@ components:
|
2749 | 2751 | description: The state of the Charge
|
2750 | 2752 | required:
|
2751 | 2753 | - id
|
| 2754 | +- creationDate |
2752 | 2755 | - responseDueDate
|
2753 | 2756 | - state
|
2754 | 2757 | type: object
|
@@ -2836,7 +2839,7 @@ components:
|
2836 | 2839 | | State | MEF 57.2 Name | Description |
|
2837 | 2840 | | ------------------- | ------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
2838 | 2841 | | `awaitingResponse` | AWAITING_RESPONSE | A Charge has been initiated by the Buyer. The charge includes one or more charges related to a Product Order or Product Order Item. Buyer has not indicated whether they accept or reject the charges via a Respond to Charge request. |
|
2839 |
| -| `completed` | COMPLETED | All Charge Items included in the Charge for a given Product Order Item have moved to either the `acceptedByBuyer` state, the `declinedByBuyer` state, or the `withdrawnBySeller` state. | |
| 2842 | +| `completed` | COMPLETED | All Charge Items included in the Charge have moved to either the `acceptedByBuyer` state, the `declinedByBuyer` state, or the `withdrawnBySeller` state. | |
2840 | 2843 | | `timeout` | TIMEOUT | A Charge Item has been declined by the Buyer. The referenced Product Order and Product Order Items are updated. If a Blocking charge is declined, the Seller may cancel the referenced Product Order Item and any related Product Order Items, the related Cancel Product Order, or the related Modify Product Order Item Requested Delivery Date. |
|
2841 | 2844 | | `withdrawnBySeller` | WITHDRAWN_BY_SELLER | The Seller determines that the Charge Item is incorrect. They withdraw the Charge Item and initiate a new Charge with the required correction(s) if needed. |
|
2842 | 2845 | enum:
|
@@ -2870,7 +2873,7 @@ components:
|
2870 | 2873 | - id
|
2871 | 2874 | type: object
|
2872 | 2875 | MEFProductOrderChargeRef:
|
2873 |
| -description: a reference to a Charge instance |
| 2876 | +description: A reference to a Charge instance |
2874 | 2877 | properties:
|
2875 | 2878 | href:
|
2876 | 2879 | description: Hyperlink to access the Charge
|
@@ -2976,7 +2979,8 @@ components:
|
2976 | 2979 | MEFProductOrderItem_Common:
|
2977 | 2980 | description: >
|
2978 | 2981 | An identified part of the order. A product order is decomposed into one
|
2979 |
| -or more order items. |
| 2982 | +or more order items. This type hold the attributes common to request |
| 2983 | +and response representation of the Product Order Item. |
2980 | 2984 | properties:
|
2981 | 2985 | action:
|
2982 | 2986 | $ref: '#/components/schemas/MEFProductActionType'
|
@@ -3115,9 +3119,14 @@ components:
|
3115 | 3119 | MEFProductOrderItem_Create:
|
3116 | 3120 | allOf:
|
3117 | 3121 | - $ref: '#/components/schemas/MEFProductOrderItem_Common'
|
3118 |
| -- description: > |
| 3122 | +- description: | |
3119 | 3123 | An identified part of the order. A product order is decomposed into
|
3120 |
| -one or more order items. |
| 3124 | +one or more order items. |
| 3125 | +The modelling pattern introduces the `Common` supertype to |
| 3126 | +aggregate attributes that are common to both `ProductOrderItem` and |
| 3127 | +`ProductOrderItem_Create`. The `Create` type has a subset of |
| 3128 | +attributes of the response type and does not introduce any new, |
| 3129 | +thus the `Create` type has an empty definition. |
3121 | 3130 | type: object
|
3122 | 3131 | MEFProductOrderItem_Update:
|
3123 | 3132 | description: |
|
@@ -3151,13 +3160,9 @@ components:
|
3151 | 3160 | relatedContactInformation:
|
3152 | 3161 | description: >-
|
3153 | 3162 | Contact information of an individual or organization playing a role
|
3154 |
| -for this Order Item. Buyer can modify, add, or delete only |
| 3163 | +for this Order Item. Buyer may modify, add, or delete only |
3155 | 3164 | Buyer-related contacts.
|
3156 | 3165 |
|
3157 |
| -The rule for mapping a represented attribute |
3158 |
| -
|
3159 |
| -value to a `role` is to use the _lowerCamelCase_ pattern e.g. |
3160 |
| -
|
3161 | 3166 | - Buyer Product Order Item Contact:
|
3162 | 3167 | `role=buyerProductOrderItemContact`
|
3163 | 3168 |
|
@@ -3539,6 +3544,9 @@ components:
|
3539 | 3544 | description:
|
3540 | 3545 | The Charges associated to this Product Order Item. This list
|
3541 | 3546 | contains all completed Charges containing accepted Charge Items
|
| 3547 | +initiated by the Seller. Any Charge that is withdrawn or |
| 3548 | +containing all declined Charge Items must not be included in |
| 3549 | +this list. |
3542 | 3550 | items:
|
3543 | 3551 | $ref: '#/components/schemas/MEFProductOrderChargeRef'
|
3544 | 3552 | type: array
|
|
0 commit comments