API referenceBidding Spot Orders
POST /api/SpotOrders/GetBlockOrdersByDateAndMarket
Returns every eligible entity for a dispatch day, Spot market, and market party together with its saved Block orders, capacity, dispatch-period bounds, period duration, and bidding-zone price limits.
POST
/api/SpotOrders/GetBlockOrdersByDateAndMarketcurl -X POST "/api/SpotOrders/GetBlockOrdersByDateAndMarket" \
-H "Authorization: $ATLAS_ETRM_API_DOCUMENTATION_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"data": {
"date": "2026-01-15T09:30:00Z",
"market": 1,
"marketPartyId": 0,
"entityId": 0
}
}'Authorization
AuthorizationstringheaderrequiredJWT Authorization header using the Bearer scheme. Enter your token including the 'Bearer ' prefix (e.g. 'Bearer eyJ...').
Body
application/json
dataEtrmApiGateway.DTOs.Bidding.SpotMarketRequest
Response
application/json
OK
successbooleanrecordCountinteger<int32>dataAtlas.SDK.Bidding.Models.Spot.EntityBlockOrdersDto[] | null
{
"success": true,
"recordCount": 0,
"data": [
{
"entityId": 0,
"entityCode": "string",
"entitySide": 1,
"capacity": 0,
"minCapacity": 0,
"entityName": "string",
"dispatchDay": "2026-01-15T09:30:00Z",
"market": 1,
"marketName": "string",
"marketPartyId": 0,
"marketPartyName": "string",
"minDispatchPeriod": 0,
"maxDispatchPeriod": 0,
"periodDuration": 0,
"maxPrice": 0,
"minPrice": 0,
"orders": [
{
"customBlockOrderId": 0,
"side": 1,
"price": 0,
"mar": 0,
"exclusiveGroup": 0,
"linkedOrderId": 0,
"circularGroupId": 0,
"orderItemId": 0,
"blockOrderDetails": [
{}
],
"version": 0
}
]
}
]
}