POST contacts

Request Information

URI Parameters

None.

Body Parameters

ContactRequestDTO
NameDescriptionTypeAdditional information
ContactId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "contactId": "sample string 1"
}

application/xml, text/xml

Sample:
<ContactRequestDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Services.Domea.Dk.Models.CoreDTO.Request">
  <ContactId>sample string 1</ContactId>
</ContactRequestDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of ContactResponseDTO
NameDescriptionTypeAdditional information
Navn

string

None.

Type

string

None.

PostNr

string

None.

ByNavn

string

None.

Telefon

string

None.

Email

string

None.

Traeffetid

string

None.

VejNavn

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "navn": "sample string 1",
    "type": "sample string 2",
    "postNr": "sample string 3",
    "byNavn": "sample string 4",
    "telefon": "sample string 5",
    "email": "sample string 6",
    "traeffetid": "sample string 7",
    "vejNavn": "sample string 8"
  },
  {
    "navn": "sample string 1",
    "type": "sample string 2",
    "postNr": "sample string 3",
    "byNavn": "sample string 4",
    "telefon": "sample string 5",
    "email": "sample string 6",
    "traeffetid": "sample string 7",
    "vejNavn": "sample string 8"
  }
]

application/xml, text/xml

Sample:
<ArrayOfContactResponseDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Services.Domea.Dk.Models.CoreDTO.Response">
  <ContactResponseDTO>
    <ByNavn>sample string 4</ByNavn>
    <Email>sample string 6</Email>
    <Navn>sample string 1</Navn>
    <PostNr>sample string 3</PostNr>
    <Telefon>sample string 5</Telefon>
    <Traeffetid>sample string 7</Traeffetid>
    <Type>sample string 2</Type>
    <VejNavn>sample string 8</VejNavn>
  </ContactResponseDTO>
  <ContactResponseDTO>
    <ByNavn>sample string 4</ByNavn>
    <Email>sample string 6</Email>
    <Navn>sample string 1</Navn>
    <PostNr>sample string 3</PostNr>
    <Telefon>sample string 5</Telefon>
    <Traeffetid>sample string 7</Traeffetid>
    <Type>sample string 2</Type>
    <VejNavn>sample string 8</VejNavn>
  </ContactResponseDTO>
</ArrayOfContactResponseDTO>