POST api/internal/metadata/update

Update metadata

Request Information

URI Parameters

None.

Body Parameters

Kartverket.Geonorge.Download.Models.Api.Internal.UpdateMetadataRequest
NameDescriptionTypeAdditional information
Uuid

The metadata uuid to update

string

None.

Distributions

The list of distributions

Collection of Kartverket.Geonorge.Download.Models.Api.Internal.Distribution

None.

Projections

The list of projections

Collection of Kartverket.Geonorge.Download.Models.Api.Internal.Projection

None.

CoverageLayer

The coverage layer to display coverage in map

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Uuid": "041f1e6e-bdbc-4091-b48f-8a5990f3cc5b",
  "Distributions": [
    {
      "URL": "https://nedlasting.geonorge.no/api/capabilities/",
      "Protocol": "GEONORGE:DOWNLOAD",
      "Organization": "Kartverket",
      "UnitsOfDistribution": "fylkesvis, landsfiler, kommunevis",
      "Formats": [
        {
          "FormatName": "SOSI",
          "FormatVersion": "4.5"
        },
        {
          "FormatName": "GML",
          "FormatVersion": "3.2.1"
        }
      ]
    }
  ],
  "Projections": [
    {
      "EPSGCode": "25833"
    },
    {
      "EPSGCode": "25832"
    }
  ],
  "CoverageLayer": "dsb_brannstasjon"
}

application/xml, text/xml

Sample:
<UpdateMetadataRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Uuid>041f1e6e-bdbc-4091-b48f-8a5990f3cc5b</Uuid>
  <Distributions>
    <Distribution>
      <URL>https://nedlasting.geonorge.no/api/capabilities/</URL>
      <Protocol>GEONORGE:DOWNLOAD</Protocol>
      <Organization>Kartverket</Organization>
      <UnitsOfDistribution>fylkesvis, landsfiler, kommunevis</UnitsOfDistribution>
      <Formats>
        <Format>
          <FormatName>SOSI</FormatName>
          <FormatVersion>4.5</FormatVersion>
        </Format>
        <Format>
          <FormatName>GML</FormatName>
          <FormatVersion>3.2.1</FormatVersion>
        </Format>
      </Formats>
    </Distribution>
  </Distributions>
  <Projections>
    <Projection>
      <EPSGCode>25833</EPSGCode>
    </Projection>
    <Projection>
      <EPSGCode>25832</EPSGCode>
    </Projection>
  </Projections>
  <CoverageLayer>dsb_brannstasjon</CoverageLayer>
</UpdateMetadataRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'System.Web.Http.ModelBinding.JQueryMvcFormUrlEncodedFormatter' to write type 'UpdateMetadataRequest'.

Response Information

Resource Description

System.Web.Http.IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.