POST api/Users/CreateUserRetensionAndroid

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.

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": "3009e9f3-4813-4714-b445-d7f0243370b7",
  "LogDateCreate": "2022-09-25T17:18:50.7237368+02:00",
  "RegistrationConfirmed": true,
  "RetentionRequest": true
}

application/xml, text/xml

Sample:
<User xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/v1api.Schema">
  <FirstName>sample string 2</FirstName>
  <Hash>sample string 14</Hash>
  <Id>1</Id>
  <LastName>sample string 3</LastName>
  <LogDateCreate>2022-09-25T17:18:50.7237368+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>3009e9f3-4813-4714-b445-d7f0243370b7</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.

Response Formats

application/json, text/json

Sample:
{
  "Guid": "860a6f6a-0919-4a25-8f78-625b093f9d25",
  "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
}

application/xml, text/xml

Sample:
<NewUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/v1api.Models">
  <FirstName>sample string 2</FirstName>
  <Guid>860a6f6a-0919-4a25-8f78-625b093f9d25</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>