POST oauth2/onetime/authorize

Request Information

URI Parameters

None.

Body Parameters

OneTimeAuthorizeRequest
NameDescriptionTypeAdditional information
ClientId

string

Required

Code

string

Required

Request Formats

application/json, text/json

Sample:
{
  "clientId": "sample string 1",
  "code": "sample string 2"
}

application/xml, text/xml

Sample:
<OneTimeAuthorizeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/App.Auth.Models">
  <ClientId>sample string 1</ClientId>
  <Code>sample string 2</Code>
</OneTimeAuthorizeRequest>

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

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>