POST api/Account/UpdateRequestorUser
Updates user's information. The role of administrator is required.
Request Information
URI Parameters
None.
Body Parameters
UpdateRequestorUserPostName | Description | Type | Additional information |
---|---|---|---|
UserProviderKey |
(Key) User Id |
string |
None. |
User's email. Recommended so the user can receive email notifications. |
string |
None. |
|
RoleEndUser |
Set true if the user has the EndUser role |
boolean |
None. |
RoleSmartUser |
Set true if the user has the SmartUser role |
boolean |
None. |
RoleOperator |
Set true if the user has the Operator role |
boolean |
None. |
RoleSuperOperator |
Set true if the user has the SuperOperator role |
boolean |
None. |
RoleAdministrator |
Set true if the user has the Administrator role |
boolean |
None. |
CustomerId |
(Optional) Default Customer ID |
integer |
None. |
CustomerIds |
(Optional) All Customer IDs |
Collection of integer |
None. |
InternalGroupIds |
Internal Group IDs |
Collection of integer |
None. |
OperatorGroupIds |
Operator Group IDs |
Collection of integer |
None. |
Language |
(Optional) Language. If not set, the default RQ language is used. |
LanguageEnum |
None. |
FirstName |
Firstname |
string |
None. |
LastName |
Lastname |
string |
None. |
MiddleName |
Middlename |
string |
None. |
DisplayName |
DisplayName |
string |
None. |
Phones |
Phones |
Collection of string |
None. |
SkypeName |
SkypeName |
string |
None. |
TimeZoneId |
The time zone identifier (TimeZoneInfo.Id Property). |
string |
None. |
AdminNote |
Note about the user, for administrators only. |
string |
None. |
OperatorNote |
Note about the user, for operators only. |
string |
None. |
AdditionalInformation |
AdditionalInformation for users. |
string |
None. |
CustomFields |
The Custom Fields data. |
Collection of UserCustomFieldData |
None. |
ExternalId |
The External id. |
string |
None. |
Request Formats
application/json, text/json
{ "UserProviderKey": "d6988ddb-746f-4fe2-8873-25423fc25656", "Email": "john.doe@domain.com", "RoleEndUser": false, "RoleSmartUser": false, "RoleOperator": true, "RoleSuperOperator": false, "RoleAdministrator": false, "CustomerId": null, "CustomerIds": null, "InternalGroupIds": null, "OperatorGroupIds": null, "Language": null, "FirstName": "John", "LastName": "Doe", "MiddleName": null, "DisplayName": "John Doe", "Phones": [ "123 456 789" ], "SkypeName": null, "TimeZoneId": "Central Europe Standard Time", "AdminNote": "Everything else for admin", "OperatorNote": null, "AdditionalInformation": "Everything else", "CustomFields": null, "ExternalId": null }
application/xml, text/xml
<UpdateRequestorUserPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Posts"> <AdditionalInformation>Everything else</AdditionalInformation> <AdminNote>Everything else for admin</AdminNote> <CustomFields xmlns:d2p1="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.DataStructures" i:nil="true" /> <CustomerId i:nil="true" /> <CustomerIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> <DisplayName>John Doe</DisplayName> <Email>john.doe@domain.com</Email> <ExternalId i:nil="true" /> <FirstName>John</FirstName> <InternalGroupIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> <Language i:nil="true" /> <LastName>Doe</LastName> <MiddleName i:nil="true" /> <OperatorGroupIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> <OperatorNote i:nil="true" /> <Phones xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>123 456 789</d2p1:string> </Phones> <RoleAdministrator>false</RoleAdministrator> <RoleEndUser>false</RoleEndUser> <RoleOperator>true</RoleOperator> <RoleSmartUser>false</RoleSmartUser> <RoleSuperOperator>false</RoleSuperOperator> <SkypeName i:nil="true" /> <TimeZoneId>Central Europe Standard Time</TimeZoneId> <UserProviderKey>d6988ddb-746f-4fe2-8873-25423fc25656</UserProviderKey> </UpdateRequestorUserPost>
Response Information
Resource Description
UpdateRequestorUserResultName | Description | Type | Additional information |
---|---|---|---|
LastUpdatedUtc |
Last update time of the User entity. Actually it is the updated user server time. |
date |
None. |
Response Formats
application/json, text/json
{ "LastUpdatedUtc": "2025-04-27T16:18:51.1207338+02:00" }
application/xml, text/xml
<UpdateRequestorUserResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Results"> <LastUpdatedUtc>2025-04-27T16:18:51.1207338+02:00</LastUpdatedUtc> </UpdateRequestorUserResult>