Devam Ediyor

Add include_increase parameter to web services (v2)

The code you were working on earlier was a subset of the system. Now you have access to all the source code. There isn't too much more but you'll now notice controller, external, and view. Controller is where all the action happens for the web services. External contains the class that actually talks to expedia to get prices. View has a small dashboard I use to keep an eye on things.

I've moved the project to a new domain: vigilant.cc. There is no password protection of the http files here. Your FTP credentials should work for the new domain. Give them a try and let me know if anything doesn't work.

The next task is to add the new include_increase parameter to the web services. I've written up the work in the form of acceptance criteria:

1. GIVEN the add_alert API, WHEN the API call includes a parameter of "include_increase" with a value of "1", THEN the airfare_model affected by the call will have a value of 1 for the include_increase property.

2. GIVEN the add_alert API, WHEN the API call includes a parameter of "include_increase" with any value other than "1", THEN the airfare_model affected by the call will have a value of 0 for the include_increase property.

3. GIVEN the add_alert API, WHEN the API call does not include the "include_increase" parameter, THEN the airfare_model affected by the call will have a value of 0 for the include_increase property.

4. GIVEN the register_user API, WHEN the API is called, THEN the response includes a parameter of "include_increase" with a value of either 0 or 1 according to the airfare_model used to populate the response.

5. GIVEN the get_price API, WHEN the API is called, THEN the response includes a parameter of "include_increase" with a value of either 0 or 1 according to the airfare_model used to populate the response.

Additional Information:

The APIs are located in default_controller.php. Corresponding unit tests are in default_controller_test.php.

Other Questions:

- Do you prefer to work by hourly rate or project bid? I'd like to work with you on an hourly basis if that is acceptable to you.

Beceriler: PHP

Daha fazlasını görün: get web services, expedia web services, increase value project, add hourly rate, add external source, use api project credentials, api controller, api call access, php web services project, web services project, access subset, access controller, call api access, api dashboard, php api call populate, system expedia, domain controller project, web services bid, expedia system, bid web services, dashboard source code, subset code, php web services, property services, work expedia api

İşveren Hakkında:
( 44 değerlendirme ) Highlands Ranch, United States

Proje NO: #4425422

Seçilen:

sergioes

Hired by the Employer

30$ USD / saat
(198 Değerlendirme)
6.7