POST Api/User/UpdateUser
Request Information
URI Parameters
None.
Body Parameters
UserUpdateDTOName | Description | Type | Additional information |
---|---|---|---|
_User | UserDTO |
None. |
|
FirstName | string |
None. |
|
LastName | string |
None. |
|
string |
None. |
||
UserName | string |
None. |
|
Child | globally unique identifier |
None. |
|
ClientPublicKey | string |
None. |
|
SecurityToken | string |
None. |
|
CurrentUserId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "_User": { "id": "d70037d0-b4ef-491d-bd0d-a6203406282f", "username": "sample string 2", "password": "sample string 3", "email": "sample string 4", "accountId": "f9a269b7-b23a-4473-8f53-e68df2c975e1", "userType": { "id": 1, "name": "sample string 2", "description": "sample string 3" }, "products": [ { "id": 1, "portal": { "id": 1, "name": "sample string 2", "description": "sample string 3", "clientPublicKey": "sample string 4", "securityToken": "sample string 5", "currentUserId": "e30d6034-118b-4594-9868-828228920526" }, "tool": { "id": 1, "name": "sample string 2", "shortName": "sample string 3", "logoUrl": "sample string 4", "order": 5, "description": "sample string 6", "author": "sample string 7", "ageRange": "sample string 8", "clientPublicKey": "sample string 9", "securityToken": "sample string 10", "currentUserId": "d2a22219-8cbc-4391-8d36-c75c479ca5db" }, "clientPublicKey": "sample string 2", "securityToken": "sample string 3", "currentUserId": "75355f79-b040-421d-b470-8e52a4a4407e" }, { "id": 1, "portal": { "id": 1, "name": "sample string 2", "description": "sample string 3", "clientPublicKey": "sample string 4", "securityToken": "sample string 5", "currentUserId": "e30d6034-118b-4594-9868-828228920526" }, "tool": { "id": 1, "name": "sample string 2", "shortName": "sample string 3", "logoUrl": "sample string 4", "order": 5, "description": "sample string 6", "author": "sample string 7", "ageRange": "sample string 8", "clientPublicKey": "sample string 9", "securityToken": "sample string 10", "currentUserId": "d2a22219-8cbc-4391-8d36-c75c479ca5db" }, "clientPublicKey": "sample string 2", "securityToken": "sample string 3", "currentUserId": "75355f79-b040-421d-b470-8e52a4a4407e" } ], "firstName": "sample string 6", "lastName": "sample string 7", "oneId": "7a550112-c6fc-4856-a01f-1c0d101322f2", "verificationDate": "2024-11-21T03:38:48.0369904-05:00", "verificationCode": "sample string 9", "clientPublicKey": "sample string 10", "securityToken": "sample string 11", "currentUserId": "ac65e4fa-2b45-42c2-ad07-c276aa90e4db" }, "firstName": "sample string 1", "lastName": "sample string 2", "email": "sample string 3", "userName": "sample string 4", "child": "b66b5e5a-31cf-4da8-a127-155a9f7efa45", "clientPublicKey": "sample string 6", "securityToken": "sample string 7", "currentUserId": "5e8612e2-eeb8-4454-90a1-8d0114d191ed" }
application/xml, text/xml
Sample:
<UserUpdateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AccessManager.DTO"> <ClientPublicKey>sample string 6</ClientPublicKey> <CurrentUserId>5e8612e2-eeb8-4454-90a1-8d0114d191ed</CurrentUserId> <SecurityToken>sample string 7</SecurityToken> <Child>b66b5e5a-31cf-4da8-a127-155a9f7efa45</Child> <Email>sample string 3</Email> <FirstName>sample string 1</FirstName> <LastName>sample string 2</LastName> <UserName>sample string 4</UserName> <_User> <ClientPublicKey>sample string 10</ClientPublicKey> <CurrentUserId>ac65e4fa-2b45-42c2-ad07-c276aa90e4db</CurrentUserId> <SecurityToken>sample string 11</SecurityToken> <AccountId>f9a269b7-b23a-4473-8f53-e68df2c975e1</AccountId> <Email>sample string 4</Email> <FirstName>sample string 6</FirstName> <Id>d70037d0-b4ef-491d-bd0d-a6203406282f</Id> <LastName>sample string 7</LastName> <OneId>7a550112-c6fc-4856-a01f-1c0d101322f2</OneId> <Password>sample string 3</Password> <Products> <ProductDTO> <ClientPublicKey>sample string 2</ClientPublicKey> <CurrentUserId>75355f79-b040-421d-b470-8e52a4a4407e</CurrentUserId> <SecurityToken>sample string 3</SecurityToken> <Id>1</Id> <Portal> <ClientPublicKey>sample string 4</ClientPublicKey> <CurrentUserId>e30d6034-118b-4594-9868-828228920526</CurrentUserId> <SecurityToken>sample string 5</SecurityToken> <Description>sample string 3</Description> <Id>1</Id> <Name>sample string 2</Name> </Portal> <Tool> <ClientPublicKey>sample string 9</ClientPublicKey> <CurrentUserId>d2a22219-8cbc-4391-8d36-c75c479ca5db</CurrentUserId> <SecurityToken>sample string 10</SecurityToken> <AgeRange>sample string 8</AgeRange> <Author>sample string 7</Author> <Description>sample string 6</Description> <Id>1</Id> <LogoUrl>sample string 4</LogoUrl> <Name>sample string 2</Name> <Order>5</Order> <ShortName>sample string 3</ShortName> </Tool> </ProductDTO> <ProductDTO> <ClientPublicKey>sample string 2</ClientPublicKey> <CurrentUserId>75355f79-b040-421d-b470-8e52a4a4407e</CurrentUserId> <SecurityToken>sample string 3</SecurityToken> <Id>1</Id> <Portal> <ClientPublicKey>sample string 4</ClientPublicKey> <CurrentUserId>e30d6034-118b-4594-9868-828228920526</CurrentUserId> <SecurityToken>sample string 5</SecurityToken> <Description>sample string 3</Description> <Id>1</Id> <Name>sample string 2</Name> </Portal> <Tool> <ClientPublicKey>sample string 9</ClientPublicKey> <CurrentUserId>d2a22219-8cbc-4391-8d36-c75c479ca5db</CurrentUserId> <SecurityToken>sample string 10</SecurityToken> <AgeRange>sample string 8</AgeRange> <Author>sample string 7</Author> <Description>sample string 6</Description> <Id>1</Id> <LogoUrl>sample string 4</LogoUrl> <Name>sample string 2</Name> <Order>5</Order> <ShortName>sample string 3</ShortName> </Tool> </ProductDTO> </Products> <UserType> <Description>sample string 3</Description> <Id>1</Id> <Name>sample string 2</Name> </UserType> <Username>sample string 2</Username> <VerificationCode>sample string 9</VerificationCode> <VerificationDate>2024-11-21T03:38:48.0369904-05:00</VerificationDate> </_User> </UserUpdateDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
UserDTOName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
Username | string |
None. |
|
Password | string |
None. |
|
string |
None. |
||
AccountId | globally unique identifier |
None. |
|
UserType | UserTypeDTO |
None. |
|
Products | Collection of ProductDTO |
None. |
|
FirstName | string |
None. |
|
LastName | string |
None. |
|
OneId | globally unique identifier |
None. |
|
VerificationDate | date |
None. |
|
VerificationCode | string |
None. |
|
ClientPublicKey | string |
None. |
|
SecurityToken | string |
None. |
|
CurrentUserId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{ "id": "4eb9c76f-3cef-4354-ad15-109917d991f0", "username": "sample string 2", "password": "sample string 3", "email": "sample string 4", "accountId": "e6e4e590-3986-4bf9-a01f-44700738bddc", "userType": { "id": 1, "name": "sample string 2", "description": "sample string 3" }, "products": [ { "id": 1, "portal": { "id": 1, "name": "sample string 2", "description": "sample string 3", "clientPublicKey": "sample string 4", "securityToken": "sample string 5", "currentUserId": "a05f21eb-63d5-4a09-8216-6121ed00899d" }, "tool": { "id": 1, "name": "sample string 2", "shortName": "sample string 3", "logoUrl": "sample string 4", "order": 5, "description": "sample string 6", "author": "sample string 7", "ageRange": "sample string 8", "clientPublicKey": "sample string 9", "securityToken": "sample string 10", "currentUserId": "68e5d6ee-e4bc-4bec-a488-ebaf675e6df6" }, "clientPublicKey": "sample string 2", "securityToken": "sample string 3", "currentUserId": "1a5937f0-6019-465b-92a9-3fbe23f7f038" }, { "id": 1, "portal": { "id": 1, "name": "sample string 2", "description": "sample string 3", "clientPublicKey": "sample string 4", "securityToken": "sample string 5", "currentUserId": "a05f21eb-63d5-4a09-8216-6121ed00899d" }, "tool": { "id": 1, "name": "sample string 2", "shortName": "sample string 3", "logoUrl": "sample string 4", "order": 5, "description": "sample string 6", "author": "sample string 7", "ageRange": "sample string 8", "clientPublicKey": "sample string 9", "securityToken": "sample string 10", "currentUserId": "68e5d6ee-e4bc-4bec-a488-ebaf675e6df6" }, "clientPublicKey": "sample string 2", "securityToken": "sample string 3", "currentUserId": "1a5937f0-6019-465b-92a9-3fbe23f7f038" } ], "firstName": "sample string 6", "lastName": "sample string 7", "oneId": "49015a13-1405-4c74-8600-96c9f7ec3f89", "verificationDate": "2024-11-21T03:38:48.0427669-05:00", "verificationCode": "sample string 9", "clientPublicKey": "sample string 10", "securityToken": "sample string 11", "currentUserId": "c73ccbac-4709-4e60-a12d-17c5005e0189" }
application/xml, text/xml
Sample:
<UserDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AccessManager.DTO"> <ClientPublicKey>sample string 10</ClientPublicKey> <CurrentUserId>c73ccbac-4709-4e60-a12d-17c5005e0189</CurrentUserId> <SecurityToken>sample string 11</SecurityToken> <AccountId>e6e4e590-3986-4bf9-a01f-44700738bddc</AccountId> <Email>sample string 4</Email> <FirstName>sample string 6</FirstName> <Id>4eb9c76f-3cef-4354-ad15-109917d991f0</Id> <LastName>sample string 7</LastName> <OneId>49015a13-1405-4c74-8600-96c9f7ec3f89</OneId> <Password>sample string 3</Password> <Products> <ProductDTO> <ClientPublicKey>sample string 2</ClientPublicKey> <CurrentUserId>1a5937f0-6019-465b-92a9-3fbe23f7f038</CurrentUserId> <SecurityToken>sample string 3</SecurityToken> <Id>1</Id> <Portal> <ClientPublicKey>sample string 4</ClientPublicKey> <CurrentUserId>a05f21eb-63d5-4a09-8216-6121ed00899d</CurrentUserId> <SecurityToken>sample string 5</SecurityToken> <Description>sample string 3</Description> <Id>1</Id> <Name>sample string 2</Name> </Portal> <Tool> <ClientPublicKey>sample string 9</ClientPublicKey> <CurrentUserId>68e5d6ee-e4bc-4bec-a488-ebaf675e6df6</CurrentUserId> <SecurityToken>sample string 10</SecurityToken> <AgeRange>sample string 8</AgeRange> <Author>sample string 7</Author> <Description>sample string 6</Description> <Id>1</Id> <LogoUrl>sample string 4</LogoUrl> <Name>sample string 2</Name> <Order>5</Order> <ShortName>sample string 3</ShortName> </Tool> </ProductDTO> <ProductDTO> <ClientPublicKey>sample string 2</ClientPublicKey> <CurrentUserId>1a5937f0-6019-465b-92a9-3fbe23f7f038</CurrentUserId> <SecurityToken>sample string 3</SecurityToken> <Id>1</Id> <Portal> <ClientPublicKey>sample string 4</ClientPublicKey> <CurrentUserId>a05f21eb-63d5-4a09-8216-6121ed00899d</CurrentUserId> <SecurityToken>sample string 5</SecurityToken> <Description>sample string 3</Description> <Id>1</Id> <Name>sample string 2</Name> </Portal> <Tool> <ClientPublicKey>sample string 9</ClientPublicKey> <CurrentUserId>68e5d6ee-e4bc-4bec-a488-ebaf675e6df6</CurrentUserId> <SecurityToken>sample string 10</SecurityToken> <AgeRange>sample string 8</AgeRange> <Author>sample string 7</Author> <Description>sample string 6</Description> <Id>1</Id> <LogoUrl>sample string 4</LogoUrl> <Name>sample string 2</Name> <Order>5</Order> <ShortName>sample string 3</ShortName> </Tool> </ProductDTO> </Products> <UserType> <Description>sample string 3</Description> <Id>1</Id> <Name>sample string 2</Name> </UserType> <Username>sample string 2</Username> <VerificationCode>sample string 9</VerificationCode> <VerificationDate>2024-11-21T03:38:48.0427669-05:00</VerificationDate> </UserDTO>