POST User/UpdateName
Request Information
URI Parameters
None.
Body Parameters
LoggedUserData| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID | integer |
None. |
|
| Name | string |
None. |
|
| PhonePrefix | string |
None. |
|
| Phone | string |
None. |
|
| string |
None. |
||
| LoginType | integer |
None. |
|
| LoginTypeValue | string |
None. |
|
| IsCorporate | boolean |
None. |
|
| ActiveAddressID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserID": 1,
"Name": "sample string 2",
"PhonePrefix": "sample string 3",
"Phone": "sample string 4",
"Email": "sample string 5",
"LoginType": 6,
"LoginTypeValue": "sample string 7",
"IsCorporate": true,
"ActiveAddressID": 9
}
application/xml, text/xml
Sample:
<LoginModelDTO.LoggedUserData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CoreLayer.DTOs"> <ActiveAddressID>9</ActiveAddressID> <Email>sample string 5</Email> <IsCorporate>true</IsCorporate> <LoginType>6</LoginType> <LoginTypeValue>sample string 7</LoginTypeValue> <Name>sample string 2</Name> <Phone>sample string 4</Phone> <PhonePrefix>sample string 3</PhonePrefix> <UserID>1</UserID> </LoginModelDTO.LoggedUserData>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
GeneralResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<GeneralResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HizirYetisAPI.ViewModels"> <Message>sample string 2</Message> <Success>true</Success> </GeneralResponse>