POST Api/User/AssignTools?delete={delete}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| delete | boolean |
Default value is False |
Body Parameters
UserToolDTO| Name | 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": "0fdeec19-7e78-4825-a4e1-314687211554",
"username": "sample string 2",
"password": "sample string 3",
"email": "sample string 4",
"accountId": "346f6305-14b9-4d21-a332-51c683b00eb8",
"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": "f5847097-5d6a-480f-8701-710a5d39ccb5"
},
"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": "64dd9798-f121-4473-950f-6d6f9d4429cc"
},
"clientPublicKey": "sample string 2",
"securityToken": "sample string 3",
"currentUserId": "aba501f0-22a5-443d-94eb-2bc8bc666d07"
},
{
"id": 1,
"portal": {
"id": 1,
"name": "sample string 2",
"description": "sample string 3",
"clientPublicKey": "sample string 4",
"securityToken": "sample string 5",
"currentUserId": "f5847097-5d6a-480f-8701-710a5d39ccb5"
},
"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": "64dd9798-f121-4473-950f-6d6f9d4429cc"
},
"clientPublicKey": "sample string 2",
"securityToken": "sample string 3",
"currentUserId": "aba501f0-22a5-443d-94eb-2bc8bc666d07"
}
],
"firstName": "sample string 6",
"lastName": "sample string 7",
"oneId": "4dec620b-c802-467b-ba13-c1773cf373ae",
"verificationDate": "2026-02-17T19:42:06.4101737-05:00",
"verificationCode": "sample string 9",
"clientPublicKey": "sample string 10",
"securityToken": "sample string 11",
"currentUserId": "7dd5cc16-b729-4a94-a6e2-98128f561d5b"
},
"_user": "b545a236-bc3f-4f10-9320-56c19ebd246f",
"_toolids": [
1,
2
],
"delete": true,
"clientPublicKey": "sample string 3",
"securityToken": "sample string 4",
"currentUserId": "efeb14a0-0d35-4f19-9d69-8d77e41e7b48"
}
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>efeb14a0-0d35-4f19-9d69-8d77e41e7b48</CurrentUserId>
<SecurityToken>sample string 4</SecurityToken>
<_IncomingUser>
<ClientPublicKey>sample string 10</ClientPublicKey>
<CurrentUserId>7dd5cc16-b729-4a94-a6e2-98128f561d5b</CurrentUserId>
<SecurityToken>sample string 11</SecurityToken>
<AccountId>346f6305-14b9-4d21-a332-51c683b00eb8</AccountId>
<Email>sample string 4</Email>
<FirstName>sample string 6</FirstName>
<Id>0fdeec19-7e78-4825-a4e1-314687211554</Id>
<LastName>sample string 7</LastName>
<OneId>4dec620b-c802-467b-ba13-c1773cf373ae</OneId>
<Password>sample string 3</Password>
<Products>
<ProductDTO>
<ClientPublicKey>sample string 2</ClientPublicKey>
<CurrentUserId>aba501f0-22a5-443d-94eb-2bc8bc666d07</CurrentUserId>
<SecurityToken>sample string 3</SecurityToken>
<Id>1</Id>
<Portal>
<ClientPublicKey>sample string 4</ClientPublicKey>
<CurrentUserId>f5847097-5d6a-480f-8701-710a5d39ccb5</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>64dd9798-f121-4473-950f-6d6f9d4429cc</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>aba501f0-22a5-443d-94eb-2bc8bc666d07</CurrentUserId>
<SecurityToken>sample string 3</SecurityToken>
<Id>1</Id>
<Portal>
<ClientPublicKey>sample string 4</ClientPublicKey>
<CurrentUserId>f5847097-5d6a-480f-8701-710a5d39ccb5</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>64dd9798-f121-4473-950f-6d6f9d4429cc</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>2026-02-17T19:42:06.4101737-05: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>b545a236-bc3f-4f10-9320-56c19ebd246f</_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>