POST api/Application

Request Information

URI Parameters

None.

Body Parameters

ApplicationSystem
NameDescriptionTypeAdditional information
Adilar

Collection of Adilar

None.

Notandagogn

Collection of Notandagogn

None.

Files

Collection of ApplicationFiles

None.

Status

CurrentApplicationStatus

None.

Language

PortalLanguage

None.

PortalApplicationID

string

None.

ApplicationType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "language": 1,
  "portalApplicationID": "sample string 1",
  "applicationType": "sample string 2",
  "adilar": [
    {
      "kennitala": "sample string 1",
      "heiti": "sample string 2",
      "heimili": "sample string 3",
      "tegund": 0,
      "hlutverk": "sample string 4",
      "netfang": "sample string 5",
      "simi": "sample string 6"
    },
    {
      "kennitala": "sample string 1",
      "heiti": "sample string 2",
      "heimili": "sample string 3",
      "tegund": 0,
      "hlutverk": "sample string 4",
      "netfang": "sample string 5",
      "simi": "sample string 6"
    }
  ],
  "notandagogn": [
    {
      "flokkur": "sample string 1",
      "heiti": "sample string 2",
      "tegund": "sample string 3",
      "gildi": {}
    },
    {
      "flokkur": "sample string 1",
      "heiti": "sample string 2",
      "tegund": "sample string 3",
      "gildi": {}
    }
  ],
  "files": [
    {
      "flokkur": 1,
      "heiti": "sample string 1",
      "tegund": "sample string 2",
      "fileID": "sample string 3",
      "ending": "sample string 4"
    },
    {
      "flokkur": 1,
      "heiti": "sample string 1",
      "tegund": "sample string 2",
      "fileID": "sample string 3",
      "ending": "sample string 4"
    }
  ],
  "status": 40
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ApplicationSystem'.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"