POST api/v{version}/Contacts/CreateContact?key={key}

Inserts a new contact into WACS

Request Information

URI Parameters

NameDescriptionTypeAdditional information
key

The API key

string

Required

version

string

None.

Body Parameters

The contact to be inserted

ContactInDTO
NameDescriptionTypeAdditional information
AutomaticUbl

boolean

None.

Bus

string

None.

CellNr

string

None.

Company

boolean

None.

ContactCategory

integer

None.

CountryISO

string

None.

DateOfBirth

date

None.

Email

string

None.

ExternalID

string

None.

FunctionalTypes

Collection of integer

None.

GroupBilling

boolean

None.

Header1

string

None.

Header2

string

None.

Header3

string

None.

Language

integer

None.

Memo

string

None.

Name

string

None.

NonGDPR

boolean

None.

ParentID

integer

None.

PaymentCondition

integer

None.

Postalcode

string

None.

Street

string

None.

TAV

string

None.

Telnr

string

None.

Town

string

None.

Type

string

None.

VatCode

string

None.

VATCountryISO

string

None.

VATNr

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AutomaticUbl": true,
  "Bus": "sample string 1",
  "CellNr": "sample string 2",
  "Company": true,
  "ContactCategory": 1,
  "CountryISO": "sample string 3",
  "DateOfBirth": "2024-05-07T09:14:31.0715119+02:00",
  "Email": "sample string 4",
  "ExternalID": "sample string 5",
  "FunctionalTypes": [
    1,
    2
  ],
  "GroupBilling": true,
  "Header1": "sample string 6",
  "Header2": "sample string 7",
  "Header3": "sample string 8",
  "Language": 1,
  "Memo": "sample string 9",
  "Name": "sample string 10",
  "NonGDPR": true,
  "ParentID": 1,
  "PaymentCondition": 1,
  "Postalcode": "sample string 11",
  "Street": "sample string 12",
  "TAV": "sample string 13",
  "Telnr": "sample string 14",
  "Town": "sample string 15",
  "Type": "sample string 16",
  "VatCode": "sample string 17",
  "VATCountryISO": "sample string 18",
  "VATNr": "sample string 19"
}

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.