string jsonString = "{\"purpose\":\"MAX\",\"applicants\":[{\"birthYear\":2003,\"qualifiesEmploymentLength\":true,\"monthlyIncome\":55000,\"employmentType\":\"PERMANENT\",\"employmentRole\":\"\",\"maritalStatus\":\"SINGLE\"}],\"existingProperties\":[],\"household\":{\"children\":[],\"amortizationStudentDebt\":729,\"otherAssets\":0,\"carCost\":[{\"type\":\"OWNED\"}]},\"intermediaryType\":\"454\",\"newProperty\":{\"propertyType\":\"HOUSE\",\"mortgage\":null,\"downPayment\":700000,\"municipality\":\"Örebro\",\"livingSpace\":130}}";
var client = new HttpClient();
client.BaseAddress = new Uri("https://api.sbab.se/api/pre-approval/2.0/");
var content = new StringContent(jsonString, Encoding.UTF8, "application/json");
var response = client.PostAsync("loan-offer", content).Result;
Console.WriteLine(jsonString);
string jsonString = "{\"purpose\":\"MAX\",\"applicants\":[{\"birthYear\":2003,\"qualifiesEmploymentLength\":true,\"monthlyIncome\":55000,\"employmentType\":\"PERMANENT\",\"employmentRole\":\"\",\"maritalStatus\":\"SINGLE\"}],\"existingProperties\":[],\"household\":{\"children\":[],\"amortizationStudentDebt\":729,\"otherAssets\":0,\"carCost\":[{\"type\":\"OWNED\"}]},\"intermediaryType\":\"454\",\"newProperty\":{\"propertyType\":\"HOUSE\",\"mortgage\":null,\"downPayment\":700000,\"municipality\":\"Örebro\",\"livingSpace\":130}}";
var client = new HttpClient();
client.BaseAddress = new Uri("https://api.sbab.se/api/pre-approval/2.0/");
var content = new StringContent(jsonString, Encoding.UTF8, "application/json");
var response = client.PostAsync("loan-offer", content).Result;
Console.WriteLine(jsonString);