POST api/arkivstruktur/Mappe/{Id}/ny-merknad

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

string

None.

Body Parameters

MerknadType
NameDescriptionTypeAdditional information
systemID

string

None.

merknadstekst

string

None.

merknadstype

MerknadstypeType

None.

merknadsdato

date

None.

merknadRegistrertAv

string

None.

referanseMerknadRegistrertAv

string

None.

_links

Collection of LinkType

None.

Request Formats

application/vnd.noark5-v4+json

Sample:
{
  "systemID": "sample string 1",
  "merknadstekst": "sample string 2",
  "merknadstype": {
    "kode": "sample string 1",
    "beskrivelse": "sample string 2"
  },
  "merknadsdato": "2017-08-22T18:36:08.5400139+00:00",
  "merknadRegistrertAv": "sample string 4",
  "referanseMerknadRegistrertAv": "sample string 5",
  "_links": [
    {
      "rel": "sample string 1",
      "href": "sample string 2",
      "templated": false,
      "type": "sample string 3",
      "deprecation": "sample string 4",
      "name": "sample string 5",
      "title": "sample string 6"
    },
    {
      "rel": "sample string 1",
      "href": "sample string 2",
      "templated": false,
      "type": "sample string 3",
      "deprecation": "sample string 4",
      "name": "sample string 5",
      "title": "sample string 6"
    }
  ]
}

application/vnd.noark5-v4+xml

Sample:
<Merknad xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://skjema.kxml.no/arkivverket/noark5/v4.0/arkivstruktur">
  <Links xmlns="http://www.kxml.no/rest/1.0">
    <link>
      <rel>sample string 1</rel>
      <href>sample string 2</href>
      <type>sample string 3</type>
      <deprecation>sample string 4</deprecation>
      <name>sample string 5</name>
      <title>sample string 6</title>
    </link>
    <link>
      <rel>sample string 1</rel>
      <href>sample string 2</href>
      <type>sample string 3</type>
      <deprecation>sample string 4</deprecation>
      <name>sample string 5</name>
      <title>sample string 6</title>
    </link>
  </Links>
  <systemID>sample string 1</systemID>
  <merknadstekst>sample string 2</merknadstekst>
  <merknadstype>
    <kode xmlns="http://skjema.kxml.no/arkivverket/noark5/v4.0/metadata">sample string 1</kode>
    <beskrivelse xmlns="http://skjema.kxml.no/arkivverket/noark5/v4.0/metadata">sample string 2</beskrivelse>
  </merknadstype>
  <merknadsdato>2017-08-22T18:36:08.5400139+00:00</merknadsdato>
  <merknadRegistrertAv>sample string 4</merknadRegistrertAv>
  <referanseMerknadRegistrertAv>sample string 5</referanseMerknadRegistrertAv>
</Merknad>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.