Parameters
| Property | Type | Description | Nullable |
|---|---|---|---|
| id | String | UUID | No |
AFS Energy Portal uses offers to accept or reject provided prices.
| Property | Type | Description | Nullable |
|---|---|---|---|
| id | String | UUID | No |
| price | Float | Price per volume | No |
| totalPrice | Float | Notional price | No |
| currencyCode | Integer | Currency code, for example, EUR or GBP | No |
| createdAt | String | Date and time. Atom format (Y-m-d\TH:i:sP ) | No |
| answeredAt | String | Date and time. Atom format (Y-m-d\TH:i:sP ) | Yes |
| isAccepted | Boolean | It shows whether the offer was accepted or not | No |
| iri | String | International Resource Identifier | No |
This endpoint allows you to accept the Offer by id.
Parameters
| Property | Type | Description | Nullable |
|---|---|---|---|
| id | String | UUID | No |
Request header should contain Content-Type: application/merge-patch+json and Accept: application/json.
Request body
Empty
Responses
This endpoint allows you to reject the Offer by id.
Parameters
| Property | Type | Description | Nullable |
|---|---|---|---|
| id | String | UUID | No |
Request header should contain Content-Type: application/merge-patch+json and Accept: application/json.
Request body
Empty
Responses