POST Api/User/ResetPassword?child={child}&force={force}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
child

globally unique identifier

Required

force

boolean

Default value is False

Body Parameters

PasswordResetDTO
NameDescriptionTypeAdditional information
User

UserDTO

None.

Link

string

None.

ClientPublicKey

string

None.

SecurityToken

string

None.

CurrentUserId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "user": {
    "id": "b3115c51-61da-4b47-9445-3fcc0eabdcca",
    "username": "sample string 2",
    "password": "sample string 3",
    "email": "sample string 4",
    "accountId": "e1e2f028-fa77-457f-acb5-ca8b191bcc2e",
    "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": "75454062-b8f0-4880-8dab-27956b329f58"
        },
        "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": "8e5ec626-6c7b-40c7-8f00-5b52836ac824"
        },
        "clientPublicKey": "sample string 2",
        "securityToken": "sample string 3",
        "currentUserId": "89710a9d-e9fd-4136-a604-adc00a4e2475"
      },
      {
        "id": 1,
        "portal": {
          "id": 1,
          "name": "sample string 2",
          "description": "sample string 3",
          "clientPublicKey": "sample string 4",
          "securityToken": "sample string 5",
          "currentUserId": "75454062-b8f0-4880-8dab-27956b329f58"
        },
        "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": "8e5ec626-6c7b-40c7-8f00-5b52836ac824"
        },
        "clientPublicKey": "sample string 2",
        "securityToken": "sample string 3",
        "currentUserId": "89710a9d-e9fd-4136-a604-adc00a4e2475"
      }
    ],
    "firstName": "sample string 6",
    "lastName": "sample string 7",
    "oneId": "1733baa1-8efd-4b39-a70b-21dc669b1489",
    "verificationDate": "2024-11-21T05:23:11.9856981-05:00",
    "verificationCode": "sample string 9",
    "clientPublicKey": "sample string 10",
    "securityToken": "sample string 11",
    "currentUserId": "b206b5e1-f5c0-4645-80e4-5f9d149190fc"
  },
  "link": "sample string 1",
  "clientPublicKey": "sample string 2",
  "securityToken": "sample string 3",
  "currentUserId": "be34d1c6-bcc8-4f95-97ed-952c42cb09c3"
}

application/xml, text/xml

Sample:
<PasswordResetDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AccessManager.DTO">
  <ClientPublicKey>sample string 2</ClientPublicKey>
  <CurrentUserId>be34d1c6-bcc8-4f95-97ed-952c42cb09c3</CurrentUserId>
  <SecurityToken>sample string 3</SecurityToken>
  <Link>sample string 1</Link>
  <User>
    <ClientPublicKey>sample string 10</ClientPublicKey>
    <CurrentUserId>b206b5e1-f5c0-4645-80e4-5f9d149190fc</CurrentUserId>
    <SecurityToken>sample string 11</SecurityToken>
    <AccountId>e1e2f028-fa77-457f-acb5-ca8b191bcc2e</AccountId>
    <Email>sample string 4</Email>
    <FirstName>sample string 6</FirstName>
    <Id>b3115c51-61da-4b47-9445-3fcc0eabdcca</Id>
    <LastName>sample string 7</LastName>
    <OneId>1733baa1-8efd-4b39-a70b-21dc669b1489</OneId>
    <Password>sample string 3</Password>
    <Products>
      <ProductDTO>
        <ClientPublicKey>sample string 2</ClientPublicKey>
        <CurrentUserId>89710a9d-e9fd-4136-a604-adc00a4e2475</CurrentUserId>
        <SecurityToken>sample string 3</SecurityToken>
        <Id>1</Id>
        <Portal>
          <ClientPublicKey>sample string 4</ClientPublicKey>
          <CurrentUserId>75454062-b8f0-4880-8dab-27956b329f58</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>8e5ec626-6c7b-40c7-8f00-5b52836ac824</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>89710a9d-e9fd-4136-a604-adc00a4e2475</CurrentUserId>
        <SecurityToken>sample string 3</SecurityToken>
        <Id>1</Id>
        <Portal>
          <ClientPublicKey>sample string 4</ClientPublicKey>
          <CurrentUserId>75454062-b8f0-4880-8dab-27956b329f58</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>8e5ec626-6c7b-40c7-8f00-5b52836ac824</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-21T05:23:11.9856981-05:00</VerificationDate>
  </User>
</PasswordResetDTO>

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

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

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