Employee
6
Query
| Key | Value | Description |
|---|
| select | firstName,gender,email | |
| sort | firstName | |
| orderBy | desc | |
| page | 2 | |
| limit | 2 | |
Body
{
"firstName": "John",
"lastName": "Doe",
"dateOfBirth": "1990-05-15T00:00:00.000Z",
"gender": "Male",
"email": "[email protected]",
"phone": "+1234567890",
"address": "123 Main St, Anytown, Anystate, 12345, CountryName"
}Body
{
"_id": "60d5ec49f97e4c8f5f6a5d57",
"firstName": "Sohel",
"lastName": "Doe",
"dateOfBirth": "1990-05-15T00:00:00.000Z",
"gender": "Male",
"email": "[email protected]",
"phone": "+1234567890",
"address": "123 Main St, Anytown, Anystate, 12345, CountryName",
"createdAt": "2021-06-24T14:00:00.000Z",
"updatedAt": "2021-06-24T14:00:00.000Z"
}