GET api/Dokument?objektID={objektID}
Returnerer lister over tilgjengelige dokumenter (filvedlegg) for en ObjektID
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| objektID | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
DokumentList| Name | Description | Type | Additional information |
|---|---|---|---|
| objektId | string |
None. |
|
| dokumenter | Collection of DokumentDetaljer |
None. |
Response Formats
application/json, text/json
Sample:
{
"objektId": "sample string 1",
"dokumenter": [
{
"tittel": "sample string 1",
"ID": 2,
"url": "http://webapihelppage3.com",
"beskrivelse": "sample string 4",
"fotografForfatter": "sample string 5",
"mimeType": "sample string 6",
"dokumentType": "sample string 7",
"publiseres": true
},
{
"tittel": "sample string 1",
"ID": 2,
"url": "http://webapihelppage3.com",
"beskrivelse": "sample string 4",
"fotografForfatter": "sample string 5",
"mimeType": "sample string 6",
"dokumentType": "sample string 7",
"publiseres": true
}
]
}