POST api/Users/CreateUser

Request Information

URI Parameters

None.

Body Parameters

User
NameDescriptionTypeAdditional information
Id

integer

None.

FirstName

string

None.

LastName

string

None.

Mail

string

None.

Pwz

string

None.

Phone

string

None.

Specialization

integer

None.

MainConsent_1

boolean

None.

MainConsent_2

boolean

None.

SubConsent_mail

boolean

None.

SubConsent_phone

boolean

None.

SubConsent_sms

boolean

None.

SubConsent_web

boolean

None.

Hash

string

None.

Salt

string

None.

UserGuid

globally unique identifier

None.

LogDateCreate

date

None.

RegistrationConfirmed

boolean

None.

RetentionRequest

boolean

None.

AppAdvice

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "Mail": "sample string 4",
  "Pwz": "sample string 5",
  "Phone": "sample string 6",
  "Specialization": 7,
  "MainConsent_1": true,
  "MainConsent_2": true,
  "SubConsent_mail": true,
  "SubConsent_phone": true,
  "SubConsent_sms": true,
  "SubConsent_web": true,
  "Hash": "sample string 14",
  "Salt": "sample string 15",
  "UserGuid": "8e56fd48-c0ce-48e1-9362-eb8d1fc1de7e",
  "LogDateCreate": "2024-03-28T22:18:20.9726384+01:00",
  "RegistrationConfirmed": true,
  "RetentionRequest": true,
  "AppAdvice": 1
}

application/xml, text/xml

Sample:
<User xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/v1api.Schema">
  <AppAdvice>1</AppAdvice>
  <FirstName>sample string 2</FirstName>
  <Hash>sample string 14</Hash>
  <Id>1</Id>
  <LastName>sample string 3</LastName>
  <LogDateCreate>2024-03-28T22:18:20.9726384+01:00</LogDateCreate>
  <Mail>sample string 4</Mail>
  <MainConsent_1>true</MainConsent_1>
  <MainConsent_2>true</MainConsent_2>
  <Phone>sample string 6</Phone>
  <Pwz>sample string 5</Pwz>
  <RegistrationConfirmed>true</RegistrationConfirmed>
  <RetentionRequest>true</RetentionRequest>
  <Salt>sample string 15</Salt>
  <Specialization>7</Specialization>
  <SubConsent_mail>true</SubConsent_mail>
  <SubConsent_phone>true</SubConsent_phone>
  <SubConsent_sms>true</SubConsent_sms>
  <SubConsent_web>true</SubConsent_web>
  <UserGuid>8e56fd48-c0ce-48e1-9362-eb8d1fc1de7e</UserGuid>
</User>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NewUser
NameDescriptionTypeAdditional information
Guid

globally unique identifier

None.

FirstName

string

None.

LastName

string

None.

Mail

string

None.

Pwz

string

None.

Phone

string

None.

Specialization

integer

None.

MainConsent_1

boolean

None.

MainConsent_2

boolean

None.

SubConsent_mail

boolean

None.

SubConsent_phone

boolean

None.

SubConsent_sms

boolean

None.

SubConsent_web

boolean

None.

AppAdvice

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Guid": "1866d966-84cf-42b0-8357-7f0a549c13c1",
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "Mail": "sample string 4",
  "Pwz": "sample string 5",
  "Phone": "sample string 6",
  "Specialization": 1,
  "MainConsent_1": true,
  "MainConsent_2": true,
  "SubConsent_mail": true,
  "SubConsent_phone": true,
  "SubConsent_sms": true,
  "SubConsent_web": true,
  "AppAdvice": 1
}

application/xml, text/xml

Sample:
<NewUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/v1api.Models">
  <AppAdvice>1</AppAdvice>
  <FirstName>sample string 2</FirstName>
  <Guid>1866d966-84cf-42b0-8357-7f0a549c13c1</Guid>
  <LastName>sample string 3</LastName>
  <Mail>sample string 4</Mail>
  <MainConsent_1>true</MainConsent_1>
  <MainConsent_2>true</MainConsent_2>
  <Phone>sample string 6</Phone>
  <Pwz>sample string 5</Pwz>
  <Specialization>1</Specialization>
  <SubConsent_mail>true</SubConsent_mail>
  <SubConsent_phone>true</SubConsent_phone>
  <SubConsent_sms>true</SubConsent_sms>
  <SubConsent_web>true</SubConsent_web>
</NewUser>