|
7 | 7 | --- |
8 | 8 |
|
9 | 9 | Additional documentation available in the API's [GitHub repository](https://github.com/britned/empire-platform-api) |
10 | | - version: 6.0.1 |
| 10 | + version: 6.0.2 |
11 | 11 | contact: |
12 | 12 | name: BritNed |
13 | 13 | url: https://www.britned.com |
@@ -1674,6 +1674,55 @@ paths: |
1674 | 1674 | description: No offer present for at least one of the mtu |
1675 | 1675 | - code: MTU_LIST_MISALIGNED |
1676 | 1676 | description: not the list we were looking for |
| 1677 | + get: |
| 1678 | + operationId: getBuyNowOfferPurchaseDetails |
| 1679 | + description: |- |
| 1680 | + Fetch Buy Now Offer purchase details |
| 1681 | +
|
| 1682 | + --- |
| 1683 | +
|
| 1684 | + __Requires Permission:__ (at least one) |
| 1685 | + * `VIEW_ANY_BUY_NOW_OFFERS` |
| 1686 | + * `VIEW_OWN_BUY_NOW_OFFERS` |
| 1687 | + tags: |
| 1688 | + - buy-now-offers |
| 1689 | + security: |
| 1690 | + - ApiKey: [] |
| 1691 | + x-permissions: |
| 1692 | + - VIEW_ANY_BUY_NOW_OFFERS |
| 1693 | + - VIEW_OWN_BUY_NOW_OFFERS |
| 1694 | + parameters: |
| 1695 | + - name: mtu |
| 1696 | + in: query |
| 1697 | + required: true |
| 1698 | + schema: |
| 1699 | + $ref: '#/components/schemas/MtuStart' |
| 1700 | + - $ref: '#/components/parameters/BorderDirection' |
| 1701 | + - $ref: '#/components/parameters/Timescale' |
| 1702 | + - $ref: '#/components/parameters/ParticipantIdOptional' |
| 1703 | + responses: |
| 1704 | + '200': |
| 1705 | + description: __OK__ |
| 1706 | + content: |
| 1707 | + application/json: |
| 1708 | + schema: |
| 1709 | + $ref: '#/components/schemas/BuyNowOfferPurchaseDetails' |
| 1710 | + '400': |
| 1711 | + description: |- |
| 1712 | + __Bad Request__ |
| 1713 | +
|
| 1714 | + * `TIMESCALE_MISMATCH` - DA/ID Timescale need to be used |
| 1715 | + x-errors: |
| 1716 | + - code: TIMESCALE_MISMATCH |
| 1717 | + description: DA/ID Timescale need to be used |
| 1718 | + content: |
| 1719 | + application/json: |
| 1720 | + schema: |
| 1721 | + $ref: '#/components/schemas/ErrorResponse' |
| 1722 | + '401': |
| 1723 | + $ref: '#/components/responses/Unauthorized' |
| 1724 | + '403': |
| 1725 | + $ref: '#/components/responses/Forbidden' |
1677 | 1726 | /v1/default-bids/options: |
1678 | 1727 | get: |
1679 | 1728 | operationId: getDefaultBidOptions |
@@ -9833,6 +9882,23 @@ components: |
9833 | 9882 | $ref: '#/components/schemas/Capacity' |
9834 | 9883 | validityPeriod: |
9835 | 9884 | $ref: '#/components/schemas/DateTimePeriod' |
| 9885 | + BuyNowOfferPurchaseDetail: |
| 9886 | + type: object |
| 9887 | + required: |
| 9888 | + - participantName |
| 9889 | + - price |
| 9890 | + - capacity |
| 9891 | + properties: |
| 9892 | + participantName: |
| 9893 | + type: string |
| 9894 | + price: |
| 9895 | + $ref: '#/components/schemas/Currency' |
| 9896 | + capacity: |
| 9897 | + $ref: '#/components/schemas/Capacity' |
| 9898 | + BuyNowOfferPurchaseDetails: |
| 9899 | + type: array |
| 9900 | + items: |
| 9901 | + $ref: '#/components/schemas/BuyNowOfferPurchaseDetail' |
9836 | 9902 | BuyNowOfferStatus: |
9837 | 9903 | type: string |
9838 | 9904 | enum: |
@@ -13060,7 +13126,7 @@ components: |
13060 | 13126 | PhoneNumber: |
13061 | 13127 | type: string |
13062 | 13128 | format: phone-number |
13063 | | - pattern: ^\+\d{10,13}$ |
| 13129 | + pattern: ^\+\d{10,20}$ |
13064 | 13130 | PlatformAppearance: |
13065 | 13131 | type: string |
13066 | 13132 | description: | |
|
0 commit comments