POST api/Customer/UpdateUserInformation
Request Information
URI Parameters
None.
Body Parameters
UpdateUserInformationRequestName | Description | Type | Additional information |
---|---|---|---|
FirstName | string |
None. |
|
LastName | string |
None. |
|
string |
None. |
||
SubscribeEmail | boolean |
None. |
|
BirthDay | date |
None. |
|
GsmNumber | string |
None. |
|
Gender | integer |
None. |
|
SubscribeSms | boolean |
None. |
|
IsValidatedByOtp | boolean |
None. |
|
PermanentSessionId | string |
None. |
|
IPAddress | string |
None. |
|
UserAgent | string |
None. |
|
CaptchaCode | string |
None. |
|
UserId | globally unique identifier |
None. |
|
IsIgnoreCaptchaCode | boolean |
None. |
|
Source | string |
None. |
|
SubscribeCall | boolean |
None. |
|
IgnoreGsmUpdate | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "FirstName": "sample string 1", "LastName": "sample string 2", "Email": "sample string 3", "SubscribeEmail": true, "BirthDay": "2025-05-23T22:22:25.2720578+03:00", "GsmNumber": "sample string 5", "Gender": 1, "SubscribeSms": true, "IsValidatedByOtp": true, "PermanentSessionId": "sample string 8", "IPAddress": "sample string 9", "UserAgent": "sample string 10", "CaptchaCode": "sample string 11", "UserId": "6b55e681-2f1a-4b92-93e0-9122c3c4e9fe", "IsIgnoreCaptchaCode": true, "Source": "sample string 14", "SubscribeCall": true, "IgnoreGsmUpdate": true }
application/xml, text/xml
Sample:
<UpdateUserInformationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Request"> <BirthDay>2025-05-23T22:22:25.2720578+03:00</BirthDay> <CaptchaCode>sample string 11</CaptchaCode> <Email>sample string 3</Email> <FirstName>sample string 1</FirstName> <Gender>1</Gender> <GsmNumber>sample string 5</GsmNumber> <IPAddress>sample string 9</IPAddress> <IgnoreGsmUpdate>true</IgnoreGsmUpdate> <IsIgnoreCaptchaCode>true</IsIgnoreCaptchaCode> <IsValidatedByOtp>true</IsValidatedByOtp> <LastName>sample string 2</LastName> <PermanentSessionId>sample string 8</PermanentSessionId> <Source>sample string 14</Source> <SubscribeCall>true</SubscribeCall> <SubscribeEmail>true</SubscribeEmail> <SubscribeSms>true</SubscribeSms> <UserAgent>sample string 10</UserAgent> <UserId>6b55e681-2f1a-4b92-93e0-9122c3c4e9fe</UserId> </UpdateUserInformationRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UpdateUserInformationResponseName | Description | Type | Additional information |
---|---|---|---|
IsCaptchaRequired | boolean |
None. |
|
IsCaptchaValid | boolean |
None. |
|
ExceptionMessageList | Collection of string |
None. |
|
Success | boolean |
None. |
|
HasNewPhoneNumber | boolean |
None. |
|
IsValid | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsCaptchaRequired": true, "IsCaptchaValid": true, "ExceptionMessageList": [ "sample string 1", "sample string 2" ], "Success": true, "HasNewPhoneNumber": true, "IsValid": true }
application/xml, text/xml
Sample:
<UpdateUserInformationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Response"> <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> <HasNewPhoneNumber>true</HasNewPhoneNumber> <IsCaptchaRequired>true</IsCaptchaRequired> <IsCaptchaValid>true</IsCaptchaValid> <IsValid>true</IsValid> <Success>true</Success> </UpdateUserInformationResponse>