ePlatform.Api.Core
1.2.0
See the version list below for details.
dotnet add package ePlatform.Api.Core --version 1.2.0
NuGet\Install-Package ePlatform.Api.Core -Version 1.2.0
<PackageReference Include="ePlatform.Api.Core" Version="1.2.0" />
paket add ePlatform.Api.Core --version 1.2.0
#r "nuget: ePlatform.Api.Core, 1.2.0"
// Install ePlatform.Api.Core as a Cake Addin #addin nuget:?package=ePlatform.Api.Core&version=1.2.0 // Install ePlatform.Api.Core as a Cake Tool #tool nuget:?package=ePlatform.Api.Core&version=1.2.0
ePlatform-api-dotnet-client
Turkcell e-Şirket e-Belge uygulamaları için .Net Client
Nuget Paketleri
- ePlatform.Api.Core
- Authentication ve diğer temel işlemler için gerekli olan paket
- ePlatform.Api.eBelge.Ticket
- e-Bilet entegrasyonu için gerekli olan paket
- ePlatform.Api.eBelge.Invoice
- e-Fatura/e-Arşiv entegrasyonu için gerekli olan paket
Paket sürümleri netstandard2.0 ve .Net 4.6.1 üstünü desteklemektedir.
Kullanım
.NetCore projesinizde, startup.cs dosyasında, ConfigureServices kısmına, ilgili Clientlar için gerekli kısımları eklemelisiniz.
public void ConfigureServices(IServiceCollection services)
{
services.AddDistributedMemoryCache(); //Token cache için gerekli
services.AddePlatformTicketClients(Configuration); //e-Bilet clientlari için gereli
services.AddePlatformInvoiceClients(Configuration); //e-Fatura/e-Arşiv clientlari için gereli
}
Uygulamanızın AppSettings.json dosyasında, Client için gerekli ilgili model yer almalıdır.
"ePlatformClientOptions": {
"AuthServiceUrl": "https://coretest.isim360.com",
"TicketServiceUrl": "https://ebiletservicetest.isim360.com", // e-Bilet için gerekli olan url
"InvoiceServiceUrl": "https://efaturaservicetest.isim360.com", // e-Fatura/e-Arşiv için gereli olan url
"Auth": {
//Test için aşağıdaki kullanıcı bilgilerini kullanabilir yada özel kullanıcı talep edebilirsiniz.
"Username": "serviceuser01@isim360.com",
"Password": "ePlatform123+",
"ClientId": "serviceApi"
}
}
Sample projesinden yer alan Controller'lar içerisinde görebileceğiniz şekilde, ilgili servisleri inject edip kullanmanız gerekmektedir.
Teknik dökümantasyon
https://developer.turkcellesirket.com/
Soru ve yorumlarınız için
entegrasyon@eplatform.com.tr
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Flurl.Http (>= 2.4.2)
- Microsoft.Extensions.Caching.Abstractions (>= 2.2.0)
- Microsoft.Extensions.Http (>= 2.2.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 2.2.0)
- Newtonsoft.Json (>= 12.0.2)
- Polly (>= 7.1.0)
- System.Threading.Tasks.Extensions (>= 4.5.3)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on ePlatform.Api.Core:
Package | Downloads |
---|---|
ePlatform.Api.eBelge.Ticket
Package Description |
|
ePlatform.Api.eBelge.Invoice
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.