Web - ggordo12/AWS-Lambda GitHub Wiki
API WEB - TFM-AWS
CUSTOMER
Customer information form.
-
TEMPLATE: customer.html

SAVE CUSTOMER INFO
Saves the information of the form and creates a new Customer.
| Method | URL |
|---|---|
| POST | {AWS_URL}/api/customer |
COMPANY
Customers Company information form.
-
TEMPLATE: company.html

SAVE COMPANY INFO
Saves the information of the form, creates a new Company and adds the new Company to the Customer.
| Method | URL |
|---|---|
| POST | {AWS_URL}/api/{customerid}/company |
PRODUCT
Product selection form.
-
TEMPLATE: product.html

GET PRODUCTS
Returns the actual products available to be selected by the Customer.
| Method | URL |
|---|---|
| GET | {AWS_URL}/api/products |
SAVE NEW BUDGET
Creates a new budget with the information of the selected products by the Customer.
| Method | URL |
|---|---|
| POST | {AWS_URL}/api/{customerid}/budget |
BUDGET
Summary of the Budget.
-
TEMPLATE: budget.html

GET BUDGET
Returns the information of the recently created Budget.
| Method | URL |
|---|---|
| GET | {AWS_URL}/api/budget/{budgetid} |