Class: Arbetsformedlingen::API::TaxonomyClient

Inherits:
BaseSOAPClient show all
Defined in:
lib/arbetsformedlingen/api/taxonomy_client.rb

Overview

WsOccupation API client

Constant Summary collapse

SERVICE_URL =

Service URL

'http://api.arbetsformedlingen.se/taxonomi/v0/TaxonomiService.asmx'
NAMESPACE =

Namespace

'urn:ams.se:Taxonomy'

Instance Attribute Summary

Attributes inherited from BaseSOAPClient

#namespace, #request, #service_url

Instance Method Summary collapse

Methods inherited from BaseSOAPClient

#client_request

Constructor Details

#initializeTaxonomyClient

Initialize client



17
18
19
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 17

def initialize
  super(SERVICE_URL, NAMESPACE)
end

Instance Method Details

#aid_occupation_namesResponse

Returns AID occupation names



34
35
36
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 34

def aid_occupation_names
  client_request('GetAllAIDOccupationNames')
end

#aido_occupation_names(label:) ⇒ Response

Returns AIDO occupation names



115
116
117
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 115

def aido_occupation_names(label:)
  client_request('GetAIDOccupationNameByLabel', args: { label: label })
end

#continents(language_id:) ⇒ Response

Returns continents

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



43
44
45
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 43

def continents(language_id:)
  client_request('GetAllContinents', args: { languageId: language_id })
end

#countries(language_id:) ⇒ Response

Returns countries

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



52
53
54
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 52

def countries(language_id:)
  client_request('GetAllCountries', args: { languageId: language_id })
end

#drivers_licenses(language_id:) ⇒ Response

Returns drivers_licenses

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



61
62
63
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 61

def drivers_licenses(language_id:)
  client_request('GetAllDrivingLicences', args: { languageId: language_id })
end

#employment_durations(language_id:) ⇒ Response

Returns employment durations

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



79
80
81
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 79

def employment_durations(language_id:)
  client_request('GetAllEmploymentDurations', args: { languageId: language_id })
end

#employment_types(language_id:) ⇒ Response

Returns employment durations

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



88
89
90
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 88

def employment_types(language_id:)
  client_request('GetAllEmploymentTypes', args: { languageId: language_id })
end

#eu_regions(language_id:) ⇒ Response

Returns eu regions

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



70
71
72
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 70

def eu_regions(language_id:)
  client_request('GetAllEURegions', args: { languageId: language_id })
end

#eu_regions_by_country(language_id:, country_id:) ⇒ Response

Returns EU regions by country

Parameters:

  • language_id (String, Integer)
  • country_id (String, Integer)

Returns:

See Also:



392
393
394
395
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 392

def eu_regions_by_country(language_id:, country_id:)
  args = { countryId: country_id, languageId: language_id }
  client_request('GetEURegionsByCountryID', args: args)
end

#experiences_last(language_id:) ⇒ Response

Returns experiences last

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



97
98
99
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 97

def experiences_last(language_id:)
  client_request('GetAllExperiencesLast', args: { languageId: language_id })
end

#experiences_year(language_id:) ⇒ Response

Returns experiences year

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



106
107
108
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 106

def experiences_year(language_id:)
  client_request('GetAllExperiencesYear', args: { languageId: language_id })
end

#internal_job_situationsResponse

Returns internal job situations



123
124
125
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 123

def internal_job_situations
  client_request('GetAllInternalJobSituations')
end

#isco_by_iso2_code(iso2_code:) ⇒ Response

Returns ISCO by ISO2 code

Parameters:

  • iso2_code (String)

Returns:

See Also:



411
412
413
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 411

def isco_by_iso2_code(iso2_code:)
  client_request('GetLanguageIDByISO2Code', args: { ISO2Code: iso2_code })
end

#isco_by_locale_code(locale_code:) ⇒ Response

Returns ISCO by local code

Parameters:

  • locale_code (String, Integer)

Returns:

See Also:



402
403
404
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 402

def isco_by_locale_code(locale_code:)
  client_request('GetISCOByLocaleCode', args: { localeCode: locale_code })
end

#job_situations(language_id:) ⇒ Response

Returns job situations

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



132
133
134
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 132

def job_situations(language_id:)
  client_request('GetAllJobSituations', args: { languageId: language_id })
end

#language_levels(language_id:) ⇒ Response

Returns language_levels

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



141
142
143
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 141

def language_levels(language_id:)
  client_request('GetAllLanguageLevels', args: { languageId: language_id })
end

#languages(language_id:) ⇒ Response

Returns languages

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



150
151
152
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 150

def languages(language_id:)
  client_request('GetAllLanguages', args: { languageId: language_id })
end

#languages_with_iso(language_id:) ⇒ Response

Returns languages with ISO

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



159
160
161
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 159

def languages_with_iso(language_id:)
  client_request('GetAllLanguagesWithISO', args: { languageId: language_id })
end

#locale_code_by_isco(isco:) ⇒ Response

Returns locale code by ISCO



419
420
421
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 419

def locale_code_by_isco(isco:)
  client_request('GetLocaleCodeByISCO', args: { ISCO: isco })
end

#locale_fields(language_id:) ⇒ Response

Returns locale fields

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



168
169
170
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 168

def locale_fields(language_id:)
  client_request('GetAllLocaleFields', args: { languageId: language_id })
end

#locale_fields_by_locale_code(language_id:, locale_code:) ⇒ Response

Returns locale fields by locale code

Parameters:

  • language_id (String, Integer)
  • locale_code (String, Integer)

Returns:

See Also:



429
430
431
432
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 429

def locale_fields_by_locale_code(language_id:, locale_code:)
  args = { languageId: language_id, localeCode: locale_code }
  client_request('GetLocaleFieldsByLocaleCode', args: args)
end

#locale_fields_by_locale_field_ids(language_id:, locale_field_ids:) ⇒ Response

Returns locale fields by locale fields

Parameters:

  • language_id (String, Integer)
  • locale_field_ids (Array<String>, Array<Integer>)

Returns:

See Also:



440
441
442
443
444
445
446
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 440

def locale_fields_by_locale_field_ids(language_id:, locale_field_ids:)
  args = {
    languageId: language_id,
    localeFieldIds: locale_field_ids.map { |id| [:int, id] },
  }
  client_request('GetLocaleFieldsByLocaleFieldIds', args: args)
end

#locale_fields_by_text(language_id:, text:, exact_match: false) ⇒ Response

Returns locale fields by text

Parameters:

  • language_id (String, Integer)
  • text (String)
  • exact_match (true, false) (defaults to: false)

Returns:

See Also:



455
456
457
458
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 455

def locale_fields_by_text(language_id:, text:, exact_match: false)
  args = { languageId: language_id, term: text, exactMatch: exact_match }
  client_request('GetLocaleFieldsByText', args: args)
end

#locale_group_by_occupation_name_id(language_id:, occupation_name_id:) ⇒ Response

Returns locale group by occupation name id

Parameters:

  • language_id (String, Integer)
  • occupation_name_id (String, Integer)

Returns:

See Also:



466
467
468
469
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 466

def locale_group_by_occupation_name_id(language_id:, occupation_name_id:)
  args = { languageId: language_id, occupationNameId: occupation_name_id }
  client_request('GetLocaleGroupByOccupationNameId', args: args)
end

#locale_group_skillsResponse

Returns locale group skills



176
177
178
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 176

def locale_group_skills
  client_request('GetAllLocaleGroupSkills')
end

#locale_group_skills_by_locale_code(locale_code:) ⇒ Response

Returns locale group skills by locale code

Parameters:

  • locale_code (String, Integer)

Returns:

See Also:



476
477
478
479
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 476

def locale_group_skills_by_locale_code(locale_code:)
  args = { localeCode: locale_code }
  client_request('GetLocaleGroupSkillsByLocaleCode', args: args)
end

#locale_groups(language_id:) ⇒ Response

Returns locale groups

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



185
186
187
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 185

def locale_groups(language_id:)
  client_request('GetAllLocaleGroups', args: { languageId: language_id })
end

#locale_groups_by_locale_codes(language_id:, locale_codes:) ⇒ Response

Returns locale group skills by locale code

Parameters:

  • language_id (String, Integer)
  • locale_codes (Array<String>, Array<Integer>)

Returns:

See Also:



487
488
489
490
491
492
493
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 487

def locale_groups_by_locale_codes(language_id:, locale_codes:)
  args = {
    languageId: language_id,
    localeCodes: locale_codes.map { |code| [:string, code] },
  }
  client_request('GetLocaleGroupsByLocaleCodes', args: args)
end

#locale_groups_by_locale_field_id(language_id:, locale_field_id:) ⇒ Response

Returns locale groups by locale field id

Parameters:

  • language_id (String, Integer)
  • locale_field_id (String, Integer)

Returns:

See Also:



501
502
503
504
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 501

def locale_groups_by_locale_field_id(language_id:, locale_field_id:)
  args = { languageId: language_id, localeFieldId: locale_field_id }
  client_request('GetLocaleGroupsByLocaleFieldId', args: args)
end

#locale_groups_by_text(language_id:, text:, exact_match: false) ⇒ Response

Returns locale groups by text

Parameters:

  • language_id (String, Integer)
  • text (String)
  • exact_match (true, false) (defaults to: false)

Returns:

See Also:



513
514
515
516
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 513

def locale_groups_by_text(language_id:, text:, exact_match: false)
  args = { languageId: language_id, term: text, exactMatch: exact_match }
  client_request('GetLocaleGroupsByText', args: args)
end

#locale_level3(language_id:) ⇒ Response

Returns locale groups

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



194
195
196
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 194

def locale_level3(language_id:)
  client_request('GetAllLocaleLevel3', args: { languageId: language_id })
end

#municipalities(language_id:) ⇒ Response

Returns municipalities

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



203
204
205
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 203

def municipalities(language_id:)
  client_request('GetAllMunicipalities', args: { languageId: language_id })
end

#municipality_homepagesResponse

Returns municipality homepages



211
212
213
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 211

def municipality_homepages
  client_request('GetAllMunicipalityHomePages')
end

#occupation_name_synonyms(language_id:) ⇒ Response

Returns occupation name synonyms

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



220
221
222
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 220

def occupation_name_synonyms(language_id:)
  client_request('GetAllOccupationNameSynonyms', args: { languageId: language_id })
end

#occupation_name_versions(language_id:) ⇒ Response

Returns occupation name versions

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



229
230
231
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 229

def occupation_name_versions(language_id:)
  client_request('GetAllOccupationNamesVersion', args: { languageId: language_id })
end

#occupation_names(language_id:) ⇒ Response

Returns occupation names

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



26
27
28
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 26

def occupation_names(language_id:)
  client_request('GetAllOccupationNames', args: { languageId: language_id })
end

#occupation_names_art(language_id:) ⇒ Response

Returns occupation names for jobs with culture

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



523
524
525
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 523

def occupation_names_art(language_id:)
  client_request('GetOccupationNamesArt', args: { languageId: language_id })
end

#occupation_names_by_locale_code(language_id:, locale_code:) ⇒ Response

Returns occupation names by locale code

Parameters:

  • language_id (String, Integer)
  • locale_code (String, Integer)

Returns:

See Also:



533
534
535
536
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 533

def occupation_names_by_locale_code(language_id:, locale_code:)
  args = { languageId: language_id, localeCode: locale_code }
  client_request('GetOccupationNamesByLocaleCode', args: args)
end

#occupation_names_by_occupation_name_ids(language_id:, occupation_name_ids:) ⇒ Response

Returns occupation names by occupation name ids

Parameters:

  • language_id (String, Integer)
  • occupation_name_ids (Array<String>, Array<Integer>)

Returns:

See Also:



544
545
546
547
548
549
550
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 544

def occupation_names_by_occupation_name_ids(language_id:, occupation_name_ids:)
  args = {
    languageId: language_id,
    occupationNameIds: occupation_name_ids.map { |id| [:int, id] },
  }
  client_request('GetOccupationNamesByOccupationNameIds', args: args)
end

#occupation_names_by_text(language_id:, text:, exact_match: false) ⇒ Response

Returns occupation names by text

Parameters:

  • language_id (String, Integer)
  • text (String)
  • exact_match (true, false) (defaults to: false)

Returns:

See Also:



573
574
575
576
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 573

def occupation_names_by_text(language_id:, text:, exact_match: false)
  args = { languageId: language_id, term: text, exactMatch: exact_match }
  client_request('GetOccupationNamesByText', args: args)
end

#occupation_names_construction(language_id:) ⇒ Response

Returns occupation names within construction

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



583
584
585
586
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 583

def occupation_names_construction(language_id:)
  args = { languageId: language_id }
  client_request('GetOccupationNamesConstruction', args: args)
end

#occupation_names_navigation(language_id:) ⇒ Response

Returns occupation names within navigation

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



593
594
595
596
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 593

def occupation_names_navigation(language_id:)
  args = { languageId: language_id }
  client_request('GetOccupationNamesNavigation', args: args)
end

#occupation_names_versions_by_occupation_name_ids(language_id:, occupation_name_ids:) ⇒ Response

Returns occupation names versions by occupation name ids

Parameters:

  • language_id (String, Integer)
  • occupation_name_ids (Array<String>, Array<Integer>)

Returns:

See Also:



558
559
560
561
562
563
564
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 558

def occupation_names_versions_by_occupation_name_ids(language_id:, occupation_name_ids:)
  args = {
    languageId: language_id,
    occupationNameIds: occupation_name_ids.map { |id| [:int, id] },
  }
  client_request('GetOccupationNamesByOccupationNameIdsVersion', args: args)
end

#post_codes(language_id:) ⇒ Response

Returns post codes

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



238
239
240
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 238

def post_codes(language_id:)
  client_request('GetAllPostCodes', args: { languageId: language_id })
end

#post_codes_by_municipality(language_id:, municipality_id:) ⇒ Response

Returns post codes by municipality

Parameters:

  • language_id (String, Integer)
  • municipality_id (String, Integer)

Returns:

See Also:



604
605
606
607
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 604

def post_codes_by_municipality(language_id:, municipality_id:)
  args = { languageId: language_id, NUTSCode: municipality_id }
  client_request('GetPostCodesByNationalNUTSLAU2Code', args: args)
end

#post_codes_by_post_code(language_id:, post_code:) ⇒ Response

Returns post codes by post code

Parameters:

  • language_id (String, Integer)
  • post_code (String, Integer)

Returns:

See Also:



615
616
617
618
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 615

def post_codes_by_post_code(language_id:, post_code:)
  args = { languageId: language_id, postCode: post_code }
  client_request('GetPostCodesByPostCode', args: args)
end

#post_codes_by_post_locality(language_id:, post_locality_id:) ⇒ Response

Returns post codes by post locality

Parameters:

  • language_id (String, Integer)
  • post_locality_id (String, Integer)

Returns:

See Also:



626
627
628
629
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 626

def post_codes_by_post_locality(language_id:, post_locality_id:)
  args = { languageId: language_id, postLocalityId: post_locality_id }
  client_request('GetPostCodesByPostLocality', args: args)
end

#post_localities(language_id:) ⇒ Response

Returns post localities

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



247
248
249
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 247

def post_localities(language_id:)
  client_request('GetAllPostLocalities', args: { languageId: language_id })
end

#skill_headlines(language_id:) ⇒ Response

Returns skill headlines

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



328
329
330
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 328

def skill_headlines(language_id:)
  client_request('GetAllSkillHeadlines', args: { languageId: language_id })
end

#skill_headlines_by_headline_ids(language_id:, skill_headline_ids:) ⇒ Response

Returns skill headlines by main headline

Parameters:

  • language_id (String, Integer)
  • skill_headline_ids (Array<String>, Array<Integer>)

Returns:

See Also:



657
658
659
660
661
662
663
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 657

def skill_headlines_by_headline_ids(language_id:, skill_headline_ids:)
  args = {
    languageId: language_id,
    skillHeadlineIds: skill_headline_ids.map { |id| [:int, id] },
  }
  client_request('GetSkillHeadlinesBySkillHeadlineIds', args: args)
end

#skill_headlines_by_main_headline(language_id:, skill_main_headline_id:) ⇒ Response

Returns skill headlines by main headline

Parameters:

  • language_id (String, Integer)
  • skill_main_headline_id (String, Integer)

Returns:

See Also:



671
672
673
674
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 671

def skill_headlines_by_main_headline(language_id:, skill_main_headline_id:)
  args = { languageId: language_id, skillMainHeadlineId: skill_main_headline_id }
  client_request('GetSkillHeadlinesBySkillMainHeadlineId', args: args)
end

#skill_headlines_by_skill_main_headlines_ids(language_id:, skill_main_headline_ids:) ⇒ Response

Returns skill headlines by text

Parameters:

  • language_id (String, Integer)
  • skill_main_headline_ids (Array<String>, Array<Integer>)

Returns:

See Also:



694
695
696
697
698
699
700
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 694

def skill_headlines_by_skill_main_headlines_ids(language_id:, skill_main_headline_ids:)
  args = {
    languageId: language_id,
    skillMainHeadlineIds: skill_main_headline_ids.map { |id| [:int, id] },
  }
  client_request('GetSkillMainHeadlinesBySkillMainHeadlineIds', args: args)
end

#skill_headlines_by_text(language_id:, text:, exact_match: false) ⇒ Response

Returns skill headlines by text

Parameters:

  • language_id (String, Integer)
  • text (String)
  • exact_match (true, false) (defaults to: false)

Returns:

See Also:



683
684
685
686
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 683

def skill_headlines_by_text(language_id:, text:, exact_match: false)
  args = { languageId: language_id, term: text, exactMatch: exact_match }
  client_request('GetSkillHeadlinesByText', args: args)
end

#skill_main_headlines(language_id:) ⇒ Response

Returns skill main headlines

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



337
338
339
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 337

def skill_main_headlines(language_id:)
  client_request('GetAllSkillMainHeadlines', args: { languageId: language_id })
end

#skill_main_headlines_by_text(language_id:, text:, exact_match: false) ⇒ Response

Returns skill main headlines by text

Parameters:

  • language_id (String, Integer)
  • text (String)
  • exact_match (true, false) (defaults to: false)

Returns:

See Also:



709
710
711
712
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 709

def skill_main_headlines_by_text(language_id:, text:, exact_match: false)
  args = { languageId: language_id, term: text, exactMatch: exact_match }
  client_request('GetSkillMainHeadlinesByText', args: args)
end

#skill_versions(language_id:) ⇒ Response

Returns skill versions

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



355
356
357
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 355

def skill_versions(language_id:)
  client_request('GetAllSkillsVersion', args: { languageId: language_id })
end

#skills(language_id:) ⇒ Response

Returns skills

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



346
347
348
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 346

def skills(language_id:)
  client_request('GetAllSkills', args: { languageId: language_id })
end

#skills_by_headline(language_id:, skill_headline_id:) ⇒ Response

Returns skills by main headline

Parameters:

  • language_id (String, Integer)
  • skill_headline_id (String, Integer)

Returns:

See Also:



732
733
734
735
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 732

def skills_by_headline(language_id:, skill_headline_id:)
  args = { languageId: language_id, skillHeadlineId: skill_headline_id }
  client_request('GetSkillsBySkillHeadlineId', args: args)
end

#skills_by_locale_code(language_id:, locale_code:) ⇒ Response

Returns skills by locale code

Parameters:

  • language_id (String, Integer)
  • locale_code (String, Integer)

Returns:

See Also:



720
721
722
723
724
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 720

def skills_by_locale_code(language_id:, locale_code:)
  # NOTE: Yes there is a typo, "localCode" instead of "localeCode", in the API
  args = { languageId: language_id, localCode: locale_code }
  client_request('GetSkillsByLocaleCode', args: args)
end

#skills_by_main_headline(language_id:, skill_main_headline_id:) ⇒ Response

Returns skill headlines by main headline

Parameters:

  • language_id (String, Integer)
  • skill_main_headline_id (String, Integer)

Returns:

See Also:



771
772
773
774
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 771

def skills_by_main_headline(language_id:, skill_main_headline_id:)
  args = { languageId: language_id, skillMainHeadlineId: skill_main_headline_id }
  client_request('GetSkillsBySkillMainHeadlineId', args: args)
end

#skills_by_skill_ids(language_id:, skill_ids:) ⇒ Response

Returns skills by skill ids

Parameters:

  • language_id (String, Integer)
  • skill_ids (Array<String>, Array<Integer>)

Returns:

See Also:



743
744
745
746
747
748
749
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 743

def skills_by_skill_ids(language_id:, skill_ids:)
  args = {
    languageId: language_id,
    skillIds: skill_ids.map { |id| [:int, id] },
  }
  client_request('GetSkillsBySkillIds', args: args)
end

#skills_by_text(language_id:, text:, exact_match: false) ⇒ Response

Returns skills by text

Parameters:

  • language_id (String, Integer)
  • text (String)
  • exact_match (true, false) (defaults to: false)

Returns:

See Also:



783
784
785
786
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 783

def skills_by_text(language_id:, text:, exact_match: false)
  args = { languageId: language_id, term: text, exactMatch: exact_match }
  client_request('GetSkillsByText', args: args)
end

#skills_versions_by_skill_ids(language_id:, skill_ids:) ⇒ Response

Returns skills versions by skill ids

Parameters:

  • language_id (String, Integer)
  • skill_ids (Array<String>, Array<Integer>)

Returns:

See Also:



757
758
759
760
761
762
763
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 757

def skills_versions_by_skill_ids(language_id:, skill_ids:)
  args = {
    languageId: language_id,
    skillIds: skill_ids.map { |id| [:int, id] },
  }
  client_request('GetSkillsBySkillIdsVersion', args: args)
end

#sni_level1(language_id:) ⇒ Response

Returns SNI level 1

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



256
257
258
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 256

def sni_level1(language_id:)
  client_request('GetAllSNILevel1', args: { languageId: language_id })
end

#sni_level2(language_id:) ⇒ Response

Returns SNI level 2

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



265
266
267
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 265

def sni_level2(language_id:)
  client_request('GetAllSNILevel2', args: { languageId: language_id })
end

#sun_field1(language_id:) ⇒ Response

Returns SUN field 1

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



274
275
276
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 274

def sun_field1(language_id:)
  client_request('GetAllSUNField1', args: { languageId: language_id })
end

#sun_field2(language_id:) ⇒ Response

Returns SUN field 2

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



283
284
285
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 283

def sun_field2(language_id:)
  client_request('GetAllSUNField2', args: { languageId: language_id })
end

#sun_field3(language_id:) ⇒ Response

Returns SUN field 3

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



292
293
294
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 292

def sun_field3(language_id:)
  client_request('GetAllSUNField3', args: { languageId: language_id })
end

#sun_field3_by_guide(language_id:, sun_level1_id:) ⇒ Response

Returns post codes by post locality

Parameters:

  • language_id (String, Integer)
  • sun_level1_id (String, Integer)

Returns:

See Also:



637
638
639
640
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 637

def sun_field3_by_guide(language_id:, sun_level1_id:)
  args = { languageId: language_id, SUNLevel1ID: sun_level1_id }
  client_request('GetSUNField3ByGuide', args: args)
end

#sun_guide_tree(language_id:) ⇒ Response

Returns SUN guide tree

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



647
648
649
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 647

def sun_guide_tree(language_id:)
  client_request('GetSUNGuideTree', args: { languageId: language_id })
end

#sun_level1(language_id:) ⇒ Response

Returns SUN level 1

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



301
302
303
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 301

def sun_level1(language_id:)
  client_request('GetAllSUNLevel1', args: { languageId: language_id })
end

#sun_level2(language_id:) ⇒ Response

Returns SUN level 2

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



310
311
312
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 310

def sun_level2(language_id:)
  client_request('GetAllSUNLevel2', args: { languageId: language_id })
end

#sun_level3(language_id:) ⇒ Response

Returns SUN level 3

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



319
320
321
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 319

def sun_level3(language_id:)
  client_request('GetAllSUNLevel3', args: { languageId: language_id })
end

#unemployment_benefit_societies(language_id:) ⇒ Response

Returns unemployment benefit societies

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



364
365
366
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 364

def unemployment_benefit_societies(language_id:)
  client_request('GetAllUnemploymentBenefitSocieties', args: { languageId: language_id })
end

#version_informationResponse

Returns version information



792
793
794
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 792

def version_information
  client_request('GetVersionInformations')
end

#wage_types(language_id:) ⇒ Response

Returns unemployment benefit societies

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



373
374
375
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 373

def wage_types(language_id:)
  client_request('GetAllWageTypes', args: { languageId: language_id })
end

#work_time_extents(language_id:) ⇒ Response

Returns work time extents

Parameters:

  • language_id (String, Integer)

Returns:

See Also:



382
383
384
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 382

def work_time_extents(language_id:)
  client_request('GetAllWorkTimeExtents', args: { languageId: language_id })
end