Click or drag to resize

RESTClientGetAPIT Method

Gets the data from the api endpoint.

Namespace:  Koden.Utils.REST
Assembly:  Koden.Utils.REST (in Koden.Utils.REST.dll) Version: 1.0.6464.41815
Syntax
public T GetAPI<T>(
	string endpoint,
	string apiMethod,
	LoginTokenResult loginToken,
	bool returnJSON
)

Parameters

endpoint
Type: SystemString
The endpoint.
apiMethod
Type: SystemString
The API method.
loginToken
Type: Koden.Utils.REST.ModelsLoginTokenResult
The login token.
returnJSON
Type: SystemBoolean
if set to true returns JSON else returns XML.

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:Koden.Utils.REST.RESTClient.GetAPI``1(System.String,System.String,Koden.Utils.REST.Models.LoginTokenResult,System.Boolean)"]

Return Value

Type: T

[Missing <returns> documentation for "M:Koden.Utils.REST.RESTClient.GetAPI``1(System.String,System.String,Koden.Utils.REST.Models.LoginTokenResult,System.Boolean)"]

See Also