Resources

Get resources

get

Required permissions: Resource.Organization.ReadRequired features: Grid

Authorizations
Query parameters
organizationIdinteger · int32Required

The identifier of the organization.

marketZoneIdinteger · int32Optional

The identifier of the market zone

Responses
200
List of resources
application/json
get
GET /api/grid/resource HTTP/1.1
Host: api.switchmarket.se
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
[
  {
    "id": 1,
    "organizationId": 1,
    "marketZoneId": 1,
    "concessionAreaId": 1,
    "createdAt": "2025-08-01T15:46:03.670Z",
    "createdBy": 1,
    "connectedAt": "2025-08-01T15:46:03.670Z",
    "name": "text",
    "longitude": "text",
    "latitude": "text",
    "contactInformation": "text",
    "type": 0,
    "regulationType": 0,
    "maxQuantity": 1,
    "endurance": 1,
    "cooldown": 1,
    "useZeroReference": true,
    "actualRegisterId": 1,
    "referenceRegisterId": 1,
    "conditionalDeliveryLimit": 1,
    "conditionalUseDynamicDeliveryLimit": true,
    "conditionalAutomaticAcknowledgement": true,
    "allowedProducts": [
      0
    ],
    "pods": [
      {
        "podId": "text",
        "name": "text",
        "description": "text"
      }
    ]
  }
]

Save resource reference readings

post

Required permissions: Planning.Organization.ReadWriteRequired features: Grid

Authorizations
Path parameters
resourceIdinteger · int32Required

The identifier of the resource.

Body
all ofOptional
Responses
204
Readings were saved
post
POST /api/grid/resource/{resourceId}/readings/reference HTTP/1.1
Host: api.switchmarket.se
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 99

{
  "organizationId": 1,
  "readings": [
    {
      "timestamp": "2025-08-01T15:46:03.670Z",
      "value": 1,
      "resolution": 1
    }
  ]
}

No content

Last updated

Was this helpful?