{"collection":{"info":{"_postman_id":"663de143-495e-4acb-a8af-f0ccb76a1a8c","name":"ULB Admin and Plant mapping Search API","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json","createdAt":"2023-12-07T07:06:03.000Z","updatedAt":"2023-12-07T07:06:56.000Z","lastUpdatedBy":"29681440","uid":"29681440-663de143-495e-4acb-a8af-f0ccb76a1a8c"},"item":[{"name":"1.Verify that data is not searched with content type other than application/json.","event":[{"listen":"test","script":{"id":"47d38e6b-b60e-48f2-81df-5357799782fa","exec":["pm.test(\"Status code is 400\", function () {","pm.response.to.have.status(400);","});"],"type":"text/javascript"}}],"id":"dd781d40-28d8-440b-b813-a22cfa890665","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-12-07T07:06:03.000Z","updatedAt":"2023-12-07T07:06:03.000Z","uid":"29681440-dd781d40-28d8-440b-b813-a22cfa890665"},{"name":"2.Verify that data is not searched  with  unauthorized access.","event":[{"listen":"prerequest","script":{"id":"a447ec07-c3bc-4f01-96f0-7b1c77936fe7","exec":["pm.test(\"Status code is 500\", function () {","pm.response.to.have.status(500);","});"],"type":"text/javascript"}}],"id":"8b442573-b365-4616-834c-bd578b3ea42a","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-12-07T07:06:03.000Z","updatedAt":"2023-12-07T07:06:03.000Z","uid":"29681440-8b442573-b365-4616-834c-bd578b3ea42a"},{"name":"3.Verify that specific tenant mapping is  searched  with valid tenantId.","event":[{"listen":"test","script":{"id":"0757d6ee-dc7d-43fb-8296-a41f720e7915","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"a043d9ad-3833-43be-9d8b-ad185ee9983f","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\": \"d14a1d30-dc2d-4676-ad51-38e0056f5d97\",\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\": [\"PLANT_OPERATOR\"]\r\n    },\r\n    \"pagination\": {\r\n        \"offset\": 0,\r\n        \"limit\": 32,\r\n        \"sortBy\":\"plantCode\",\r\n        \"sortOrder\": \"DESC\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"http://localhost:8084/pqm-service/plant/user/v1/_search","protocol":"http","host":["localhost"],"port":"8084","path":["pqm-service","plant","user","v1","_search"]}},"response":[],"createdAt":"2023-12-07T07:06:03.000Z","updatedAt":"2024-02-28T08:23:32.000Z","uid":"29681440-a043d9ad-3833-43be-9d8b-ad185ee9983f"},{"name":"4.Verify that  error message will displayed when searched with invalid tenantId.","event":[{"listen":"test","script":{"id":"d65616f2-3389-4b1b-b601-905e305a04c8","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"4156728f-82d1-46a5-9728-baa8f1fa53d6","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-12-07T07:06:03.000Z","updatedAt":"2023-12-07T09:14:56.000Z","uid":"29681440-4156728f-82d1-46a5-9728-baa8f1fa53d6"},{"name":"5.Verify error message will be displayed when searched with empty tenantID","event":[{"listen":"test","script":{"id":"385be8e4-71fa-4442-ad6d-0ee67d7afe2c","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"3069f8fa-f82d-4a5c-b10e-3de4a7021e40","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-12-07T07:06:03.000Z","updatedAt":"2023-12-07T09:15:16.000Z","uid":"29681440-3069f8fa-f82d-4a5c-b10e-3de4a7021e40"},{"name":"6.Verify that specific tenant mapping is  searched  with valid plantCode","event":[{"listen":"test","script":{"id":"b86eef2d-2dc7-4f57-87ab-e36e2c37b5d3","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"a21f8414-b2bc-4968-892c-9038e918952d","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-12-07T07:06:03.000Z","updatedAt":"2023-12-07T07:06:03.000Z","uid":"29681440-a21f8414-b2bc-4968-892c-9038e918952d"},{"name":"7.Verify that  empty list will displayed when searched with invalid plantCode","event":[{"listen":"test","script":{"id":"27203415-09b1-4d97-8124-19f7d3a61998","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"759a10d4-657e-4a19-8cc2-84739b6d1fae","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\": [\"WATERR\"],\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-12-07T07:06:03.000Z","updatedAt":"2023-12-07T07:06:03.000Z","uid":"29681440-759a10d4-657e-4a19-8cc2-84739b6d1fae"},{"name":"8.Verify all list will be displayed when searched with empty plantCode","event":[{"listen":"prerequest","script":{"id":"270a8744-91c4-42e2-8882-457b82740bbd","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"644a1a11-66d2-468e-904f-0e4f84fb3615","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"a8ff0678-eb61-4ec3-8768-8a81a5ab1833","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-12-07T07:06:03.000Z","updatedAt":"2023-12-07T07:06:03.000Z","uid":"29681440-a8ff0678-eb61-4ec3-8768-8a81a5ab1833"},{"name":"9.Verify that specific tenant mapping is  searched  with valid  plantUserUuid","event":[{"listen":"prerequest","script":{"id":"9b45ab44-fbe2-481c-ba7b-9139af25d829","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}},{"listen":"test","script":{"id":"6c191425-0ec5-4f8d-912b-26506800154b","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"f56f9be2-4ca7-4617-ba95-e8fa9a04dbc6","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\": [\"9b6786ab-8883-4444-8c68-81757e3c3a84\",\"c3606c63-e969-48b0-8fef-ae99423b6124\"]\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-07T07:06:03.000Z","updatedAt":"2023-12-07T07:06:03.000Z","uid":"29681440-f56f9be2-4ca7-4617-ba95-e8fa9a04dbc6"},{"name":"10.Verify that  empty list will displayed when searched with invalid  plantUserUuid","event":[{"listen":"test","script":{"id":"dc2c1ef6-c499-499c-9a4b-83c336290d61","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"1579d77b-065d-404f-86c8-b217c365be85","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-12-07T07:06:03.000Z","updatedAt":"2023-12-07T07:06:03.000Z","uid":"29681440-1579d77b-065d-404f-86c8-b217c365be85"},{"name":"11.Verify all list will be displayed when searched with empty  plantUserUuid","event":[{"listen":"test","script":{"id":"44110ca6-c4de-4bbe-b3b6-720efaa511d5","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"6f6ec076-7fe2-462d-a9bc-c99d7653ecb8","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-12-07T07:06:03.000Z","updatedAt":"2023-12-07T07:06:03.000Z","uid":"29681440-6f6ec076-7fe2-462d-a9bc-c99d7653ecb8"},{"name":"12.Verify empty list is displayed when searched with combination one valid platCode and invalid plantUserUuid","event":[{"listen":"test","script":{"id":"bca37c4d-79a8-4702-a0a8-9d3ac3cf75ad","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"9fe1f9cc-1e6d-4be2-aee8-c75fef51490b","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-12-07T07:06:03.000Z","updatedAt":"2023-12-07T07:06:03.000Z","uid":"29681440-9fe1f9cc-1e6d-4be2-aee8-c75fef51490b"},{"name":"13.Verify specific list is displayed when searched with combination one valid platCode and valid plantUserUuid","event":[{"listen":"test","script":{"id":"8cbfa53b-eefe-47c3-94b7-8c1e529a8933","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"3876095f-bbd6-4ed9-8692-d5ff8a2400aa","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\": [\"c3606c63-e969-48b0-8fef-ae99423b6124\"]\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-07T07:06:03.000Z","updatedAt":"2023-12-07T07:06:03.000Z","uid":"29681440-3876095f-bbd6-4ed9-8692-d5ff8a2400aa"},{"name":"14.Verify specific list is displayed when searched with pagination.","event":[{"listen":"test","script":{"id":"568ad58e-98d4-4ff6-a379-a9a3f011a64c","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"fc25ae3e-0b2f-4693-b309-8b082f0ea550","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-12-07T07:06:03.000Z","updatedAt":"2023-12-07T07:06:03.000Z","uid":"29681440-fc25ae3e-0b2f-4693-b309-8b082f0ea550"},{"name":"15.Verify data can searched with invalid pagination parameter.","event":[{"listen":"test","script":{"id":"d19bc53e-2e9f-4595-9694-78f0ce59bd7a","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"af8ef854-05f1-4bf8-9b71-2287c5d839ee","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-07T07:06:03.000Z","updatedAt":"2023-12-07T07:06:03.000Z","uid":"29681440-af8ef854-05f1-4bf8-9b71-2287c5d839ee"},{"name":"16.Verify specific data can be searched by giving sort by ascending or descending order.","event":[{"listen":"test","script":{"id":"7be97dbe-67b8-4146-bc1e-a1def0c15a1c","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"45d762da-8934-4892-914a-9e7804bd8987","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-07T07:06:03.000Z","updatedAt":"2023-12-07T09:24:58.000Z","uid":"29681440-45d762da-8934-4892-914a-9e7804bd8987"},{"name":"17.Verify Sort by can only occur with id plantCode plantOperatorUuid createdTime","event":[{"listen":"test","script":{"id":"fc153ae8-941e-484a-902b-26edf2973009","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"2baa2cb7-d3bb-471e-82ab-dd896b559c95","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\":\"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-07T07:06:03.000Z","updatedAt":"2023-12-07T09:25:51.000Z","uid":"29681440-2baa2cb7-d3bb-471e-82ab-dd896b559c95"},{"name":"18. Verify  if we pass invalid value in sort, erro should be displayed","event":[{"listen":"test","script":{"id":"32153b17-2950-43f4-944d-e120eafe0065","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"cb2ec636-5d69-4381-83ab-9f4b34e08834","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\": ,\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-07T07:06:03.000Z","updatedAt":"2023-12-07T09:26:05.000Z","uid":"29681440-cb2ec636-5d69-4381-83ab-9f4b34e08834"},{"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":"75905641-10ba-487f-af71-b5f03d389893","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"1b781f6e-b1bb-4005-84b3-2833b99adbf2","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\": \"56143029-fe80-44d4-8943-4734979a3714\",\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        \"PlantUserTypes\" : [\"ULB\"]\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-07T07:06:03.000Z","updatedAt":"2023-12-07T09:27:03.000Z","uid":"29681440-1b781f6e-b1bb-4005-84b3-2833b99adbf2"},{"name":"20.Verify that specific tenant mapping is  searched  with valid id","event":[{"listen":"test","script":{"id":"22cf0973-e839-4e1d-8a3d-ede3a5c366e0","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"bb2ffb7a-837f-46ca-bd75-c36e73c34a4c","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\": [\"b90b5dc5-14d4-44fb-9f70-fbba0401be6d\"],\r\n        \"tenantId\": \"pg.citya\",\r\n        \"plantCodes\": [],\r\n        \"plantUserUuids\": [],\r\n        \"PlantOperatorTypes\" : [\"ULB\"]\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-07T07:06:03.000Z","updatedAt":"2023-12-07T09:29:06.000Z","uid":"29681440-bb2ffb7a-837f-46ca-bd75-c36e73c34a4c"},{"name":"21.Verify that  empty list will displayed when searched with invalid id","event":[{"listen":"test","script":{"id":"1fdd59f7-bea5-474d-91d2-d5bc3c7f6845","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"01424e30-a3ab-43ff-a962-0db813dd2a3c","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        \"PlantOperatorTypes\" : [\"ULB\"]\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-07T07:06:03.000Z","updatedAt":"2023-12-07T09:29:38.000Z","uid":"29681440-01424e30-a3ab-43ff-a962-0db813dd2a3c"},{"name":"22.Verify that  empty list will displayed when searched with invalid id Copy","event":[{"listen":"test","script":{"id":"010f5288-92ba-4f8d-b0b1-c4d3ae688748","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"9d4eea3d-09eb-4731-ad5d-8ee9cab28180","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\": [\"123\"],\r\n        \"tenantId\": \"pg.citya\",\r\n        \"plantCodes\": [],\r\n        \"plantUserUuids\": [],\r\n        \"PlantOperatorTypes\" : [\"ULB\"]\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-07T07:06:03.000Z","updatedAt":"2023-12-07T09:29:58.000Z","uid":"29681440-9d4eea3d-09eb-4731-ad5d-8ee9cab28180"},{"name":"23.Verify empty list is displayed when searched with combination one id, valid platCode and invalid plantUserUuid.","event":[{"listen":"test","script":{"id":"4eb3e4ab-bab9-464a-b3e1-7f725ce5f4f1","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"c566e8d0-9fbc-4eb1-ad58-c2f17ef606be","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\": [\"b90b5dc5-14d4-44fb-9f70-fbba0401be6d\"],\r\n        \"tenantId\": \"pg.citya\",\r\n        \"plantCodes\": [\"PURI_FSTP\"],\r\n        \"plantUserUuids\": [\"123\"],\r\n        \"PlantOperatorTypes\" : [\"ULB\"]\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-07T07:06:03.000Z","updatedAt":"2023-12-07T09:31:15.000Z","uid":"29681440-c566e8d0-9fbc-4eb1-ad58-c2f17ef606be"},{"name":"24.Verify empty is displayed when searched with combination one invalid id ,platCode and valid plantUserUuid.","event":[{"listen":"test","script":{"id":"3f94ed8f-4245-45e5-89b9-29b5be539ec2","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"5a376074-dfda-474b-9286-ebf739947024","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\": [\"b90b5dc5-14d4--9f70-fbba0401be6d\"],\r\n        \"tenantId\": \"pg.citya\",\r\n        \"plantCodes\": [\"PURI_FSTP\"],\r\n        \"plantUserUuids\": [\"ee5815ed-fb8e-4d0a-81c8-64ed00623bf6\"],\r\n        \"PlantOperatorTypes\" : [\"ULB\"]\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-07T07:06:03.000Z","updatedAt":"2023-12-07T09:31:45.000Z","uid":"29681440-5a376074-dfda-474b-9286-ebf739947024"},{"name":"25.Verify specific list is displayed when searched with combination valid id ,platCode and valid plantUserUuid.","event":[{"listen":"test","script":{"id":"a812466a-d2fe-4b52-a1a0-e5a036bb51e6","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"9a744672-83df-4861-8a1b-821b4ed852f9","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\": [\"b90b5dc5-14d4-44fb-9f70-fbba0401be6d\"],\r\n        \"tenantId\": \"pg.citya\",\r\n        \"plantCodes\": [\"PURI_FSTP\"],\r\n        \"plantUserUuids\": [\"123\"],\r\n        \"PlantOperatorTypes\" : [\"ULB\"]\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-07T07:06:03.000Z","updatedAt":"2023-12-07T09:32:38.000Z","uid":"29681440-9a744672-83df-4861-8a1b-821b4ed852f9"},{"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":"56594fb5-c005-4359-8485-5f9af861f083","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"41416968-7ad9-4856-bceb-2104a3fe1d4f","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.cityb\",\r\n        \"plantCodes\": [],\r\n        \"plantUserUuids\": [],\r\n        \"PlantOperatorTypes\" : [\"ULB\"]\r\n    },\r\n    \"pagination\": {\r\n        \"offset\": 0,\r\n        \"limit\": 20,\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-07T07:06:03.000Z","updatedAt":"2023-12-07T09:33:51.000Z","uid":"29681440-41416968-7ad9-4856-bceb-2104a3fe1d4f"},{"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":"371e6c43-ab5e-4432-85ab-1ec162000c36","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"44565500-4476-49de-91b0-37d4f917741a","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-07T07:06:03.000Z","updatedAt":"2023-12-07T07:06:03.000Z","uid":"29681440-44565500-4476-49de-91b0-37d4f917741a"},{"name":"28.Verify disabled plant mapping should be searched when searched with isActive : false","event":[{"listen":"test","script":{"id":"0e8371f5-cea7-43d7-99bf-19621eee837e","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"9dccc9db-4c90-4c4d-823a-1c0e17f4b966","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        \"isActive\" :true,\r\n        \"plantUserTypes\":[\"ULB\"]\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-07T07:06:03.000Z","updatedAt":"2023-12-07T10:06:45.000Z","uid":"29681440-9dccc9db-4c90-4c4d-823a-1c0e17f4b966"},{"name":"28.Verify enabled plant mapping should be searched when searched with isActive : true","event":[{"listen":"test","script":{"id":"5751f309-46f0-4c72-be51-f29454d1dff2","exec":["pm.test(\"Status code is 200\", function () {","pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"a3f614e2-6c68-4bca-b5d1-39795a3516f8","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-07T07:06:03.000Z","updatedAt":"2023-12-07T07:06:03.000Z","uid":"29681440-a3f614e2-6c68-4bca-b5d1-39795a3516f8"}]}}