{"info":{"_postman_id":"7825597b-03f5-49a2-817d-83258ba18e4d","name":"Wilya APIs","description":"<html><head></head><body><h3 id=\"wilya-apis\">Wilya APIs</h3>\n<p><a href=\"https://wilya.com/\">Wilya</a> offers flexible workforce solutions tailored for modern businesses. The Wilya APIs enable programmatically accessing data stored within Wilya or importing data into Wilya. These APIs are accessible exclusively to privileged users, with access granted on a request-only basis.</p>\n<p>We regularly update our APIs with enhancements on a monthly basis. For any queries regarding our APIs, please reach out to us via <a href=\"https://mailto:help@wilya.com\">email</a>.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"31585569","collectionId":"7825597b-03f5-49a2-817d-83258ba18e4d","publishedId":"2sA2rGvzjL","public":true,"customColor":{"top-bar":"FFD6BA","right-sidebar":"303030","highlight":"D65819"},"publishDate":"2024-08-13T17:35:18.000Z"},"item":[{"name":"Authentication","item":[{"name":"Fetch Auth Token","id":"9388e341-124e-480a-af69-9ef519d0b81a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/authorize?client_id=<client_id>&client_secret=<client_secret>","description":"<p>This endpoint sends an HTTP GET request to authorize the client using the provided <code>client_id</code> and <code>client_secret</code>. The request should be made to the specified URL with the <code>companyID</code> as a path parameter and the client ID and client secret as query parameters.</p>\n<h3 id=\"path-parameters\">Path Parameters</h3>\n<ul>\n<li><code>subdomain</code>: The subdomain for the API endpoint.</li>\n<li><code>companyId</code>: The ID of the company for which authorization is being requested.</li>\n</ul>\n<h3 id=\"url-parameters\">URL Parameters</h3>\n<ul>\n<li><code>client_id</code>: The client ID for authorization.</li>\n<li><code>client_secret</code>: The client secret for authorization.</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>Upon a successful request, the server responds with a status code of 200 and a JSON object containing the access token, refresh token, expiration time, and token type. The values for these tokens will be provided in the response.</p>\n","urlObject":{"protocol":"https","path":["int","{{companyId}}","v1","authorize"],"host":["{{subdomain}}","azure-api","net"],"query":[{"key":"client_id","value":"<client_id>"},{"key":"client_secret","value":"<client_secret>"}],"variable":[]}},"response":[{"id":"307b39e1-5527-4e2a-bad4-c34b8fad9489","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/authorize?client_id=client_id&client_secret=client_secret","protocol":"https","host":["{{subdomain}}","azure-api","net"],"path":["int","{{companyId}}","v1","authorize"],"query":[{"key":"client_id","value":"client_id"},{"key":"client_secret","value":"client_secret"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8; x-api-version=1"},{"key":"Date","value":"Thu, 29 Feb 2024 17:46:28 GMT"},{"key":"Cache-Control","value":"private"},{"key":"Content-Encoding","value":"gzip"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Vary","value":"Accept-Encoding"},{"key":"api-supported-versions","value":"1.0"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"{{access token}}\",\n    \"refresh_token\": \"{{refresh token}}\",\n    \"expires_in\": 300,\n    \"token_type\": \"Bearer\"\n}"},{"id":"7c761bc8-2d05-4d40-bd46-0cb1056b909c","name":"Invalid Credentials","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/authorize?client_id=client_id&client_secret=client_secret","protocol":"https","host":["{{subdomain}}","azure-api","net"],"path":["int","{{companyId}}","v1","authorize"],"query":[{"key":"client_id","value":"client_id"},{"key":"client_secret","value":"client_secret"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8; x-api-version=1"},{"key":"Date","value":"Thu, 29 Feb 2024 17:45:22 GMT"},{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invalid Credentials!\"\n}"}],"_postman_id":"9388e341-124e-480a-af69-9ef519d0b81a"}],"id":"dd91a84a-7850-44b7-9155-aa4305ea3b7a","description":"<p>All GAT APIs require authentication using a JWT token. Data at our endpoints is secured through a token authentication mechanism with endpoint authorization. A <code>client_id</code> and <code>client_secret</code> pair is securely generated on our server side. Users can use these to make an Authorization request to fetch an access_token and a refresh_token.</p>\n<p>You can obtain a JWT token by following the steps mentioned below:</p>\n<ul>\n<li><p><strong>Step 1: Register a client.</strong> Begin by registering your application or service on the platform to receive a unique <code>client_id</code> and <code>client_secret</code>. This step is essential for identifying your application to the API.</p>\n</li>\n<li><p><strong>Step 2: Make an Authorization Request.</strong> Use the obtained <code>client_id</code> and <code>client_secret</code> to make an authorization request. This process involves sending these credentials to the authorization endpoint to receive an access_token and optionally, a refresh_token.</p>\n</li>\n<li><p><strong>Step 3: Refresh your token.</strong> When the <code>access_token</code> expires, use the refresh_token to obtain a new <code>access_token</code> without requiring the user to re-authenticate. This ensures uninterrupted access to the API services.</p>\n</li>\n</ul>\n<p>This folder houses API endpoints for authentication processes, providing methods to obtain new access tokens and refresh existing ones, ensuring secure and continuous access to the system.</p>\n<p>The <code>access_token</code> obtained is used as a bearer token for ther other API requests.</p>\n","_postman_id":"dd91a84a-7850-44b7-9155-aa4305ea3b7a"},{"name":"Workers","item":[{"name":"Fetch Workers","event":[{"listen":"test","script":{"id":"9c3c4c7f-187d-405b-8717-fab116465eed","exec":[""],"type":"text/javascript"}}],"id":"bd28bd94-f2bd-48e2-9faf-7160a0167722","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"GET","header":[],"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/Workers","description":"<p>This HTTP GET request retrieves a list of workers for a specific company. The request should be made to https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/Workers.</p>\n<h3 id=\"path-parameters\">Path Parameters</h3>\n<ul>\n<li><code>subdomain</code>: The subdomain for the Azure API.</li>\n<li><code>companyId</code>: The ID of the company for which authorization is being requested.</li>\n</ul>\n<h4 id=\"response-body\">Response Body</h4>\n<p>The response will contain a JSON object with the following properties:</p>\n<ul>\n<li><code>status</code> (boolean): Indicates the status of the response.</li>\n<li><code>message</code> (string): Provides a message related to the response.</li>\n<li><code>data</code> (array): An array of worker objects, each containing the following various properties.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["int","{{companyId}}","v1","core","Workers"],"host":["{{subdomain}}","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"61bad196-6ba8-4bbb-a117-297bc1772618","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/Workers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8; x-api-version=1"},{"key":"Date","value":"Thu, 29 Feb 2024 17:49:03 GMT"},{"key":"Cache-Control","value":"private"},{"key":"Content-Encoding","value":"gzip"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Vary","value":"Accept-Encoding"},{"key":"api-supported-versions","value":"1.0"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"Data Loaded Successfully.\",\n    \"data\": [\n        {\n            \"id\": \"30F79BAE-64A5-4CF5-8A2B-01E5C4230D5A\",\n            \"company\": \"Integrations\",\n            \"type\": \"FullTime\",\n            \"typeText\": \"Full Time\",\n            \"companyEmployeeId\": \"W1019\",\n            \"isActive\": true,\n            \"firstName\": \"John\",\n            \"lastName\": \"Snow4\",\n            \"mobilePhoneNumber\": \"+17607567574\",\n            \"reliabilityScore\": 5,\n            \"joiningDate\": \"2021-03-29\",\n            \"skills\": [],\n            \"skillInterests\": [],\n            \"workerJobs\": [],\n            \"location\": {\n                \"id\": 1191,\n                \"name\": \"Bangalore\"\n            },\n            \"manager\": {\n                \"id\": 239,\n                \"name\": \"manager 1\"\n            },\n            \"workcenter\": {\n                \"id\": 10094,\n                \"name\": \"workcenter1\"\n            },\n            \"shiftPattern\": {\n                \"id\": 0,\n                \"name\": \"\"\n            },\n            \"jobTitle\": \"Test title\"\n        },\n        {\n            \"id\": \"760679ED-E504-40D7-8419-0B2284AD953D\",\n            \"company\": \"Integrations\",\n            \"type\": \"FullTime\",\n            \"typeText\": \"Full Time\",\n            \"companyEmployeeId\": \"W1024\",\n            \"isActive\": true,\n            \"firstName\": \"John\",\n            \"lastName\": \"Snow7\",\n            \"mobilePhoneNumber\": \"+17607567577\",\n            \"reliabilityScore\": 5,\n            \"joiningDate\": \"2021-03-29\",\n            \"skills\": [],\n            \"skillInterests\": [],\n            \"workerJobs\": [],\n            \"location\": {\n                \"id\": 1191,\n                \"name\": \"Bangalore\"\n            },\n            \"manager\": {\n                \"id\": 239,\n                \"name\": \"manager 1\"\n            },\n            \"workcenter\": {\n                \"id\": 10094,\n                \"name\": \"workcenter1\"\n            },\n            \"shiftPattern\": {\n                \"id\": 0,\n                \"name\": \"\"\n            },\n            \"jobTitle\": \"Test title\"\n        }\n    ]\n}"},{"id":"689abd66-a33a-44f2-bafb-78c7280b9e00","name":"Invalid Credentials","originalRequest":{"method":"GET","header":[],"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/Workers"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 29 Feb 2024 17:42:53 GMT"},{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"You are not authorized to perform this action!\"\n}"},{"id":"31880d6c-d9c0-481b-8971-e8a3d76b29cb","name":"Success with no records","originalRequest":{"method":"GET","header":[],"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/Workers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8; x-api-version=1"},{"key":"Date","value":"Thu, 29 Feb 2024 17:49:03 GMT"},{"key":"Cache-Control","value":"private"},{"key":"Content-Encoding","value":"gzip"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Vary","value":"Accept-Encoding"},{"key":"api-supported-versions","value":"1.0"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"No Records found.\",\n    \"data\": []\n}"},{"id":"13901846-438d-41ca-8b5c-8621665402b3","name":"Forbidden","originalRequest":{"method":"GET","header":[],"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/Workers"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8; x-api-version=1"},{"key":"Date","value":"Thu, 29 Feb 2024 17:49:03 GMT"},{"key":"Cache-Control","value":"private"},{"key":"Content-Encoding","value":"gzip"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Vary","value":"Accept-Encoding"},{"key":"api-supported-versions","value":"1.0"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Access Denied! You dont have access to this resource.\",\n    \"data\": []\n}"}],"_postman_id":"bd28bd94-f2bd-48e2-9faf-7160a0167722"},{"name":"Add Workers","id":"3ccd9931-a2d5-4cc0-99c8-675f5a11f606","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"firstName\": \"John\",\n        \"lastName\": \"Smith\",\n        \"companyEmployeeId\": \"Int123\",\n        \"mobilePhoneNumber\": \"+9191231331231\",\n        \"workerTypeId\": 3,\n        \"jobTitle\" : \"title\",\n        \"shiftPatternId\" : 23,\n        \"jobIds\": \"1991,3826,3851,3935,3937\",\n        \"skills\": [\n            {\n                \"skillId\": 10897,\n                \"levelId\": 394\n            },\n            {\n                \"skillId\": 10898,\n                \"levelId\": 2\n            }\n        ],\n        \"joiningDate\": \"2024-02-24T18:30:00.000Z\",\n        \"orgUnitIds\": \"51,44\",\n        \"locationId\": 981\n    }\n]","options":{"raw":{"language":"json"}}},"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/Workers","description":"<p>This HTTP POST request is used to create new worker entries in the system. The request should be sent to https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/Workers.</p>\n<h3 id=\"path-parameters\">Path Parameters</h3>\n<ul>\n<li><code>subdomain</code>: The subdomain for the Azure API.</li>\n<li><code>companyId</code>: The ID of the company for which authorization is being requested.</li>\n</ul>\n<p>The request body should be in raw format and should contain an array of objects, each representing a worker. Each worker object should include details such as first name, last name, company employee ID, mobile phone number, worker type ID, job IDs, skills, created by, company ID, worker jobs, joining date, organization unit IDs, and location ID etc.</p>\n<h3 id=\"body-parameters\">Body Parameters</h3>\n<p>The request body should be an array of objects with the following parameters:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Params</strong></th>\n<th><strong>Type</strong></th>\n<th>Description</th>\n<th>Requirement</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>firstName</td>\n<td>String</td>\n<td>First Name of the worker.</td>\n<td>Mandatory</td>\n</tr>\n<tr>\n<td>lastName</td>\n<td>String</td>\n<td>Last Name of the worker.</td>\n<td>Mandatory</td>\n</tr>\n<tr>\n<td>companyEmployeeId</td>\n<td>String</td>\n<td>Employee ID of the worker.</td>\n<td>Mandatory</td>\n</tr>\n<tr>\n<td>mobilePhoneNumber</td>\n<td>String. (+{countryCode}{phoneNumber} format)</td>\n<td>Mobile Phone Number of the Worker.</td>\n<td>Mandatory</td>\n</tr>\n<tr>\n<td>workerTypeId</td>\n<td>Integer</td>\n<td>Worker Type (Full Time, Part Time and Flex) of the Worker.</td>\n<td>Mandatory</td>\n</tr>\n<tr>\n<td>jobTitle</td>\n<td>String</td>\n<td>Job Title of the worker.</td>\n<td>Mandatory</td>\n</tr>\n<tr>\n<td>shiftPatternId</td>\n<td>Integer</td>\n<td>Shift Pattern ID of the Worker's Shift.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>joiningDate</td>\n<td>Date Time ( yyyy-MM-dd'T'HH:mm:ss.SSS'Z' format)</td>\n<td>Date of Joining of the Worker.</td>\n<td>Mandatory</td>\n</tr>\n<tr>\n<td>locationId</td>\n<td>Integer</td>\n<td>Location ID of Worker's Location.</td>\n<td>Mandatory</td>\n</tr>\n<tr>\n<td>jobIds</td>\n<td>String (Comma separated Integer values)</td>\n<td>Job IDs of the workers.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>skills</td>\n<td>Array of objects</td>\n<td>Skills of the Workers.  <br /><code>skillID</code> and <code>levelID</code> for each skill.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>orgUnitIds</td>\n<td>String (Comma separated Integer values)</td>\n<td>Org Unit IDs of the workers.</td>\n<td>Optional</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-body\">Response Body</h4>\n<p>The response will contain a JSON object with the following properties:</p>\n<ul>\n<li><code>status</code> (boolean): Indicates the status of the response.</li>\n<li><code>message</code> (string): Provides a message related to the response.</li>\n<li><code>data</code>: Contains an array of objects with the details of the added worker. Each data object will include details such as worker ID, first name, last name, mobile phone number, company employee ID, and an array of errors if any.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["int","{{companyId}}","v1","core","Workers"],"host":["{{subdomain}}","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"46c8d133-932d-4faf-bb90-a09df2f69643","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"firstName\": \"John\",\n        \"lastName\": \"Smith\",\n        \"companyEmployeeId\": \"Int123\",\n        \"mobilePhoneNumber\": \"+9191231331231\",\n        \"workerTypeId\": 3,\n        \"jobTitle\" : \"title\",\n        \"shiftPatternId\" : 23,\n        \"jobIds\": \"1991,3826,3851,3935,3937\",\n        \"skills\": [\n            {\n                \"skillId\": 10897,\n                \"levelId\": 394\n            },\n            {\n                \"skillId\": 10898,\n                \"levelId\": 2\n            }\n        ],\n        \"joiningDate\": \"2024-02-24T18:30:00.000Z\",\n        \"orgUnitIds\": \"51,44\",\n        \"locationId\": 981\n    }\n]","options":{"raw":{"language":"json"}}},"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/Workers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8; x-api-version=1"},{"key":"Date","value":"Thu, 29 Feb 2024 18:58:03 GMT"},{"key":"Cache-Control","value":"private"},{"key":"Content-Encoding","value":"gzip"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Vary","value":"Accept-Encoding"},{"key":"api-supported-versions","value":"1.0"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"Workers added successfully.\",\n    \"data\": [\n        {\n            \"workerId\": \"3d297aa7-0bae-40fc-924a-0e80ad291c36\",\n            \"firstName\": \"John\",\n            \"lastName\": \"Smith\",\n            \"mobilePhoneNumber\": \"+91xxxxxxxxxx\",\n            \"companyEmployeeId\": \"Int123\",\n            \"errors\": []\n        }\n    ]\n}"},{"id":"5a875c53-01e5-4577-8b22-23f8a21ccf12","name":"Invalid Credentials","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"firstName\": \"John\",\n        \"lastName\": \"Smith\",\n        \"companyEmployeeId\": \"Int123\",\n        \"mobilePhoneNumber\": \"+9191231331231\",\n        \"workerTypeId\": 3,\n        \"jobTitle\" : \"title\",\n        \"shiftPatternId\" : 23,\n        \"jobIds\": \"1991,3826,3851,3935,3937\",\n        \"skills\": [\n            {\n                \"skillId\": 10897,\n                \"levelId\": 394\n            },\n            {\n                \"skillId\": 10898,\n                \"levelId\": 2\n            }\n        ],\n        \"joiningDate\": \"2024-02-24T18:30:00.000Z\",\n        \"orgUnitIds\": \"51,44\",\n        \"locationId\": 981\n    }\n]","options":{"raw":{"language":"json"}}},"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/Workers"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 29 Feb 2024 18:55:40 GMT"},{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"You are not authorized to perform this action!\"\n}"},{"id":"cec73953-649e-4c56-bad0-d6a819275cd4","name":"Validation Error","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"firstName\": \"John\",\n        \"lastName\": \"Smith\",\n        \"companyEmployeeId\": \"Int123\",\n        \"mobilePhoneNumber\": \"+9191231331231\",\n        \"workerTypeId\": 3,\n        \"jobTitle\" : \"title\",\n        \"shiftPatternId\" : 23,\n        \"jobIds\": \"1991,3826,3851,3935,3937\",\n        \"skills\": [\n            {\n                \"skillId\": 10897,\n                \"levelId\": 394\n            },\n            {\n                \"skillId\": 10898,\n                \"levelId\": 2\n            }\n        ],\n        \"joiningDate\": \"2024-02-24T18:30:00.000Z\",\n        \"orgUnitIds\": \"51,44\",\n        \"locationId\": 981\n    }\n]","options":{"raw":{"language":"json"}}},"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/Workers"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8; x-api-version=1"},{"key":"Date","value":"Thu, 29 Feb 2024 19:00:56 GMT"},{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"message\": \"Schema Errors.\",\n    \"data\": [\n        {\n            \"workerId\": \"\",\n            \"firstName\": \"John\",\n            \"lastName\": \"Smith\",\n            \"mobilePhoneNumber\": \"+9191231331231\",\n            \"companyEmployeeId\": \"Int123\",\n            \"errors\": [\n                \"MobilePhoneNumber is not valid\"\n            ]\n        }\n    ]\n}"},{"id":"eebb0b61-0aec-40be-8ef5-c9c71334a8e9","name":"Forbidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"firstName\": \"John\",\n        \"lastName\": \"Smith\",\n        \"companyEmployeeId\": \"Int123\",\n        \"mobilePhoneNumber\": \"+9191231331231\",\n        \"workerTypeId\": 3,\n        \"jobTitle\" : \"title\",\n        \"shiftPatternId\" : 23,\n        \"jobIds\": \"1991,3826,3851,3935,3937\",\n        \"skills\": [\n            {\n                \"skillId\": 10897,\n                \"levelId\": 394\n            },\n            {\n                \"skillId\": 10898,\n                \"levelId\": 2\n            }\n        ],\n        \"joiningDate\": \"2024-02-24T18:30:00.000Z\",\n        \"orgUnitIds\": \"51,44\",\n        \"locationId\": 981\n    }\n]","options":{"raw":{"language":"json"}}},"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/Workers"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8; x-api-version=1"},{"key":"Date","value":"Thu, 29 Feb 2024 19:00:56 GMT"},{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Access Denied! You dont have access to this resource.\",\n    \"data\": []\n}"}],"_postman_id":"3ccd9931-a2d5-4cc0-99c8-675f5a11f606"},{"name":"Update Workers","id":"c147caae-9b80-4784-b4c2-5618ffb9e769","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"id\": \"5fb91f51-142a-40a2-89f3-84fbb741f47b\",\n        \"firstName\": \"Test Sam1\",\n        \"lastName\": \"Worker1\",\n        \"companyEmployeeId\": \"testSamW1\",\n        \"mobilePhoneNumber\": \"+917702628215\",\n        \"workerTypeId\": 3,\n        \"joiningDate\": \"2024-02-24T18:30:00.000Z\",\n        \"locationId\": 2,\n        \"jobTitle\" : \"title\",\n        \"shiftPatternId\" : 23\n    }\n]","options":{"raw":{"language":"json"}}},"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/Workers","description":"<h3 id=\"update-workers-information\">Update Workers Information</h3>\n<p>This endpoint allows you to update information for workers in the specified company.</p>\n<h4 id=\"path-parameters\">Path Parameters</h4>\n<ul>\n<li><p><code>subdomain</code>: The subdomain for the Azure API.</p>\n</li>\n<li><p><code>companyId</code>: The ID of the company for which authorization is being requested.</p>\n</li>\n</ul>\n<h4 id=\"request-body\">Request Body</h4>\n<p>The request body should be an array of objects with the following parameters:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Params</strong></th>\n<th><strong>Type</strong></th>\n<th>Description</th>\n<th>Requirement</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>String</td>\n<td>Worker ID of the worker.</td>\n<td>Mandatory</td>\n</tr>\n<tr>\n<td>firstName</td>\n<td>String</td>\n<td>First Name of the worker.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>lastName</td>\n<td>String</td>\n<td>Last Name of the worker.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>companyEmployeeId</td>\n<td>String</td>\n<td>Employee ID of the worker.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>mobilePhoneNumber</td>\n<td>String. (+{countryCode}{phoneNumber} format)</td>\n<td>Mobile Phone Number of the Worker.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>workerTypeId</td>\n<td>Integer</td>\n<td>Worker Type (Full Time, Part Time and Flex) of the Worker.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>jobTitle</td>\n<td>String</td>\n<td>JobTitle of the worker.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>shiftPatternId</td>\n<td>Integer</td>\n<td>Shift Pattern ID of the Worker's Shift.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>joiningDate</td>\n<td>Date Time ( yyyy-MM-dd'T'HH:mm:ss.SSS'Z'format)</td>\n<td>Date of Joining of the Worker.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>locationId</td>\n<td>Integer</td>\n<td>Location ID of Worker's Location.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>jobIds</td>\n<td>String (Comma separated Integer values)</td>\n<td>Job IDs of the workers.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>skills</td>\n<td>Array of objects</td>\n<td>Skills of the Workers.  <br /><code>skillID</code> and <code>levelID</code> for each skill.</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>orgUnitIds</td>\n<td>String (Comma separated Integer values)</td>\n<td>Org Unit IDs of the workers.</td>\n<td>Optional</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response\">Response</h4>\n<ul>\n<li><p><code>status</code> (boolean): Indicates the status of the operation.</p>\n</li>\n<li><p><code>message</code> (string): A message related to the operation.</p>\n</li>\n<li><p><code>data</code> (array): An array containing the updated worker's information.</p>\n<ul>\n<li><p><code>workerId</code> (string): The ID of the updated worker.</p>\n</li>\n<li><p><code>errors</code> (array): An array of errors, if any, encountered during the update.</p>\n</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["int","{{companyId}}","v1","core","Workers"],"host":["{{subdomain}}","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"fba5707d-7445-4b38-8742-0fe5562d2a42","name":"Success","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"id\": \"5fb91f51-142a-40a2-89f3-84fbb741f47b\",\n        \"firstName\": \"Test Sam1\",\n        \"lastName\": \"Worker1\",\n        \"companyEmployeeId\": \"testSamW1\",\n        \"mobilePhoneNumber\": \"+917702628215\",\n        \"workerTypeId\": 3,\n        \"joiningDate\": \"2024-02-24T18:30:00.000Z\",\n        \"locationId\": 2,\n        \"jobTitle\" : \"title\",\n        \"shiftPatternId\" : 23\n    }\n]","options":{"raw":{"language":"json"}}},"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/Workers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8; x-api-version=1"},{"key":"Date","value":"Thu, 29 Feb 2024 19:17:39 GMT"},{"key":"Cache-Control","value":"private"},{"key":"Content-Encoding","value":"gzip"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Vary","value":"Accept-Encoding"},{"key":"api-supported-versions","value":"1.0"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"Workers updated successfully.\",\n    \"data\": [\n        {\n            \"workerId\": \"5fb91f51-142a-40a2-89f3-84fbb741f47b\",\n            \"errors\": []\n        }\n    ]\n}"},{"id":"9d708622-466c-4e11-82aa-e14ad016ce83","name":"Invalid Credentials","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"id\": \"5fb91f51-142a-40a2-89f3-84fbb741f47b\",\n        \"firstName\": \"Test Sam1\",\n        \"lastName\": \"Worker1\",\n        \"companyEmployeeId\": \"testSamW1\",\n        \"mobilePhoneNumber\": \"+917702628215\",\n        \"workerTypeId\": 3,\n        \"joiningDate\": \"2024-02-24T18:30:00.000Z\",\n        \"locationId\": 2,\n        \"jobTitle\": \"title\",\n        \"shiftPatternId\": 23\n    }\n]","options":{"raw":{"language":"json"}}},"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/Workers"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 29 Feb 2024 19:13:30 GMT"},{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"You are not authorized to perform this action!\"\n}"},{"id":"bbcda65f-53c5-4eac-9aae-a99be70d70db","name":"Validation Error","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"id\": \"5fb91f51-142a-40a2-89f3-84fbb741f47b\",\n        \"firstName\": \"Test Sam1\",\n        \"lastName\": \"Worker1\",\n        \"companyEmployeeId\": \"testSamW1\",\n        \"mobilePhoneNumber\": \"+917702628215\",\n        \"workerTypeId\": 3,\n        \"joiningDate\": \"2024-02-24T18:30:00.000Z\",\n        \"locationId\": 2,\n        \"jobTitle\": \"title\",\n        \"shiftPatternId\": 23\n    }\n]","options":{"raw":{"language":"json"}}},"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/Workers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8; x-api-version=1"},{"key":"Date","value":"Thu, 29 Feb 2024 19:13:57 GMT"},{"key":"Cache-Control","value":"private"},{"key":"Content-Encoding","value":"gzip"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Vary","value":"Accept-Encoding"},{"key":"api-supported-versions","value":"1.0"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"message\": \"Validation errors.\",\n    \"data\": [\n        {\n            \"workerId\": \"5fb91f51-142a-40a2-89f3-84fbb741f47b\",\n            \"errors\": [\n                \"Incorrect locationId.\"\n            ]\n        }\n    ]\n}"},{"id":"86881f9e-9da3-4c6e-99ce-f2c30d2333b9","name":"Forbidden","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"id\": \"5fb91f51-142a-40a2-89f3-84fbb741f47b\",\n        \"firstName\": \"Test Sam1\",\n        \"lastName\": \"Worker1\",\n        \"companyEmployeeId\": \"testSamW1\",\n        \"mobilePhoneNumber\": \"+917702628215\",\n        \"workerTypeId\": 3,\n        \"joiningDate\": \"2024-02-24T18:30:00.000Z\",\n        \"locationId\": 2,\n        \"jobTitle\": \"title\",\n        \"shiftPatternId\": 23\n    }\n]","options":{"raw":{"language":"json"}}},"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/Workers"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8; x-api-version=1"},{"key":"Date","value":"Thu, 29 Feb 2024 19:13:57 GMT"},{"key":"Cache-Control","value":"private"},{"key":"Content-Encoding","value":"gzip"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Vary","value":"Accept-Encoding"},{"key":"api-supported-versions","value":"1.0"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Access Denied! You dont have access to this resource.\",\n    \"data\": []\n}"}],"_postman_id":"c147caae-9b80-4784-b4c2-5618ffb9e769"},{"name":"Delete Workers","id":"959c67bb-3d82-4d1b-bda9-15928f634039","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"DELETE","header":[],"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/Workers?workerId=<workerId>","description":"<p>This endpoint sends an HTTP DELETE request to remove a worker with the specified workerId. The workerId is provided as a query parameter in the URL.</p>\n<h3 id=\"path-parameters\">Path Parameters</h3>\n<ul>\n<li><code>subdomain</code>: The subdomain for the Azure API.</li>\n<li><code>companyId</code>: The ID of the company for which authorization is being requested.</li>\n</ul>\n<h3 id=\"url-parameters\">URL Parameters</h3>\n<ul>\n<li><code>workerId</code>: The unique identifier of the worker to be deleted.</li>\n</ul>\n<h4 id=\"response-body\">Response Body</h4>\n<p>The response will contain a JSON object with the following properties:</p>\n<ul>\n<li><code>status</code> (boolean): Indicates the status of the response.</li>\n<li><code>message</code> (string): Provides a message related to the response.</li>\n<li><code>data</code>: Contains an array of objects with the details of the deleted worker, including the workerId and any associated errors.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["int","{{companyId}}","v1","core","Workers"],"host":["{{subdomain}}","azure-api","net"],"query":[{"key":"workerId","value":"<workerId>"}],"variable":[]}},"response":[{"id":"ebccde6b-bf91-477e-8329-cf2b4b124e89","name":"Success","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"id\": \"d605a0b6-d083-461d-ae83-e07d106e7ead\",\n        \"company\": \"Acme Manufacturing\",\n        \"type\": \"FlexWorker\",\n        \"typeText\": \"Flex\",\n        \"firstName\": \"Habeeb \",\n        \"middleName\": null,\n        \"lastName\": \"Ullah\",\n        \"email\": null,\n        \"mobilePhoneNumber\": \"+917702628205\",\n        \"jobIds\": \"3,11,12\",\n        \"isActive\": true,\n        \"reliabilityScore\": 9,\n        \"experienceLevel\": \"Beginner\",\n        \"skills\": [\n            {\n                \"id\": 10045,\n                \"skillId\": 1,\n                \"skillName\": \"Arc Welding\",\n                \"levelName\": \"Expert\",\n                \"levelId\": 5,\n                \"level\": 3,\n                \"levelValue\": \"E\",\n                \"levelDesc\": null,\n                \"levelRepName\": null,\n                \"levelRepCode\": null,\n                \"icon\": null\n            },\n            {\n                \"id\": 10046,\n                \"skillId\": 2,\n                \"skillName\": \"Plasma Welding\",\n                \"levelName\": \"Trainee\",\n                \"levelId\": 3,\n                \"level\": 1,\n                \"levelValue\": \"T\",\n                \"levelDesc\": null,\n                \"levelRepName\": null,\n                \"levelRepCode\": null,\n                \"icon\": null\n            },\n            {\n                \"id\": 10047,\n                \"skillId\": 8,\n                \"skillName\": \"Machine Set Up\",\n                \"levelName\": \"Certified\",\n                \"levelId\": 4,\n                \"level\": 2,\n                \"levelValue\": \"CTO\",\n                \"levelDesc\": null,\n                \"levelRepName\": null,\n                \"levelRepCode\": null,\n                \"icon\": null\n            },\n            {\n                \"id\": 10048,\n                \"skillId\": 9,\n                \"skillName\": \"Metal Finishing\",\n                \"levelName\": \"No Training\",\n                \"levelId\": 2,\n                \"level\": 0,\n                \"levelValue\": \"NT\",\n                \"levelDesc\": null,\n                \"levelRepName\": null,\n                \"levelRepCode\": null,\n                \"icon\": null\n            },\n            {\n                \"skillId\": 10,\n                \"skillName\": \"Assembly\",\n                \"level\": 2,\n                \"levelName\": \"Certified\",\n                \"levelId\": 4,\n                \"levelValue\": \"CTO\",\n                \"levelDesc\": null\n            },\n            {\n                \"skillId\": 11,\n                \"skillName\": \"Testing\",\n                \"level\": 3,\n                \"levelName\": \"Expert\",\n                \"levelId\": 5,\n                \"levelValue\": \"E\",\n                \"levelDesc\": null\n            }\n        ],\n        \"skillInterests\": [],\n        \"otherSkills\": [\n            {\n                \"skillId\": 10,\n                \"skillName\": \"Assembly\",\n                \"level\": 2,\n                \"levelName\": \"Certified\",\n                \"levelId\": 4,\n                \"levelValue\": \"CTO\",\n                \"levelDesc\": null\n            },\n            {\n                \"skillId\": 11,\n                \"skillName\": \"Testing\",\n                \"level\": 3,\n                \"levelName\": \"Expert\",\n                \"levelId\": 5,\n                \"levelValue\": \"E\",\n                \"levelDesc\": null\n            }\n        ],\n        \"workerJobs\": [\n            {\n                \"jobId\": 3,\n                \"isExpired\": false\n            },\n            {\n                \"jobId\": 11,\n                \"isExpired\": false\n            },\n            {\n                \"jobId\": 12,\n                \"isExpired\": false\n            }\n        ],\n        \"joiningDate\": \"2024-01-15T18:30:00.000Z\",\n        \"orgUnitIds\": \"35\",\n        \"rShiftIds\": \"\",\n        \"companyEmployeeId\": \"XYZ123456\",\n        \"managerId\": 5,\n        \"managerName\": \"Habeeb Tabrez\",\n        \"location\": {\n            \"id\": 1,\n            \"name\": \"Habeeb Center\",\n            \"isActive\": true\n        },\n        \"workerTypeId\": 1,\n        \"jobId\": \"3,11,12\",\n        \"updatedBy\": \"5\",\n        \"locationId\": 1\n    },\n    {\n        \"id\": \"96fb1d47-8fb5-4c7f-b8ee-ade156182ad4\",\n        \"company\": \"Acme Manufacturing\",\n        \"type\": \"FlexWorker\",\n        \"typeText\": \"Flex\",\n        \"firstName\": \"Rayees\",\n        \"middleName\": null,\n        \"lastName\": \"Saab\",\n        \"email\": null,\n        \"mobilePhoneNumber\": \"+917702628205\",\n        \"jobIds\": \"3\",\n        \"isActive\": true,\n        \"reliabilityScore\": 5,\n        \"experienceLevel\": \"Beginner\",\n        \"skills\": [],\n        \"skillInterests\": [],\n        \"otherSkills\": [],\n        \"workerJobs\": [\n            {\n                \"jobId\": 3,\n                \"isExpired\": false\n            }\n        ],\n        \"joiningDate\": \"2024-01-14T18:30:00.000Z\",\n        \"orgUnitIds\": \"33\",\n        \"rShiftIds\": \"\",\n        \"companyEmployeeId\": \"ABC456UWU\",\n        \"managerId\": 5,\n        \"managerName\": \"Habeeb Tabrez\",\n        \"location\": {\n            \"id\": 1,\n            \"name\": \"Habeeb Center\",\n            \"isActive\": true\n        },\n        \"workerTypeId\": 1,\n        \"jobId\": \"3\",\n        \"updatedBy\": \"5\",\n        \"locationId\": 1\n    }\n]","options":{"raw":{"language":"json"}}},"url":{"raw":"https://{{subdomain}}.azure-api.net/int/2/v1/core/Workers?workerId=555ebdcd-87f6-41e7-a197-9117b9923730","protocol":"https","host":["{{subdomain}}","azure-api","net"],"path":["int","2","v1","core","Workers"],"query":[{"key":"workerId","value":"555ebdcd-87f6-41e7-a197-9117b9923730"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8; x-api-version=1"},{"key":"Date","value":"Thu, 29 Feb 2024 18:28:20 GMT"},{"key":"Cache-Control","value":"private"},{"key":"Content-Encoding","value":"gzip"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Vary","value":"Accept-Encoding"},{"key":"api-supported-versions","value":"1.0"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"Worker deleted successfully.\",\n    \"data\": [\n        {\n            \"workerId\": \"555ebdcd-87f6-41e7-a197-9117b9923730\",\n            \"errors\": []\n        }\n    ]\n}"},{"id":"cd12a828-815c-48a5-9c03-87c079896e16","name":"Invalid Credentials","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"id\": \"d605a0b6-d083-461d-ae83-e07d106e7ead\",\n        \"company\": \"Acme Manufacturing\",\n        \"type\": \"FlexWorker\",\n        \"typeText\": \"Flex\",\n        \"firstName\": \"Habeeb \",\n        \"middleName\": null,\n        \"lastName\": \"Ullah\",\n        \"email\": null,\n        \"mobilePhoneNumber\": \"+917702628205\",\n        \"jobIds\": \"3,11,12\",\n        \"isActive\": true,\n        \"reliabilityScore\": 9,\n        \"experienceLevel\": \"Beginner\",\n        \"skills\": [\n            {\n                \"id\": 10045,\n                \"skillId\": 1,\n                \"skillName\": \"Arc Welding\",\n                \"levelName\": \"Expert\",\n                \"levelId\": 5,\n                \"level\": 3,\n                \"levelValue\": \"E\",\n                \"levelDesc\": null,\n                \"levelRepName\": null,\n                \"levelRepCode\": null,\n                \"icon\": null\n            },\n            {\n                \"id\": 10046,\n                \"skillId\": 2,\n                \"skillName\": \"Plasma Welding\",\n                \"levelName\": \"Trainee\",\n                \"levelId\": 3,\n                \"level\": 1,\n                \"levelValue\": \"T\",\n                \"levelDesc\": null,\n                \"levelRepName\": null,\n                \"levelRepCode\": null,\n                \"icon\": null\n            },\n            {\n                \"id\": 10047,\n                \"skillId\": 8,\n                \"skillName\": \"Machine Set Up\",\n                \"levelName\": \"Certified\",\n                \"levelId\": 4,\n                \"level\": 2,\n                \"levelValue\": \"CTO\",\n                \"levelDesc\": null,\n                \"levelRepName\": null,\n                \"levelRepCode\": null,\n                \"icon\": null\n            },\n            {\n                \"id\": 10048,\n                \"skillId\": 9,\n                \"skillName\": \"Metal Finishing\",\n                \"levelName\": \"No Training\",\n                \"levelId\": 2,\n                \"level\": 0,\n                \"levelValue\": \"NT\",\n                \"levelDesc\": null,\n                \"levelRepName\": null,\n                \"levelRepCode\": null,\n                \"icon\": null\n            },\n            {\n                \"skillId\": 10,\n                \"skillName\": \"Assembly\",\n                \"level\": 2,\n                \"levelName\": \"Certified\",\n                \"levelId\": 4,\n                \"levelValue\": \"CTO\",\n                \"levelDesc\": null\n            },\n            {\n                \"skillId\": 11,\n                \"skillName\": \"Testing\",\n                \"level\": 3,\n                \"levelName\": \"Expert\",\n                \"levelId\": 5,\n                \"levelValue\": \"E\",\n                \"levelDesc\": null\n            }\n        ],\n        \"skillInterests\": [],\n        \"otherSkills\": [\n            {\n                \"skillId\": 10,\n                \"skillName\": \"Assembly\",\n                \"level\": 2,\n                \"levelName\": \"Certified\",\n                \"levelId\": 4,\n                \"levelValue\": \"CTO\",\n                \"levelDesc\": null\n            },\n            {\n                \"skillId\": 11,\n                \"skillName\": \"Testing\",\n                \"level\": 3,\n                \"levelName\": \"Expert\",\n                \"levelId\": 5,\n                \"levelValue\": \"E\",\n                \"levelDesc\": null\n            }\n        ],\n        \"workerJobs\": [\n            {\n                \"jobId\": 3,\n                \"isExpired\": false\n            },\n            {\n                \"jobId\": 11,\n                \"isExpired\": false\n            },\n            {\n                \"jobId\": 12,\n                \"isExpired\": false\n            }\n        ],\n        \"joiningDate\": \"2024-01-15T18:30:00.000Z\",\n        \"orgUnitIds\": \"35\",\n        \"rShiftIds\": \"\",\n        \"companyEmployeeId\": \"XYZ123456\",\n        \"managerId\": 5,\n        \"managerName\": \"Habeeb Tabrez\",\n        \"location\": {\n            \"id\": 1,\n            \"name\": \"Habeeb Center\",\n            \"isActive\": true\n        },\n        \"workerTypeId\": 1,\n        \"jobId\": \"3,11,12\",\n        \"updatedBy\": \"5\",\n        \"locationId\": 1\n    },\n    {\n        \"id\": \"96fb1d47-8fb5-4c7f-b8ee-ade156182ad4\",\n        \"company\": \"Acme Manufacturing\",\n        \"type\": \"FlexWorker\",\n        \"typeText\": \"Flex\",\n        \"firstName\": \"Rayees\",\n        \"middleName\": null,\n        \"lastName\": \"Saab\",\n        \"email\": null,\n        \"mobilePhoneNumber\": \"+917702628205\",\n        \"jobIds\": \"3\",\n        \"isActive\": true,\n        \"reliabilityScore\": 5,\n        \"experienceLevel\": \"Beginner\",\n        \"skills\": [],\n        \"skillInterests\": [],\n        \"otherSkills\": [],\n        \"workerJobs\": [\n            {\n                \"jobId\": 3,\n                \"isExpired\": false\n            }\n        ],\n        \"joiningDate\": \"2024-01-14T18:30:00.000Z\",\n        \"orgUnitIds\": \"33\",\n        \"rShiftIds\": \"\",\n        \"companyEmployeeId\": \"ABC456UWU\",\n        \"managerId\": 5,\n        \"managerName\": \"Habeeb Tabrez\",\n        \"location\": {\n            \"id\": 1,\n            \"name\": \"Habeeb Center\",\n            \"isActive\": true\n        },\n        \"workerTypeId\": 1,\n        \"jobId\": \"3\",\n        \"updatedBy\": \"5\",\n        \"locationId\": 1\n    }\n]","options":{"raw":{"language":"json"}}},"url":{"raw":"https://{{subdomain}}.azure-api.net/int/2/v1/core/Workers?workerId=555ebdcd-87f6-41e7-a197-9117b9923730","protocol":"https","host":["{{subdomain}}","azure-api","net"],"path":["int","2","v1","core","Workers"],"query":[{"key":"workerId","value":"555ebdcd-87f6-41e7-a197-9117b9923730"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 29 Feb 2024 18:28:51 GMT"},{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"You are not authorized to perform this action!\"\n}"},{"id":"af69cccd-0f40-4ba1-8c39-64612eaecce3","name":"Forbidden","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"id\": \"d605a0b6-d083-461d-ae83-e07d106e7ead\",\n        \"company\": \"Acme Manufacturing\",\n        \"type\": \"FlexWorker\",\n        \"typeText\": \"Flex\",\n        \"firstName\": \"Habeeb \",\n        \"middleName\": null,\n        \"lastName\": \"Ullah\",\n        \"email\": null,\n        \"mobilePhoneNumber\": \"+917702628205\",\n        \"jobIds\": \"3,11,12\",\n        \"isActive\": true,\n        \"reliabilityScore\": 9,\n        \"experienceLevel\": \"Beginner\",\n        \"skills\": [\n            {\n                \"id\": 10045,\n                \"skillId\": 1,\n                \"skillName\": \"Arc Welding\",\n                \"levelName\": \"Expert\",\n                \"levelId\": 5,\n                \"level\": 3,\n                \"levelValue\": \"E\",\n                \"levelDesc\": null,\n                \"levelRepName\": null,\n                \"levelRepCode\": null,\n                \"icon\": null\n            },\n            {\n                \"id\": 10046,\n                \"skillId\": 2,\n                \"skillName\": \"Plasma Welding\",\n                \"levelName\": \"Trainee\",\n                \"levelId\": 3,\n                \"level\": 1,\n                \"levelValue\": \"T\",\n                \"levelDesc\": null,\n                \"levelRepName\": null,\n                \"levelRepCode\": null,\n                \"icon\": null\n            },\n            {\n                \"id\": 10047,\n                \"skillId\": 8,\n                \"skillName\": \"Machine Set Up\",\n                \"levelName\": \"Certified\",\n                \"levelId\": 4,\n                \"level\": 2,\n                \"levelValue\": \"CTO\",\n                \"levelDesc\": null,\n                \"levelRepName\": null,\n                \"levelRepCode\": null,\n                \"icon\": null\n            },\n            {\n                \"id\": 10048,\n                \"skillId\": 9,\n                \"skillName\": \"Metal Finishing\",\n                \"levelName\": \"No Training\",\n                \"levelId\": 2,\n                \"level\": 0,\n                \"levelValue\": \"NT\",\n                \"levelDesc\": null,\n                \"levelRepName\": null,\n                \"levelRepCode\": null,\n                \"icon\": null\n            },\n            {\n                \"skillId\": 10,\n                \"skillName\": \"Assembly\",\n                \"level\": 2,\n                \"levelName\": \"Certified\",\n                \"levelId\": 4,\n                \"levelValue\": \"CTO\",\n                \"levelDesc\": null\n            },\n            {\n                \"skillId\": 11,\n                \"skillName\": \"Testing\",\n                \"level\": 3,\n                \"levelName\": \"Expert\",\n                \"levelId\": 5,\n                \"levelValue\": \"E\",\n                \"levelDesc\": null\n            }\n        ],\n        \"skillInterests\": [],\n        \"otherSkills\": [\n            {\n                \"skillId\": 10,\n                \"skillName\": \"Assembly\",\n                \"level\": 2,\n                \"levelName\": \"Certified\",\n                \"levelId\": 4,\n                \"levelValue\": \"CTO\",\n                \"levelDesc\": null\n            },\n            {\n                \"skillId\": 11,\n                \"skillName\": \"Testing\",\n                \"level\": 3,\n                \"levelName\": \"Expert\",\n                \"levelId\": 5,\n                \"levelValue\": \"E\",\n                \"levelDesc\": null\n            }\n        ],\n        \"workerJobs\": [\n            {\n                \"jobId\": 3,\n                \"isExpired\": false\n            },\n            {\n                \"jobId\": 11,\n                \"isExpired\": false\n            },\n            {\n                \"jobId\": 12,\n                \"isExpired\": false\n            }\n        ],\n        \"joiningDate\": \"2024-01-15T18:30:00.000Z\",\n        \"orgUnitIds\": \"35\",\n        \"rShiftIds\": \"\",\n        \"companyEmployeeId\": \"XYZ123456\",\n        \"managerId\": 5,\n        \"managerName\": \"Habeeb Tabrez\",\n        \"location\": {\n            \"id\": 1,\n            \"name\": \"Habeeb Center\",\n            \"isActive\": true\n        },\n        \"workerTypeId\": 1,\n        \"jobId\": \"3,11,12\",\n        \"updatedBy\": \"5\",\n        \"locationId\": 1\n    },\n    {\n        \"id\": \"96fb1d47-8fb5-4c7f-b8ee-ade156182ad4\",\n        \"company\": \"Acme Manufacturing\",\n        \"type\": \"FlexWorker\",\n        \"typeText\": \"Flex\",\n        \"firstName\": \"Rayees\",\n        \"middleName\": null,\n        \"lastName\": \"Saab\",\n        \"email\": null,\n        \"mobilePhoneNumber\": \"+917702628205\",\n        \"jobIds\": \"3\",\n        \"isActive\": true,\n        \"reliabilityScore\": 5,\n        \"experienceLevel\": \"Beginner\",\n        \"skills\": [],\n        \"skillInterests\": [],\n        \"otherSkills\": [],\n        \"workerJobs\": [\n            {\n                \"jobId\": 3,\n                \"isExpired\": false\n            }\n        ],\n        \"joiningDate\": \"2024-01-14T18:30:00.000Z\",\n        \"orgUnitIds\": \"33\",\n        \"rShiftIds\": \"\",\n        \"companyEmployeeId\": \"ABC456UWU\",\n        \"managerId\": 5,\n        \"managerName\": \"Habeeb Tabrez\",\n        \"location\": {\n            \"id\": 1,\n            \"name\": \"Habeeb Center\",\n            \"isActive\": true\n        },\n        \"workerTypeId\": 1,\n        \"jobId\": \"3\",\n        \"updatedBy\": \"5\",\n        \"locationId\": 1\n    }\n]","options":{"raw":{"language":"json"}}},"url":{"raw":"https://{{subdomain}}.azure-api.net/int/2/v1/core/Workers?workerId=555ebdcd-87f6-41e7-a197-9117b9923730","protocol":"https","host":["{{subdomain}}","azure-api","net"],"path":["int","2","v1","core","Workers"],"query":[{"key":"workerId","value":"555ebdcd-87f6-41e7-a197-9117b9923730"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 29 Feb 2024 18:28:51 GMT"},{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"X-Powered-By","value":"ASP.NET"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Access Denied! You dont have access to this resource.\",\n    \"data\": []\n}"}],"_postman_id":"959c67bb-3d82-4d1b-bda9-15928f634039"}],"id":"4df001af-72d7-4abb-939c-5784ff2b2d91","description":"<p>This folder contains APIs for the comprehensive management of worker entities, enabling operations such as retrieving all workers, adding new workers, and deleting existing workers from the system.</p>\n","_postman_id":"4df001af-72d7-4abb-939c-5784ff2b2d91"},{"name":"Organizations","item":[{"name":"Fetch Locations","id":"458d288b-4009-49ff-a5e9-7d526c78fee7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"<token>"},"isInherited":false},"method":"GET","header":[],"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/locations","description":"<p>This HTTP GET request retrieves a list of locations for a specific company. The request should be made to https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/locations.</p>\n<h3 id=\"path-parameters\">Path Parameters</h3>\n<ul>\n<li><p><code>subdomain</code>: The subdomain for the Azure API.</p>\n</li>\n<li><p><code>companyId</code>: The ID of the company for which authorization is being requested.</p>\n</li>\n</ul>\n<h4 id=\"response-body\">Response Body</h4>\n<p>The response will contain a JSON object with the following properties:</p>\n<ul>\n<li><p><code>status</code> (boolean): Indicates the status of the response.</p>\n</li>\n<li><p><code>message</code> (string): Provides a message related to the response.</p>\n</li>\n<li><p><code>data</code> (array): An array of worker objects, each containing the following various properties.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["int","{{companyId}}","v1","core","locations"],"host":["{{subdomain}}","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"7d56a63e-d1be-4efe-96b6-d6e23e6e1164","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/locations"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"Data Loaded Sucessfully.\",\n    \"data\": [\n        {\n            \"id\": 2,\n            \"name\": \"PADC\",\n            \"isActive\": true,\n            \"company\": \"DevComp2\",\n            \"buildingNumber\": \"10\",\n            \"address1\": \"100 Rabbit Run Ln 2\",\n            \"address2\": null,\n            \"city\": \"Eagle\",\n            \"state\": \"PA\",\n            \"zip\": \"19480\",\n            \"county\": \"Chester\",\n            \"country\": \"USA\",\n            \"timeZone\": \"India Standard Time\",\n            \"workCenters\": [\n                {\n                    \"id\": 5,\n                    \"name\": \"Plating updated\",\n                    \"jobIds\": null\n                }\n            ]\n        },\n        {\n            \"id\": 4,\n            \"name\": \"PADC2\",\n            \"isActive\": true,\n            \"company\": \"DevComp2\",\n            \"buildingNumber\": \"11\",\n            \"address1\": \"Some address\",\n            \"address2\": null,\n            \"city\": \"Eagle\",\n            \"state\": \"PA\",\n            \"zip\": \"19481\",\n            \"county\": \"Shester\",\n            \"country\": \"Oman\",\n            \"timeZone\": \"Mountain Standard Time\",\n            \"workCenters\": [\n                {\n                    \"id\": 10,\n                    \"name\": \"Recycling -PADC2\",\n                    \"jobIds\": null\n                }\n            ]\n        }\n    ]\n}"},{"id":"77efb929-bda0-4989-8829-b907ad16d329","name":"Invalid Credentials","originalRequest":{"method":"GET","header":[],"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/locations"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"You are not authorized to perform this action!\"\n}"},{"id":"8a000111-45f8-410a-9c00-ce286d51aded","name":"Success with no records","originalRequest":{"method":"GET","header":[],"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/locations"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"No Records found.\",\n    \"data\": []\n}"},{"id":"0ef97bb1-a986-4b6a-bfcc-c1e7afda82b2","name":"Forbidden","originalRequest":{"method":"GET","header":[],"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/locations"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Access Denied! You dont have access to this resource.\",\n    \"data\": []\n}"}],"_postman_id":"458d288b-4009-49ff-a5e9-7d526c78fee7"},{"name":"Fetch Worker Types","id":"74ba5f4f-9731-4faa-bfe1-c963a08f1c34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/workerTypes","description":"<p>This HTTP GET request retrieves a list of worker types for a specific company. The request should be made to https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/workerTypes.</p>\n<h3 id=\"path-parameters\">Path Parameters</h3>\n<ul>\n<li><code>subdomain</code>: The subdomain for the Azure API.</li>\n<li><code>companyId</code>: The ID of the company for which authorization is being requested.</li>\n</ul>\n<h4 id=\"response-body\">Response Body</h4>\n<p>The response will contain a JSON object with the following properties:</p>\n<ul>\n<li><code>status</code> (boolean): Indicates the status of the response.</li>\n<li><code>message</code> (string): Provides a message related to the response.</li>\n<li><code>data</code> (array): An array of worker objects, each containing the following various properties.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["int","{{companyId}}","v1","core","workerTypes"],"host":["{{subdomain}}","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"ad8f32f7-94bd-4321-bdaf-365296fea97d","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/workerTypes"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"Data Loaded Sucessfully.\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"FullTime\",\n            \"text\": \"Full Time\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"PartTime\",\n            \"text\": \"Part Time\"\n        },\n        {\n            \"id\": 3,\n            \"name\": \"FlexWorker\",\n            \"text\": \"Flex\"\n        }\n    ]\n}"},{"id":"bce99751-97e3-4612-aefe-c977e417947f","name":"Invalid Credentials","originalRequest":{"method":"GET","header":[],"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/workerTypes"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"You are not authorized to perform this action!\"\n}"},{"id":"20410359-6d4c-47ad-bb33-7c0d11e15590","name":"Success with no records","originalRequest":{"method":"GET","header":[],"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/workerTypes"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"No Records found.\",\n    \"data\": []\n}"},{"id":"607b5335-95a7-4f9d-90a6-b8c0bc5a3512","name":"Forbidden","originalRequest":{"method":"GET","header":[],"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/workerTypes"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Access Denied! You dont have access to this resource.\",\n    \"data\": []\n}"}],"_postman_id":"74ba5f4f-9731-4faa-bfe1-c963a08f1c34"},{"name":"Fetch Supervisors","id":"bde4595d-abd0-4027-b5ea-7e4292cd59a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/supervisors","description":"<p>This HTTP GET request retrieves a list of supervisors for a specific company. The request should be made to https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/supervisors.</p>\n<h3 id=\"path-parameters\">Path Parameters</h3>\n<ul>\n<li><code>subdomain</code>: The subdomain for the Azure API.</li>\n<li><code>companyId</code>: The ID of the company for which authorization is being requested.</li>\n</ul>\n<h4 id=\"response-body\">Response Body</h4>\n<p>The response will contain a JSON object with the following properties:</p>\n<ul>\n<li><code>status</code> (boolean): Indicates the status of the response.</li>\n<li><code>message</code> (string): Provides a message related to the response.</li>\n<li><code>data</code> (array): An array of worker objects, each containing the following various properties.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["int","{{companyId}}","v1","core","supervisors"],"host":["{{subdomain}}","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"ac292508-672e-4899-bb24-7226a95efc41","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/supervisors"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"Data Loaded Sucessfully.\",\n    \"data\": [\n        {\n            \"id\": 210,\n            \"company\": null,\n            \"firstName\": \"Test\",\n            \"lastName\": \"User\",\n            \"email\": \"user@gigandtake.com\",\n            \"phoneNumber\": \"+9190000000\",\n            \"isActive\": true,\n            \"roles\": [\n                {\n                    \"id\": 5,\n                    \"name\": \"ShiftSupervisor\"\n                }\n            ],\n            \"userWorkCenters\": [\n                {\n                    \"id\": 10094,\n                    \"name\": \"workcenter1\",\n                    \"jobIds\": null,\n                    \"location\": null\n                },\n                {\n                    \"id\": 10095,\n                    \"name\": \"workcenter2\",\n                    \"jobIds\": null,\n                    \"location\": null\n                },\n                {\n                    \"id\": 10096,\n                    \"name\": \"workcenter3\",\n                    \"jobIds\": null,\n                    \"location\": null\n                }\n            ]\n        },\n        {\n            \"id\": 211,\n            \"company\": null,\n            \"firstName\": \"Rachel\",\n            \"lastName\": \"Green\",\n            \"email\": \"user2@gigandtake.com\",\n            \"phoneNumber\": \"+91910000000\",\n            \"isActive\": true,\n            \"roles\": [\n                {\n                    \"id\": 5,\n                    \"name\": \"ShiftSupervisor\"\n                }\n            ],\n            \"userWorkCenters\": [\n                {\n                    \"id\": 10094,\n                    \"name\": \"workcenter1\",\n                    \"jobIds\": null,\n                    \"location\": null\n                }\n            ]\n        }\n    ]\n}"},{"id":"927603f4-4a24-41ac-a991-5eff42883c31","name":"Invalid Credentials","originalRequest":{"method":"GET","header":[],"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/supervisors"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"You are not authorized to perform this action!\"\n}"},{"id":"05ba84e9-b7b0-4a6a-b6b6-84a6db8cdd64","name":"Success with no records","originalRequest":{"method":"GET","header":[],"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/supervisors"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"No Records found.\",\n    \"data\": []\n}"},{"id":"419ad3a7-c2f3-4aa1-9049-92a31377a4e3","name":"Forbidden","originalRequest":{"method":"GET","header":[],"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/supervisors"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Access Denied! You dont have access to this resource.\",\n    \"data\": []\n}"}],"_postman_id":"bde4595d-abd0-4027-b5ea-7e4292cd59a6"},{"name":"Fetch Jobs","id":"d11ee898-af92-451c-b536-35e7d095fa14","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/jobs","description":"<p>This HTTP GET request retrieves a list of jobs for a specific company. The request should be made to https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/jobs.</p>\n<h3 id=\"path-parameters\">Path Parameters</h3>\n<ul>\n<li><code>subdomain</code>: The subdomain for the Azure API.</li>\n<li><code>companyId</code>: The ID of the company for which authorization is being requested.</li>\n</ul>\n<h4 id=\"response-body\">Response Body</h4>\n<p>The response will contain a JSON object with the following properties:</p>\n<ul>\n<li><code>status</code> (boolean): Indicates the status of the response.</li>\n<li><code>message</code> (string): Provides a message related to the response.</li>\n<li><code>data</code> (array): An array of worker objects, each containing the following various properties.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["int","{{companyId}}","v1","core","jobs"],"host":["{{subdomain}}","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"599416e5-1595-4f14-b658-2da2dcbcc50c","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/jobs"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"Data Loaded Sucessfully.\",\n    \"data\": [\n        {\n            \"id\": 4143,\n            \"name\": \"Cleaner\",\n            \"hexColor\": \"f3f9fd\",\n            \"isActive\": true,\n            \"workCenterIds\": \"10094,10095,10096\",\n            \"skills\": [\n                {\n                    \"id\": 12363,\n                    \"jobId\": 4143,\n                    \"name\": \"Machine & Equipment Cleaning\",\n                    \"skillId\": 3708\n                },\n                {\n                    \"id\": 12362,\n                    \"jobId\": 4143,\n                    \"name\": \"Waste Management\",\n                    \"skillId\": 3709\n                }\n            ],\n            \"timeLimit\": 0\n        },\n        {\n            \"id\": 4524,\n            \"name\": \"Painter\",\n            \"hexColor\": \"fbefde\",\n            \"isActive\": true,\n            \"workCenterIds\": \"10095,10094,10096\",\n            \"skills\": [\n                {\n                    \"id\": 13508,\n                    \"jobId\": 4524,\n                    \"name\": \"Machine & Equipment Cleaning\",\n                    \"skillId\": 3708\n                }\n            ],\n            \"timeLimit\": 0\n        }\n    ]\n}"},{"id":"254f581f-6fb7-4c8f-9a77-555eabdf7034","name":"Invalid Credentials","originalRequest":{"method":"GET","header":[],"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/jobs"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"You are not authorized to perform this action!\"\n}"},{"id":"4fed5548-ebaa-4916-820f-279571028ab9","name":"Success with no records","originalRequest":{"method":"GET","header":[],"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/jobs"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"No Records found.\",\n    \"data\": []\n}"},{"id":"f0d1cbcd-4797-4d42-832e-c25d677e4d58","name":"Forbidden","originalRequest":{"method":"GET","header":[],"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/jobs"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Access Denied! You dont have access to this resource.\",\n    \"data\": []\n}"}],"_postman_id":"d11ee898-af92-451c-b536-35e7d095fa14"},{"name":"Fetch Skills","id":"49a08f56-80be-4051-ad4e-29e4a968219b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/skills","description":"<p>This HTTP GET request retrieves a list of skills for a specific company. The request should be made to https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/skills.</p>\n<h3 id=\"path-parameters\">Path Parameters</h3>\n<ul>\n<li><code>subdomain</code>: The subdomain for the Azure API.</li>\n<li><code>companyId</code>: The ID of the company for which authorization is being requested.</li>\n</ul>\n<h4 id=\"response-body\">Response Body</h4>\n<p>The response will contain a JSON object with the following properties:</p>\n<ul>\n<li><code>status</code> (boolean): Indicates the status of the response.</li>\n<li><code>message</code> (string): Provides a message related to the response.</li>\n<li><code>data</code> (array): An array of worker objects, each containing the following various properties.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["int","{{companyId}}","v1","core","skills"],"host":["{{subdomain}}","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"8c9c28ef-6fc0-40fe-a0fe-67b761c74bd7","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/skills"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"Data Loaded Sucessfully.\",\n    \"data\": [\n        {\n            \"id\": 3708,\n            \"name\": \"Machine & Equipment Cleaning\",\n            \"description\": null,\n            \"isActive\": false,\n            \"certificationIds\": null,\n            \"workerCount\": 0,\n            \"maxWorkers\": 0\n        },\n        {\n            \"id\": 3709,\n            \"name\": \"Waste Management\",\n            \"description\": null,\n            \"isActive\": false,\n            \"certificationIds\": null,\n            \"workerCount\": 0,\n            \"maxWorkers\": 0\n        }\n    ]\n}"},{"id":"078f7835-c268-4ca3-8dff-3c95642f4c6a","name":"Invalid Credentials","originalRequest":{"method":"GET","header":[],"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/skills"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"You are not authorized to perform this action!\"\n}"},{"id":"bb600cad-9d17-46a7-b955-b51c237cc0bd","name":"Success with no records","originalRequest":{"method":"GET","header":[],"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/skills"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"No Records found.\",\n    \"data\": []\n}"},{"id":"e72b2cd2-bff9-430e-ab08-2602a7e2e7d8","name":"Forbidden","originalRequest":{"method":"GET","header":[],"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/skills"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Access Denied! You dont have access to this resource.\",\n    \"data\": []\n}"}],"_postman_id":"49a08f56-80be-4051-ad4e-29e4a968219b"},{"name":"Fetch Skill Levels","id":"1b0ed9ad-7a65-448b-95c3-d70449a99ee3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/skillLevels","description":"<p>This HTTP GET request retrieves a list of skillLevels for a specific company. The request should be made to https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/skillLevels.</p>\n<h3 id=\"path-parameters\">Path Parameters</h3>\n<ul>\n<li><code>subdomain</code>: The subdomain for the Azure API.</li>\n<li><code>companyId</code>: The ID of the company for which authorization is being requested.</li>\n</ul>\n<h4 id=\"response-body\">Response Body</h4>\n<p>The response will contain a JSON object with the following properties:</p>\n<ul>\n<li><code>status</code> (boolean): Indicates the status of the response.</li>\n<li><code>message</code> (string): Provides a message related to the response.</li>\n<li><code>data</code> (array): An array of worker objects, each containing the following various properties.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["int","{{companyId}}","v1","core","skillLevels"],"host":["{{subdomain}}","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"9b12bb3b-d1f4-4eb9-b995-1994fe86c8c2","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/skillLevels"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"message\": \"Data Loaded Sucessfully.\",\n    \"data\": [\n        {\n            \"id\": 3708,\n            \"name\": \"Machine & Equipment Cleaning\",\n            \"description\": null,\n            \"isActive\": false,\n            \"certificationIds\": null,\n            \"workerCount\": 0,\n            \"maxWorkers\": 0\n        },\n        {\n            \"id\": 3709,\n            \"name\": \"Waste Management\",\n            \"description\": null,\n            \"isActive\": false,\n            \"certificationIds\": null,\n            \"workerCount\": 0,\n            \"maxWorkers\": 0\n        }\n    ]\n}"},{"id":"20daf3af-8d5d-4e07-8d2c-5659dd42d578","name":"Invalid Credentials","originalRequest":{"method":"GET","header":[],"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/skillLevels"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"You are not authorized to perform this action!\"\n}"},{"id":"0774d3ab-36f6-4516-99e4-11d10967494c","name":"Success with no records","originalRequest":{"method":"GET","header":[],"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/skillLevels"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"No Records found.\",\n    \"data\": []\n}"},{"id":"d0853138-1961-4ea4-a1c0-f3f5e4e7bd07","name":"Forbidden","originalRequest":{"method":"GET","header":[],"url":"https://{{subdomain}}.azure-api.net/int/{{companyId}}/v1/core/skillLevels"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Access Denied! You dont have access to this resource.\",\n    \"data\": []\n}"}],"_postman_id":"1b0ed9ad-7a65-448b-95c3-d70449a99ee3"}],"id":"f99cd5b0-23f8-4be4-88a6-3ba4268e6dad","description":"<p>This folder contains APIs dedicated to managing and accessing information related to organizations. It includes functionalities for creating, reading, updating, and deleting organizational profiles, managing hierarchical structures, skills and handling organization-related data such as locations, departments, and associated metadata. Ideal for integrating organizational structures into your application.</p>\n","_postman_id":"f99cd5b0-23f8-4be4-88a6-3ba4268e6dad"}]}