POST Api/Tool/GetChildTools?portalId={portalId}&username={username}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
portalId

integer

Required

username

string

Required

Body Parameters

UserDTO
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Username

string

None.

Password

string

None.

Email

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.

Request Formats

application/json, text/json

Sample:
{
  "id": "e27ad2d8-d929-40d0-a5c6-0d6b9127ee01",
  "username": "sample string 2",
  "password": "sample string 3",
  "email": "sample string 4",
  "accountId": "b350294f-b5bf-457a-a74f-109b8a44620d",
  "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": "c2f91503-240f-4a00-863f-c81be7333e95"
      },
      "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": "75115697-9ec5-4284-89af-7f662f89bb95"
      },
      "clientPublicKey": "sample string 2",
      "securityToken": "sample string 3",
      "currentUserId": "c72f8fab-f9f7-447b-ba92-87fd245aa62d"
    },
    {
      "id": 1,
      "portal": {
        "id": 1,
        "name": "sample string 2",
        "description": "sample string 3",
        "clientPublicKey": "sample string 4",
        "securityToken": "sample string 5",
        "currentUserId": "c2f91503-240f-4a00-863f-c81be7333e95"
      },
      "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": "75115697-9ec5-4284-89af-7f662f89bb95"
      },
      "clientPublicKey": "sample string 2",
      "securityToken": "sample string 3",
      "currentUserId": "c72f8fab-f9f7-447b-ba92-87fd245aa62d"
    }
  ],
  "firstName": "sample string 6",
  "lastName": "sample string 7",
  "oneId": "9dc6f018-1a2b-4255-b643-2ff8b19dd8cf",
  "verificationDate": "2024-11-21T03:35:33.6277762-05:00",
  "verificationCode": "sample string 9",
  "clientPublicKey": "sample string 10",
  "securityToken": "sample string 11",
  "currentUserId": "f478cf84-aa54-4457-89c8-ff20d985e714"
}

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>f478cf84-aa54-4457-89c8-ff20d985e714</CurrentUserId>
  <SecurityToken>sample string 11</SecurityToken>
  <AccountId>b350294f-b5bf-457a-a74f-109b8a44620d</AccountId>
  <Email>sample string 4</Email>
  <FirstName>sample string 6</FirstName>
  <Id>e27ad2d8-d929-40d0-a5c6-0d6b9127ee01</Id>
  <LastName>sample string 7</LastName>
  <OneId>9dc6f018-1a2b-4255-b643-2ff8b19dd8cf</OneId>
  <Password>sample string 3</Password>
  <Products>
    <ProductDTO>
      <ClientPublicKey>sample string 2</ClientPublicKey>
      <CurrentUserId>c72f8fab-f9f7-447b-ba92-87fd245aa62d</CurrentUserId>
      <SecurityToken>sample string 3</SecurityToken>
      <Id>1</Id>
      <Portal>
        <ClientPublicKey>sample string 4</ClientPublicKey>
        <CurrentUserId>c2f91503-240f-4a00-863f-c81be7333e95</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>75115697-9ec5-4284-89af-7f662f89bb95</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>c72f8fab-f9f7-447b-ba92-87fd245aa62d</CurrentUserId>
      <SecurityToken>sample string 3</SecurityToken>
      <Id>1</Id>
      <Portal>
        <ClientPublicKey>sample string 4</ClientPublicKey>
        <CurrentUserId>c2f91503-240f-4a00-863f-c81be7333e95</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>75115697-9ec5-4284-89af-7f662f89bb95</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:35:33.6277762-05:00</VerificationDate>
</UserDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UserDTO'.

Response Information

Resource Description

Collection of ToolDTO
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

ShortName

string

None.

LogoUrl

string

None.

Order

integer

None.

Description

string

None.

Author

string

None.

AgeRange

string

None.

ClientPublicKey

string

None.

SecurityToken

string

None.

CurrentUserId

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "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": "95899829-f245-4dc9-9d14-2c3e685ee9bb"
  },
  {
    "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": "95899829-f245-4dc9-9d14-2c3e685ee9bb"
  }
]

application/xml, text/xml

Sample:
<ArrayOfToolDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AccessManager.DTO">
  <ToolDTO>
    <ClientPublicKey>sample string 9</ClientPublicKey>
    <CurrentUserId>95899829-f245-4dc9-9d14-2c3e685ee9bb</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>
  </ToolDTO>
  <ToolDTO>
    <ClientPublicKey>sample string 9</ClientPublicKey>
    <CurrentUserId>95899829-f245-4dc9-9d14-2c3e685ee9bb</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>
  </ToolDTO>
</ArrayOfToolDTO>