POST api/Customer/Update
Request Information
URI Parameters
None.
Body Parameters
UpdateUserInformationWithOtpRequest| Name | 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-11-03T09:27:54.1741772+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-11-03T09:27:54.1741772+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>8b78c24b-3e98-47a1-882e-7a0f29520949</UserId> </UpdateUserInformationWithOtpRequest>
application/x-www-form-urlencoded
            Sample:
    
Sample not available.
Response Information
Resource Description
UpdateUserInformationWithOtpResponse| Name | 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>