POST Api/Client/TransferClients

Request Information

URI Parameters

None.

Body Parameters

TransferClientDTO
NameDescriptionTypeAdditional information
UserId

string

None.

NewUserId

string

None.

ClientIds

string

None.

ClientPublicKey

string

None.

SecurityToken

string

None.

CurrentUserId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "userId": "sample string 1",
  "newUserId": "sample string 2",
  "clientIds": "sample string 3",
  "clientPublicKey": "sample string 4",
  "securityToken": "sample string 5",
  "currentUserId": "c64f6ed2-b52a-4e5f-b645-5e1f18f69425"
}

application/xml, text/xml

Sample:
<TransferClientDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AccessManager.DTO">
  <ClientPublicKey>sample string 4</ClientPublicKey>
  <CurrentUserId>c64f6ed2-b52a-4e5f-b645-5e1f18f69425</CurrentUserId>
  <SecurityToken>sample string 5</SecurityToken>
  <ClientIds>sample string 3</ClientIds>
  <NewUserId>sample string 2</NewUserId>
  <UserId>sample string 1</UserId>
</TransferClientDTO>

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

Response Information

Resource Description

TransferClientResultDTO
NameDescriptionTypeAdditional information
Result

integer

None.

ResultDescription

string

None.

Response Formats

application/json, text/json

Sample:
{
  "result": 1,
  "resultDescription": "sample string 2"
}

application/xml, text/xml

Sample:
<TransferClientResultDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AccessManager.DTO">
  <Result>1</Result>
  <ResultDescription>sample string 2</ResultDescription>
</TransferClientResultDTO>