POST api/Users/CreateUserAndroid

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": "7dacb41b-bd60-4241-9ce9-98bb581007ba",
  "LogDateCreate": "2024-10-04T08:33:59.2412774+02: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-10-04T08:33:59.2412774+02: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>7dacb41b-bd60-4241-9ce9-98bb581007ba</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": "a25db8e5-cea1-45b0-af6e-23ec5d01ae88",
  "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>a25db8e5-cea1-45b0-af6e-23ec5d01ae88</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>