Vtn
Required permissions: Organization.Organization.ReadWrite Required features: OpenADR
The organization identifier
The list of VTN credentials
Input data was invalid
Not authorized
Not allowed
Internal server error
GET /api/openadr/vtn/credential HTTP/1.1
Host: api.switchmarket.se
Accept: */*
[
{
"id": 1,
"organizationId": 1,
"clientId": "text",
"clientSecret": "text",
"clientName": "text",
"hint": "text",
"scopes": [
"text"
]
}
]
Required permissions: Organization.Organization.ReadWrite Required features: OpenADR
The organization client was created
Input data was invalid
Not authorized
Not allowed
Internal server error
POST /api/openadr/vtn/credential HTTP/1.1
Host: api.switchmarket.se
Content-Type: application/json
Accept: */*
Content-Length: 52
{
"organizationId": 1,
"name": "text",
"scopes": [
"text"
]
}
{
"id": 1,
"organizationId": 1,
"clientId": "text",
"clientSecret": "text",
"clientName": "text",
"hint": "text",
"scopes": [
"text"
]
}
Required permissions: Organization.Organization.ReadWrite Required features: OpenADR
The VTN credential identifier
The organization identifier
The VTN credential secret was rotated
Input data was invalid
Not authorized
Not allowed
Internal server error
PUT /api/openadr/vtn/credential/{credentialId}/secret HTTP/1.1
Host: api.switchmarket.se
Accept: */*
{
"id": 1,
"organizationId": 1,
"clientId": "text",
"clientSecret": "text",
"clientName": "text",
"hint": "text",
"scopes": [
"text"
]
}
Required permissions: Organization.Organization.ReadWrite Required features: OpenADR
The VTN credential identifier
The organization identifier
The VTN credential was deleted
No content
Input data was invalid
Not authorized
Not allowed
Internal server error
DELETE /api/openadr/vtn/credential/{credentialId} HTTP/1.1
Host: api.switchmarket.se
Accept: */*
No content
Was this helpful?