Figure 1- Required APIs.
1.1 (1.5 point)
The API at url/api/order/getallorderreturn information of all orders in database, using GET method.Each order requires the information shown in Figure 2. Note that:
[CustomerName] is attribute [CompanyNameļ in table [Customer]
[EmployeeName] is the concatenation of attributes [FirstName] and [LastName] in table
[Employee])
[Employee Departmentid] is the Departmentid of the department of employee.
[Employee DepartmentName] is the DepartmentName of the department of employee.
/api/order/GetAlOrder
Figure 2- The result of API at /api/order/getallorder (using method GET)
1.2 (1.5 point)
The API at url/api/order/getorderbydate/{From}/{To}
FUO + 80%
Zoom
Close