POST api/Customer/UpdateUserNameAndSurname

Request Information

URI Parameters

None.

Body Parameters

UpdateUserInformationV2Request
NameDescriptionTypeAdditional information
name

string

None.

surname

string

None.

birthDay

date

None.

gender

integer

None.

Source

string

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "surname": "sample string 2",
  "birthDay": "2025-05-23T23:42:35.0392595+03:00",
  "gender": 1,
  "Source": "sample string 4"
}

application/xml, text/xml

Sample:
<UpdateUserInformationV2Request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Request">
  <BirthDay>2025-05-23T23:42:35.0392595+03:00</BirthDay>
  <FirstName>sample string 1</FirstName>
  <Gender>1</Gender>
  <LastName>sample string 2</LastName>
  <Source>sample string 4</Source>
  <UserId>06b659c0-6823-4518-84c8-e1f500737518</UserId>
</UpdateUserInformationV2Request>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UpdateUserInformationV2Response
NameDescriptionTypeAdditional information
Messages

Collection of MessageModel

None.

Data

Object

None.

Success

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Messages": [
    {
      "Code": 1,
      "Level": "sample string 2",
      "Message": "sample string 3",
      "SubMessage": "sample string 4"
    },
    {
      "Code": 1,
      "Level": "sample string 2",
      "Message": "sample string 3",
      "SubMessage": "sample string 4"
    }
  ],
  "Data": {},
  "Success": true
}

application/xml, text/xml

Sample:
<UpdateUserInformationV2Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Response">
  <Data xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Response.Common" />
  <Messages xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Response.Common">
    <MessageModel>
      <Code>1</Code>
      <Level>sample string 2</Level>
      <Message>sample string 3</Message>
      <SubMessage>sample string 4</SubMessage>
    </MessageModel>
    <MessageModel>
      <Code>1</Code>
      <Level>sample string 2</Level>
      <Message>sample string 3</Message>
      <SubMessage>sample string 4</SubMessage>
    </MessageModel>
  </Messages>
  <Success xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Response.Common">true</Success>
</UpdateUserInformationV2Response>