Exemple #1
0
 /// <summary>
 ///     Deletes object and returns deserialized TSuccess or ApiErrorView
 /// </summary>
 /// <param name="partialUri">Uri part after server address/fqdn and port</param>
 /// <param name="parameters">Request parameters after `?`</param>
 /// <param name="headers">Request headers</param>
 /// <param name="data">Raw request body</param>
 /// <param name="authentificationProvider">Authentification provider</param>
 /// <param name="cancellationToken">Task cancellation token</param>
 /// <returns>Response result and deserialized body</returns>
 public static Task <VariadicRequestResult <string, ApiErrorView> > DeleteWithApiErrorAsync(
     string partialUri,
     IDictionary <string, string> parameters = null,
     IDictionary <string, string> headers    = null,
     object data = null,
     Delegates.AuthentificationDataAdder authentificationProvider = null,
     CancellationToken cancellationToken = default(CancellationToken))
 => RegularClient.DeleteWithApiErrorAsync(
     partialUri,
     parameters,
     headers,
     data,
     authentificationProvider,
     cancellationToken
     );