GET api/Pix?audience={audience}&client_id={client_id}&client_secret={client_secret}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| audience | string |
Required |
|
| client_id | string |
Required |
|
| client_secret | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Token| Name | Description | Type | Additional information |
|---|---|---|---|
| access_token | string |
None. |
|
| scope | string |
None. |
|
| token_type | string |
None. |
|
| expires_in | string |
None. |
|
| error | string |
None. |
|
| error_description | string |
None. |
|
| RestClientApi | RestClient |
None. |
Response Formats
application/json, text/json
Sample:
{
"access_token": "sample string 1",
"scope": "sample string 2",
"token_type": "sample string 3",
"expires_in": "sample string 4",
"error": "sample string 5",
"error_description": "sample string 6",
"RestClientApi": {
"HttpFactory": null,
"DefaultParameters": [
{
"Name": "sample string 1",
"Value": {},
"Type": 0
},
{
"Name": "sample string 1",
"Value": {},
"Type": 0
}
],
"MaxRedirects": 1,
"ClientCertificates": null,
"Proxy": null,
"FollowRedirects": true,
"CookieContainer": null,
"UserAgent": "sample string 2",
"Timeout": 3,
"ReadWriteTimeout": 4,
"UseSynchronizationContext": true,
"Authenticator": null,
"BaseUrl": "http://webapihelppage6.com",
"PreAuthenticate": true
}
}
application/xml, text/xml
Sample:
<Token xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pix">
<RestClientApi xmlns:d2p1="http://schemas.datacontract.org/2004/07/RestSharp">
<d2p1:Authenticator i:nil="true" />
<d2p1:BaseUrl>http://webapihelppage6.com/</d2p1:BaseUrl>
<d2p1:ClientCertificates xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
<d2p1:CookieContainer xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Net" i:nil="true" />
<d2p1:FollowRedirects>true</d2p1:FollowRedirects>
<d2p1:HttpFactory i:nil="true" />
<d2p1:MaxRedirects>1</d2p1:MaxRedirects>
<d2p1:PreAuthenticate>true</d2p1:PreAuthenticate>
<d2p1:Proxy i:nil="true" />
<d2p1:ReadWriteTimeout>4</d2p1:ReadWriteTimeout>
<d2p1:Timeout>3</d2p1:Timeout>
<d2p1:UseSynchronizationContext>true</d2p1:UseSynchronizationContext>
<d2p1:UserAgent>sample string 2</d2p1:UserAgent>
</RestClientApi>
<access_token>sample string 1</access_token>
<error>sample string 5</error>
<error_description>sample string 6</error_description>
<expires_in>sample string 4</expires_in>
<scope>sample string 2</scope>
<token_type>sample string 3</token_type>
</Token>