GET api/Test
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of EmployeeName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
ID | integer |
None. |
|
JoiningDate | date |
None. |
|
Age | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Name": "sample string 1", "ID": 2, "JoiningDate": "2024-11-21T16:44:02.1232656+07:00", "Age": 4 }, { "Name": "sample string 1", "ID": 2, "JoiningDate": "2024-11-21T16:44:02.1232656+07:00", "Age": 4 } ]
application/xml, text/xml
Sample:
<ArrayOfTestController.Employee xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VNA_DiemThiAPI_CocCoc.Controllers"> <TestController.Employee> <Age>4</Age> <ID>2</ID> <JoiningDate>2024-11-21T16:44:02.1232656+07:00</JoiningDate> <Name>sample string 1</Name> </TestController.Employee> <TestController.Employee> <Age>4</Age> <ID>2</ID> <JoiningDate>2024-11-21T16:44:02.1232656+07:00</JoiningDate> <Name>sample string 1</Name> </TestController.Employee> </ArrayOfTestController.Employee>