Giter Club home page Giter Club logo

navansatt's Introduction

NAV-ansatt

Dette er en tjeneste for å hente ut metadata om NAV-ansatte.

URL-er:

Bruksanvisning

Hent info om en ansatt

GET /navansatt/<ident>

(Ident er ansatt-koden; vanligvis en bokstav + seks siffer.)

Respons: (eksempel)

{
  "ident": "darthvad",
  "navn": "Darth Vader",
  "fornavn": "Darth",
  "etternavn": "Vader",
  "epost": "[email protected]"
}

Hent fagområder for en ansatt

GET /navansatt/<ident>/fagomrader

(Ident er ansatt-koden; vanligvis en bokstav + seks siffer.)

Respons: (eksempel)

[{
  "kode": "PEN"
},{
  "kode": UFO"
},{
 "kode": "GOS"
}]

Hent enheter for en ansatt

GET /navansatt/<ident>/enheter

(Ident er ansatt-koden; vanligvis en bokstav + seks siffer.)

Respons: (eksempel)

[{
  "id: "1234",
  "navn: "NAV Kardemomme by"
}, {
  "id": "5678",
  "navn": "NAV Hakkebakkeskogen"
}]

Hent alle ansatte som jobber i en enhet/et NAV-kontor

GET /enhet/<enhet-id>/navansatte

Respons: (eksempel)

[{
  "ident": "darthvad",
  "navn": "Darth Vader",
  "fornavn": "Darth",
  "etternavn": "Vader",
  "epost": "[email protected]"
}, {
  "ident": "lukesky",
  "navn": "Luke Skywalker",
  "fornavn": "Luke",
  "etternavn": "Skywalker",
  "epost": "[email protected]"
}]

Lokal utvikling

  1. Bygg med mvn clean install
  2. Start vtp-pensjon
  3. Kjør main-metoden i NAVAnsattApplication.

navansatt's People

Contributors

dependabot[bot] avatar eirikmol avatar eirslett avatar emilps avatar mortennormann avatar pcmoen avatar sebassonav avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

emilps

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.