PdfFillerClient/API/Token.cs
/// <summary>
/// Creates the token with custom data.
/// </summary>
/// <param name="newTokenRequest">Filled TokenCreateRequest object.</param>
/// <returns>Returns created token info with additional data after create.</returns>
/// <exception cref="PdfFillerApiException">If api request went bad.</exception>
/// <exception cref="PdfFillerAppException">If client app crashed.</exception>
Creates the token with custom data.
Creates the token with custom data .
public TokenCreateResponse CreateToken(TokenCreateRequest newTokenRequest)
        {
            var response = _apiClient.Call(ApiPath, "POST", newTokenRequest);
            var tokenInfo = _apiClient.GetResponseBody<TokenCreateResponse>(response);
            return tokenInfo;
        }
public TokenCreateResponse CreateToken ( TokenCreateRequest newTokenRequest ) { var response = _apiClient . Call ( ApiPath , " " , newTokenRequest ) ; var tokenInfo = _apiClient . GetResponseBody < TokenCreateResponse > ( response ) ; return tokenInfo ; }
Creates the token with custom data.
Creates the token with custom data .
Returns created token info with additional data after create.
Returns created token info with additional data after create .
If api request went bad.
If api request went bad .
If client app crashed.
If client app crashed .
newTokenRequest
TokenCreateRequest
Filled TokenCreateRequest object.
Filled TokenCreateRequest object .