POST documents/documentLinks

A list of documents for the requested Company or Department.

Request Information

URI Parameters

None.

Body Parameters

DocumentRequestDTO
NameDescriptionTypeAdditional information
CompanyId

Id of the Company

integer

None.

DepartmentId

Id of the department. Leave empty if Company documents are requested.

integer

None.

NoteType

Type id of a specific documenttype. Leave empty for all types.

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "companyId": 1,
  "departmentId": 1,
  "noteType": 1
}

application/xml, text/xml

Sample:
<DocumentRequestDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Services.Domea.Dk.Models.CoreDTO.Request">
  <CompanyId>1</CompanyId>
  <DepartmentId>1</DepartmentId>
  <NoteType>1</NoteType>
</DocumentRequestDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of NoteDocument
NameDescriptionTypeAdditional information
ID

string

None.

NoteType

integer

None.

NoteID

integer

None.

NoteTypeTekst

string

None.

Bemaerkning

string

None.

Beskrivelse

string

None.

Dato

date

None.

Filnavn

string

None.

FilExt

string

None.

MimeType

string

None.

FilType

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": "sample string 1",
    "noteType": 2,
    "noteID": 3,
    "noteTypeTekst": "sample string 4",
    "bemaerkning": "sample string 5",
    "beskrivelse": "sample string 6",
    "dato": "2025-07-04T19:49:51.3734433+02:00",
    "filnavn": "sample string 8",
    "filExt": "sample string 9",
    "mimeType": "sample string 10",
    "filType": 1
  },
  {
    "id": "sample string 1",
    "noteType": 2,
    "noteID": 3,
    "noteTypeTekst": "sample string 4",
    "bemaerkning": "sample string 5",
    "beskrivelse": "sample string 6",
    "dato": "2025-07-04T19:49:51.3734433+02:00",
    "filnavn": "sample string 8",
    "filExt": "sample string 9",
    "mimeType": "sample string 10",
    "filType": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfNoteDocument xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Services.Domea.Dk.Controllers.Core">
  <NoteDocument>
    <Bemaerkning xmlns="http://schemas.datacontract.org/2004/07/Services.Domea.Dk.Models">sample string 5</Bemaerkning>
    <Beskrivelse xmlns="http://schemas.datacontract.org/2004/07/Services.Domea.Dk.Models">sample string 6</Beskrivelse>
    <Dato xmlns="http://schemas.datacontract.org/2004/07/Services.Domea.Dk.Models">2025-07-04T19:49:51.3734433+02:00</Dato>
    <FilExt xmlns="http://schemas.datacontract.org/2004/07/Services.Domea.Dk.Models">sample string 9</FilExt>
    <FilType xmlns="http://schemas.datacontract.org/2004/07/Services.Domea.Dk.Models">1</FilType>
    <Filnavn xmlns="http://schemas.datacontract.org/2004/07/Services.Domea.Dk.Models">sample string 8</Filnavn>
    <MimeType xmlns="http://schemas.datacontract.org/2004/07/Services.Domea.Dk.Models">sample string 10</MimeType>
    <NoteID xmlns="http://schemas.datacontract.org/2004/07/Services.Domea.Dk.Models">3</NoteID>
    <NoteType xmlns="http://schemas.datacontract.org/2004/07/Services.Domea.Dk.Models">2</NoteType>
    <NoteTypeTekst xmlns="http://schemas.datacontract.org/2004/07/Services.Domea.Dk.Models">sample string 4</NoteTypeTekst>
    <ID>sample string 1</ID>
  </NoteDocument>
  <NoteDocument>
    <Bemaerkning xmlns="http://schemas.datacontract.org/2004/07/Services.Domea.Dk.Models">sample string 5</Bemaerkning>
    <Beskrivelse xmlns="http://schemas.datacontract.org/2004/07/Services.Domea.Dk.Models">sample string 6</Beskrivelse>
    <Dato xmlns="http://schemas.datacontract.org/2004/07/Services.Domea.Dk.Models">2025-07-04T19:49:51.3734433+02:00</Dato>
    <FilExt xmlns="http://schemas.datacontract.org/2004/07/Services.Domea.Dk.Models">sample string 9</FilExt>
    <FilType xmlns="http://schemas.datacontract.org/2004/07/Services.Domea.Dk.Models">1</FilType>
    <Filnavn xmlns="http://schemas.datacontract.org/2004/07/Services.Domea.Dk.Models">sample string 8</Filnavn>
    <MimeType xmlns="http://schemas.datacontract.org/2004/07/Services.Domea.Dk.Models">sample string 10</MimeType>
    <NoteID xmlns="http://schemas.datacontract.org/2004/07/Services.Domea.Dk.Models">3</NoteID>
    <NoteType xmlns="http://schemas.datacontract.org/2004/07/Services.Domea.Dk.Models">2</NoteType>
    <NoteTypeTekst xmlns="http://schemas.datacontract.org/2004/07/Services.Domea.Dk.Models">sample string 4</NoteTypeTekst>
    <ID>sample string 1</ID>
  </NoteDocument>
</ArrayOfNoteDocument>