POST Api/Use/TransferUsesToPool

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": "34c04ae1-b095-4fac-b091-bc36b2d9c321",
    "username": "sample string 2",
    "password": "sample string 3",
    "email": "sample string 4",
    "accountId": "1e15dc56-0ca7-4e70-864e-be71a7160328",
    "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": "fe748bd7-ec19-4162-94a8-8330e089f017"
        },
        "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": "2bbcb853-3de1-4844-97c4-246633639a5c"
        },
        "clientPublicKey": "sample string 2",
        "securityToken": "sample string 3",
        "currentUserId": "73c8ea7e-0d7a-421f-a845-50422c6cf063"
      },
      {
        "id": 1,
        "portal": {
          "id": 1,
          "name": "sample string 2",
          "description": "sample string 3",
          "clientPublicKey": "sample string 4",
          "securityToken": "sample string 5",
          "currentUserId": "fe748bd7-ec19-4162-94a8-8330e089f017"
        },
        "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": "2bbcb853-3de1-4844-97c4-246633639a5c"
        },
        "clientPublicKey": "sample string 2",
        "securityToken": "sample string 3",
        "currentUserId": "73c8ea7e-0d7a-421f-a845-50422c6cf063"
      }
    ],
    "firstName": "sample string 6",
    "lastName": "sample string 7",
    "oneId": "9b06c301-0b84-441d-8f9c-b7a0dd74b6c3",
    "verificationDate": "2025-01-27T21:24:24.9291776-05:00",
    "verificationCode": "sample string 9",
    "clientPublicKey": "sample string 10",
    "securityToken": "sample string 11",
    "currentUserId": "eda33063-360b-450a-b2fd-efb687e92e68"
  },
  "child": "a5676ee0-f9ee-40c7-8cd8-1b49a800dcd1",
  "catalogId": "sample string 2",
  "qty": 3,
  "clientPublicKey": "sample string 4",
  "securityToken": "sample string 5",
  "currentUserId": "69479c79-0837-4c9a-9cbc-a50f6e351454"
}

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>69479c79-0837-4c9a-9cbc-a50f6e351454</CurrentUserId>
  <SecurityToken>sample string 5</SecurityToken>
  <_User>
    <ClientPublicKey>sample string 10</ClientPublicKey>
    <CurrentUserId>eda33063-360b-450a-b2fd-efb687e92e68</CurrentUserId>
    <SecurityToken>sample string 11</SecurityToken>
    <AccountId>1e15dc56-0ca7-4e70-864e-be71a7160328</AccountId>
    <Email>sample string 4</Email>
    <FirstName>sample string 6</FirstName>
    <Id>34c04ae1-b095-4fac-b091-bc36b2d9c321</Id>
    <LastName>sample string 7</LastName>
    <OneId>9b06c301-0b84-441d-8f9c-b7a0dd74b6c3</OneId>
    <Password>sample string 3</Password>
    <Products>
      <ProductDTO>
        <ClientPublicKey>sample string 2</ClientPublicKey>
        <CurrentUserId>73c8ea7e-0d7a-421f-a845-50422c6cf063</CurrentUserId>
        <SecurityToken>sample string 3</SecurityToken>
        <Id>1</Id>
        <Portal>
          <ClientPublicKey>sample string 4</ClientPublicKey>
          <CurrentUserId>fe748bd7-ec19-4162-94a8-8330e089f017</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>2bbcb853-3de1-4844-97c4-246633639a5c</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>73c8ea7e-0d7a-421f-a845-50422c6cf063</CurrentUserId>
        <SecurityToken>sample string 3</SecurityToken>
        <Id>1</Id>
        <Portal>
          <ClientPublicKey>sample string 4</ClientPublicKey>
          <CurrentUserId>fe748bd7-ec19-4162-94a8-8330e089f017</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>2bbcb853-3de1-4844-97c4-246633639a5c</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-01-27T21:24:24.9291776-05:00</VerificationDate>
  </_User>
  <catalogId>sample string 2</catalogId>
  <child>a5676ee0-f9ee-40c7-8cd8-1b49a800dcd1</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>