public void WhenICreateTheFollowingBooking(Table table) { var row = table.Rows[0]; JObject response = BaseAPITests.createBooking( row["firstname"], row["lastname"], row["totalprice"], row["depositpaid"], row["checkin"], row["checkout"], row["additionalneeds"] ); this.bookingRef = response.GetValue("bookingref").ToString(); }