Class: Arbetsformedlingen::API::TaxonomyClient
- Inherits:
-
BaseSOAPClient
- Object
- BaseSOAPClient
- Arbetsformedlingen::API::TaxonomyClient
- 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
-
#aid_occupation_names ⇒ Response
Returns AID occupation names.
-
#aido_occupation_names(label:) ⇒ Response
Returns AIDO occupation names.
-
#continents(language_id:) ⇒ Response
Returns continents.
-
#countries(language_id:) ⇒ Response
Returns countries.
-
#drivers_licenses(language_id:) ⇒ Response
Returns drivers_licenses.
-
#employment_durations(language_id:) ⇒ Response
Returns employment durations.
-
#employment_types(language_id:) ⇒ Response
Returns employment durations.
-
#eu_regions(language_id:) ⇒ Response
Returns eu regions.
-
#eu_regions_by_country(language_id:, country_id:) ⇒ Response
Returns EU regions by country.
-
#experiences_last(language_id:) ⇒ Response
Returns experiences last.
-
#experiences_year(language_id:) ⇒ Response
Returns experiences year.
-
#initialize ⇒ TaxonomyClient
constructor
Initialize client.
-
#internal_job_situations ⇒ Response
Returns internal job situations.
-
#isco_by_iso2_code(iso2_code:) ⇒ Response
Returns ISCO by ISO2 code.
-
#isco_by_locale_code(locale_code:) ⇒ Response
Returns ISCO by local code.
-
#job_situations(language_id:) ⇒ Response
Returns job situations.
-
#language_levels(language_id:) ⇒ Response
Returns language_levels.
-
#languages(language_id:) ⇒ Response
Returns languages.
-
#languages_with_iso(language_id:) ⇒ Response
Returns languages with ISO.
-
#locale_code_by_isco(isco:) ⇒ Response
Returns locale code by ISCO.
-
#locale_fields(language_id:) ⇒ Response
Returns locale fields.
-
#locale_fields_by_locale_code(language_id:, locale_code:) ⇒ Response
Returns locale fields by locale code.
-
#locale_fields_by_locale_field_ids(language_id:, locale_field_ids:) ⇒ Response
Returns locale fields by locale fields.
-
#locale_fields_by_text(language_id:, text:, exact_match: false) ⇒ Response
Returns locale fields by text.
-
#locale_group_by_occupation_name_id(language_id:, occupation_name_id:) ⇒ Response
Returns locale group by occupation name id.
-
#locale_group_skills ⇒ Response
Returns locale group skills.
-
#locale_group_skills_by_locale_code(locale_code:) ⇒ Response
Returns locale group skills by locale code.
-
#locale_groups(language_id:) ⇒ Response
Returns locale groups.
-
#locale_groups_by_locale_codes(language_id:, locale_codes:) ⇒ Response
Returns locale group skills by locale code.
-
#locale_groups_by_locale_field_id(language_id:, locale_field_id:) ⇒ Response
Returns locale groups by locale field id.
-
#locale_groups_by_text(language_id:, text:, exact_match: false) ⇒ Response
Returns locale groups by text.
-
#locale_level3(language_id:) ⇒ Response
Returns locale groups.
-
#municipalities(language_id:) ⇒ Response
Returns municipalities.
-
#municipality_homepages ⇒ Response
Returns municipality homepages.
-
#occupation_name_synonyms(language_id:) ⇒ Response
Returns occupation name synonyms.
-
#occupation_name_versions(language_id:) ⇒ Response
Returns occupation name versions.
-
#occupation_names(language_id:) ⇒ Response
Returns occupation names.
-
#occupation_names_art(language_id:) ⇒ Response
Returns occupation names for jobs with culture.
-
#occupation_names_by_locale_code(language_id:, locale_code:) ⇒ Response
Returns occupation names by locale code.
-
#occupation_names_by_occupation_name_ids(language_id:, occupation_name_ids:) ⇒ Response
Returns occupation names by occupation name ids.
-
#occupation_names_by_text(language_id:, text:, exact_match: false) ⇒ Response
Returns occupation names by text.
-
#occupation_names_construction(language_id:) ⇒ Response
Returns occupation names within construction.
-
#occupation_names_navigation(language_id:) ⇒ Response
Returns occupation names within navigation.
-
#occupation_names_versions_by_occupation_name_ids(language_id:, occupation_name_ids:) ⇒ Response
Returns occupation names versions by occupation name ids.
-
#post_codes(language_id:) ⇒ Response
Returns post codes.
-
#post_codes_by_municipality(language_id:, municipality_id:) ⇒ Response
Returns post codes by municipality.
-
#post_codes_by_post_code(language_id:, post_code:) ⇒ Response
Returns post codes by post code.
-
#post_codes_by_post_locality(language_id:, post_locality_id:) ⇒ Response
Returns post codes by post locality.
-
#post_localities(language_id:) ⇒ Response
Returns post localities.
-
#skill_headlines(language_id:) ⇒ Response
Returns skill headlines.
-
#skill_headlines_by_headline_ids(language_id:, skill_headline_ids:) ⇒ Response
Returns skill headlines by main headline.
-
#skill_headlines_by_main_headline(language_id:, skill_main_headline_id:) ⇒ Response
Returns skill headlines by main headline.
-
#skill_headlines_by_skill_main_headlines_ids(language_id:, skill_main_headline_ids:) ⇒ Response
Returns skill headlines by text.
-
#skill_headlines_by_text(language_id:, text:, exact_match: false) ⇒ Response
Returns skill headlines by text.
-
#skill_main_headlines(language_id:) ⇒ Response
Returns skill main headlines.
-
#skill_main_headlines_by_text(language_id:, text:, exact_match: false) ⇒ Response
Returns skill main headlines by text.
-
#skill_versions(language_id:) ⇒ Response
Returns skill versions.
-
#skills(language_id:) ⇒ Response
Returns skills.
-
#skills_by_headline(language_id:, skill_headline_id:) ⇒ Response
Returns skills by main headline.
-
#skills_by_locale_code(language_id:, locale_code:) ⇒ Response
Returns skills by locale code.
-
#skills_by_main_headline(language_id:, skill_main_headline_id:) ⇒ Response
Returns skill headlines by main headline.
-
#skills_by_skill_ids(language_id:, skill_ids:) ⇒ Response
Returns skills by skill ids.
-
#skills_by_text(language_id:, text:, exact_match: false) ⇒ Response
Returns skills by text.
-
#skills_versions_by_skill_ids(language_id:, skill_ids:) ⇒ Response
Returns skills versions by skill ids.
-
#sni_level1(language_id:) ⇒ Response
Returns SNI level 1.
-
#sni_level2(language_id:) ⇒ Response
Returns SNI level 2.
-
#sun_field1(language_id:) ⇒ Response
Returns SUN field 1.
-
#sun_field2(language_id:) ⇒ Response
Returns SUN field 2.
-
#sun_field3(language_id:) ⇒ Response
Returns SUN field 3.
-
#sun_field3_by_guide(language_id:, sun_level1_id:) ⇒ Response
Returns post codes by post locality.
-
#sun_guide_tree(language_id:) ⇒ Response
Returns SUN guide tree.
-
#sun_level1(language_id:) ⇒ Response
Returns SUN level 1.
-
#sun_level2(language_id:) ⇒ Response
Returns SUN level 2.
-
#sun_level3(language_id:) ⇒ Response
Returns SUN level 3.
-
#unemployment_benefit_societies(language_id:) ⇒ Response
Returns unemployment benefit societies.
-
#version_information ⇒ Response
Returns version information.
-
#wage_types(language_id:) ⇒ Response
Returns unemployment benefit societies.
-
#work_time_extents(language_id:) ⇒ Response
Returns work time extents.
Methods inherited from BaseSOAPClient
Constructor Details
#initialize ⇒ TaxonomyClient
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_names ⇒ Response
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
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
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
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
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
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
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
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
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
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_situations ⇒ Response
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
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
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
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
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
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
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
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
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
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
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
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_skills ⇒ Response
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
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
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
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
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
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
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
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_homepages ⇒ Response
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
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
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
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
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
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
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
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
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
593 594 595 596 |
# File 'lib/arbetsformedlingen/api/taxonomy_client.rb', line 593 def (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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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_information ⇒ Response
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
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
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 |