Iran Railway-Trains (Raja-Fadak-Safir) all in one package for DotNet (Api-WebService)
Before posting new issues: Test samples
Note that: you should register on Fadak-Raja-Safir website and get your username and password to using this package also its possible to just use one of these services(Fadak-Raja-Safir) :)
In this version: you have the "Fadak" service completely good to go [Stable] and you can use it if you had the username-password
The "Raja" system under development [Not Stable !!!] the only thing still not working is two or three methods of Raja system, that's it !!!
and the "Safir" system I am working on it [Not Implemented Yet :(]
you can use it in both .net core and .net framework its use .net standard
Use library as dll, reference from nuget or just use this in package manager console
Install-Package IRTrainDotNet
Currently the library supports following method:
You can use these methods both Async and nonAsync :)
- Login
- ValidateTokenWithTime
- ValidateTokenWithRequest
- GetStations
- GetStationById
- GetLastVersion
- GetWagonAvailableSeatCount
- LockSeat
- LockSeatBulk
- UnlockSeat
- SaveTicketsInfo
- RegisterTickets
- TicketReportA
- RefundTicketInfo
- RefundTicket
- UserSales
- AgentCredit
Download Persian Documentation
MIT