Property | Type | Description | |
---|---|---|---|
GetClient | RestSharp.RestClient | ||
GetRequest |
Method | Description | |
---|---|---|
Call ( IRestRequest request ) : IRestResponse | ||
Call ( string resource, Method method ) : IRestResponse | ||
DeskApi ( string apiUrlBase, string username, string password ) : System |
This constructor is used for Basic Authentication against the Desk API. Use this method when you only require access to your own account. Desk documentation: http://bit.ly/1jNfykh
|
|
DeskApi ( string apiUrlBase, string apiKey, string apiSecret, string apiToken, string apiTokenSecret ) : System |
Method | Description | |
---|---|---|
GetClient ( ) : RestSharp.RestClient | ||
GetRequest ( Method method, string resource ) : |
public Call ( IRestRequest request ) : IRestResponse | ||
request | IRestRequest | |
return | IRestResponse |
public Call ( string resource, Method method ) : IRestResponse | ||
resource | string | |
method | Method | |
return | IRestResponse |
public DeskApi ( string apiUrlBase, string username, string password ) : System | ||
apiUrlBase | string | |
username | string | |
password | string | |
return | System |
public DeskApi ( string apiUrlBase, string apiKey, string apiSecret, string apiToken, string apiTokenSecret ) : System | ||
apiUrlBase | string | |
apiKey | string | |
apiSecret | string | |
apiToken | string | |
apiTokenSecret | string | |
return | System |