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": "6d899f44-2bc7-448f-845f-7581189b014b",
    "username": "sample string 2",
    "password": "sample string 3",
    "email": "sample string 4",
    "accountId": "288de793-2347-49ef-88db-dc6e13289cea",
    "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": "ce0aa836-f8c5-4bd0-af7e-53f9b10d198a"
        },
        "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": "b20da7be-8eb9-4105-9593-604aa9ba77bf"
        },
        "clientPublicKey": "sample string 2",
        "securityToken": "sample string 3",
        "currentUserId": "9aabdd59-9eaf-492e-9b25-3f3bc6cad0ec"
      },
      {
        "id": 1,
        "portal": {
          "id": 1,
          "name": "sample string 2",
          "description": "sample string 3",
          "clientPublicKey": "sample string 4",
          "securityToken": "sample string 5",
          "currentUserId": "ce0aa836-f8c5-4bd0-af7e-53f9b10d198a"
        },
        "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": "b20da7be-8eb9-4105-9593-604aa9ba77bf"
        },
        "clientPublicKey": "sample string 2",
        "securityToken": "sample string 3",
        "currentUserId": "9aabdd59-9eaf-492e-9b25-3f3bc6cad0ec"
      }
    ],
    "firstName": "sample string 6",
    "lastName": "sample string 7",
    "oneId": "6665b9d2-7df2-4e3c-8c2b-4533eb4c7384",
    "verificationDate": "2024-09-29T20:36:59.3431912-04:00",
    "verificationCode": "sample string 9",
    "clientPublicKey": "sample string 10",
    "securityToken": "sample string 11",
    "currentUserId": "e2297971-35c6-4f97-acc7-fd2dc91b7261"
  },
  "child": "f796ab98-b848-4e9f-a488-fe72163cc696",
  "catalogId": "sample string 2",
  "qty": 3,
  "clientPublicKey": "sample string 4",
  "securityToken": "sample string 5",
  "currentUserId": "b6e34181-f578-45cc-bd7c-9970f14d0df1"
}

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>b6e34181-f578-45cc-bd7c-9970f14d0df1</CurrentUserId>
  <SecurityToken>sample string 5</SecurityToken>
  <_User>
    <ClientPublicKey>sample string 10</ClientPublicKey>
    <CurrentUserId>e2297971-35c6-4f97-acc7-fd2dc91b7261</CurrentUserId>
    <SecurityToken>sample string 11</SecurityToken>
    <AccountId>288de793-2347-49ef-88db-dc6e13289cea</AccountId>
    <Email>sample string 4</Email>
    <FirstName>sample string 6</FirstName>
    <Id>6d899f44-2bc7-448f-845f-7581189b014b</Id>
    <LastName>sample string 7</LastName>
    <OneId>6665b9d2-7df2-4e3c-8c2b-4533eb4c7384</OneId>
    <Password>sample string 3</Password>
    <Products>
      <ProductDTO>
        <ClientPublicKey>sample string 2</ClientPublicKey>
        <CurrentUserId>9aabdd59-9eaf-492e-9b25-3f3bc6cad0ec</CurrentUserId>
        <SecurityToken>sample string 3</SecurityToken>
        <Id>1</Id>
        <Portal>
          <ClientPublicKey>sample string 4</ClientPublicKey>
          <CurrentUserId>ce0aa836-f8c5-4bd0-af7e-53f9b10d198a</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>b20da7be-8eb9-4105-9593-604aa9ba77bf</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>9aabdd59-9eaf-492e-9b25-3f3bc6cad0ec</CurrentUserId>
        <SecurityToken>sample string 3</SecurityToken>
        <Id>1</Id>
        <Portal>
          <ClientPublicKey>sample string 4</ClientPublicKey>
          <CurrentUserId>ce0aa836-f8c5-4bd0-af7e-53f9b10d198a</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>b20da7be-8eb9-4105-9593-604aa9ba77bf</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-09-29T20:36:59.3431912-04:00</VerificationDate>
  </_User>
  <catalogId>sample string 2</catalogId>
  <child>f796ab98-b848-4e9f-a488-fe72163cc696</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>