-
In Türkiye :
HGS,abbr.(turkish : Hızlı Geçiş Sistemi )
-
like
E-ZPassSystem in America ,And
Fastagin India
in this application we can :
- add/fetch/delete tollbooths
- add/fetch/delete vehicles HGS cards (typed as Vehicle)
- fetch records
method | mapping | path variables | request parameters | |
---|---|---|---|---|
get all toll-booths | GET | /tollBooths | X | |
save toll-booth | POST | /tollBooths | X | X , request body is needed |
delete toll-booth | DELETE | /tollBooths | X | X , request body is needed |
method | mapping | path variables | request parameters | |
---|---|---|---|---|
get all vehicles | GET | /vehicles | X | X |
get vehicle by HGS number | GET | /vehicles/{HGS_Number} | HGS_Number :int 64 | X |
save vehicle | POST | /vehicles | X | X , request body is needed |
delete vehicle HGS card | DELETE | /vehicles | HGS_Number :int 64 | X |
method | mapping | path variables | request parameters | |
---|---|---|---|---|
get all records | GET | /records | X | X |
get today's Records | GET | /records/today | X | X |
get all records related to a toll-booth | GET | /records/tollBooth_id/{tollBooth_id} | tollBooth_id :int 64 | X |
get today's Records related to a toll-booth | GET | /records/tollBooth_id/{tollBooth_id}/today | tollBooth_id :int 64 | X |
get records by HGS-number | GET | /records/vehicle_HGS/{HGS_Number} | HGS_Number :int 64 | X |
get today's income | GET | /records/today's_income | X | X |
get today's income related to a toll-booth | GET | /records/tollBooth_id/{tollBooth_id}/today's_income | tollBooth_id :int 64 | X |
method | mapping | path variables | request parameters | |
---|---|---|---|---|
get payment | GET | /tollBooths/getPayment/{tollbooth_id}/{HGS_num}/ |
|
X |