SDN302_-_FA_2024_-_PE_2870.webp
Klaus_87

SDN302_-_FA_2024_-_PE_2870.webp

  • Media owner Klaus_87
  • Ngày thêm
Question 1. (3.5 marks)
List all employees as shown in Figure 1, with the following API end-point parameters:
URI: http://localhost:9999/employee/list
Method: GET
Output: An array of employee objects containing department name and manager
information
Example:
Body Cookies Headers (7) Test Results
200 OK
35 ms 1.82 KB
Save Response
Pretty
Raw
Preview
Visualize
JSON
Zoom
1
2
3
4
5
"exployeeld": "6706c540be090ec1c96abf8e",
"fullName": "Emily Catherine Johnson","dob": "1978-03-30T00:00:00.000Z",
"gender": "female"."email": "[email protected]".
"department": "Human Resources",
"manager":"",
"dependents": []
"exployeeld": "6706c540be099ec1c88abf89",
"fullName": "John Albert Doe".
"dob": "1985-05-15T00:00:00.000Z",
"gendex": "sale",
"email": "[email protected]"."departrent": "Human Resources".
"manager": "Emily Catherine Johnson",
"dependents": [
"name": "Jane Doe","relation": "Mife"
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
1
30
1.
31 >
"name": "Jake Doe"."relation": "Son"
Figure 1 - List all Employees
+ 95%
Close
Chưa có bình luận nào.

Thông tin

Category
SDN302
Thêm bởi
Klaus_87
Ngày thêm
Lượt xem
1,423
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
SDN302_-_FA_2024_-_PE_2870.webp
File size
194.3 KB
Dimensions
1920px x 991px

Share this media

Back
Bên trên Bottom