Zone

Get market zones

get

Required permissions: Organization.Organization.Read

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
Accept: */*
[
  {
    "id": 1,
    "createdBy": 1,
    "createdAt": "2025-09-16T12:56:40.334Z",
    "name": "text",
    "timeResolution": 0,
    "orderQuantityResolution": 1,
    "minOrderQuantity": 1,
    "organizationIds": [
      1
    ]
  }
]

Get market zones participation

get

Required permissions: Organization.Organization.Read Required features: Grid

Query parameters
organizationIdinteger · int32Required

The identifier of the organization

Responses
200

Meta information of all market zones that the given organization is a participant of

application/json
get
GET /api/grid/zone/participation HTTP/1.1
Host: api.switchmarket.se
Accept: */*
[
  {
    "marketZoneId": 1,
    "marketZoneName": "text",
    "organizations": [
      {
        "organizationId": 1,
        "organizationName": "text",
        "resources": [
          {
            "resourceId": 1,
            "resourceName": "text"
          }
        ]
      }
    ],
    "markets": [
      {
        "marketId": 1,
        "marketName": "text"
      }
    ],
    "managerOrganizationIds": [
      1
    ]
  }
]

Was this helpful?