POST client/brokers?password={password}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
password

string

Default value is password

Body Parameters

OAuthTokenPasswordModel
NameDescriptionTypeAdditional information
username

string

Required

password

string

Required

grant_type

string

Required

client_id

string

Required

brokerId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "username": "sample string 1",
  "password": "sample string 2",
  "grant_type": "sample string 3",
  "client_id": "sample string 4",
  "brokerId": "sample string 5"
}

application/xml, text/xml

Sample:
<OAuthTokenPasswordModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/App.Auth.Models">
  <brokerId>sample string 5</brokerId>
  <client_id>sample string 4</client_id>
  <grant_type>sample string 3</grant_type>
  <password>sample string 2</password>
  <username>sample string 1</username>
</OAuthTokenPasswordModel>

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

Response Information

Resource Description

Dictionary of string [key] and string [value]

Response Formats

application/json, text/json

Sample:
{
  "sample string 1": "sample string 2",
  "sample string 3": "sample string 4"
}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfstringstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfstringstring>
    <Key>sample string 1</Key>
    <Value>sample string 2</Value>
  </KeyValueOfstringstring>
  <KeyValueOfstringstring>
    <Key>sample string 3</Key>
    <Value>sample string 4</Value>
  </KeyValueOfstringstring>
</ArrayOfKeyValueOfstringstring>