POST contactperson

Add a new contact person to Fiscaal Gemak.

Request Information

URI Parameters

None.

Body Parameters

The ContactPersonViewModel, containing details about the contact person.

FiscaalGemak.Web.Api.Models.Models.ContactPersonViewModel
NameDescriptionTypeAdditional information
Id

Gets or sets the Id of the contact person.

integer

None.

Email

Gets or sets the email of the contact person.

string

String length: inclusive between 0 and 128

Initials

Gets or sets the initials of the contact person.

string

String length: inclusive between 0 and 50

FirstName

Gets or sets the firstname of the contact person.

string

String length: inclusive between 0 and 80

Prefix

Gets or sets the prefix of the contact person.

string

String length: inclusive between 0 and 50

Surname

Gets or sets the surname of the contact person.

string

String length: inclusive between 0 and 128

TelephoneNumber

Gets or sets the telephone number of the contact person.

string

String length: inclusive between 0 and 14

SalutationCustom

Gets or sets a custom salutation for the contact person.

string

String length: inclusive between 0 and 50

Salutation

Gets or sets the salutation of the contact person.

FiscaalGemak.Core.Models.Enums.Salutation

None.

AuthenticationType

Gets or sets the AuthenticationType of the contact person. Google = 0, BSNRSIN = 1.

FiscaalGemak.Core.Models.Enums.AuthenticationType

None.

ApiModificationDate

Gets the modification date initiated from the API external source.

date

None.

ApiSourceName

Gets or sets the name from the API external source.

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Email": "sample string 1",
  "Initials": "sample string 2",
  "FirstName": "sample string 3",
  "Prefix": "sample string 4",
  "Surname": "sample string 5",
  "TelephoneNumber": "sample string 6",
  "SalutationCustom": "sample string 7",
  "Salutation": 0,
  "AuthenticationType": 0,
  "ApiModificationDate": "2024-12-04T20:00:28.9176431+01:00",
  "ApiSourceName": "sample string 8"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

The unique Id of the new contact person.

integer

Response Formats

application/json, text/json

Sample:
1