Market Zones

Get market zones

get

Required permissions: Organization.Organization.Read

Authorizations
Query parameters
organizationIdinteger · int32Optional

The identifier of the organization. Required unless user has global privileges.

Responses
200
List of market zones
application/json
get
GET /api/grid/zone HTTP/1.1
Host: api.switchmarket.se
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
[
  {
    "id": 1,
    "createdBy": 1,
    "createdAt": "2025-08-02T09:09:52.760Z",
    "name": "text",
    "timeResolution": 0,
    "orderQuantityResolution": 1,
    "organizationIds": [
      1
    ]
  }
]

Get market zone participants

get

Required permissions: Organization.Organization.ReadRequired features: Grid

Authorizations
Path parameters
marketZoneIdinteger · int32Required

The identifier of the market zone

Query parameters
organizationIdinteger · int32Required

The identifier of the organization

Responses
200
Names and identifiers of all organizations and their resources, that are participating in a given market zone
application/json
get
GET /api/grid/zone/{marketZoneId}/participants HTTP/1.1
Host: api.switchmarket.se
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
  "organizations": [
    {
      "organizationId": 1,
      "organizationName": "text",
      "resources": [
        {
          "resourceId": 1,
          "resourceName": "text"
        }
      ]
    }
  ],
  "markets": [
    {
      "marketId": 1,
      "name": "text"
    }
  ]
}

Last updated

Was this helpful?