Submit Curve order

Changed on

Submit Curve order to specific auction, portfolio and area.

post/curveorders

Request

  • Base URL
    https://auctions-api.test.nordpoolgroup.com/api/v1
  • URL
    https://auctions-api.test.nordpoolgroup.com/api/v1/curveorders
  • Auth
    API key in header Authorization

Request body

auctionIdstring required

Id of auction subjected to order submission

portfoliostring required

Portfolio name

areaCodeobject required

Area code, e.g. "FR".

commentstring

Free text to label an order. Max 255 characters long.

Response

201

orderIdstring
areaCodestring
portfoliostring
companyNamestring
auctionIdstring
modifierstring
modifiedstring
currencyCodestring
statestring
commentstring

Example response

{
  "orderId": "6a077ec4-282d-4084-a568-f7801dacba0d",
  "areaCode": "UK",
  "portfolio": "Portfolio 0",
  "companyName": "Test Company",
  "auctionId": "AA_HH_1-20190428",
  "modifier": "auction@demo.com",
  "modified": "2019-05-29T13:17:01.147Z",
  "currencyCode": "EUR",
  "state": "Accepted",
  "comment": "My new curve order ⚡",
  "curves": [
    {
      "contractId": "AA_HH_1-20180429-01",
      "curvePoints": [
        {
          "price": -500,
          "volume": 60
        }
      ]
    }
  ]
}

Changes