Exempelförfrågan
curl --location --request POST 'https://api.nusvar.se/v3/retreive-result/'
--header 'Content-Type: application/json'
--header 'Accept: application/json'
--header 'Authorization: Bearer {DIN_API_NYCKEL_UTAN_BRACES}'
--data-raw '{
"searchId": "gUFmUIEpYtXwTYO8o7LgGeCsZLU2KgwjIhLPnme5OUFIuhcUby6VaEwHZekupmwtLudjLm",
"toReturn": [
"name1",
"name2",
"name3",
"usedName",
"nameChanges",
"street",
"postalcode",
"city",
"nameChanges",
"addressType",
"addressChanges",
"temporaryAddress1",
"temporaryAddress2",
"temporaryAddress3",
"floor",
"doorFromLeft",
"relationExists",
"districtCode",
"municipalityCode",
"companiesExist",
"nurseProfession",
"estateProfession",
"teacherProfession",
"phoneNumbers",
"areaIncomePoints",
"averageIncome",
"maxIncome"
]
}'
Exempelsvar
{
"success": true,
"endpointRequested": "/v3/retreive-result",
"methodRequested": "POST",
"responseCode": 2000,
"message": "",
"results": [
{
"name1": "Anders Edvin",
"name2": "Nilsson",
"name3": "Svensson",
"usedName": "Edvin",
"street": "Sveavägen 3 D lgh 1402",
"postalcode": "11153",
"city": "Stockholm",
"nameChanges": "1",
"nameHistory": [
{
"pnr": "197503080230",
"nickname": "Edvin",
"name1": "Anders Edvin",
"name2": "",
"name3": "Nilsson"
}
],
"addressType": "L",
"addressChanges": "2",
"addressHistory": [
{
"changeDate": "2020-05-19",
"address1": "RINGVÄGEN 19 lgh 1301",
"address2": "11653",
"address3": "Stockholm"
},
{
"changeDate": "2019-08-16",
"address1": "Storgatan 17 lgh 1201",
"address2": "11453",
"address3": "Stockholm"
}
],
"temporaryAddress1": "Box 11153",
"temporaryAddress2": "10953",
"temporaryAddress3": "Stockholm",
"floor": "4",
"doorFromLeft": "2",
"relationExists": "1",
"relation": [
{
"relationFrom": "",
"relationNickname": "Kim",
"relationName1": "Kim",
"relationName2": "",
"relationName3": "Svensson"
}
],
"districtCode": "10",
"municipalityCode": "1060",
"companiesExist": "1",
"companies": [
{
"organizationNumber": "5562749894",
"companyName": "KRAFMAN AKTIEBOLAG",
"typeOfCommitment": "Styrelseledamot",
"registrationYear": "1986",
"status": "1",
"urlCompany": "https://krafman.se/krafman-aktiebolag/5562749894/sammanfattning"
}
],
"isNurse": "2",
"nurseCompetence": [
{
"competenceCode": "LK",
"competenceLevel": "LEG",
"competenceText": "Läkare",
"registrationDate": "2007-08-30",
"regulations": "",
"limits": ""
},
{
"competenceCode": "SK",
"competenceLevel": "LEG",
"competenceText": "Sjuksköterska",
"registrationDate": "2007-08-30",
"regulations": "",
"limits": ""
}
],
"isEstate": "2",
"estateProfession": [
{
"registrationType": "Fastighetsmäklare med fullständig registrering",
"companyName": "Kjelles Fastighetsmäkleri AB",
"note": "-"
},
{
"registrationType": "Fastighetsmäklare med fullständig registrering",
"companyName": "Mickans Fastighetsmäkleri AB",
"note": "-"
}
],
"isTeacher": "2",
"teacherCompetence": [
{
"legitimationType": "TEACHER",
"legitimationStatus": "ACTIVE",
"legitimationDate": "2012-08-03",
"schoolType": "Grundskolan",
"schoolSubject": "Musik",
"schoolSubjectCode": "GRGRMUS01"
},
{
"legitimationType": "TEACHER",
"legitimationStatus": "ACTIVE",
"legitimationDate": "2012-08-03",
"schoolType": "Gymnasieskolan",
"schoolSubject": "Musik",
"schoolSubjectCode": "GRGRMUS01"
}
],
"phoneExist": "1",
"phoneNumbers": [
{
"phoneNumber": "46798765431"
},
{
"phoneNumber": "4699123456"
}
],
"areaIncomePoints": "57",
"averageIncome": "274403",
"maxIncome": "2992900",
"pnr": "197503080230"
},
{
"name1": "Anders Edvin",
"name2": "Nilsson",
"name3": "Svensson",
"usedName": "Edvin",
"street": "Sveavägen 3 D lgh 1402",
"postalcode": "11153",
"city": "Stockholm",
"nameChanges": "1",
"nameHistory": [
{
"pnr": "197503080230",
"nickname": "Edvin",
"name1": "Anders Edvin",
"name2": "",
"name3": "Nilsson"
}
],
"addressType": "L",
"addressChanges": "2",
"addressHistory": [
{
"changeDate": "2020-05-19",
"address1": "RINGVÄGEN 19 lgh 1301",
"address2": "11653",
"address3": "Stockholm"
},
{
"changeDate": "2019-08-16",
"address1": "Storgatan 17 lgh 1201",
"address2": "11453",
"address3": "Stockholm"
}
],
"temporaryAddress1": "Box 11153",
"temporaryAddress2": "10953",
"temporaryAddress3": "Stockholm",
"floor": "4",
"doorFromLeft": "2",
"relationExists": "1",
"relation": [
{
"relationFrom": "",
"relationNickname": "Kim",
"relationName1": "Kim",
"relationName2": "",
"relationName3": "Svensson"
}
],
"districtCode": "10",
"municipalityCode": "1060",
"companiesExist": "1",
"companies": [
{
"organizationNumber": "5562749894",
"companyName": "KRAFMAN AKTIEBOLAG",
"typeOfCommitment": "Styrelseledamot",
"registrationYear": "1986",
"status": "1",
"urlCompany": "https://krafman.se/krafman-aktiebolag/5562749894/sammanfattning"
}
],
"isNurse": "2",
"nurseCompetence": [
{
"competenceCode": "LK",
"competenceLevel": "LEG",
"competenceText": "Läkare",
"registrationDate": "2007-08-30",
"regulations": "",
"limits": ""
},
{
"competenceCode": "SK",
"competenceLevel": "LEG",
"competenceText": "Sjuksköterska",
"registrationDate": "2007-08-30",
"regulations": "",
"limits": ""
}
],
"isEstate": "2",
"estateProfession": [
{
"registrationType": "Fastighetsmäklare med fullständig registrering",
"companyName": "Kjelles Fastighetsmäkleri AB",
"note": "-"
},
{
"registrationType": "Fastighetsmäklare med fullständig registrering",
"companyName": "Mickans Fastighetsmäkleri AB",
"note": "-"
}
],
"isTeacher": "2",
"teacherCompetence": [
{
"legitimationType": "TEACHER",
"legitimationStatus": "ACTIVE",
"legitimationDate": "2012-08-03",
"schoolType": "Grundskolan",
"schoolSubject": "Musik",
"schoolSubjectCode": "GRGRMUS01"
},
{
"legitimationType": "TEACHER",
"legitimationStatus": "ACTIVE",
"legitimationDate": "2012-08-03",
"schoolType": "Gymnasieskolan",
"schoolSubject": "Musik",
"schoolSubjectCode": "GRGRMUS01"
}
],
"phoneExist": "1",
"phoneNumbers": [
{
"phoneNumber": "46798765431"
},
{
"phoneNumber": "4699123456"
}
],
"areaIncomePoints": "57",
"averageIncome": "274403",
"maxIncome": "2992900",
"pnr": "197503080230"
}
]
}