Request quote
POSThttps://api.elfsquad.io/configurator/:version/configurator/requestquote
This endpoint is available for anonymous users & can be used to turn a configuration into a quotation.
Request
Path Parameters
version stringrequired
- application/json-patch+json
- application/json
- text/json
- application/*+json
Body
Quantities is a mapping of configuration id to quantity. If not provided, the quantity will default to 1.
quotationRequest object
configurationIdsuuid[]nullable
quantities objectnullable
Body
Quantities is a mapping of configuration id to quantity. If not provided, the quantity will default to 1.
quotationRequest object
configurationIdsuuid[]nullable
quantities objectnullable
Body
Quantities is a mapping of configuration id to quantity. If not provided, the quantity will default to 1.
quotationRequest object
configurationIdsuuid[]nullable
quantities objectnullable
Body
Quantities is a mapping of configuration id to quantity. If not provided, the quantity will default to 1.
quotationRequest object
configurationIdsuuid[]nullable
quantities objectnullable
Responses
- 200
Success
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.Post, "https://api.elfsquad.io/configurator/:version/configurator/requestquote");
request.Headers.Add("Authorization", "Bearer <token>");
var content = new StringContent("{\n \"quotationRequest\": {\n \"firstName\": \"string\",\n \"lastName\": \"string\",\n \"lastNamePrefix\": \"string\",\n \"salutation\": \"string\",\n \"email\": \"string\",\n \"city\": \"string\",\n \"postalCode\": \"string\",\n \"streetName\": \"string\",\n \"houseNumber\": \"string\",\n \"countryIso\": \"string\",\n \"languageIso\": \"string\",\n \"phoneNumber\": \"string\",\n \"phoneNumber2\": \"string\",\n \"companyName\": \"string\",\n \"iban\": \"string\",\n \"cocNumber\": \"string\",\n \"vatNumber\": \"string\",\n \"shipto_FirstName\": \"string\",\n \"shipto_LastName\": \"string\",\n \"shipto_LastNamePrefix\": \"string\",\n \"shipto_Salutation\": \"string\",\n \"shipto_Email\": \"string\",\n \"shipto_City\": \"string\",\n \"shipto_PostalCode\": \"string\",\n \"shipto_StreetName\": \"string\",\n \"shipto_HouseNumber\": \"string\",\n \"shipto_CountryIso\": \"string\",\n \"shipto_LanguageIso\": \"string\",\n \"shipto_PhoneNumber\": \"string\",\n \"shipto_PhoneNumber2\": \"string\",\n \"shipto_CompanyName\": \"string\",\n \"remarks\": \"string\",\n \"grecaptcha\": \"string\"\n },\n \"configurationIds\": [\n \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n ],\n \"quantities\": {}\n}", null, "application/json-patch+json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear