Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Siden opdateres automatisk til at afspejle koden.

Metoder

Table of Contents
maxLevel2

GetSpecialEscoStarHierarki GET /v1​/

...

SpecialEscoStarHierarki​/hierarki​/{hierarkiType,hierarkielementId}

Henter et hierarki eller specifik hierarki element. Findes data ikke på de angivne parametre, returneres null.

Input

ElementTypeDetaljerForekomstBeskrivelse

hierarkiType

Taxonomy.HierarkitypeCodeListe
/wiki/spaces/GI/pages/3630956545
1Type af hierarki 
hierarkielementIdGUID
0 - 1Id på element i hierarki

Output

ElementTypeDetaljerForekomstBeskrivelse
response
getEscoStarHierarkiResponse
GetOccupationResponseDto
getEscoStarHierarkiResponseDto
1
  hierarkiStruktur
  hierarki
hierarkiStruktur
HierarkiDto
1Hierarkistamdata
-    -    hierarkiIdstringLength: 0-2561Unik identifikation af hierarkiet.
-    -    hierarkiType
Taxonomy.HierarkitypeCodeListe
/wiki/spaces/GI/pages/3630956545
1Type af hierarki 
-    -    kanOpdateresOnlineboolean
0 - 1Om hierarkiet kan blive opdateret løbende/online elller kun ved release

-     -   oprettetTidspunkt

dateTime


1

Oprettelsesdato for hierarki

-    -    opdateretTidspunkt

dateTime


1

Sidste ændringsdato på hierarki eller tilhørende elementer.

-    -
    hierarkielementStruktur
    hierarkier
hierarkielementStruktur
HierarkierDto
0 - 1
Hierarkielement

Liste af elementer i

træ

hierarki

-    -    - 
  hierarkieSamling
  hierarki
GUID
Hierarki
0 - *
Liste af elementer
Hierarkielement i
hierarki
træ
-    -    -    -   
hierarkielementelementId
hierarkielementIdGUIDLength: 1-2561Id på det enkelte element i hierarkiet
-    -    -    -    hierarkiniveauint

Det niveau elementet befinder sig på. topniveau har niveau = 1
-    -    -    -    titelstring
0 - *

1

Titel på element, Hvis nederste niveau vil denne titel altid være ESCO STAR stillingsbetegnelsen

-    -    -    -   
foraeldre
foraelderIduuid
0 - 1Identificerer
forældre
forælder i hierarki, hvis topniveau er
forældre NULL-
forælder NULL
-    -    -    -   boernBoernDto
0 - *List med børn, hvis liste er om elementet på nederste niveau
-    -    -    -   -   barnIdGUID
1Identificerer barn i hierarki på elementet
-    -    -    -    erAktivboolean
1Om elementet er aktivt eller ej, Hvis nederste niveau vil aktiv status følge ESCO STAR stillingsbetegnelsen status hvis denne er inaktiv.
-    -    -    -   oprettetTidspunktdateTime
1Oprettelsesdato for element i hierarki
-    -    -    -   opdateretTidspunktdateTime
1Sidste ændringsdato på hierarkielementet.
-    -    -    - 
 ConceptURIDA
 ConceptUriDauuid
0 - 1ConceptURIDA til ESCO STAR stillingsbetegnelse. Vil kun være udfyldt på nederste niveau i hierarkiet 

Fejlkoder

FejlkodeFejltekstBeskrivelse
1014The submitted message is not validThe submitted message is not valid
1101Client certificate missing from requestClient certificate missing from request
2002Invalid CodeList valueInvalid CodeList value
4575You are not authorized to execute the operationYou are not authorized to execute the operation

...



CreateHierarkiElement (POST /v1/

...

SpecialEscoStarHierarki​/hierarki​element/{hierarkiId})

Opretter en et specifik element  i et alternativt STAR ESCO stillingsbetegnelsehierarki.

Tilladte organisationer


Alle borgereEgne borgereTidligere egne borgereGæsteadgangAnden Aktør - egne borgereAnden Aktør - gæsteadgang
STARX




Input


Element
Type
Detaljer
Forekomst
Beskrivelse
x-requestId [Header]string1requestBody
CreateOccupationRequestDto1
-
    occupationCreateOccupationDto1Stillingsbetegnelse.-
    -
    parentConceptUriDa
    hierarkiIdstringLength: 0-256
0 -
1
ESCO STAR
Unik identifikation af
det overordnede element i ESCO STAR
hierarkiet.
-    -
    escoStarType
    hierarkielement
EscoStarTypeCodeList
Hierarkielement
0 - 1Hierarkielement i træ
-    -
    iscoGroupstring
    -    hierarkielementIdGUIDLength:
0
 1-
4
256
0 - 1ISCO kode fra EU, kun ved ESCO extensions.-    -    iscoCodestringLength: 0-160 - 1ISCO kode, fra EU kun ved de 4 øverste niveauer, som er ISCO i ESCO STAR hierarkiet.-    -    preferredLabelDastringLength: 2-5120 - 1Dansk stillingsbetegnelse givet i Danmark.-    -    descriptionDastringLength: 2-20480 - 1Beskrivelse givet i Danmark.-    -    additionalInformationstringLength: 0-20480 - 1Supplerende information som fritekst.-    -    escoStarStatusEscoStarStatusCodeList1
1Id på det enkelte element i hierarkiet
 -    -    -    titelstring
1

Titel på element, Hvis nederste niveau vil denne titel altid være ESCO STAR stillingsbetegnelsen

-    -    -    foraelderIduuid
0 - 1Identificerer forælder i hierarki, hvis topniveau er forælder NULL
-    -    -    erAktivboolean
1Om elementet er aktivt eller ej, Hvis nederste niveau vil aktiv status følge ESCO STAR stillingsbetegnelsen status hvis denne er inaktiv.
-    -    -    ConceptUriDauuid
0 - 1ConceptURIDA til ESCO STAR stillingsbetegnelse. Vil kun være udfyldt på nederste niveau i hierarkiet 


Output

ElementTypeDetaljerForekomstBeskrivelse
responseCreateOccupationResponseDto1-    conceptUriDastring1
Tomt



Fejlkoder

FejlkodeFejltekstBeskrivelse
1014The submitted message is not validThe submitted message is not valid
1101Client certificate missing from requestClient certificate missing from request
2002Invalid CodeList valueInvalid CodeList value
4575You are not authorized to execute the operationYou are not authorized to execute the operation
40001
40xxcThe specified
EscoStar Status
element does
not
already exist.The specified
EscoStar Status
element does
not
already exist.
40002
40xxdThe specified EscoStar
Type
ConceptURIDA does not exist.The specified EscoStar
Type EscoStar Status
ConceptURIDA does not exist.
50001EscoStar 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.50002EscoStar 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.50003Only 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
40xxeerAktiv should be inactive when Esco Star Status is inactive.
EscoStar Status
erAktiv should be inactive when Esco Star Status is inactive.
50005EscoStar 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.50006The specified PreferredLabelDa is already in use by another occupation. This is not permitted as it must be uniqueThe specified PreferredLabelDa is already in use by another occupation. This is not permitted as it must be unique

...

40xxfThere is already a top elementThere is already a top element

UpdateHierarkiElement (PUT /v1/

...

SpecialEscoStarHierarki​/hierarki​element/{hierarkielementelementId})

Opdaterer en et specifik STAR ESCO stillingsbetegnelsehierarkielement.

Tilladte organisationer


Alle borgereEgne borgereTidligere egne borgereGæsteadgangAnden Aktør - egne borgereAnden Aktør - gæsteadgang
STARX




Input


Element
Type
Detaljer
Forekomst
Beskrivelse
x-requestId [Header]-    -    descriptionDastringLength: 2-20480 - 1Beskrivelse givet i Danmark.-    -    additionalInformationstringLength: 0-20480 - 1Supplerende information som fritekst.-    -    escoStarStatusEscoStarStatusCodeList1
-    titelstring
1
requestBodyUpdateOccupationRequestDto1-    occupationUpdateOccupationDto1Stillingsbetegnelse.-    -    conceptUriDastringLength: 0-2561Unik ESCO STAR identifikation - defineret af STAR.
For ESCO STAR koder, der også er i ESCO, er denne identifikation den samme som: ConceptUriEu.-    -    escoStarTypeEscoStarTypeCodeList1-    -    preferredLabelDastringLength: 2-5120 - 1Dansk stillingsbetegnelse givet i Danmark.

Titel på element, Hvis nederste niveau vil denne titel altid være ESCO STAR stillingsbetegnelsen

-    foraelderIduuid
0 - 1Identificerer forælder i hierarki, hvis topniveau er forælder NULL
-    erAktivboolean
1Om elementet er aktivt eller ej, Hvis nederste niveau vil aktiv status følge ESCO STAR stillingsbetegnelsen status hvis denne er inaktiv.
-    ConceptUriDauuid
0 - 1ConceptURIDA til ESCO STAR stillingsbetegnelse. Vil kun være udfyldt på nederste niveau i hierarkiet 

Output

Intet output

Fejlkoder

FejlkodeFejltekstBeskrivelse
1014The submitted message is not validThe submitted message is not valid
1101Client certificate missing from requestClient certificate missing from request
2002Invalid CodeList valueInvalid CodeList value
4575You are not authorized to execute the operationYou are not authorized to execute the operation
40001
40xxdThe specified EscoStar
Status
ConceptURIDA does not exist.The specified EscoStar
Status 50004EscoStar Status
ConceptURIDA does not exist.
40002The specified EscoStar Type does not exist.The specified EscoStar Type does not exist.50001EscoStar 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.50002EscoStar 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.50003Only 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.
40xxeerAktiv should be inactive when Esco Star Status is inactive.
EscoStar Status
erAktiv should be inactive when Esco Star Status is inactive.
50005EscoStar 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.50006The specified PreferredLabelDa is already in use by another occupation. This is not permitted as it must be uniqueThe 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

...

Input

...

Output

...

Fejlkoder

FejlkodeFejltekstBeskrivelse
1014The submitted message is not validThe submitted message is not valid
1101Client certificate missing from requestClient certificate missing from request
2002Invalid CodeList valueInvalid CodeList value
4575You are not authorized to execute the operationYou are not authorized to execute the operation
40001The specified EscoStar Status does not exist.The specified EscoStar Status does not exist.
40007The specified EscoStar Alias Origin does not exist.The specified EscoStar Alias Origin does not exist.
40007The specified EscoStar Alias Origin does not exist.The specified EscoStar Alias Origin does not exist.
40003The specified EscoStar Occupation does not exist.The specified EscoStar Occupation does not exist.
50007EscoStar 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.
50008EscoStar 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.
50009EscoStar ConceptUriDa is a required field.EscoStar ConceptUriDa is a required field.
50012EscoStar status can not be set to Deselected when set to Inactive.EscoStar status can not be set to Deselected when set to Inactive.
50014EscoStar status can not be set to Inactive.EscoStar status can not be set to Inactive.
50017EscoStar Alias relation type AltLabel can only be set by EU.EscoStar Alias relation type AltLabel can only be set by EU.
50018EscoStar 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

...

Input

...

Output

Intet output

Fejlkoder

FejlkodeFejltekstBeskrivelse1014The submitted message is not validThe submitted message is not valid1101Client certificate missing from requestClient certificate missing from request2002Invalid CodeList valueInvalid CodeList value4575You are not authorized to execute the operationYou are not authorized to execute the operation40001The specified EscoStar Status does not exist.The specified EscoStar Status does not exist.40007The specified EscoStar Alias Origin does not exist.The specified EscoStar Alias Origin does not exist.40003The specified EscoStar Occupation does not exist.The specified EscoStar Occupation does not exist.40004The specified entity does not exist.The specified entity does not exist.50007EscoStar 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.50008EscoStar 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.50012EscoStar status can not be set to Deselected when set to Inactive.EscoStar status can not be set to Deselected when set to Inactive.50014EscoStar status can not be set to Inactive.EscoStar status can not be set to Inactive.50018EscoStar 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.
40xxfThere is already a top elementThere is already a top element