PUT api/settings/profile/{userId}/update
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userId | integer |
Required |
Body Parameters
ProfileSubModelName | Description | Type | Additional information |
---|---|---|---|
LanguageId | integer |
None. |
|
FirstName | string |
None. |
|
MiddleName | string |
None. |
|
LastName | string |
None. |
|
WorkPhone | string |
None. |
|
CellPhone | string |
None. |
|
Address | string |
None. |
|
CountryId | integer |
None. |
|
State | string |
None. |
|
City | string |
None. |
|
ZipCode | string |
None. |
|
PredefinedScreen | string |
None. |
|
HomePageType | string |
None. |
|
ProfilePictureUrl | string |
None. |
|
CorporateId | integer |
None. |
|
PreferredCurrencyId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "LanguageId": 1, "FirstName": "sample string 2", "MiddleName": "sample string 3", "LastName": "sample string 4", "WorkPhone": "sample string 5", "CellPhone": "sample string 6", "Address": "sample string 7", "CountryId": 1, "State": "sample string 8", "City": "sample string 9", "ZipCode": "sample string 10", "PredefinedScreen": "sample string 11", "HomePageType": "sample string 12", "ProfilePictureUrl": "sample string 13", "CorporateId": 1, "PreferredCurrencyId": 1 }
application/xml, text/xml
Sample:
<ProfileSubModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ALTAMBS.Business.Entities.SubModels"> <Address>sample string 7</Address> <CellPhone>sample string 6</CellPhone> <City>sample string 9</City> <CorporateId>1</CorporateId> <CountryId>1</CountryId> <FirstName>sample string 2</FirstName> <HomePageType>sample string 12</HomePageType> <LanguageId>1</LanguageId> <LastName>sample string 4</LastName> <MiddleName>sample string 3</MiddleName> <PredefinedScreen>sample string 11</PredefinedScreen> <PreferredCurrencyId>1</PreferredCurrencyId> <ProfilePictureUrl>sample string 13</ProfilePictureUrl> <State>sample string 8</State> <WorkPhone>sample string 5</WorkPhone> <ZipCode>sample string 10</ZipCode> </ProfileSubModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.