Get configuration models
GEThttps://api.elfsquad.io/configurator/:version/configurator/configurationmodels
Retrieves a list of all available configuration models
Request
Path Parameters
version stringrequired
Query Parameters
lang string
Language ISO, used to translate feature(model) texts.
Responses
- 200
Success
- text/plain
- application/json
- text/json
- Schema
- Example (auto)
Schema
categories object[]nullable
features object[]nullable
languages objectnullable
languagestringnullable
{
"categories": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"attachedFeatureIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"subcategories": [
null
]
}
],
"features": [
{
"featureModelId": "string",
"featureId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"articleCode": "string",
"name": "string",
"description": "string",
"extendedDescription": "string",
"moreInfo": "string",
"imageUrl": "string",
"startingPriceExclVat": "string",
"startingPriceInclVat": "string",
"startup": 0
}
],
"languages": {},
"language": "string"
}
- Schema
- Example (auto)
Schema
categories object[]nullable
features object[]nullable
languages objectnullable
languagestringnullable
{
"categories": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"attachedFeatureIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"subcategories": [
null
]
}
],
"features": [
{
"featureModelId": "string",
"featureId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"articleCode": "string",
"name": "string",
"description": "string",
"extendedDescription": "string",
"moreInfo": "string",
"imageUrl": "string",
"startingPriceExclVat": "string",
"startingPriceInclVat": "string",
"startup": 0
}
],
"languages": {},
"language": "string"
}
- Schema
- Example (auto)
Schema
categories object[]nullable
features object[]nullable
languages objectnullable
languagestringnullable
{
"categories": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"attachedFeatureIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"subcategories": [
null
]
}
],
"features": [
{
"featureModelId": "string",
"featureId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"articleCode": "string",
"name": "string",
"description": "string",
"extendedDescription": "string",
"moreInfo": "string",
"imageUrl": "string",
"startingPriceExclVat": "string",
"startingPriceInclVat": "string",
"startup": 0
}
],
"languages": {},
"language": "string"
}
Authorization: oauth2
name: oauth2type: oauth2scopes:openid,profile,email,offline_access,Elfskot.Api
flows: { "clientCredentials": { "tokenUrl": "https://login.elfsquad.io/oauth2/token", "scopes": { "Elfskot.Api": "Elfskot.Api" } }, "authorizationCode": { "authorizationUrl": "https://login.elfsquad.io/oauth2/authorize", "tokenUrl": "http://localhost:4444/oauth2/token", "scopes": { "openid": "openid", "profile": "profile", "email": "email", "offline_access": "offline_access", "Elfskot.Api": "Elfskot.Api" } } }
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.elfsquad.io/configurator/:version/configurator/configurationmodels");
request.Headers.Add("Accept", "text/plain");
request.Headers.Add("Authorization", "Bearer <token>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear