PdfFillerClient/API/Token.cs
/// <summary>
/// Updates custom token data by its identifier.
/// </summary>
/// <param name="tokenId">Id of token.</param>
/// <param name="token">TokenCreateRequest object filled with data.</param>
/// <returns>Returns updated token object.</returns>
/// <exception cref="PdfFillerApiException">If api request went bad.</exception>
/// <exception cref="PdfFillerAppException">If client app crashed.</exception>
Updates custom token data by its identifier.
Updates custom token data by its identifier .
public TokenCreateResponse UpdateToken(long tokenId, TokenCreateRequest token)
        {
            var response = _apiClient.Call(ApiPath + "/" + tokenId, "PUT", token);
            var updatedTokenInfo = _apiClient.GetResponseBody<TokenCreateResponse>(response);
            return updatedTokenInfo;
        }
public TokenCreateResponse UpdateToken ( long tokenId , TokenCreateRequest token ) { var response = _apiClient . Call ( ApiPath + " " + tokenId , " " , token ) ; var updatedTokenInfo = _apiClient . GetResponseBody < TokenCreateResponse > ( response ) ; return updatedTokenInfo ; }
Updates custom token data by its identifier.
Updates custom token data by its identifier .
Returns updated token object.
Returns updated token object .
If api request went bad.
If api request went bad .
If client app crashed.
If client app crashed .
tokenId
long
Id of token.
Id of token .
token
TokenCreateRequest
TokenCreateRequest object filled with data.
TokenCreateRequest object filled with data .