Siden opdateres automatisk til at afspejle koden.
Metoder
GetEscoStarHierarki GET /v1/AlternativEscoStarHierarki/hierarki/{hierarkiType,hierarkielementId}
Henter et hierarki eller specifik hierarki element. Findes data ikke på de angivne parametre, returneres null.
Input
Element | Type | Detaljer | Forekomst | Beskrivelse |
---|---|---|---|---|
Taxonomy.Hierarkitype | 1 | Type af hierarki | ||
hierarkielementId | GUID | 0 - 1 | Id på element i hierarki |
Output
Element | Type | Detaljer | Forekomst | Beskrivelse |
---|---|---|---|---|
response | GetOccupationResponseDto | 1 | ||
- hierarkiStruktur | hierarkiStrukturDto | 1 | Hierarkistamdata | |
- - hierarkiId | string | Length: 0-256 | 1 | Unik identifikation af hierarkiet. |
- - hierarkiType | Taxonomy.Hierarkitype | 1 | Type af hierarki | |
- - kanOpdateresOnline | boolean | 0 - 1 | Om hierarkiet kan blive opdateret løbende | |
- - oprettetTidspunkt | dateTime | 1 | Oprettelsesdato for hierarki | |
- - opdateretTidspunkt | dateTime | 1 | Sidste ændringsdato på hierarki eller tilhørende elementer. | |
- - hierarkielementStruktur | hierarkielementStruktur | 0 - 1 | Hierarkielement i træ | |
- - - hierarkieSamling | GUID | 0 - * | Liste af elementer i hierarki | |
- - - - hierarkielementelementId | GUID | Length: 1-256 | 1 | Id på det enkelte element i hierarkiet |
- - - - titel | string | 0 - * | Titel på element, Hvis nederste niveau vil denne titel altid være ESCO STAR stillingsbetegnelsen | |
- - - - foraeldre | uuid | 0 - 1 | Identificerer forældre i hierarki, hvis topniveau er forældre NULL | |
- - - - erAktiv | boolean | 1 | Om elementet er aktivt eller ej, Hvis nederste niveau vil aktiv status følge ESCO STAR stillingsbetegnelsen status hvis denne er inaktiv. | |
- - - - oprettetTidspunkt | dateTime | 1 | Oprettelsesdato for element i hierarki | |
- - - - opdateretTidspunkt | dateTime | 1 | Sidste ændringsdato på hierarkielementet. | |
- - - - ConceptURIDA | uuid | 0 - 1 | ConceptURIDA til ESCO STAR stillingsbetegnelse. Vil kun være udfyldt på nederste niveau i hierarkiet |
Fejlkoder
Fejlkode | Fejltekst | Beskrivelse |
---|---|---|
1014 | The submitted message is not valid | The submitted message is not valid |
1101 | Client certificate missing from request | Client certificate missing from request |
2002 | Invalid CodeList value | Invalid CodeList value |
4575 | You are not authorized to execute the operation | You are not authorized to execute the operation |
CreateOccupation (POST /v1/EscoStar/occupations)
Opretter en specifik STAR ESCO stillingsbetegnelse.
Tilladte organisationer
Alle borgere | Egne borgere | Tidligere egne borgere | Gæsteadgang | Anden Aktør - egne borgere | Anden Aktør - gæsteadgang | |
---|---|---|---|---|---|---|
STAR | X |
Input
Element | Type | Detaljer | Forekomst | Beskrivelse |
---|---|---|---|---|
x-requestId [Header] | string | 1 | ||
requestBody | CreateOccupationRequestDto | 1 | ||
- occupation | CreateOccupationDto | 1 | Stillingsbetegnelse. | |
- - parentConceptUriDa | string | Length: 0-256 | 0 - 1 | ESCO STAR identifikation af det overordnede element i ESCO STAR hierarkiet. |
- - escoStarType | EscoStarTypeCodeList | 1 | ||
- - iscoGroup | string | Length: 0-4 | 0 - 1 | ISCO kode fra EU, kun ved ESCO extensions. |
- - iscoCode | string | Length: 0-16 | 0 - 1 | ISCO kode, fra EU kun ved de 4 øverste niveauer, som er ISCO i ESCO STAR hierarkiet. |
- - preferredLabelDa | string | Length: 2-512 | 0 - 1 | Dansk stillingsbetegnelse givet i Danmark. |
- - descriptionDa | string | Length: 2-2048 | 0 - 1 | Beskrivelse givet i Danmark. |
- - additionalInformation | string | Length: 0-2048 | 0 - 1 | Supplerende information som fritekst. |
- - escoStarStatus | EscoStarStatusCodeList | 1 |
Output
Element | Type | Detaljer | Forekomst | Beskrivelse |
---|---|---|---|---|
response | CreateOccupationResponseDto | 1 | ||
- conceptUriDa | string | 1 |
Fejlkoder
Fejlkode | Fejltekst | Beskrivelse |
---|---|---|
1014 | The submitted message is not valid | The submitted message is not valid |
1101 | Client certificate missing from request | Client certificate missing from request |
2002 | Invalid CodeList value | Invalid CodeList value |
4575 | You are not authorized to execute the operation | You are not authorized to execute the operation |
40001 | The specified EscoStar Status does not exist. | The specified EscoStar Status does not exist. |
40002 | The specified EscoStar Type does not exist. | The specified EscoStar Type does not exist. |
50001 | EscoStar PreferredLabelDa is a required field. Only plain text (no HTML) is allowed. Minimum text length is 2 characters and maximum 512 characters. | EscoStar PreferredLabelDa is a required field. Only plain text (no HTML) is allowed. Minimum text length is 2 characters and maximum 512 characters. |
50002 | EscoStar DescriptionDa is a required field. Only plain text (no HTML) is allowed. Minimum text length is 2 characters and maximum 2048 characters. | EscoStar DescriptionDa is a required field. Only plain text (no HTML) is allowed. Minimum text length is 2 characters and maximum 2048 characters. |
50003 | Only plain text (no HTML) is allowed for EscoStar AdditionalInformation. Maximum text length is 2048 characters. | Only plain text (no HTML) is allowed for EscoStar AdditionalInformation. Maximum text length is 2048 characters. |
50004 | EscoStar Status should be inactive when Esco Status is inactive. | EscoStar Status should be inactive when Esco Status is inactive. |
50005 | EscoStar Status can not be set to Inactive when Esco Status is active. | EscoStar Status can not be set to Inactive when Esco Status is active. |
50006 | The specified PreferredLabelDa is already in use by another occupation. This is not permitted as it must be unique | The specified PreferredLabelDa is already in use by another occupation. This is not permitted as it must be unique |
UpdateOccupation (PUT /v1/EscoStar/occupations)
Opdaterer en specifik STAR ESCO stillingsbetegnelse.
Tilladte organisationer
Alle borgere | Egne borgere | Tidligere egne borgere | Gæsteadgang | Anden Aktør - egne borgere | Anden Aktør - gæsteadgang | |
---|---|---|---|---|---|---|
STAR | X |
Input
Element | Type | Detaljer | Forekomst | Beskrivelse |
---|---|---|---|---|
x-requestId [Header] | string | 1 | ||
requestBody | UpdateOccupationRequestDto | 1 | ||
- occupation | UpdateOccupationDto | 1 | Stillingsbetegnelse. | |
- - conceptUriDa | string | Length: 0-256 | 1 | Unik ESCO STAR identifikation - defineret af STAR. For ESCO STAR koder, der også er i ESCO, er denne identifikation den samme som: ConceptUriEu. |
- - escoStarType | EscoStarTypeCodeList | 1 | ||
- - preferredLabelDa | string | Length: 2-512 | 0 - 1 | Dansk stillingsbetegnelse givet i Danmark. |
- - descriptionDa | string | Length: 2-2048 | 0 - 1 | Beskrivelse givet i Danmark. |
- - additionalInformation | string | Length: 0-2048 | 0 - 1 | Supplerende information som fritekst. |
- - escoStarStatus | EscoStarStatusCodeList | 1 |
Output
Intet output
Fejlkoder
Fejlkode | Fejltekst | Beskrivelse |
---|---|---|
1014 | The submitted message is not valid | The submitted message is not valid |
1101 | Client certificate missing from request | Client certificate missing from request |
2002 | Invalid CodeList value | Invalid CodeList value |
4575 | You are not authorized to execute the operation | You are not authorized to execute the operation |
40001 | The specified EscoStar Status does not exist. | The specified EscoStar Status does not exist. |
40002 | The specified EscoStar Type does not exist. | The specified EscoStar Type does not exist. |
50001 | EscoStar PreferredLabelDa is a required field. Only plain text (no HTML) is allowed. Minimum text length is 2 characters and maximum 512 characters. | EscoStar PreferredLabelDa is a required field. Only plain text (no HTML) is allowed. Minimum text length is 2 characters and maximum 512 characters. |
50002 | EscoStar DescriptionDa is a required field. Only plain text (no HTML) is allowed. Minimum text length is 2 characters and maximum 2048 characters. | EscoStar DescriptionDa is a required field. Only plain text (no HTML) is allowed. Minimum text length is 2 characters and maximum 2048 characters. |
50003 | Only plain text (no HTML) is allowed for EscoStar AdditionalInformation. Maximum text length is 2048 characters. | Only plain text (no HTML) is allowed for EscoStar AdditionalInformation. Maximum text length is 2048 characters. |
50004 | EscoStar Status should be inactive when Esco Status is inactive. | EscoStar Status should be inactive when Esco Status is inactive. |
50005 | EscoStar Status can not be set to Inactive when Esco Status is active. | EscoStar Status can not be set to Inactive when Esco Status is active. |
50006 | The specified PreferredLabelDa is already in use by another occupation. This is not permitted as it must be unique | The specified PreferredLabelDa is already in use by another occupation. This is not permitted as it must be unique |
CreateAlias (POST /v1/EscoStar/occupations/alias)
Opretter et alias til en specifik STAR ESCO stillingsbetegnelse.
Tilladte organisationer
Alle borgere | Egne borgere | Tidligere egne borgere | Gæsteadgang | Anden Aktør - egne borgere | Anden Aktør - gæsteadgang | |
---|---|---|---|---|---|---|
STAR | X |
Input
Element | Type | Detaljer | Forekomst | Beskrivelse |
---|---|---|---|---|
x-requestId [Header] | string | 1 | ||
requestBody | CreateAliasRequestDto | 1 | ||
- alias | CreateAliasDto | 1 | Alias til en stillingsbetegnelse. | |
- - conceptUriDa | string | 1 | Unik ESCO STAR identifikation - defineret af STAR. For ESCO STAR koder, der også er i ESCO, er denne identifikation den samme som: ConceptUriEu. | |
- - originConceptUriEu | string | Length: 0-256 | 0 - 1 | Unik ESCO Occupation identifikation. Identifikationen sættes på alias som er oprettes på til erstatning af en inaktiveret EU stillingsbetegnelse, som reference til denne |
- - alternativeLabelDa | string | Length: 0-512 | 0 - 1 | Alias givet i Danmark. |
- - relationType | EscoStarAliasRelationTypeCodeList | 1 | ||
- - escoStarStatus | EscoStarStatusCodeList | 1 |
Output
Element | Type | Detaljer | Forekomst | Beskrivelse |
---|---|---|---|---|
response | CreateAliasResponseDto | 1 | ||
- aliasIdentifier | uuid | 1 |
Fejlkoder
Fejlkode | Fejltekst | Beskrivelse |
---|---|---|
1014 | The submitted message is not valid | The submitted message is not valid |
1101 | Client certificate missing from request | Client certificate missing from request |
2002 | Invalid CodeList value | Invalid CodeList value |
4575 | You are not authorized to execute the operation | You are not authorized to execute the operation |
40001 | The specified EscoStar Status does not exist. | The specified EscoStar Status does not exist. |
40007 | The specified EscoStar Alias Origin does not exist. | The specified EscoStar Alias Origin does not exist. |
40007 | The specified EscoStar Alias Origin does not exist. | The specified EscoStar Alias Origin does not exist. |
40003 | The specified EscoStar Occupation does not exist. | The specified EscoStar Occupation does not exist. |
50007 | EscoStar AlternativeLabelDa is a required field. Only plain text (no HTML) is allowed. Minimum text length is 2 characters and maximum 512 characters. | EscoStar AlternativeLabelDa is a required field. Only plain text (no HTML) is allowed. Minimum text length is 2 characters and maximum 512 characters. |
50008 | EscoStar status can not be set to Active when set to Inactive origin by EU. | EscoStar status can not be set to Active when set to Inactive origin by EU. |
50009 | EscoStar ConceptUriDa is a required field. | EscoStar ConceptUriDa is a required field. |
50012 | EscoStar status can not be set to Deselected when set to Inactive. | EscoStar status can not be set to Deselected when set to Inactive. |
50014 | EscoStar status can not be set to Inactive. | EscoStar status can not be set to Inactive. |
50017 | EscoStar Alias relation type AltLabel can only be set by EU. | EscoStar Alias relation type AltLabel can only be set by EU. |
50018 | EscoStar Alias EscoStarStatus can not be set to Active when another active Alias having the same OriginConceptUriEu specified. | EscoStar Alias EscoStarStatus can not be set to Active when another active Alias having the same OriginConceptUriEu specified. |
UpdateAlias (PUT /v1/EscoStar/occupations/alias)
Opdaterer et alias til en specifik STAR ESCO stillingsbetegnelse.
Tilladte organisationer
Alle borgere | Egne borgere | Tidligere egne borgere | Gæsteadgang | Anden Aktør - egne borgere | Anden Aktør - gæsteadgang | |
---|---|---|---|---|---|---|
STAR | X |
Input
Element | Type | Detaljer | Forekomst | Beskrivelse |
---|---|---|---|---|
x-requestId [Header] | string | 1 | ||
requestBody | UpdateAliasRequestDto | 1 | ||
- alias | UpdateAliasDto | 1 | Alias til en stillingsbetegnelse. | |
- - aliasIdentifier | uuid | 1 | Identificerer alias skal oplyses ved opdatering. | |
- - alternativeLabelDa | string | Length: 2-512 | 1 | Alias givet i Danmark. |
- - originConceptUriEu | string | Length: 0-256 | 0 - 1 | Unik ESCO Occupation identifikation. Identifikationen sættes på alias som er oprettes på til erstatning af en inaktiveret EU stillingsbetegnelse, som reference til denne |
- - escoStarStatus | EscoStarStatusCodeList | 1 |
Output
Intet output
Fejlkoder
Fejlkode | Fejltekst | Beskrivelse |
---|---|---|
1014 | The submitted message is not valid | The submitted message is not valid |
1101 | Client certificate missing from request | Client certificate missing from request |
2002 | Invalid CodeList value | Invalid CodeList value |
4575 | You are not authorized to execute the operation | You are not authorized to execute the operation |
40001 | The specified EscoStar Status does not exist. | The specified EscoStar Status does not exist. |
40007 | The specified EscoStar Alias Origin does not exist. | The specified EscoStar Alias Origin does not exist. |
40003 | The specified EscoStar Occupation does not exist. | The specified EscoStar Occupation does not exist. |
40004 | The specified entity does not exist. | The specified entity does not exist. |
50007 | EscoStar AlternativeLabelDa is a required field. Only plain text (no HTML) is allowed. Minimum text length is 2 characters and maximum 512 characters. | EscoStar AlternativeLabelDa is a required field. Only plain text (no HTML) is allowed. Minimum text length is 2 characters and maximum 512 characters. |
50008 | EscoStar status can not be set to Active when set to Inactive origin by EU. | EscoStar status can not be set to Active when set to Inactive origin by EU. |
50012 | EscoStar status can not be set to Deselected when set to Inactive. | EscoStar status can not be set to Deselected when set to Inactive. |
50014 | EscoStar status can not be set to Inactive. | EscoStar status can not be set to Inactive. |
50018 | EscoStar Alias EscoStarStatus can not be set to Active when another active Alias having the same OriginConceptUriEu specified. | EscoStar Alias EscoStarStatus can not be set to Active when another active Alias having the same OriginConceptUriEu specified. |