{"info":{"_postman_id":"d10fb934-ec3b-44ea-8a9b-91d80929dbff","name":"Entry-Level-Java-Chanllenge","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"43866013","collectionId":"d10fb934-ec3b-44ea-8a9b-91d80929dbff","publishedId":"2sBY4PNzXU","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-07-19T10:10:29.000Z"},"item":[{"name":"Get Specific Employee","id":"15447ad3-5956-4833-8d34-91e14b5826aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/v1/employee/550e8400-e29b-41d4-a716-446655440001","description":"<p>Retrieves a single employee record by UUID from the local employee service.</p>\n<p><strong>Endpoint</strong><br /><code>GET http://localhost:8080/api/v1/employee/{uuid}</code></p>\n<p><strong>Path Parameter</strong>  </p>\n<ul>\n<li><code>uuid</code> — The unique identifier of the employee to retrieve. Example: <code>550e8400-e29b-41d4-a716-446655440001</code></li>\n</ul>\n<p><strong>Request Behavior</strong><br />Send a <code>GET</code> request to the endpoint with the target employee's UUID in the path. The service returns one employee object corresponding to the supplied identifier.</p>\n<p><strong>Successful Response</strong>  </p>\n<ul>\n<li><code>200 OK</code> — Returns a single employee object.</li>\n</ul>\n<p><strong>Returned Fields</strong><br />Based on the sample response, the returned object includes:</p>\n<ul>\n<li><code>uuid</code> — Employee UUID.</li>\n<li><code>firstName</code> — Employee first name.</li>\n<li><code>lastName</code> — Employee last name.</li>\n<li><code>fullName</code> — Full name for the employee.</li>\n<li><code>salary</code> — Employee salary.</li>\n<li><code>age</code> — Employee age.</li>\n<li><code>jobTitle</code> — Employee job title.</li>\n<li><code>email</code> — Employee email address.</li>\n<li><code>contractHireDate</code> — Contract start or hire date.</li>\n<li><code>contractTerminationDate</code> — Contract termination date.</li>\n</ul>\n<p><strong>Practical Notes</strong>  </p>\n<ul>\n<li>Replace <code>{uuid}</code> in the endpoint path with a valid employee UUID before sending the request.</li>\n<li>This request is intended to fetch one specific employee record.</li>\n<li>The response structure shown here is inferred from the sample success response.</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","employee","550e8400-e29b-41d4-a716-446655440001"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"15447ad3-5956-4833-8d34-91e14b5826aa"},{"name":"Get All Employees","id":"60a94e56-a5d1-45d7-8151-96e7db4faa22","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/v1/employee","description":"<h2 id=\"summary\">Summary</h2>\n<p>Retrieves all employee records.</p>\n<h2 id=\"endpoint\">Endpoint</h2>\n<ul>\n<li><p><strong>Method:</strong> <code>GET</code></p>\n</li>\n<li><p><strong>Path:</strong> <code>/api/v1/employee</code></p>\n</li>\n<li><p><strong>URL:</strong> <code>http://localhost:8080/api/v1/employee</code></p>\n</li>\n</ul>\n<h2 id=\"request-behavior\">Request Behavior</h2>\n<p>Sends a <code>GET</code> request to the employee collection endpoint and returns the available employee records.</p>\n<ul>\n<li><p>No request body is sent.</p>\n</li>\n<li><p>No query parameters are currently configured on this request.</p>\n</li>\n<li><p>No request headers are explicitly configured on this request.</p>\n</li>\n</ul>\n<h2 id=\"response-overview\">Response Overview</h2>\n<p>A successful response returns <strong>HTTP 200 OK</strong> with a JSON array of employee objects.</p>\n<p>Each item in the array represents one employee record.</p>\n<h2 id=\"response-fields\">Response Fields</h2>\n<p>Based on the sample response, employee objects may include:</p>\n<ul>\n<li><p><code>uuid</code> — Unique identifier for the employee.</p>\n</li>\n<li><p><code>firstName</code> — Employee's first name.</p>\n</li>\n<li><p><code>lastName</code> — Employee's last name.</p>\n</li>\n<li><p><code>fullName</code> — Full display name for the employee.</p>\n</li>\n<li><p><code>salary</code> — Employee salary value; sample values indicate a numeric type.</p>\n</li>\n<li><p><code>age</code> — Employee age; sample values indicate a numeric type.</p>\n</li>\n<li><p><code>jobTitle</code> — Employee job title or role.</p>\n</li>\n<li><p><code>email</code> — Employee email address.</p>\n</li>\n<li><p><code>contractHireDate</code> — Contract start date/time represented as an ISO-8601 datetime string in the sample response.</p>\n</li>\n<li><p><code>contractTerminationDate</code> — Contract termination date/time when available; this field may be <code>null</code> in the sample response.</p>\n</li>\n</ul>\n<h2 id=\"notes--usage-considerations\">Notes / Usage Considerations</h2>\n<ul>\n<li><p>This request is intended for listing employee records rather than retrieving a single employee.</p>\n</li>\n<li><p>The response body is an array, so client code should be prepared to handle zero or more employee objects.</p>\n</li>\n<li><p>Field availability and nullability should be handled defensively, especially for optional values such as <code>contractTerminationDate</code>.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","employee"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"60a94e56-a5d1-45d7-8151-96e7db4faa22"},{"name":"Create Employee","id":"3f210a3c-8b8b-47e5-acce-fed1ea1d2fbb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"firstName\": \"Emily\",\r\n  \"lastName\": \"Brown\",\r\n  \"fullName\": \"Emily Brown\",\r\n  \"salary\": 70000,\r\n  \"age\": 26,\r\n  \"jobTitle\": \"Business Analyst\",\r\n  \"email\": \"emily.brown@example.com\",\r\n  \"contractHireDate\": \"2025-02-03T10:15:00Z\",\r\n  \"contractTerminationDate\": null\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/employee","description":"<p>Creates a new employee record.</p>\n<h2 id=\"summary\">Summary</h2>\n<p>Creates a new employee resource by submitting the employee's core profile and contract details in the request body.</p>\n<h2 id=\"endpoint\">Endpoint</h2>\n<ul>\n<li><p><strong>Method:</strong> <code>POST</code></p>\n</li>\n<li><p><strong>URL:</strong> <code>http://localhost:8080/api/v1/employee</code></p>\n</li>\n</ul>\n<h2 id=\"request-body\">Request Body</h2>\n<p>Send a JSON object with the following fields:</p>\n<ul>\n<li><p><code>firstName</code> <em>(string)</em>: Employee's first name.</p>\n</li>\n<li><p><code>lastName</code> <em>(string)</em>: Employee's last name.</p>\n</li>\n<li><p><code>fullName</code> <em>(string)</em>: Employee's full name.</p>\n</li>\n<li><p><code>salary</code> <em>(number)</em>: Employee salary amount.</p>\n</li>\n<li><p><code>age</code> <em>(number)</em>: Employee age.</p>\n</li>\n<li><p><code>jobTitle</code> <em>(string)</em>: Employee's role or job title.</p>\n</li>\n<li><p><code>email</code> <em>(string)</em>: Employee email address.</p>\n</li>\n<li><p><code>contractHireDate</code> <em>(string, ISO 8601 datetime)</em>: Contract start date and time.</p>\n</li>\n<li><p><code>contractTerminationDate</code> <em>(string | null, ISO 8601 datetime)</em>: Contract end date and time, or <code>null</code> when not set.</p>\n</li>\n</ul>\n<h3 id=\"example-request-body\">Example Request Body</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"firstName\": \"Emily\",\n  \"lastName\": \"Brown\",\n  \"fullName\": \"Emily Brown\",\n  \"salary\": 70000,\n  \"age\": 26,\n  \"jobTitle\": \"Business Analyst\",\n  \"email\": \"emily.brown@example.com\",\n  \"contractHireDate\": \"2025-02-03T10:15:00Z\",\n  \"contractTerminationDate\": null\n}\n\n</code></pre>\n<h2 id=\"success-response\">Success Response</h2>\n<p>A successful request returns <strong><code>200 OK</code></strong> and includes the created employee object.</p>\n<h3 id=\"returned-fields\">Returned Fields</h3>\n<ul>\n<li><p><code>uuid</code> <em>(string)</em>: Generated unique identifier for the employee.</p>\n</li>\n<li><p><code>firstName</code> <em>(string)</em>: Employee's first name.</p>\n</li>\n<li><p><code>lastName</code> <em>(string)</em>: Employee's last name.</p>\n</li>\n<li><p><code>fullName</code> <em>(string)</em>: Employee's full name.</p>\n</li>\n<li><p><code>salary</code> <em>(number)</em>: Employee salary amount.</p>\n</li>\n<li><p><code>age</code> <em>(number)</em>: Employee age.</p>\n</li>\n<li><p><code>jobTitle</code> <em>(string)</em>: Employee's role or job title.</p>\n</li>\n<li><p><code>email</code> <em>(string)</em>: Employee email address.</p>\n</li>\n<li><p><code>contractHireDate</code> <em>(string, ISO 8601 datetime)</em>: Contract start date and time.</p>\n</li>\n<li><p><code>contractTerminationDate</code> <em>(string | null, ISO 8601 datetime)</em>: Contract end date and time, or <code>null</code> if not set.</p>\n</li>\n</ul>\n<h2 id=\"practical-notes\">Practical Notes</h2>\n<ul>\n<li><p>This request is used to add a new employee record to the system.</p>\n</li>\n<li><p>The response mirrors the submitted employee data and adds a generated <code>uuid</code>.</p>\n</li>\n<li><p><code>contractTerminationDate</code> may be <code>null</code> for employees without an end date defined at creation time.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"http","port":"8080","path":["api","v1","employee"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"3f210a3c-8b8b-47e5-acce-fed1ea1d2fbb"}]}