PUT api/UserProfiles/UpdateProfile/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | string |
Required |
Body Parameters
ChangeUserProfileBindingModelName | Description | Type | Additional information |
---|---|---|---|
Id | string |
String length: inclusive between 0 and 128 |
|
FirstName | string |
String length: inclusive between 0 and 55 |
|
LastName | string |
String length: inclusive between 0 and 55 |
|
Address | string |
String length: inclusive between 0 and 256 |
|
string |
None. |
||
PhoneNbr | string |
None. |
|
CountryId | string |
None. |
|
Gender | string |
None. |
|
IsInactive | boolean |
None. |
|
Supervisor | string |
None. |
|
ImageName | string |
String length: inclusive between 0 and 100 |
|
ImageContent | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "sample string 1", "FirstName": "sample string 2", "LastName": "sample string 3", "Address": "sample string 4", "Email": "sample string 5", "PhoneNbr": "sample string 6", "CountryId": "sample string 7", "Gender": "sample string 8", "IsInactive": true, "Supervisor": "sample string 10", "ImageName": "sample string 11", "ImageContent": "sample string 12" }
application/xml, text/xml
Sample:
<ChangeUserProfileBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO"> <ImageContent>sample string 12</ImageContent> <ImageName>sample string 11</ImageName> <Address>sample string 4</Address> <CountryId>sample string 7</CountryId> <Email>sample string 5</Email> <FirstName>sample string 2</FirstName> <Gender>sample string 8</Gender> <Id>sample string 1</Id> <IsInactive>true</IsInactive> <LastName>sample string 3</LastName> <PhoneNbr>sample string 6</PhoneNbr> <Supervisor>sample string 10</Supervisor> </ChangeUserProfileBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.