Add more API resources; user bid management and tests #35 #36

This commit is contained in:
Nabeel Shahzad
2017-12-12 16:58:27 -06:00
parent 5b25a464ba
commit 248a8d1488
27 changed files with 470 additions and 166 deletions

View File

@@ -13,8 +13,10 @@ users:
name: Admin User
email: admin@phpvms.net
password: admin
apikey: testapikey
api_key: testapikey
airline_id: 1
home_airport_id: KAUS
curr_airport_id: KAUS
rank_id: 1
created_at: now
updated_at: now
@@ -70,6 +72,11 @@ aircraft:
name: Boeing 777-200
registration: NC20
tail_number: 20
- id: 3
subfleet_id: 1
name: Boeing 747-400-PW
registration: PW744
tail_number: 207X
fares:
- id: 1
@@ -133,6 +140,6 @@ flights:
- id: 1
airline_id: 1
flight_number: 100
dpt_airport_id: 1
arr_airport_id: 2
dpt_airport_id: KAUS
arr_airport_id: KJFK
route: KAUS KJFK