Register
Submit a solution
The challenge is finished.

Challenge Overview

Competition Task Overview

The purpose of this challenge is to build a simple Android app that will do the following:

1. The app will have two screens: search screen and results screen. Please check the prototype to see how it works.
2. The search screen will make a GET call to 
http://rentals.dohenycompanies.com/tabsearch/?cus=&doc=&eq=000005537, notice how the following 3 parameters are used in the api call:
2.1 Equipment Number (CUSTOMER_NUM) – this is an alphanumeric string of up to 9 characters in length (ex. “000004414” or “1234JDS”)
2.2 Customer Number (EQUIPMENT) – this is  an alphanumeric string of up to 8 characters in length (ex. “DETR001”or “SUMM006”)
2.3 Rental Contract Number (RENTAL_DOC) – this is an alphanumeric string of up to 6 characters in length (ex. “R12345” or “R83212”)
3. The search response will be JSON that looks like this: {"results": [{"contract": "R19625 ","customer_name": "ALL SOUTH UNDERGROUND, LLC ","equipment": "000005537 "}]}
4. The search results will be displayed on the results screen as shown in the prototype. The user will be able to select one of the results and submit it. The app will make a GET call to http://rentals.dohenycompanies.com/tabresult/?action=R19625 to submit it, the parameter used here is the contract number. The response will also be JSON and a successful submissions looks like this (a failed one will have different status codes): { "message": [ { "status": "0", "source": { "confirmation": "/tabresult.asp" }, "title": "Document Recalled Successfully", "detail": "Please return to Planet Press to retrieve document" } ] }
5. Based on the status code the results screen will either show a green checkmark (success) or red 'x' (failure) for the row just submitted
6. Please make sure the api endpoints are configurable.
7. 
The app should be based on the prototype. But the dramatically different size between the search screen and the results looks strange. We need to make them have the same size by either making the search bigger and / or the results smaller.
8. Please make sure the Android app doesn't crash or hang in any case (for example: network issue) and will present proper error messages to the users.
9. Winner will be responsible for fixing the bugs we find in the code.

Technology Overview

Android 4+
HTML5
Javascript
CSS
Ionic
Samsung Tablets



Final Submission Guidelines

1. Complete Ionic based solution that covers all requirements, please note you should not include folders like "bower_components" in your submission, these should be downloaded / installed automatically we when build the app.
2. 
A complete and detailed deployment guide explaining how to build, deploy and test the application including configuration information. This should be in markdown format.

Review style

Final Review

Community Review Board

Approval

User Sign-Off

ID: 30054787