{"collection":{"info":{"_postman_id":"2e930356-0a94-4027-accc-eac7f6e09062","name":"Plant user mapping  Search API","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json","createdAt":"2023-11-24T01:57:14.000Z","updatedAt":"2024-02-13T16:49:37.000Z","lastUpdatedBy":"29681440","uid":"29681440-2e930356-0a94-4027-accc-eac7f6e09062"},"item":[{"name":"1.Verify that data is not searched with content type other than application/json.","event":[{"listen":"test","script":{"id":"b3a34d93-b4a3-4f66-b378-997fc9d45ce8","exec":["pm.test(\"Status code is 400\", function () {","pm.response.to.have.status(400);","});"],"type":"text/javascript"}}],"id":"49d4f6cc-8ff6-44c0-a4a8-a08098e28899","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"method":"POST","header":[{"key":"Content-Type","value":"jsonp","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"RequestInfo\": {\r\n        \"apiId\": \"asset-services\",\r\n        \"ver\": null,\r\n        \"ts\": null,\r\n        \"action\": null,\r\n        \"did\": null,\r\n        \"key\": null,\r\n        \"msgId\": \"search with from and to values\",\r\n        \"authToken\": \"{{access_token}}\",\r\n        \"correlationId\": null,\r\n        \"userInfo\": {\r\n            \"id\": \"1\",\r\n            \"userName\": null,\r\n            \"name\": null,\r\n            \"type\": null,\r\n            \"mobileNumber\": null,\r\n            \"emailId\": null,\r\n            \"roles\": null,\r\n            \"uuid\": \"d7867ef2-d046-4361-9a82-94c35c98416e\"\r\n        }\r\n    },\r\n    \"plantUserSearchCriteria\": {\r\n        \"ids\": [],\r\n        \"tenantId\": \"pg.citya\",\r\n        \"plantCodes\": [],\r\n        \"plantUserUuids\": []\r\n    },\r\n    \"pagination\": {\r\n        \"offset\": 0,\r\n        \"limit\": 10,\r\n        \"sortBy\":\"plantCode\",\r\n        \"sortOrder\": \"DESC\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/pqm-service/plant/user/v1/_search","host":["{{url}}"],"path":["pqm-service","plant","user","v1","_search"]}},"response":[],"createdAt":"2023-11-24T01:58:32.000Z","updatedAt":"2023-12-05T17:30:48.000Z","uid":"29681440-49d4f6cc-8ff6-44c0-a4a8-a08098e28899"},{"name":"2.Verify that data is not searched  with  unauthorized access.","event":[{"listen":"prerequest","script":{"id":"c4ebccca-99cd-4091-ae93-55ccc6318764","exec":["pm.test(\"Status code is 500\", function () {","pm.response.to.have.status(500);","});"],"type":"text/javascript"}}],"id":"8313a973-1773-4129-8271-b35cf973395e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"RequestInfo\": {\r\n        \"apiId\": \"asset-services\",\r\n        \"ver\": null,\r\n        \"ts\": null,\r\n        \"action\": null,\r\n        \"did\": null,\r\n        \"key\": null,\r\n        \"msgId\": \"search with from and to values\",\r\n        \"authToken\": \"123\",\r\n        \"correlationId\": null,\r\n        \"userInfo\": {\r\n            \"id\": \"1\",\r\n            \"userName\": null,\r\n            \"name\": null,\r\n            \"type\": null,\r\n            \"mobileNumber\": null,\r\n            \"emailId\": null,\r\n            \"roles\": null,\r\n            \"uuid\": \"d7867ef2-d046-4361-9a82-94c35c98416e\"\r\n        }\r\n    },\r\n    \"plantUserSearchCriteria\": {\r\n        \"ids\": [],\r\n        \"tenantId\": \"pg.citya\",\r\n        \"plantCodes\": [],\r\n        \"plantUserUuids\": []\r\n    },\r\n    \"pagination\": {\r\n        \"offset\": 0,\r\n        \"limit\": 10,\r\n        \"sortBy\":\"plantCode\",\r\n        \"sortOrder\": \"DESC\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/pqm-service/plant/user/v1/_search","host":["{{url}}"],"path":["pqm-service","plant","user","v1","_search"]}},"response":[],"createdAt":"2023-11-24T01:58:56.000Z","updatedAt":"2023-12-05T18:07:14.000Z","uid":"29681440-8313a973-1773-4129-8271-b35cf973395e"},{"name":"3.Verify that specific tenant mapping is  searched  with valid tenantId.","event":[{"listen":"test","script":{"id":"59bd2430-d893-4342-a4a6-e63f19dd16c2","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"0eb9bd72-4618-4cfe-9c1f-040a819554e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"RequestInfo\": {\r\n        \"apiId\": \"asset-services\",\r\n        \"ver\": null,\r\n        \"ts\": null,\r\n        \"action\": null,\r\n        \"did\": null,\r\n        \"key\": null,\r\n        \"msgId\": \"search with from and to values\",\r\n        \"authToken\": \"bc0448c1-f886-4d34-b592-e1e04776ff00\",\r\n        \"correlationId\": null,\r\n        \"userInfo\": {\r\n            \"id\": \"1\",\r\n            \"userName\": null,\r\n            \"name\": null,\r\n            \"type\": null,\r\n            \"mobileNumber\": null,\r\n            \"emailId\": null,\r\n            \"roles\": null,\r\n            \"uuid\": \"d7867ef2-d046-4361-9a82-94c35c98416e\"\r\n        }\r\n    },\r\n    \"plantUserSearchCriteria\": {\r\n        \"ids\": [],\r\n        \"tenantId\": \"pg.citya\",\r\n        \"plantCodes\": [],\r\n        \"plantUserUuids\": [\"ee5815ed-fb8e-4d0a-81c8-64ed00623bf6\"],\r\n        \"plantUserTypes\": [\"ULB\"]\r\n    },\r\n    \"pagination\": {\r\n        \"offset\": 0,\r\n        \"limit\": 10,\r\n        \"sortBy\":\"id\",\r\n        \"sortOrder\": \"DESC\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/pqm-service/plant/user/v1/_search","host":["{{url}}"],"path":["pqm-service","plant","user","v1","_search"]}},"response":[],"createdAt":"2023-11-24T01:59:09.000Z","updatedAt":"2023-12-15T13:35:02.000Z","uid":"29681440-0eb9bd72-4618-4cfe-9c1f-040a819554e9"},{"name":"4.Verify that  error message will displayed when searched with invalid tenantId.","event":[{"listen":"test","script":{"id":"884768dd-1290-4084-a5d1-cde028821e55","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"f4a9fc8f-1b66-4ccd-bdb2-2bd081791106","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"RequestInfo\": {\r\n        \"apiId\": \"asset-services\",\r\n        \"ver\": null,\r\n        \"ts\": null,\r\n        \"action\": null,\r\n        \"did\": null,\r\n        \"key\": null,\r\n        \"msgId\": \"search with from and to values\",\r\n        \"authToken\": \"{{access_token}}\",\r\n        \"correlationId\": null,\r\n        \"userInfo\": {\r\n            \"id\": \"1\",\r\n            \"userName\": null,\r\n            \"name\": null,\r\n            \"type\": null,\r\n            \"mobileNumber\": null,\r\n            \"emailId\": null,\r\n            \"roles\": null,\r\n            \"uuid\": \"d7867ef2-d046-4361-9a82-94c35c98416e\"\r\n        }\r\n    },\r\n    \"plantUserSearchCriteria\": {\r\n        \"ids\": [],\r\n        \"tenantId\": \"pg.cita\",\r\n        \"plantCodes\": [],\r\n        \"plantUserUuids\": []\r\n    },\r\n    \"pagination\": {\r\n        \"offset\": 0,\r\n        \"limit\": 10,\r\n        \"sortBy\":\"plantCode\",\r\n        \"sortOrder\": \"DESC\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/pqm-service/plant/user/v1/_search","host":["{{url}}"],"path":["pqm-service","plant","user","v1","_search"]}},"response":[],"createdAt":"2023-11-24T01:59:50.000Z","updatedAt":"2023-12-07T09:16:36.000Z","uid":"29681440-f4a9fc8f-1b66-4ccd-bdb2-2bd081791106"},{"name":"5.Verify  error message will be displayed when searched with empty tenantID","event":[{"listen":"test","script":{"id":"67f0ed16-2c5b-4511-8568-a6c9fe059541","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"b9233c0b-723e-4192-859c-b1f8bc8b3b6e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"RequestInfo\": {\r\n        \"apiId\": \"asset-services\",\r\n        \"ver\": null,\r\n        \"ts\": null,\r\n        \"action\": null,\r\n        \"did\": null,\r\n        \"key\": null,\r\n        \"msgId\": \"search with from and to values\",\r\n        \"authToken\": \"{{access_token}}\",\r\n        \"correlationId\": null,\r\n        \"userInfo\": {\r\n            \"id\": \"1\",\r\n            \"userName\": null,\r\n            \"name\": null,\r\n            \"type\": null,\r\n            \"mobileNumber\": null,\r\n            \"emailId\": null,\r\n            \"roles\": null,\r\n            \"uuid\": \"d7867ef2-d046-4361-9a82-94c35c98416e\"\r\n        }\r\n    },\r\n    \"plantUserSearchCriteria\": {\r\n        \"ids\": [],\r\n        \"tenantId\": \"\",\r\n        \"plantCodes\": [],\r\n        \"plantUserUuids\": []\r\n    },\r\n    \"pagination\": {\r\n        \"offset\": 0,\r\n        \"limit\": 10,\r\n        \"sortBy\":\"plantCode\",\r\n        \"sortOrder\": \"DESC\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/pqm-service/plant/user/v1/_search","host":["{{url}}"],"path":["pqm-service","plant","user","v1","_search"]}},"response":[],"createdAt":"2023-11-24T02:00:03.000Z","updatedAt":"2023-12-07T09:16:44.000Z","uid":"29681440-b9233c0b-723e-4192-859c-b1f8bc8b3b6e"},{"name":"6.Verify that specific tenant mapping is  searched  with valid plantCode","event":[{"listen":"test","script":{"id":"4c796a93-7cab-4d07-b67b-d47803468f94","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"00cc1c18-ae58-46c5-884b-8cdb9c4f156c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"RequestInfo\": {\r\n        \"apiId\": \"asset-services\",\r\n        \"ver\": null,\r\n        \"ts\": null,\r\n        \"action\": null,\r\n        \"did\": null,\r\n        \"key\": null,\r\n        \"msgId\": \"search with from and to values\",\r\n        \"authToken\": \"{{access_token}}\",\r\n        \"correlationId\": null,\r\n        \"userInfo\": {\r\n            \"id\": \"1\",\r\n            \"userName\": null,\r\n            \"name\": null,\r\n            \"type\": null,\r\n            \"mobileNumber\": null,\r\n            \"emailId\": null,\r\n            \"roles\": null,\r\n            \"uuid\": \"d7867ef2-d046-4361-9a82-94c35c98416e\"\r\n        }\r\n    },\r\n    \"plantUserSearchCriteria\": {\r\n        \"ids\": [],\r\n        \"tenantId\": \"pg.citya\",\r\n        \"plantCodes\": [\"ANGUL_FSTP\"],\r\n        \"plantUserUuids\": []\r\n    },\r\n    \"pagination\": {\r\n        \"offset\": 0,\r\n        \"limit\": 10,\r\n        \"sortBy\":\"plantCode\",\r\n        \"sortOrder\": \"DESC\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/pqm-service/plant/user/v1/_search","host":["{{url}}"],"path":["pqm-service","plant","user","v1","_search"]}},"response":[],"createdAt":"2023-11-24T02:00:16.000Z","updatedAt":"2023-12-05T18:09:08.000Z","uid":"29681440-00cc1c18-ae58-46c5-884b-8cdb9c4f156c"},{"name":"7.Verify that  empty list will displayed when searched with invalid plantCode","event":[{"listen":"test","script":{"id":"dbe1a840-9ed3-4d56-9786-17d7706592fe","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"23f323d4-8c6d-4428-9da7-7e2001931696","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"RequestInfo\": {\r\n        \"apiId\": \"asset-services\",\r\n        \"ver\": null,\r\n        \"ts\": null,\r\n        \"action\": null,\r\n        \"did\": null,\r\n        \"key\": null,\r\n        \"msgId\": \"search with from and to values\",\r\n        \"authToken\": \"{{access_token}}\",\r\n        \"correlationId\": null,\r\n        \"userInfo\": {\r\n            \"id\": \"1\",\r\n            \"userName\": null,\r\n            \"name\": null,\r\n            \"type\": null,\r\n            \"mobileNumber\": null,\r\n            \"emailId\": null,\r\n            \"roles\": null,\r\n            \"uuid\": \"d7867ef2-d046-4361-9a82-94c35c98416e\"\r\n        }\r\n    },\r\n    \"plantUserSearchCriteria\": {\r\n        \"ids\": [],\r\n        \"tenantId\": \"pg.citya\",\r\n        \"plantCodes\": [\"water\"],\r\n        \"plantUserUuids\": []\r\n    },\r\n    \"pagination\": {\r\n        \"offset\": 0,\r\n        \"limit\": 10,\r\n        \"sortBy\":\"plantCode\",\r\n        \"sortOrder\": \"DESC\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/pqm-service/plant/user/v1/_search","host":["{{url}}"],"path":["pqm-service","plant","user","v1","_search"]}},"response":[],"createdAt":"2023-11-24T02:00:28.000Z","updatedAt":"2023-12-07T09:18:40.000Z","uid":"29681440-23f323d4-8c6d-4428-9da7-7e2001931696"},{"name":"8.Verify all list will be displayed when searched with empty plantCode","event":[{"listen":"prerequest","script":{"id":"3fa35cff-0320-4418-bf38-62b21a0c54c1","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"bedb701f-73a0-4532-9481-6ecc3c53327c","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"1284dab2-5666-4ee0-992a-632e18f0e7d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"RequestInfo\": {\r\n        \"apiId\": \"asset-services\",\r\n        \"ver\": null,\r\n        \"ts\": null,\r\n        \"action\": null,\r\n        \"did\": null,\r\n        \"key\": null,\r\n        \"msgId\": \"search with from and to values\",\r\n        \"authToken\": \"{{access_token}}\",\r\n        \"correlationId\": null,\r\n        \"userInfo\": {\r\n            \"id\": \"1\",\r\n            \"userName\": null,\r\n            \"name\": null,\r\n            \"type\": null,\r\n            \"mobileNumber\": null,\r\n            \"emailId\": null,\r\n            \"roles\": null,\r\n            \"uuid\": \"d7867ef2-d046-4361-9a82-94c35c98416e\"\r\n        }\r\n    },\r\n    \"plantUserSearchCriteria\": {\r\n        \"ids\": [],\r\n        \"tenantId\": \"pg.citya\",\r\n        \"plantCodes\": [],\r\n        \"plantUserUuids\": []\r\n    },\r\n    \"pagination\": {\r\n        \"offset\": 0,\r\n        \"limit\": 10,\r\n        \"sortBy\":\"plantCode\",\r\n        \"sortOrder\": \"DESC\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/pqm-service/plant/user/v1/_search","host":["{{url}}"],"path":["pqm-service","plant","user","v1","_search"]}},"response":[],"createdAt":"2023-11-24T02:00:42.000Z","updatedAt":"2023-12-05T17:31:30.000Z","uid":"29681440-1284dab2-5666-4ee0-992a-632e18f0e7d1"},{"name":"9.Verify that specific tenant mapping is  searched  with valid  plantUserUuid","event":[{"listen":"prerequest","script":{"id":"3fa35cff-0320-4418-bf38-62b21a0c54c1","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}},{"listen":"test","script":{"id":"187ac8e7-69d6-427d-8a73-da807f36e564","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"36cbb577-005a-4b37-ba8f-0581ee763a70","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"RequestInfo\": {\r\n        \"apiId\": \"asset-services\",\r\n        \"ver\": null,\r\n        \"ts\": null,\r\n        \"action\": null,\r\n        \"did\": null,\r\n        \"key\": null,\r\n        \"msgId\": \"search with from and to values\",\r\n        \"authToken\": \"{{access_token}}\",\r\n        \"correlationId\": null,\r\n        \"userInfo\": {\r\n            \"id\": \"1\",\r\n            \"userName\": null,\r\n            \"name\": null,\r\n            \"type\": null,\r\n            \"mobileNumber\": null,\r\n            \"emailId\": null,\r\n            \"roles\": null,\r\n            \"uuid\": \"d7867ef2-d046-4361-9a82-94c35c98416e\"\r\n        }\r\n    },\r\n    \"plantUserSearchCriteria\": {\r\n        \"ids\": [],\r\n        \"tenantId\": \"pg.citya\",\r\n        \"plantCodes\": [],\r\n        \"plantUserUuids\": [\"ee5815ed-fb8e-4d0a-81c8-64ed00623bf6\",\"aac6d49c-9392-4ecd-b324-47e4e7a0f804\"]\r\n    },\r\n    \"pagination\": {\r\n        \"offset\": 0,\r\n        \"limit\": 10,\r\n        \"sortBy\":\"plantCode\",\r\n        \"sortOrder\": \"DESC\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/pqm-service/plant/user/v1/_search","host":["{{url}}"],"path":["pqm-service","plant","user","v1","_search"]}},"response":[],"createdAt":"2023-11-24T02:16:58.000Z","updatedAt":"2023-12-07T09:19:57.000Z","uid":"29681440-36cbb577-005a-4b37-ba8f-0581ee763a70"},{"name":"10.Verify that  empty list will displayed when searched with invalid  plantUserUuid","event":[{"listen":"test","script":{"id":"f4fd4592-75fd-4587-8094-df7eb8841898","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"967b8dcb-5711-4445-af7b-52ab8d65bc3b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"RequestInfo\": {\r\n        \"apiId\": \"asset-services\",\r\n        \"ver\": null,\r\n        \"ts\": null,\r\n        \"action\": null,\r\n        \"did\": null,\r\n        \"key\": null,\r\n        \"msgId\": \"search with from and to values\",\r\n        \"authToken\": \"{{access_token}}\",\r\n        \"correlationId\": null,\r\n        \"userInfo\": {\r\n            \"id\": \"1\",\r\n            \"userName\": null,\r\n            \"name\": null,\r\n            \"type\": null,\r\n            \"mobileNumber\": null,\r\n            \"emailId\": null,\r\n            \"roles\": null,\r\n            \"uuid\": \"d7867ef2-d046-4361-9a82-94c35c98416e\"\r\n        }\r\n    },\r\n    \"plantUserSearchCriteria\": {\r\n        \"ids\": [],\r\n        \"tenantId\": \"pg.citya\",\r\n        \"plantCodes\": [],\r\n        \"plantUserUuids\": [\"ABC\"]\r\n    },\r\n    \"pagination\": {\r\n        \"offset\": 0,\r\n        \"limit\": 10,\r\n        \"sortBy\":\"plantCode\",\r\n        \"sortOrder\": \"DESC\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/pqm-service/plant/user/v1/_search","host":["{{url}}"],"path":["pqm-service","plant","user","v1","_search"]}},"response":[],"createdAt":"2023-11-24T02:00:58.000Z","updatedAt":"2023-12-05T18:12:19.000Z","uid":"29681440-967b8dcb-5711-4445-af7b-52ab8d65bc3b"},{"name":"11.Verify all list will be displayed when searched with empty  plantUserUuid","event":[{"listen":"test","script":{"id":"a1b7f22a-f069-4113-a715-931b50e1df05","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"f893ec20-e9db-4e67-b49e-a33a589ecdd3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"RequestInfo\": {\r\n        \"apiId\": \"asset-services\",\r\n        \"ver\": null,\r\n        \"ts\": null,\r\n        \"action\": null,\r\n        \"did\": null,\r\n        \"key\": null,\r\n        \"msgId\": \"search with from and to values\",\r\n        \"authToken\": \"{{access_token}}\",\r\n        \"correlationId\": null,\r\n        \"userInfo\": {\r\n            \"id\": \"1\",\r\n            \"userName\": null,\r\n            \"name\": null,\r\n            \"type\": null,\r\n            \"mobileNumber\": null,\r\n            \"emailId\": null,\r\n            \"roles\": null,\r\n            \"uuid\": \"d7867ef2-d046-4361-9a82-94c35c98416e\"\r\n        }\r\n    },\r\n    \"plantUserSearchCriteria\": {\r\n        \"ids\": [],\r\n        \"tenantId\": \"pg.citya\",\r\n        \"plantCodes\": [],\r\n        \"plantUserUuids\": []\r\n    },\r\n    \"pagination\": {\r\n        \"offset\": 0,\r\n        \"limit\": 10,\r\n        \"sortBy\":\"plantCode\",\r\n        \"sortOrder\": \"DESC\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/pqm-service/plant/user/v1/_search","host":["{{url}}"],"path":["pqm-service","plant","user","v1","_search"]}},"response":[],"createdAt":"2023-11-24T02:01:23.000Z","updatedAt":"2023-12-05T18:11:01.000Z","uid":"29681440-f893ec20-e9db-4e67-b49e-a33a589ecdd3"},{"name":"12.Verify empty list is displayed when searched with combination one valid platCode and invalid plantUserUuid","event":[{"listen":"test","script":{"id":"f94fd395-eb48-40e6-8cc9-dc8641df6ec0","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"eac8fee4-7270-43e1-85eb-860212b753cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"RequestInfo\": {\r\n        \"apiId\": \"asset-services\",\r\n        \"ver\": null,\r\n        \"ts\": null,\r\n        \"action\": null,\r\n        \"did\": null,\r\n        \"key\": null,\r\n        \"msgId\": \"search with from and to values\",\r\n        \"authToken\": \"{{access_token}}\",\r\n        \"correlationId\": null,\r\n        \"userInfo\": {\r\n            \"id\": \"1\",\r\n            \"userName\": null,\r\n            \"name\": null,\r\n            \"type\": null,\r\n            \"mobileNumber\": null,\r\n            \"emailId\": null,\r\n            \"roles\": null,\r\n            \"uuid\": \"d7867ef2-d046-4361-9a82-94c35c98416e\"\r\n        }\r\n    },\r\n    \"plantUserSearchCriteria\": {\r\n        \"ids\": [],\r\n        \"tenantId\": \"pg.citya\",\r\n        \"plantCodes\": [\"PURI_FSTP\"],\r\n        \"plantUserUuids\": [\"123\"]\r\n    },\r\n    \"pagination\": {\r\n        \"offset\": 0,\r\n        \"limit\": 10,\r\n        \"sortBy\":\"plantCode\",\r\n        \"sortOrder\": \"DESC\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/pqm-service/plant/user/v1/_search","host":["{{url}}"],"path":["pqm-service","plant","user","v1","_search"]}},"response":[],"createdAt":"2023-11-24T02:01:35.000Z","updatedAt":"2023-12-05T18:12:56.000Z","uid":"29681440-eac8fee4-7270-43e1-85eb-860212b753cc"},{"name":"13.Verify specific list is displayed when searched with combination one valid platCode and valid plantUserUuid","event":[{"listen":"test","script":{"id":"a383c5bb-f446-43c9-b625-82cc38df8c3d","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"f4b6cd66-c53b-402d-b171-f333fb882f1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"RequestInfo\": {\r\n        \"apiId\": \"asset-services\",\r\n        \"ver\": null,\r\n        \"ts\": null,\r\n        \"action\": null,\r\n        \"did\": null,\r\n        \"key\": null,\r\n        \"msgId\": \"search with from and to values\",\r\n        \"authToken\": \"{{access_token}}\",\r\n        \"correlationId\": null,\r\n        \"userInfo\": {\r\n            \"id\": \"1\",\r\n            \"userName\": null,\r\n            \"name\": null,\r\n            \"type\": null,\r\n            \"mobileNumber\": null,\r\n            \"emailId\": null,\r\n            \"roles\": null,\r\n            \"uuid\": \"d7867ef2-d046-4361-9a82-94c35c98416e\"\r\n        }\r\n    },\r\n    \"plantUserSearchCriteria\": {\r\n        \"ids\": [],\r\n        \"tenantId\": \"pg.citya\",\r\n        \"plantCodes\": [\"BIHU_FSTP\"],\r\n        \"plantUserUuids\": [\"ee5815ed-fb8e-4d0a-81c8-64ed00623bf6\"]\r\n    },\r\n    \"pagination\": {\r\n        \"offset\": 0,\r\n        \"limit\": 10,\r\n        \"sortBy\":\"plantCode\",\r\n        \"sortOrder\": \"DESC\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/pqm-service/plant/user/v1/_search","host":["{{url}}"],"path":["pqm-service","plant","user","v1","_search"]}},"response":[],"createdAt":"2023-11-24T02:01:47.000Z","updatedAt":"2023-12-07T09:22:26.000Z","uid":"29681440-f4b6cd66-c53b-402d-b171-f333fb882f1b"},{"name":"14.Verify specific list is displayed when searched with pagination.","event":[{"listen":"test","script":{"id":"8d5b899c-536b-4e92-8596-05f60b325f52","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"dcecfc17-f9fc-4991-9380-bc17a7418c77","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"RequestInfo\": {\r\n        \"apiId\": \"asset-services\",\r\n        \"ver\": null,\r\n        \"ts\": null,\r\n        \"action\": null,\r\n        \"did\": null,\r\n        \"key\": null,\r\n        \"msgId\": \"search with from and to values\",\r\n        \"authToken\": \"{{access_token}}\",\r\n        \"correlationId\": null,\r\n        \"userInfo\": {\r\n            \"id\": \"1\",\r\n            \"userName\": null,\r\n            \"name\": null,\r\n            \"type\": null,\r\n            \"mobileNumber\": null,\r\n            \"emailId\": null,\r\n            \"roles\": null,\r\n            \"uuid\": \"d7867ef2-d046-4361-9a82-94c35c98416e\"\r\n        }\r\n    },\r\n    \"plantUserSearchCriteria\": {\r\n        \"ids\": [],\r\n        \"tenantId\": \"pg.citya\",\r\n        \"plantCodes\": [],\r\n        \"plantUserUuids\": []\r\n    },\r\n    \"pagination\": {\r\n        \"offset\": 0,\r\n        \"limit\": 10,\r\n        \"sortBy\":\"id\",\r\n        \"sortOrder\": \"ASC\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/pqm-service/plant/user/v1/_search","host":["{{url}}"],"path":["pqm-service","plant","user","v1","_search"]}},"response":[],"createdAt":"2023-11-24T02:01:57.000Z","updatedAt":"2023-12-07T07:01:26.000Z","uid":"29681440-dcecfc17-f9fc-4991-9380-bc17a7418c77"},{"name":"15.Verify data cannot searched with invalid pagination parameter.","event":[{"listen":"test","script":{"id":"8d5b899c-536b-4e92-8596-05f60b325f52","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"becf479d-ad48-4066-9a2b-9a229329691a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"RequestInfo\": {\r\n        \"apiId\": \"asset-services\",\r\n        \"ver\": null,\r\n        \"ts\": null,\r\n        \"action\": null,\r\n        \"did\": null,\r\n        \"key\": null,\r\n        \"msgId\": \"search with from and to values\",\r\n        \"authToken\": \"{{access_token}}\",\r\n        \"correlationId\": null,\r\n        \"userInfo\": {\r\n            \"id\": \"1\",\r\n            \"userName\": null,\r\n            \"name\": null,\r\n            \"type\": null,\r\n            \"mobileNumber\": null,\r\n            \"emailId\": null,\r\n            \"roles\": null,\r\n            \"uuid\": \"d7867ef2-d046-4361-9a82-94c35c98416e\"\r\n        }\r\n    },\r\n    \"plantUserSearchCriteria\": {\r\n        \"ids\": [],\r\n        \"tenantId\": \"pg.citya\",\r\n        \"plantCodes\": [],\r\n        \"plantUserUuids\": []\r\n    },\r\n    \"pagination\": {\r\n        \"offset\": \"a\",\r\n        \"limit\": 10,\r\n        \"sortBy\":\"plantCode\",\r\n        \"sortOrder\": \"DESC\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/pqm-service/plant/user/v1/_search","host":["{{url}}"],"path":["pqm-service","plant","user","v1","_search"]}},"response":[],"createdAt":"2023-12-05T19:01:35.000Z","updatedAt":"2023-12-07T09:22:56.000Z","uid":"29681440-becf479d-ad48-4066-9a2b-9a229329691a"},{"name":"16.Verify specific data can be searched by giving sort by ascending or descending order.","event":[{"listen":"test","script":{"id":"8d5b899c-536b-4e92-8596-05f60b325f52","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"daf4a8e1-86b7-4b24-ae57-3bbe482e3bed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"RequestInfo\": {\r\n        \"apiId\": \"asset-services\",\r\n        \"ver\": null,\r\n        \"ts\": null,\r\n        \"action\": null,\r\n        \"did\": null,\r\n        \"key\": null,\r\n        \"msgId\": \"search with from and to values\",\r\n        \"authToken\": \"{{access_token}}\",\r\n        \"correlationId\": null,\r\n        \"userInfo\": {\r\n            \"id\": \"1\",\r\n            \"userName\": null,\r\n            \"name\": null,\r\n            \"type\": null,\r\n            \"mobileNumber\": null,\r\n            \"emailId\": null,\r\n            \"roles\": null,\r\n            \"uuid\": \"d7867ef2-d046-4361-9a82-94c35c98416e\"\r\n        }\r\n    },\r\n    \"plantUserSearchCriteria\": {\r\n        \"ids\": [],\r\n        \"tenantId\": \"pg.citya\",\r\n        \"plantCodes\": [],\r\n        \"plantUserUuids\": [],\r\n        \"PlantUserTypes\" :[\"ULB\"]\r\n    },\r\n    \"pagination\": {\r\n        \"offset\": 0,\r\n        \"limit\": 10,\r\n        \"sortBy\":\"plantCode\",\r\n        \"sortOrder\": \"DESC\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/pqm-service/plant/user/v1/_search","host":["{{url}}"],"path":["pqm-service","plant","user","v1","_search"]}},"response":[],"createdAt":"2023-12-05T19:10:06.000Z","updatedAt":"2023-12-07T09:24:06.000Z","uid":"29681440-daf4a8e1-86b7-4b24-ae57-3bbe482e3bed"},{"name":"17.Verify Sort by can only occur with id plantCode plantOperatorUuid createdTime","event":[{"listen":"test","script":{"id":"8d5b899c-536b-4e92-8596-05f60b325f52","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"97829303-51b7-4aaf-9d47-0ad1ef109f26","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"RequestInfo\": {\r\n        \"apiId\": \"asset-services\",\r\n        \"ver\": null,\r\n        \"ts\": null,\r\n        \"action\": null,\r\n        \"did\": null,\r\n        \"key\": null,\r\n        \"msgId\": \"search with from and to values\",\r\n        \"authToken\": \"{{access_token}}\",\r\n        \"correlationId\": null,\r\n        \"userInfo\": {\r\n            \"id\": \"1\",\r\n            \"userName\": null,\r\n            \"name\": null,\r\n            \"type\": null,\r\n            \"mobileNumber\": null,\r\n            \"emailId\": null,\r\n            \"roles\": null,\r\n            \"uuid\": \"d7867ef2-d046-4361-9a82-94c35c98416e\"\r\n        }\r\n    },\r\n    \"plantUserSearchCriteria\": {\r\n        \"ids\": [],\r\n        \"tenantId\": \"pg.citya\",\r\n        \"plantCodes\": [],\r\n        \"plantUserUuids\": []\r\n    },\r\n    \"pagination\": {\r\n        \"offset\": 0,\r\n        \"limit\": 10,\r\n        \"sortBy\":\"plantUserUuid\",\r\n        \"sortOrder\": \"ASC\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/pqm-service/plant/user/v1/_search","host":["{{url}}"],"path":["pqm-service","plant","user","v1","_search"]}},"response":[],"createdAt":"2023-12-05T19:10:31.000Z","updatedAt":"2023-12-06T12:30:36.000Z","uid":"29681440-97829303-51b7-4aaf-9d47-0ad1ef109f26"},{"name":"18. Verify  if we pass invalid value in sort, erro should be displayed","event":[{"listen":"test","script":{"id":"8d5b899c-536b-4e92-8596-05f60b325f52","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"e8aed6dc-a0fc-4890-9740-a3211120c958","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"RequestInfo\": {\r\n        \"apiId\": \"asset-services\",\r\n        \"ver\": null,\r\n        \"ts\": null,\r\n        \"action\": null,\r\n        \"did\": null,\r\n        \"key\": null,\r\n        \"msgId\": \"search with from and to values\",\r\n        \"authToken\": \"{{access_token}}\",\r\n        \"correlationId\": null,\r\n        \"userInfo\": {\r\n            \"id\": \"1\",\r\n            \"userName\": null,\r\n            \"name\": null,\r\n            \"type\": null,\r\n            \"mobileNumber\": null,\r\n            \"emailId\": null,\r\n            \"roles\": null,\r\n            \"uuid\": \"d7867ef2-d046-4361-9a82-94c35c98416e\"\r\n        }\r\n    },\r\n    \"plantUserSearchCriteria\": {\r\n        \"ids\": [],\r\n        \"tenantId\": \"pg.citya\",\r\n        \"plantCodes\": [],\r\n        \"plantUserUuids\": []\r\n    },\r\n    \"pagination\": {\r\n        \"offset\": \"a\",\r\n        \"limit\": 10,\r\n        \"sortBy\":\"createdTime\",\r\n        \"sortOrder\": \"ASC\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/pqm-service/plant/user/v1/_search","host":["{{url}}"],"path":["pqm-service","plant","user","v1","_search"]}},"response":[],"createdAt":"2023-12-05T19:16:57.000Z","updatedAt":"2023-12-05T19:18:20.000Z","uid":"29681440-e8aed6dc-a0fc-4890-9740-a3211120c958"},{"name":"19.Verify with tenant id \"pg\", ULB of pg tenant id is able to see all tests of all cities","event":[{"listen":"test","script":{"id":"8d5b899c-536b-4e92-8596-05f60b325f52","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"f7b89ea1-8a5d-4514-adea-998f95008b25","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"RequestInfo\": {\r\n        \"apiId\": \"asset-services\",\r\n        \"ver\": null,\r\n        \"ts\": null,\r\n        \"action\": null,\r\n        \"did\": null,\r\n        \"key\": null,\r\n        \"msgId\": \"search with from and to values\",\r\n        \"authToken\": \"1aaff4ad-ff58-4417-ae20-89c82722845a\",\r\n        \"correlationId\": null,\r\n        \"userInfo\": {\r\n            \"id\": \"1\",\r\n            \"userName\": null,\r\n            \"name\": null,\r\n            \"type\": null,\r\n            \"mobileNumber\": null,\r\n            \"emailId\": null,\r\n            \"roles\": null,\r\n            \"uuid\": \"d7867ef2-d046-4361-9a82-94c35c98416e\"\r\n        }\r\n    },\r\n    \"plantUserSearchCriteria\": {\r\n        \"ids\": [],\r\n        \"tenantId\": \"pg\",\r\n        \"plantCodes\": [],\r\n        \"plantUserUuids\": []\r\n    },\r\n    \"pagination\": {\r\n        \"offset\": 0,\r\n        \"limit\": 10,\r\n        \"sortBy\":\"createdTime\",\r\n        \"sortOrder\": \"ASC\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/pqm-service/plant/user/v1/_search","host":["{{url}}"],"path":["pqm-service","plant","user","v1","_search"]}},"response":[],"createdAt":"2023-12-05T19:18:56.000Z","updatedAt":"2023-12-05T19:20:05.000Z","uid":"29681440-f7b89ea1-8a5d-4514-adea-998f95008b25"},{"name":"20.Verify that specific tenant mapping is  searched  with valid id","event":[{"listen":"test","script":{"id":"8d5b899c-536b-4e92-8596-05f60b325f52","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"bcc182f1-616f-41ff-b3c2-d2cf2b2191b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"RequestInfo\": {\r\n        \"apiId\": \"asset-services\",\r\n        \"ver\": null,\r\n        \"ts\": null,\r\n        \"action\": null,\r\n        \"did\": null,\r\n        \"key\": null,\r\n        \"msgId\": \"search with from and to values\",\r\n        \"authToken\": \"1aaff4ad-ff58-4417-ae20-89c82722845a\",\r\n        \"correlationId\": null,\r\n        \"userInfo\": {\r\n            \"id\": \"1\",\r\n            \"userName\": null,\r\n            \"name\": null,\r\n            \"type\": null,\r\n            \"mobileNumber\": null,\r\n            \"emailId\": null,\r\n            \"roles\": null,\r\n            \"uuid\": \"d7867ef2-d046-4361-9a82-94c35c98416e\"\r\n        }\r\n    },\r\n    \"plantUserSearchCriteria\": {\r\n        \"ids\": [\"f143d207-0370-4da9-80b4-4d79dd3d7293\",\"c302ec6e-351b-4c76-b2c5-9a6f23316d31\"],\r\n        \"tenantId\": \"pg\",\r\n        \"plantCodes\": [],\r\n        \"plantUserUuids\": []\r\n    },\r\n    \"pagination\": {\r\n        \"offset\": 0,\r\n        \"limit\": 10,\r\n        \"sortBy\":\"createdTime\",\r\n        \"sortOrder\": \"ASC\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/pqm-service/plant/user/v1/_search","host":["{{url}}"],"path":["pqm-service","plant","user","v1","_search"]}},"response":[],"createdAt":"2023-12-05T19:27:10.000Z","updatedAt":"2023-12-05T19:28:29.000Z","uid":"29681440-bcc182f1-616f-41ff-b3c2-d2cf2b2191b0"},{"name":"21.Verify that  empty list will displayed when searched with invalid id","event":[{"listen":"test","script":{"id":"8d5b899c-536b-4e92-8596-05f60b325f52","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"ff732a0c-5e6e-4538-a7a5-1cc7f83b9b45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"RequestInfo\": {\r\n        \"apiId\": \"asset-services\",\r\n        \"ver\": null,\r\n        \"ts\": null,\r\n        \"action\": null,\r\n        \"did\": null,\r\n        \"key\": null,\r\n        \"msgId\": \"search with from and to values\",\r\n        \"authToken\": \"1aaff4ad-ff58-4417-ae20-89c82722845a\",\r\n        \"correlationId\": null,\r\n        \"userInfo\": {\r\n            \"id\": \"1\",\r\n            \"userName\": null,\r\n            \"name\": null,\r\n            \"type\": null,\r\n            \"mobileNumber\": null,\r\n            \"emailId\": null,\r\n            \"roles\": null,\r\n            \"uuid\": \"d7867ef2-d046-4361-9a82-94c35c98416e\"\r\n        }\r\n    },\r\n    \"plantUserSearchCriteria\": {\r\n        \"ids\": [\"f143d207-0d3d7293\",\"c302ec6e-351b-4c16d31\"],\r\n        \"tenantId\": \"pg\",\r\n        \"plantCodes\": [],\r\n        \"plantUserUuids\": []\r\n    },\r\n    \"pagination\": {\r\n        \"offset\": 0,\r\n        \"limit\": 10,\r\n        \"sortBy\":\"createdTime\",\r\n        \"sortOrder\": \"ASC\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/pqm-service/plant/user/v1/_search","host":["{{url}}"],"path":["pqm-service","plant","user","v1","_search"]}},"response":[],"createdAt":"2023-12-05T19:28:32.000Z","updatedAt":"2023-12-05T19:28:57.000Z","uid":"29681440-ff732a0c-5e6e-4538-a7a5-1cc7f83b9b45"},{"name":"22.Verify that  empty list will displayed when searched with invalid id Copy","event":[{"listen":"test","script":{"id":"8d5b899c-536b-4e92-8596-05f60b325f52","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"128377ac-4a1c-4d02-87b4-80aea17db248","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"RequestInfo\": {\r\n        \"apiId\": \"asset-services\",\r\n        \"ver\": null,\r\n        \"ts\": null,\r\n        \"action\": null,\r\n        \"did\": null,\r\n        \"key\": null,\r\n        \"msgId\": \"search with from and to values\",\r\n        \"authToken\": \"1aaff4ad-ff58-4417-ae20-89c82722845a\",\r\n        \"correlationId\": null,\r\n        \"userInfo\": {\r\n            \"id\": \"1\",\r\n            \"userName\": null,\r\n            \"name\": null,\r\n            \"type\": null,\r\n            \"mobileNumber\": null,\r\n            \"emailId\": null,\r\n            \"roles\": null,\r\n            \"uuid\": \"d7867ef2-d046-4361-9a82-94c35c98416e\"\r\n        }\r\n    },\r\n    \"plantUserSearchCriteria\": {\r\n        \"ids\": [\"f143d207-0d3d7293\",\"c302ec6e-351b-4c16d31\"],\r\n        \"tenantId\": \"pg\",\r\n        \"plantCodes\": [],\r\n        \"plantUserUuids\": []\r\n    },\r\n    \"pagination\": {\r\n        \"offset\": 0,\r\n        \"limit\": 10,\r\n        \"sortBy\":\"createdTime\",\r\n        \"sortOrder\": \"ASC\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/pqm-service/plant/user/v1/_search","host":["{{url}}"],"path":["pqm-service","plant","user","v1","_search"]}},"response":[],"createdAt":"2023-12-05T19:29:00.000Z","updatedAt":"2023-12-05T19:29:17.000Z","uid":"29681440-128377ac-4a1c-4d02-87b4-80aea17db248"},{"name":"23.Verify empty list is displayed when searched with combination one id, valid platCode and invalid plantUserUuid.","event":[{"listen":"test","script":{"id":"8d5b899c-536b-4e92-8596-05f60b325f52","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"42128bb1-bab6-47fe-a3f5-99ea7a0732d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"RequestInfo\": {\r\n        \"apiId\": \"asset-services\",\r\n        \"ver\": null,\r\n        \"ts\": null,\r\n        \"action\": null,\r\n        \"did\": null,\r\n        \"key\": null,\r\n        \"msgId\": \"search with from and to values\",\r\n        \"authToken\": \"1aaff4ad-ff58-4417-ae20-89c82722845a\",\r\n        \"correlationId\": null,\r\n        \"userInfo\": {\r\n            \"id\": \"1\",\r\n            \"userName\": null,\r\n            \"name\": null,\r\n            \"type\": null,\r\n            \"mobileNumber\": null,\r\n            \"emailId\": null,\r\n            \"roles\": null,\r\n            \"uuid\": \"d7867ef2-d046-4361-9a82-94c35c98416e\"\r\n        }\r\n    },\r\n    \"plantUserSearchCriteria\": {\r\n        \"ids\": [\"f3477d67-fea8-408d-9fa9-f6c2b5b50ec7\"],\r\n        \"tenantId\": \"pg\",\r\n        \"plantCodes\": [\"PURI_FSTP\"],\r\n        \"plantUserUuids\": [\"123\"]\r\n    },\r\n    \"pagination\": {\r\n        \"offset\": 0,\r\n        \"limit\": 10,\r\n        \"sortBy\":\"createdTime\",\r\n        \"sortOrder\": \"ASC\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/pqm-service/plant/user/v1/_search","host":["{{url}}"],"path":["pqm-service","plant","user","v1","_search"]}},"response":[],"createdAt":"2023-12-05T19:29:10.000Z","updatedAt":"2023-12-05T19:35:00.000Z","uid":"29681440-42128bb1-bab6-47fe-a3f5-99ea7a0732d0"},{"name":"24.Verify empty is displayed when searched with combination one invalid id ,platCode and valid plantUserUuid.","event":[{"listen":"test","script":{"id":"8d5b899c-536b-4e92-8596-05f60b325f52","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"ef660bb6-cfd5-4ca1-b7f3-cc2e90838999","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"RequestInfo\": {\r\n        \"apiId\": \"asset-services\",\r\n        \"ver\": null,\r\n        \"ts\": null,\r\n        \"action\": null,\r\n        \"did\": null,\r\n        \"key\": null,\r\n        \"msgId\": \"search with from and to values\",\r\n        \"authToken\": \"1aaff4ad-ff58-4417-ae20-89c82722845a\",\r\n        \"correlationId\": null,\r\n        \"userInfo\": {\r\n            \"id\": \"1\",\r\n            \"userName\": null,\r\n            \"name\": null,\r\n            \"type\": null,\r\n            \"mobileNumber\": null,\r\n            \"emailId\": null,\r\n            \"roles\": null,\r\n            \"uuid\": \"d7867ef2-d046-4361-9a82-94c35c98416e\"\r\n        }\r\n    },\r\n    \"plantUserSearchCriteria\": {\r\n        \"ids\": [\"f3477d67-fea8-408d9fa9-f6c2b5b50ec7\"],\r\n        \"tenantId\": \"pg\",\r\n        \"plantCodes\": [\"PURI_FSTP\"],\r\n        \"plantUserUuids\": [\"eb7670c9-3505-4947-aa1b-7088dcb4c3cb\"]\r\n    },\r\n    \"pagination\": {\r\n        \"offset\": 0,\r\n        \"limit\": 10,\r\n        \"sortBy\":\"createdTime\",\r\n        \"sortOrder\": \"ASC\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/pqm-service/plant/user/v1/_search","host":["{{url}}"],"path":["pqm-service","plant","user","v1","_search"]}},"response":[],"createdAt":"2023-12-05T19:35:03.000Z","updatedAt":"2023-12-05T19:36:36.000Z","uid":"29681440-ef660bb6-cfd5-4ca1-b7f3-cc2e90838999"},{"name":"25.Verify specific list is displayed when searched with combination valid id ,platCode and valid plantUserUuid.","event":[{"listen":"test","script":{"id":"8d5b899c-536b-4e92-8596-05f60b325f52","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"e4ae6553-946f-4498-871d-f7b24ca761f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"RequestInfo\": {\r\n        \"apiId\": \"asset-services\",\r\n        \"ver\": null,\r\n        \"ts\": null,\r\n        \"action\": null,\r\n        \"did\": null,\r\n        \"key\": null,\r\n        \"msgId\": \"search with from and to values\",\r\n        \"authToken\": \"1aaff4ad-ff58-4417-ae20-89c82722845a\",\r\n        \"correlationId\": null,\r\n        \"userInfo\": {\r\n            \"id\": \"1\",\r\n            \"userName\": null,\r\n            \"name\": null,\r\n            \"type\": null,\r\n            \"mobileNumber\": null,\r\n            \"emailId\": null,\r\n            \"roles\": null,\r\n            \"uuid\": \"d7867ef2-d046-4361-9a82-94c35c98416e\"\r\n        }\r\n    },\r\n    \"plantUserSearchCriteria\": {\r\n        \"ids\": [\"f3477d67-fea8-408d-9fa9-f6c2b5b50ec7\"],\r\n        \"tenantId\": \"pg\",\r\n        \"plantCodes\": [\"PURI_FSTP\"],\r\n        \"plantUserUuids\": [\"eb7670c9-3505-4947-aa1b-7088dcb4c3cb\"]\r\n    },\r\n    \"pagination\": {\r\n        \"offset\": 0,\r\n        \"limit\": 10,\r\n        \"sortBy\":\"createdTime\",\r\n        \"sortOrder\": \"ASC\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/pqm-service/plant/user/v1/_search","host":["{{url}}"],"path":["pqm-service","plant","user","v1","_search"]}},"response":[],"createdAt":"2023-12-05T19:36:40.000Z","updatedAt":"2023-12-05T19:37:39.000Z","uid":"29681440-e4ae6553-946f-4498-871d-f7b24ca761f7"},{"name":"26.  Verify ULB Admin of city a should only be able to see plantcodes mapped under city a tenant id","event":[{"listen":"test","script":{"id":"8d5b899c-536b-4e92-8596-05f60b325f52","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"c651a390-3806-4200-8ab1-4331ad960d53","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"RequestInfo\": {\r\n        \"apiId\": \"asset-services\",\r\n        \"ver\": null,\r\n        \"ts\": null,\r\n        \"action\": null,\r\n        \"did\": null,\r\n        \"key\": null,\r\n        \"msgId\": \"search with from and to values\",\r\n        \"authToken\": \"1aaff4ad-ff58-4417-ae20-89c82722845a\",\r\n        \"correlationId\": null,\r\n        \"userInfo\": {\r\n            \"id\": \"1\",\r\n            \"userName\": null,\r\n            \"name\": null,\r\n            \"type\": null,\r\n            \"mobileNumber\": null,\r\n            \"emailId\": null,\r\n            \"roles\": null,\r\n            \"uuid\": \"d7867ef2-d046-4361-9a82-94c35c98416e\"\r\n        }\r\n    },\r\n    \"plantUserSearchCriteria\": {\r\n        \"ids\": [],\r\n        \"tenantId\": \"pg.citya\",\r\n        \"plantCodes\": [],\r\n        \"plantUserUuids\": []\r\n    },\r\n    \"pagination\": {\r\n        \"offset\": 0,\r\n        \"limit\": 10,\r\n        \"sortBy\":\"createdTime\",\r\n        \"sortOrder\": \"ASC\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/pqm-service/plant/user/v1/_search","host":["{{url}}"],"path":["pqm-service","plant","user","v1","_search"]}},"response":[],"createdAt":"2023-12-06T09:10:57.000Z","updatedAt":"2023-12-06T09:12:07.000Z","uid":"29681440-c651a390-3806-4200-8ab1-4331ad960d53"},{"name":"27.  Verify ULB Admin of city a should only be able to see plantcodes mapped under city b tenant id","event":[{"listen":"test","script":{"id":"8d5b899c-536b-4e92-8596-05f60b325f52","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"c27d920f-b90e-4689-8db0-4fef6cd9bb68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"RequestInfo\": {\r\n        \"apiId\": \"asset-services\",\r\n        \"ver\": null,\r\n        \"ts\": null,\r\n        \"action\": null,\r\n        \"did\": null,\r\n        \"key\": null,\r\n        \"msgId\": \"search with from and to values\",\r\n        \"authToken\": \"1aaff4ad-ff58-4417-ae20-89c82722845a\",\r\n        \"correlationId\": null,\r\n        \"userInfo\": {\r\n            \"id\": \"1\",\r\n            \"userName\": null,\r\n            \"name\": null,\r\n            \"type\": null,\r\n            \"mobileNumber\": null,\r\n            \"emailId\": null,\r\n            \"roles\": null,\r\n            \"uuid\": \"d7867ef2-d046-4361-9a82-94c35c98416e\"\r\n        }\r\n    },\r\n    \"plantUserSearchCriteria\": {\r\n        \"ids\": [],\r\n        \"tenantId\": \"pg.cityb\",\r\n        \"plantCodes\": [],\r\n        \"plantUserUuids\": []\r\n    },\r\n    \"pagination\": {\r\n        \"offset\": 0,\r\n        \"limit\": 10,\r\n        \"sortBy\":\"createdTime\",\r\n        \"sortOrder\": \"ASC\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/pqm-service/plant/user/v1/_search","host":["{{url}}"],"path":["pqm-service","plant","user","v1","_search"]}},"response":[],"createdAt":"2023-12-06T09:12:10.000Z","updatedAt":"2023-12-06T12:55:26.000Z","uid":"29681440-c27d920f-b90e-4689-8db0-4fef6cd9bb68"},{"name":"28.Verify disabled plant mapping should be searched when searched with isActive : false","event":[{"listen":"test","script":{"id":"8d5b899c-536b-4e92-8596-05f60b325f52","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"9b1c62df-dc7e-400c-90ae-9be1f7794188","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"RequestInfo\": {\r\n        \"apiId\": \"asset-services\",\r\n        \"ver\": null,\r\n        \"ts\": null,\r\n        \"action\": null,\r\n        \"did\": null,\r\n        \"key\": null,\r\n        \"msgId\": \"search with from and to values\",\r\n        \"authToken\": \"1aaff4ad-ff58-4417-ae20-89c82722845a\",\r\n        \"correlationId\": null,\r\n        \"userInfo\": {\r\n            \"id\": \"1\",\r\n            \"userName\": null,\r\n            \"name\": null,\r\n            \"type\": null,\r\n            \"mobileNumber\": null,\r\n            \"emailId\": null,\r\n            \"roles\": null,\r\n            \"uuid\": \"d7867ef2-d046-4361-9a82-94c35c98416e\"\r\n        }\r\n    },\r\n    \"plantUserSearchCriteria\": {\r\n        \"ids\": [],\r\n        \"tenantId\": \"pg.citya\",\r\n        \"plantCodes\": [],\r\n        \"plantUserUuids\": [],\r\n        \"isActive\" :false\r\n    },\r\n    \"pagination\": {\r\n        \"offset\": 0,\r\n        \"limit\": 10,\r\n        \"sortBy\":\"createdTime\",\r\n        \"sortOrder\": \"ASC\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/pqm-service/plant/user/v1/_search","host":["{{url}}"],"path":["pqm-service","plant","user","v1","_search"]}},"response":[],"createdAt":"2023-12-06T13:59:42.000Z","updatedAt":"2023-12-07T07:01:46.000Z","uid":"29681440-9b1c62df-dc7e-400c-90ae-9be1f7794188"},{"name":"28.Verify enabled plant mapping should be searched when searched with isActive : true","event":[{"listen":"test","script":{"id":"8d5b899c-536b-4e92-8596-05f60b325f52","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"41eb8534-c243-4e26-b962-78b1b6fe97a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"RequestInfo\": {\r\n        \"apiId\": \"asset-services\",\r\n        \"ver\": null,\r\n        \"ts\": null,\r\n        \"action\": null,\r\n        \"did\": null,\r\n        \"key\": null,\r\n        \"msgId\": \"search with from and to values\",\r\n        \"authToken\": \"1aaff4ad-ff58-4417-ae20-89c82722845a\",\r\n        \"correlationId\": null,\r\n        \"userInfo\": {\r\n            \"id\": \"1\",\r\n            \"userName\": null,\r\n            \"name\": null,\r\n            \"type\": null,\r\n            \"mobileNumber\": null,\r\n            \"emailId\": null,\r\n            \"roles\": null,\r\n            \"uuid\": \"d7867ef2-d046-4361-9a82-94c35c98416e\"\r\n        }\r\n    },\r\n    \"plantUserSearchCriteria\": {\r\n        \"ids\": [],\r\n        \"tenantId\": \"pg.citya\",\r\n        \"plantCodes\": [],\r\n        \"plantUserUuids\": [],\r\n        \"isActive\" :true\r\n    },\r\n    \"pagination\": {\r\n        \"offset\": 0,\r\n        \"limit\": 10,\r\n        \"sortBy\":\"createdTime\",\r\n        \"sortOrder\": \"ASC\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/pqm-service/plant/user/v1/_search","host":["{{url}}"],"path":["pqm-service","plant","user","v1","_search"]}},"response":[],"createdAt":"2023-12-06T14:01:04.000Z","updatedAt":"2023-12-06T14:01:34.000Z","uid":"29681440-41eb8534-c243-4e26-b962-78b1b6fe97a3"}]}}