PUT api/internal/dataset/{uuid}

Update dataset

Request Information

URI Parameters

NameDescriptionTypeAdditional information
uuid

string

Required

Body Parameters

Kartverket.Geonorge.Download.Models.Dataset
NameDescriptionTypeAdditional information
Id

integer

None.

Title

string

String length: inclusive between 0 and 255

MetadataUuid

string

String length: inclusive between 0 and 255

SupportsAreaSelection

boolean

None.

SupportsFormatSelection

boolean

None.

SupportsPolygonSelection

boolean

None.

SupportsProjectionSelection

boolean

None.

FmeClippingUrl

string

None.

MapSelectionLayer

string

None.

AccessConstraint

string

None.

AccessConstraintRequiredRole

string

None.

MaxArea

integer

None.

filliste

Collection of Kartverket.Geonorge.Download.Models.File

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Title": "sample string 2",
  "MetadataUuid": "sample string 3",
  "SupportsAreaSelection": true,
  "SupportsFormatSelection": true,
  "SupportsPolygonSelection": true,
  "SupportsProjectionSelection": true,
  "FmeClippingUrl": "sample string 4",
  "MapSelectionLayer": "sample string 5",
  "AccessConstraint": "sample string 6",
  "AccessConstraintRequiredRole": "sample string 7",
  "MaxArea": 8,
  "filliste": [
    {
      "Id": "f0c18e32-8b5f-4218-9254-c529db8f6975",
      "Filename": "sample string 1",
      "Url": "sample string 2",
      "Category": "sample string 3",
      "SubCategory": "sample string 4",
      "Division": "sample string 5",
      "DivisionKey": "sample string 6",
      "Projection": "sample string 7",
      "Format": "sample string 8",
      "DatasetId": 1
    },
    {
      "Id": "f0c18e32-8b5f-4218-9254-c529db8f6975",
      "Filename": "sample string 1",
      "Url": "sample string 2",
      "Category": "sample string 3",
      "SubCategory": "sample string 4",
      "Division": "sample string 5",
      "DivisionKey": "sample string 6",
      "Projection": "sample string 7",
      "Format": "sample string 8",
      "DatasetId": 1
    }
  ]
}

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 'Dataset'.

Response Information

Resource Description

None.