POST api/Users/CreateUserRetensionIos

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": "05e4be99-4be0-40a8-a6e0-a4353865fd5f",
  "LogDateCreate": "2024-11-21T11:26:46.2807165+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-11-21T11:26:46.2807165+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>05e4be99-4be0-40a8-a6e0-a4353865fd5f</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": "405461fe-04b6-412b-a853-c8c4bd84c730",
  "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>405461fe-04b6-412b-a853-c8c4bd84c730</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>