@@ -5372,28 +5372,6 @@ components:
53725372 bearerFormat : JWT
53735373paths :
53745374 /nadag/innmelding/v1/GeotekniskBorehull :
5375- post :
5376- summary : Fetches a GeotekniskBorehull by external id.
5377- description : Fetches a GeotekniskBorehull by external id. Returns the most recent
5378- one.
5379- requestBody :
5380- description : The eksternIdentifikasjon of the GeotekniskBorehull to fetch.
5381- required : true
5382- content :
5383- application/json :
5384- schema :
5385- $ref : " #/components/schemas/EksternIdentifikasjon"
5386- responses :
5387- " 401 " :
5388- description : Unauthorized Error
5389- " 404 " :
5390- description : GeotekniskBorehull not found
5391- " 200 " :
5392- description : Returns the GeotekniskBorehull you want to fetch
5393- content :
5394- application/json :
5395- schema :
5396- $ref : " #/components/schemas/GeotekniskBorehull"
53975375 get :
53985376 summary : Fetches a GeotekniskBorehull by external id.
53995377 description : Fetches a GeotekniskBorehull by external id. Returns the most recent
@@ -5456,9 +5434,9 @@ paths:
54565434 schema :
54575435 $ref : " #/components/schemas/DiagnosticsDto"
54585436 /nadag/innmelding/v1/GeotekniskUnders/{geotekniskUndersId}/undersPkt/{geotekniskBorehullId} :
5459- put :
5460- summary : Updates a GeotekniskBorehull.
5461- description : Updates a GeotekniskBorehull.
5437+ get :
5438+ summary : Gets a GeotekniskBorehull owned by the latest versjon of a GeotekniskUnders .
5439+ description : Gets a GeotekniskBorehull.
54625440 parameters :
54635441 - description : The GeotekniskBorehull id.
54645442 required : true
@@ -5472,31 +5450,22 @@ paths:
54725450 in : path
54735451 schema :
54745452 type : string
5475- - description : The epsg code of the geometry.
5476- required : true
5477- name : epsgCode
5478- in : query
5479- schema :
5480- $ref : " #/components/schemas/EpsgCode"
5481- requestBody :
5482- description : The GeotekniskBorehull to store.
5483- required : true
5484- content :
5485- application/json :
5486- schema :
5487- $ref : " #/components/schemas/GeotekniskBorehull"
54885453 responses :
5454+ " 401 " :
5455+ description : Unauthorized Error
5456+ " 404 " :
5457+ description : GeotekniskBorehull not found
54895458 " 200 " :
5490- description : OK
5459+ description : Returns the GeotekniskBorehull you want to fetch
54915460 content :
54925461 application/json :
54935462 schema :
5494- $ref : " #/components/schemas/ValidatedGeotekniskUnders "
5463+ $ref : " #/components/schemas/GeotekniskBorehull "
54955464 security :
54965465 - Authentication : []
5497- get :
5498- summary : Gets a GeotekniskBorehull owned by the latest versjon of a GeotekniskUnders .
5499- description : Gets a GeotekniskBorehull.
5466+ put :
5467+ summary : Updates a GeotekniskBorehull.
5468+ description : Updates a GeotekniskBorehull.
55005469 parameters :
55015470 - description : The GeotekniskBorehull id.
55025471 required : true
@@ -5510,17 +5479,26 @@ paths:
55105479 in : path
55115480 schema :
55125481 type : string
5482+ - description : The epsg code of the geometry.
5483+ required : true
5484+ name : epsgCode
5485+ in : query
5486+ schema :
5487+ $ref : " #/components/schemas/EpsgCode"
5488+ requestBody :
5489+ description : The GeotekniskBorehull to store.
5490+ required : true
5491+ content :
5492+ application/json :
5493+ schema :
5494+ $ref : " #/components/schemas/GeotekniskBorehull"
55135495 responses :
5514- " 401 " :
5515- description : Unauthorized Error
5516- " 404 " :
5517- description : GeotekniskBorehull not found
55185496 " 200 " :
5519- description : Returns the GeotekniskBorehull you want to fetch
5497+ description : OK
55205498 content :
55215499 application/json :
55225500 schema :
5523- $ref : " #/components/schemas/GeotekniskBorehull "
5501+ $ref : " #/components/schemas/ValidatedGeotekniskUnders "
55245502 security :
55255503 - Authentication : []
55265504 delete :
@@ -5688,6 +5666,40 @@ paths:
56885666 schema :
56895667 $ref : " #/components/schemas/DiagnosticsDto"
56905668 /nadag/innmelding/v1/GeotekniskUnders/{geotekniskUndersId} :
5669+ get :
5670+ summary : Fetches the latest GeotekniskUnders given the lokalId.
5671+ description : Fetches a GeotekniskUnders by id.
5672+ parameters :
5673+ - description : The GeotekniskUnders to fetch.
5674+ required : true
5675+ name : geotekniskUndersId
5676+ in : path
5677+ schema :
5678+ type : string
5679+ - description : Whether to include metode-data.
5680+ required : false
5681+ name : includeMetode
5682+ in : query
5683+ schema :
5684+ type : boolean
5685+ - description : The versjonId of the GeotekniskUnders to fetch.
5686+ required : false
5687+ name : versjonId
5688+ in : query
5689+ schema :
5690+ type : integer
5691+ format : int64
5692+ responses :
5693+ " 401 " :
5694+ description : Unauthorized Error
5695+ " 404 " :
5696+ description : Not Found Error
5697+ " 200 " :
5698+ description : Returns the GeotekniskUnders you want to fetch
5699+ content :
5700+ application/json :
5701+ schema :
5702+ $ref : " #/components/schemas/GeotekniskUnders"
56915703 put :
56925704 summary : Updates a GeotekniskUnders.
56935705 description : Updates a GeotekniskUnders.
@@ -5724,40 +5736,6 @@ paths:
57245736 $ref : " #/components/schemas/ValidatedGeotekniskUnders"
57255737 security :
57265738 - Authentication : []
5727- get :
5728- summary : Fetches the latest GeotekniskUnders given the lokalId.
5729- description : Fetches a GeotekniskUnders by id.
5730- parameters :
5731- - description : The GeotekniskUnders to fetch.
5732- required : true
5733- name : geotekniskUndersId
5734- in : path
5735- schema :
5736- type : string
5737- - description : Whether to include metode-data.
5738- required : false
5739- name : includeMetode
5740- in : query
5741- schema :
5742- type : boolean
5743- - description : The versjonId of the GeotekniskUnders to fetch.
5744- required : false
5745- name : versjonId
5746- in : query
5747- schema :
5748- type : integer
5749- format : int64
5750- responses :
5751- " 401 " :
5752- description : Unauthorized Error
5753- " 404 " :
5754- description : Not Found Error
5755- " 200 " :
5756- description : Returns the GeotekniskUnders you want to fetch
5757- content :
5758- application/json :
5759- schema :
5760- $ref : " #/components/schemas/GeotekniskUnders"
57615739 delete :
57625740 summary : Deletes a GeotekniskUnders.
57635741 description : Deletes a GeotekniskUnders.
@@ -5839,6 +5817,6 @@ paths:
58395817 $ref : " #/components/schemas/GeotekniskBorehull"
58405818info :
58415819 title : Nadag innmelding API
5842- version : 2025.11.20
5820+ version : 2025.12.3
58435821servers :
58445822- url : http://nadag-innmelding-api:8080
0 commit comments