POST api/Customer/SaveUser
Request Information
URI Parameters
None.
Body Parameters
SaveUserRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| string |
None. |
||
| BirthDay | date |
None. |
|
| City | string |
None. |
|
| Country | string |
None. |
|
| CountryCode | string |
None. |
|
| GsmNumber | string |
None. |
|
| Password | string |
None. |
|
| PhoneNumber | string |
None. |
|
| PhoneNumberExt | string |
None. |
|
| Gender | integer |
None. |
|
| AgreementApproved | boolean |
None. |
|
| JoinOtherCompanies | boolean |
None. |
|
| SubscribeEmail | boolean |
None. |
|
| SubscribeSms | boolean |
None. |
|
| SubscribeCall | boolean |
None. |
|
| ShareDataPermission | boolean |
None. |
|
| IpAddress | string |
None. |
|
| IsExternalUser | boolean |
None. |
|
| Source | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"FirstName": "sample string 1",
"LastName": "sample string 2",
"Email": "sample string 3",
"BirthDay": "2025-10-30T21:00:40.0522687+03:00",
"City": "sample string 5",
"Country": "sample string 6",
"CountryCode": "sample string 7",
"GsmNumber": "sample string 8",
"Password": "sample string 9",
"PhoneNumber": "sample string 10",
"PhoneNumberExt": "sample string 11",
"Gender": 1,
"AgreementApproved": true,
"JoinOtherCompanies": true,
"SubscribeEmail": true,
"SubscribeSms": true,
"SubscribeCall": true,
"ShareDataPermission": true,
"IpAddress": "sample string 17",
"IsExternalUser": true,
"Source": "sample string 19"
}
application/xml, text/xml
Sample:
<SaveUserRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Request"> <AgreementApproved>true</AgreementApproved> <BirthDay>2025-10-30T21:00:40.0522687+03:00</BirthDay> <City>sample string 5</City> <Country>sample string 6</Country> <CountryCode>sample string 7</CountryCode> <Email>sample string 3</Email> <FirstName>sample string 1</FirstName> <Gender>1</Gender> <GsmNumber>sample string 8</GsmNumber> <IpAddress>sample string 17</IpAddress> <IsExternalUser>true</IsExternalUser> <JoinOtherCompanies>true</JoinOtherCompanies> <LastName>sample string 2</LastName> <Password>sample string 9</Password> <PhoneNumber>sample string 10</PhoneNumber> <PhoneNumberExt>sample string 11</PhoneNumberExt> <ShareDataPermission>true</ShareDataPermission> <Source>sample string 19</Source> <SubscribeCall>true</SubscribeCall> <SubscribeEmail>true</SubscribeEmail> <SubscribeSms>true</SubscribeSms> </SaveUserRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SaveUserResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| IsValidLogonName | boolean |
None. |
|
| PartnerAccountExist | boolean |
None. |
|
| IsDeleteCart | boolean |
None. |
|
| UserId | globally unique identifier |
None. |
|
| IsCanceledAccount | boolean |
None. |
|
| Code | SaveResponseCode |
None. |
|
| SharedDataPermission | boolean |
None. |
|
| Gender | integer |
None. |
|
| UserType | integer |
None. |
|
| ExceptionMessageList | Collection of string |
None. |
|
| InformationMessageList | Collection of string |
None. |
|
| WarningMessageList | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"IsValidLogonName": true,
"PartnerAccountExist": true,
"IsDeleteCart": true,
"UserId": "eeab205b-939b-4ca3-bb79-e76afac7bf13",
"IsCanceledAccount": true,
"Code": 7000,
"SharedDataPermission": true,
"Gender": 1,
"UserType": 1,
"ExceptionMessageList": [
"sample string 1",
"sample string 2"
],
"InformationMessageList": [
"sample string 1",
"sample string 2"
],
"WarningMessageList": [
"sample string 1",
"sample string 2"
]
}
application/xml, text/xml
Sample:
<SaveUserResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Response">
<Code>InvalidLogonName</Code>
<ExceptionMessageList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ExceptionMessageList>
<Gender>1</Gender>
<InformationMessageList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</InformationMessageList>
<IsCanceledAccount>true</IsCanceledAccount>
<IsDeleteCart>true</IsDeleteCart>
<IsValidLogonName>true</IsValidLogonName>
<PartnerAccountExist>true</PartnerAccountExist>
<SharedDataPermission>true</SharedDataPermission>
<Success>true</Success>
<UserId>eeab205b-939b-4ca3-bb79-e76afac7bf13</UserId>
<UserType>1</UserType>
<WarningMessageList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</WarningMessageList>
</SaveUserResponse>