Resource
Required permissions: Resource.Organization.Read Required features: Grid
The identifier of the organization.
The identifier of the market zone
List of resources
Input data was invalid
Not authorized
Not allowed
Internal server error
GET /api/grid/resource?organizationId=1 HTTP/1.1
Host: qa-api.switchmarket.se
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"id": 1,
"organizationId": 1,
"marketZoneId": 1,
"managedByOrganizationId": 1,
"createdAt": "2025-11-03T15:42:50.449Z",
"createdBy": 1,
"connectedAt": "2025-11-03T15:42:50.449Z",
"name": "text",
"longitude": "text",
"latitude": "text",
"contactInformation": "text",
"type": 0,
"regulationType": 0,
"endurance": 1,
"cooldown": 1,
"useZeroReference": true,
"actualRegisterId": 1,
"referenceRegisterId": 1,
"conditionalDeliveryLimit": 1,
"conditionalUseDynamicDeliveryLimit": true,
"conditionalAutomaticAcknowledgement": true,
"isAggregate": true,
"transactionRevalidationAllowed": true,
"allowedProducts": [
0
],
"pods": [
{
"podId": "text",
"name": "text",
"description": "text",
"maxQuantity": 1,
"type": 0
}
]
}
]Required permissions: Planning.Organization.ReadWrite Required features: Grid
The identifier of the resource.
Readings were saved
No content
Input data was invalid
Not authorized
Not allowed
Internal server error
POST /api/grid/resource/{resourceId}/readings/reference HTTP/1.1
Host: qa-api.switchmarket.se
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 84
{
"organizationId": 1,
"readings": [
{
"timestamp": "2025-11-03T15:42:50.449Z",
"value": 1
}
]
}No content
Required permissions: Resource.Organization.ReadWrite Required features: Grid | DecisionSupport
The identifier of the resource.
Readings were saved
No content
Input data was invalid
Not authorized
Not allowed
Internal server error
POST /api/grid/resource/{resourceId}/readings/actual HTTP/1.1
Host: qa-api.switchmarket.se
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 84
{
"organizationId": 1,
"readings": [
{
"timestamp": "2025-11-03T15:42:50.449Z",
"value": 1
}
]
}No content
Required permissions: Resource.Organization.ReadWrite Required features: Grid | DecisionSupport
The identifier of the resource.
The organization identifier
The start date and time represented using ISO 8601 format and is always in UTC time, e.g. midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
The end date and time represented using ISO 8601 format and is always in UTC time, e.g. midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
Transactions were revalidated
No content
Input data was invalid
Not authorized
Not allowed
Internal server error
PUT /api/grid/resource/{resourceId}/transactions/revalidate?organizationId=1&start=2025-11-03T15%3A42%3A50.449Z&end=2025-11-03T15%3A42%3A50.449Z HTTP/1.1
Host: qa-api.switchmarket.se
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Was this helpful?