PUT api/users/Profile
Request Information
URI Parameters
None.
Body Parameters
UserProfileViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| AccountName | string |
None. |
|
| PhoneNumber | string |
None. |
|
| TimeZoneId | integer |
None. |
|
| DefaultCustomerId | integer |
None. |
|
| DefaultServiceId | integer |
None. |
|
| DefaultModeId | integer |
None. |
|
| string |
Required |
||
| CurrentPassword | string |
Data type: Password |
|
| Password | string |
Data type: Password String length: inclusive between 6 and 100 |
|
| ConfirmPassword | string |
Data type: Password |
|
| DefaultValues | Collection of DefaultValuesViewModel |
None. |
|
| ProcessNote | string |
None. |
|
| ProcessIds | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"FirstName": "sample string 1",
"LastName": "sample string 2",
"AccountName": "sample string 3",
"PhoneNumber": "sample string 4",
"TimeZoneId": 1,
"DefaultCustomerId": 1,
"DefaultServiceId": 1,
"DefaultModeId": 1,
"Email": "sample string 5",
"CurrentPassword": "sample string 6",
"Password": "sample string 7",
"ConfirmPassword": "sample string 8",
"DefaultValues": [
{
"Flow": "sample string 1",
"DefaultCustomerId": 1,
"DefaultServiceId": 1,
"DefaultModeId": 1
},
{
"Flow": "sample string 1",
"DefaultCustomerId": 1,
"DefaultServiceId": 1,
"DefaultModeId": 1
}
],
"ProcessNote": "sample string 9",
"ProcessIds": [
1,
2
]
}
application/xml, text/xml
Sample:
<UserProfileViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eMpowerCore.ViewModels">
<AccountName>sample string 3</AccountName>
<ConfirmPassword>sample string 8</ConfirmPassword>
<CurrentPassword>sample string 6</CurrentPassword>
<DefaultCustomerId>1</DefaultCustomerId>
<DefaultModeId>1</DefaultModeId>
<DefaultServiceId>1</DefaultServiceId>
<DefaultValues>
<DefaultValuesViewModel>
<DefaultCustomerId>1</DefaultCustomerId>
<DefaultModeId>1</DefaultModeId>
<DefaultServiceId>1</DefaultServiceId>
<Flow>sample string 1</Flow>
</DefaultValuesViewModel>
<DefaultValuesViewModel>
<DefaultCustomerId>1</DefaultCustomerId>
<DefaultModeId>1</DefaultModeId>
<DefaultServiceId>1</DefaultServiceId>
<Flow>sample string 1</Flow>
</DefaultValuesViewModel>
</DefaultValues>
<Email>sample string 5</Email>
<FirstName>sample string 1</FirstName>
<LastName>sample string 2</LastName>
<Password>sample string 7</Password>
<PhoneNumber>sample string 4</PhoneNumber>
<ProcessIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</ProcessIds>
<ProcessNote>sample string 9</ProcessNote>
<TimeZoneId>1</TimeZoneId>
</UserProfileViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.