POST api/Customer/Update
Request Information
URI Parameters
None.
Body Parameters
UpdateUserInformationWithOtpRequestName | Description | Type | Additional information |
---|---|---|---|
name | string |
None. |
|
surname | string |
None. |
|
string |
None. |
||
birthDay | date |
None. |
|
gsmNumber | string |
None. |
|
gender | integer |
None. |
|
otpCode | string |
None. |
|
otpIdReference | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "name": "sample string 1", "surname": "sample string 2", "email": "sample string 3", "birthDay": "2025-05-23T22:33:15.7278625+03:00", "gsmNumber": "sample string 4", "gender": 1, "otpCode": "sample string 5", "otpIdReference": "sample string 6" }
application/xml, text/xml
Sample:
<UpdateUserInformationWithOtpRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Request"> <BirthDay>2025-05-23T22:33:15.7278625+03:00</BirthDay> <Email>sample string 3</Email> <FirstName>sample string 1</FirstName> <Gender>1</Gender> <GsmNumber>sample string 4</GsmNumber> <LastName>sample string 2</LastName> <OtpCode>sample string 5</OtpCode> <OtpIdReference>sample string 6</OtpIdReference> <UserId>5abb7ea1-a20e-4482-b1c3-dec70272fec6</UserId> </UpdateUserInformationWithOtpRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UpdateUserInformationWithOtpResponseName | Description | Type | Additional information |
---|---|---|---|
IsCaptchaRequired | boolean |
None. |
|
IsCaptchaValid | boolean |
None. |
|
ExceptionMessageList | Collection of string |
None. |
|
Success | boolean |
None. |
|
HasNewPhoneNumber | boolean |
None. |
|
IsValid | boolean |
None. |
|
IsOtpRequired | boolean |
None. |
|
ReferenceCode | string |
None. |
|
RemainingSecond | integer |
None. |
|
OtpIdReference | string |
None. |
|
IsOtpValid | 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, "IsOtpRequired": true, "ReferenceCode": "sample string 7", "RemainingSecond": 8, "OtpIdReference": "sample string 9", "IsOtpValid": true }
application/xml, text/xml
Sample:
<UpdateUserInformationWithOtpResponse 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> <IsOtpRequired>true</IsOtpRequired> <IsOtpValid>true</IsOtpValid> <IsValid>true</IsValid> <OtpIdReference>sample string 9</OtpIdReference> <ReferenceCode>sample string 7</ReferenceCode> <RemainingSecond>8</RemainingSecond> <Success>true</Success> </UpdateUserInformationWithOtpResponse>