POST api/Account/UpdateUserInfo
Request Information
URI Parameters
None.
Body Parameters
ProfilesModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserName | string |
None. |
|
| string |
Required Data type: EmailAddress |
||
| FirstName | string |
Required String length: inclusive between 1 and 100 |
|
| LastName | string |
Required String length: inclusive between 1 and 100 |
|
| Address | string |
None. |
|
| Address1 | string |
Required String length: inclusive between 1 and 100 |
|
| Address2 | string |
String length: inclusive between 1 and 100 |
|
| Address3 | string |
String length: inclusive between 1 and 100 |
|
| PhoneNumber | string |
Required Data type: PhoneNumber |
|
| IsAdminUser | boolean |
None. |
|
| CurrentCulture | string |
None. |
|
| HasRegistered | boolean |
None. |
|
| LoginProvider | string |
None. |
|
| AccessToken | string |
None. |
|
| AuthType | string |
None. |
|
| Company | CompanyDetail |
None. |
|
| Language | string |
None. |
|
| IP | string |
None. |
|
| CompID | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserName": "sample string 1",
"Email": "sample string 2",
"FirstName": "sample string 3",
"LastName": "sample string 4",
"Address": "sample string 5",
"Address1": "sample string 6",
"Address2": "sample string 7",
"Address3": "sample string 8",
"PhoneNumber": "sample string 9",
"IsAdminUser": true,
"CurrentCulture": "sample string 11",
"HasRegistered": true,
"LoginProvider": "sample string 13",
"AccessToken": "sample string 14",
"AuthType": "sample string 15",
"Company": {
"CompName": "sample string 1",
"CompAddress": "sample string 2",
"CompAdd1": "sample string 3",
"CompAdd2": "sample string 4",
"CompAdd3": "sample string 5",
"CompPostCode": "sample string 6",
"CompCountry": "sample string 7",
"CompTel": "sample string 8",
"CompEmail": "sample string 9",
"CompWebSite": "sample string 10",
"CompLogo": "sample string 11",
"CompID": "sample string 12",
"Lat": 1.1,
"Long": 1.1,
"TaxID": "sample string 13",
"Slug": "sample string 14",
"CompFax": "sample string 15"
},
"Language": "sample string 16",
"IP": "sample string 17",
"CompID": "sample string 18"
}
application/xml, text/xml
Sample:
<ProfilesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModel">
<CompID>sample string 18</CompID>
<IP>sample string 17</IP>
<Language>sample string 16</Language>
<AccessToken>sample string 14</AccessToken>
<Address>sample string 5</Address>
<Address1>sample string 6</Address1>
<Address2>sample string 7</Address2>
<Address3>sample string 8</Address3>
<AuthType>sample string 15</AuthType>
<Company xmlns:d2p1="http://schemas.datacontract.org/2004/07/ViewModel.Invoice">
<d2p1:CompAdd1>sample string 3</d2p1:CompAdd1>
<d2p1:CompAdd2>sample string 4</d2p1:CompAdd2>
<d2p1:CompAdd3>sample string 5</d2p1:CompAdd3>
<d2p1:CompAddress>sample string 2</d2p1:CompAddress>
<d2p1:CompCountry>sample string 7</d2p1:CompCountry>
<d2p1:CompEmail>sample string 9</d2p1:CompEmail>
<d2p1:CompFax>sample string 15</d2p1:CompFax>
<d2p1:CompID>sample string 12</d2p1:CompID>
<d2p1:CompLogo>sample string 11</d2p1:CompLogo>
<d2p1:CompName>sample string 1</d2p1:CompName>
<d2p1:CompPostCode>sample string 6</d2p1:CompPostCode>
<d2p1:CompTel>sample string 8</d2p1:CompTel>
<d2p1:CompWebSite>sample string 10</d2p1:CompWebSite>
<d2p1:Lat>1.1</d2p1:Lat>
<d2p1:Long>1.1</d2p1:Long>
<d2p1:Slug>sample string 14</d2p1:Slug>
<d2p1:TaxID>sample string 13</d2p1:TaxID>
</Company>
<CurrentCulture>sample string 11</CurrentCulture>
<Email>sample string 2</Email>
<FirstName>sample string 3</FirstName>
<HasRegistered>true</HasRegistered>
<IsAdminUser>true</IsAdminUser>
<LastName>sample string 4</LastName>
<LoginProvider>sample string 13</LoginProvider>
<PhoneNumber>sample string 9</PhoneNumber>
<UserName>sample string 1</UserName>
</ProfilesModel>
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.