POST Api/User/AssignTools?delete={delete}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
delete | boolean |
Default value is False |
Body Parameters
UserToolDTOName | Description | Type | Additional information |
---|---|---|---|
_IncomingUser | UserDTO |
None. |
|
_user | globally unique identifier |
None. |
|
_toolids | Collection of integer |
None. |
|
delete | boolean |
None. |
|
ClientPublicKey | string |
None. |
|
SecurityToken | string |
None. |
|
CurrentUserId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "_IncomingUser": { "id": "af7e6cc1-492e-4d27-b2ad-0664e2d01a8a", "username": "sample string 2", "password": "sample string 3", "email": "sample string 4", "accountId": "b32e0f62-9f62-489f-ae6e-12eb5e779e01", "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": "5cff9ace-6cd1-49fb-bb69-d03c8ed6aae4" }, "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": "1afde5c3-82b8-4b2e-b045-fd1aa8c11eb8" }, "clientPublicKey": "sample string 2", "securityToken": "sample string 3", "currentUserId": "fd47cce5-2399-4025-8210-fec3b616bafe" }, { "id": 1, "portal": { "id": 1, "name": "sample string 2", "description": "sample string 3", "clientPublicKey": "sample string 4", "securityToken": "sample string 5", "currentUserId": "5cff9ace-6cd1-49fb-bb69-d03c8ed6aae4" }, "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": "1afde5c3-82b8-4b2e-b045-fd1aa8c11eb8" }, "clientPublicKey": "sample string 2", "securityToken": "sample string 3", "currentUserId": "fd47cce5-2399-4025-8210-fec3b616bafe" } ], "firstName": "sample string 6", "lastName": "sample string 7", "oneId": "dd5a0c9e-e754-4194-a191-6d57ddad1cbd", "verificationDate": "2025-04-04T09:49:33.7664918-04:00", "verificationCode": "sample string 9", "clientPublicKey": "sample string 10", "securityToken": "sample string 11", "currentUserId": "af05d6d5-d26b-494c-a050-52059999288a" }, "_user": "03bc4305-0746-4530-9000-d40ad137afa5", "_toolids": [ 1, 2 ], "delete": true, "clientPublicKey": "sample string 3", "securityToken": "sample string 4", "currentUserId": "ed219861-f736-4db8-a7a9-43a237226cb5" }
application/xml, text/xml
Sample:
<UserToolDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AccessManager.DTO"> <ClientPublicKey>sample string 3</ClientPublicKey> <CurrentUserId>ed219861-f736-4db8-a7a9-43a237226cb5</CurrentUserId> <SecurityToken>sample string 4</SecurityToken> <_IncomingUser> <ClientPublicKey>sample string 10</ClientPublicKey> <CurrentUserId>af05d6d5-d26b-494c-a050-52059999288a</CurrentUserId> <SecurityToken>sample string 11</SecurityToken> <AccountId>b32e0f62-9f62-489f-ae6e-12eb5e779e01</AccountId> <Email>sample string 4</Email> <FirstName>sample string 6</FirstName> <Id>af7e6cc1-492e-4d27-b2ad-0664e2d01a8a</Id> <LastName>sample string 7</LastName> <OneId>dd5a0c9e-e754-4194-a191-6d57ddad1cbd</OneId> <Password>sample string 3</Password> <Products> <ProductDTO> <ClientPublicKey>sample string 2</ClientPublicKey> <CurrentUserId>fd47cce5-2399-4025-8210-fec3b616bafe</CurrentUserId> <SecurityToken>sample string 3</SecurityToken> <Id>1</Id> <Portal> <ClientPublicKey>sample string 4</ClientPublicKey> <CurrentUserId>5cff9ace-6cd1-49fb-bb69-d03c8ed6aae4</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>1afde5c3-82b8-4b2e-b045-fd1aa8c11eb8</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>fd47cce5-2399-4025-8210-fec3b616bafe</CurrentUserId> <SecurityToken>sample string 3</SecurityToken> <Id>1</Id> <Portal> <ClientPublicKey>sample string 4</ClientPublicKey> <CurrentUserId>5cff9ace-6cd1-49fb-bb69-d03c8ed6aae4</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>1afde5c3-82b8-4b2e-b045-fd1aa8c11eb8</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>2025-04-04T09:49:33.7664918-04:00</VerificationDate> </_IncomingUser> <_toolids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </_toolids> <_user>03bc4305-0746-4530-9000-d40ad137afa5</_user> <delete>true</delete> </UserToolDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>