PUT api/UserProfiles/Admin/UpdateProfile/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | string |
Required |
Body Parameters
AdminChangeUserProfileBindingModelName | Description | Type | Additional information |
---|---|---|---|
CompanyCode | string |
Required String length: inclusive between 0 and 7 |
|
UserId | string |
String length: inclusive between 0 and 128 |
|
AccountManagerProfileId | string |
String length: inclusive between 0 and 128 |
|
PositionId | integer |
None. |
|
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:
{ "CompanyCode": "sample string 1", "UserId": "sample string 2", "AccountManagerProfileId": "sample string 3", "PositionId": 1, "Id": "sample string 4", "FirstName": "sample string 5", "LastName": "sample string 6", "Address": "sample string 7", "Email": "sample string 8", "PhoneNbr": "sample string 9", "CountryId": "sample string 10", "Gender": "sample string 11", "IsInactive": true, "Supervisor": "sample string 13", "ImageName": "sample string 14", "ImageContent": "sample string 15" }
application/xml, text/xml
Sample:
<AdminChangeUserProfileBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO"> <ImageContent>sample string 15</ImageContent> <ImageName>sample string 14</ImageName> <Address>sample string 7</Address> <CountryId>sample string 10</CountryId> <Email>sample string 8</Email> <FirstName>sample string 5</FirstName> <Gender>sample string 11</Gender> <Id>sample string 4</Id> <IsInactive>true</IsInactive> <LastName>sample string 6</LastName> <PhoneNbr>sample string 9</PhoneNbr> <Supervisor>sample string 13</Supervisor> <AccountManagerProfileId>sample string 3</AccountManagerProfileId> <CompanyCode>sample string 1</CompanyCode> <PositionId>1</PositionId> <UserId>sample string 2</UserId> </AdminChangeUserProfileBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.