POST Api/Use/TransferUsesToChild

Request Information

URI Parameters

None.

Body Parameters

UseTransferDTO
NameDescriptionTypeAdditional information
_User

UserDTO

None.

child

globally unique identifier

None.

catalogId

string

None.

qty

integer

None.

ClientPublicKey

string

None.

SecurityToken

string

None.

CurrentUserId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "_User": {
    "id": "5df1c52a-0e41-4951-b11d-d9900e078965",
    "username": "sample string 2",
    "password": "sample string 3",
    "email": "sample string 4",
    "accountId": "8591ec5a-3888-4225-a3d4-f45a5ab6c5b9",
    "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": "c9fc2d33-e568-439c-b58a-e0400f8fae51"
        },
        "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": "1f9a937a-acef-4642-8109-374b5c0840a8"
        },
        "clientPublicKey": "sample string 2",
        "securityToken": "sample string 3",
        "currentUserId": "bdcf9235-e915-40ec-873b-3afc8e48c785"
      },
      {
        "id": 1,
        "portal": {
          "id": 1,
          "name": "sample string 2",
          "description": "sample string 3",
          "clientPublicKey": "sample string 4",
          "securityToken": "sample string 5",
          "currentUserId": "c9fc2d33-e568-439c-b58a-e0400f8fae51"
        },
        "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": "1f9a937a-acef-4642-8109-374b5c0840a8"
        },
        "clientPublicKey": "sample string 2",
        "securityToken": "sample string 3",
        "currentUserId": "bdcf9235-e915-40ec-873b-3afc8e48c785"
      }
    ],
    "firstName": "sample string 6",
    "lastName": "sample string 7",
    "oneId": "a746494a-2d03-4732-a1a4-4f4b99067886",
    "verificationDate": "2025-04-04T10:14:29.8585096-04:00",
    "verificationCode": "sample string 9",
    "clientPublicKey": "sample string 10",
    "securityToken": "sample string 11",
    "currentUserId": "2f737161-60ba-4154-acc4-6507735ca139"
  },
  "child": "27cc1210-77a6-46bf-98e6-74dc95794874",
  "catalogId": "sample string 2",
  "qty": 3,
  "clientPublicKey": "sample string 4",
  "securityToken": "sample string 5",
  "currentUserId": "9837e39b-5077-4a5d-8eaf-fa63c45528ba"
}

application/xml, text/xml

Sample:
<UseTransferDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AccessManager.DTO">
  <ClientPublicKey>sample string 4</ClientPublicKey>
  <CurrentUserId>9837e39b-5077-4a5d-8eaf-fa63c45528ba</CurrentUserId>
  <SecurityToken>sample string 5</SecurityToken>
  <_User>
    <ClientPublicKey>sample string 10</ClientPublicKey>
    <CurrentUserId>2f737161-60ba-4154-acc4-6507735ca139</CurrentUserId>
    <SecurityToken>sample string 11</SecurityToken>
    <AccountId>8591ec5a-3888-4225-a3d4-f45a5ab6c5b9</AccountId>
    <Email>sample string 4</Email>
    <FirstName>sample string 6</FirstName>
    <Id>5df1c52a-0e41-4951-b11d-d9900e078965</Id>
    <LastName>sample string 7</LastName>
    <OneId>a746494a-2d03-4732-a1a4-4f4b99067886</OneId>
    <Password>sample string 3</Password>
    <Products>
      <ProductDTO>
        <ClientPublicKey>sample string 2</ClientPublicKey>
        <CurrentUserId>bdcf9235-e915-40ec-873b-3afc8e48c785</CurrentUserId>
        <SecurityToken>sample string 3</SecurityToken>
        <Id>1</Id>
        <Portal>
          <ClientPublicKey>sample string 4</ClientPublicKey>
          <CurrentUserId>c9fc2d33-e568-439c-b58a-e0400f8fae51</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>1f9a937a-acef-4642-8109-374b5c0840a8</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>bdcf9235-e915-40ec-873b-3afc8e48c785</CurrentUserId>
        <SecurityToken>sample string 3</SecurityToken>
        <Id>1</Id>
        <Portal>
          <ClientPublicKey>sample string 4</ClientPublicKey>
          <CurrentUserId>c9fc2d33-e568-439c-b58a-e0400f8fae51</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>1f9a937a-acef-4642-8109-374b5c0840a8</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-04T10:14:29.8585096-04:00</VerificationDate>
  </_User>
  <catalogId>sample string 2</catalogId>
  <child>27cc1210-77a6-46bf-98e6-74dc95794874</child>
  <qty>3</qty>
</UseTransferDTO>

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 'UseTransferDTO'.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>