POST api/Users/CreateUserAndroid
Request Information
URI Parameters
None.
Body Parameters
UserName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
FirstName | string |
None. |
|
LastName | string |
None. |
|
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": "f87928ea-4cfc-4959-81a2-39571a1870cd", "LogDateCreate": "2024-11-21T09:43:35.933065+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-21T09:43:35.933065+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>f87928ea-4cfc-4959-81a2-39571a1870cd</UserGuid> </User>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
NewUserName | Description | Type | Additional information |
---|---|---|---|
Guid | globally unique identifier |
None. |
|
FirstName | string |
None. |
|
LastName | string |
None. |
|
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": "a496a55f-21b7-4628-8c52-ad15fc5fea42", "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>a496a55f-21b7-4628-8c52-ad15fc5fea42</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>