public void UpdateAssetLicenceReminder(long organisationId, AssetLicenceReminder assetLicenceReminder) { IHttpRestRequest request = GetRequest(APIControllerRoutes.RemindersController.ASSETLICENCEREMINDERS, HttpMethod.Put); request.AddUrlSegment("organisationId", organisationId.ToString()); request.AddUrlSegment("assetId", assetLicenceReminder.AssetId.ToString()); request.AddJsonBody(assetLicenceReminder); Execute(request); }
public async Task UpdateAssetLicenceReminderAsync(long organisationId, AssetLicenceReminder assetLicenceReminder) { IHttpRestRequest request = GetRequest(APIControllerRoutes.RemindersController.ASSETLICENCEREMINDERS, HttpMethod.Put); request.AddUrlSegment("organisationId", organisationId.ToString()); request.AddUrlSegment("assetId", assetLicenceReminder.AssetId.ToString()); request.AddJsonBody(assetLicenceReminder); await ExecuteAsync(request).ConfigureAwait(false); }