From ad20c9d73bccc6166a32485bc6344b795cf3ea21 Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Tue, 1 Oct 2024 05:52:36 -0600 Subject: [PATCH 01/47] adding postman collection json --- ...QL Requests Public.postman_collection.json | 4548 +++++++++++++++++ .../postman/generic.public_upload.json | 309 ++ 2 files changed, 4857 insertions(+) create mode 100644 collections/postman/GraphQL Requests Public.postman_collection.json create mode 100644 collections/postman/generic.public_upload.json diff --git a/collections/postman/GraphQL Requests Public.postman_collection.json b/collections/postman/GraphQL Requests Public.postman_collection.json new file mode 100644 index 0000000..e567c36 --- /dev/null +++ b/collections/postman/GraphQL Requests Public.postman_collection.json @@ -0,0 +1,4548 @@ +{ + "info": { + "_postman_id": "282210fa-8de8-48fe-b965-aa6071a1c507", + "name": "GraphQL Requests", + "description": "Communicate with Supply Chain Work Management applications using a set of parameterized requests designed to help you create, edit, view, and submit different types of incidents and business requests.", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "_exporter_id": "37528820", + "_collection_link": "https://tracelink-1.postman.co/workspace/Opus-automation~06848056-7fc9-4be9-8fb4-18f7c8831284/collection/37528820-282210fa-8de8-48fe-b965-aa6071a1c507?action=share&source=collection_link&creator=37528820" + }, + "item": [ + { + "name": "incident", + "item": [ + { + "name": "AddIncident", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var jsonData = JSON.parse(responseBody);", + "var mResult = JSON.parse(jsonData.data.genericActionCall.result);", + "pm.environment.set(\"incident_id\", mResult.id);", + "pm.environment.set(\"apt_incident_id\", mResult.aptBusinessObjectId);" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation AddIncident($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Addincident\",\n\"payload\":{\n \"aptBusinessObjectSummary\": \"GraphQL flow test run\",\n \"aptBusinessObjectDescription\":\"Adding an incident programmatically from postman using graphQL\",\n \"businessPriority\":\"MEDIUM\",\n \"incidentType\":\"LABEL_COMPLIANCE_ERROR\",\n \"resolutionDueDate\":\"1736613281000\", // 11 Jan 2025\n \"responsiblePartyAtParner\":{}\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "EditIncident", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation EditIncident($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Editincident\",\n\"payload\":{\n \"id\":\"{{incident_id}}\",\n \"aptBusinessObjectDescription\":\"Editing an incident programmatically using graphQL via postman\",\n \"businessPriority\":\"LOW\",\n \"responsiblePartyAtParner\":{}\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "ReadIncident", + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "query readIncident($type: String!, $id: String!)\n{\n genericGetObject(type:$type, id: $id)\n {\n ... on ALL_RETURNS {\n ... on Incident {\n id\n currentBaseState\n currentSubState\n data {\n aptBusinessObjectId\n aptBusinessObjectSummary\n aptBusinessObjectDescription\n responsibleDepartmentAtCompany\n responsibleDepartmentAtPartner\n incidentType\n businessPriority\n resolutionDueDate\n incidentConclusion {\n dateClosed\n finalRootCause\n resolutionType\n isReoccuring\n closingStatement\n __typename\n }\n referenceIdentifiers {\n value\n referenceTransactionType\n __typename\n }\n dateSubmitted\n createdByPartner\n __typename\n }\n aptBusinessObjectContainsComment{\n to {\n ... on AptComment{\n id\n data{\n commentText\n visibilityType\n }\n }\n }\n }\n issueRelatedToImpactedProductDetail {\n to {\n ... on ProductMasterData {\n id\n data {\n productItemInformation {\n productName\n packSize\n strength\n dosageForm\n productLanguageCode\n isLightSensitive\n __typename\n }\n packagingInformation {\n packagingCode {\n packagingCodeType\n packagingCodeValue\n __typename\n }\n __typename\n }\n regulatoryItemCodes {\n regulatoryItemCode{\n regulatoryItemCodeType\n regulatoryItemCodeValue\n __typename\n }\n __typename\n }\n packagingInformationAndRegulatoryItemCodesDerivedField\n __typename\n }\n __typename\n }\n __typename\n }\n impactedLots\n __typename\n }\n aptBusinessObjectBelongsToProcessNetwork {\n to {\n ... on ProcessNetwork {\n id\n __typename\n }\n __typename\n }\n __typename\n }\n aptBusinessObjectCompanyAssignedUser {\n to {\n ... on User {\n ...userName\n __typename\n }\n __typename\n }\n __typename\n }\n aptBusinessObjectPartnerAssignedUser {\n to {\n ... on User {\n ...userName\n __typename\n }\n __typename\n }\n __typename\n }\n aptBusinessObjectCompanyOwnerUser {\n to {\n ... on User {\n ...userName\n __typename\n }\n __typename\n }\n __typename\n }\n aptBusinessObjectPartnerOwnerUser {\n to {\n ... on User {\n ...userName\n __typename\n }\n __typename\n }\n __typename\n }\n aptBusinessObjectAssignedToCompanyPartnerMasterData {\n to {\n ... on PartnerLocationMasterData {\n id\n data {\n businessMasterDataCommon {\n businessName\n businessAddress {\n address1\n address2\n city\n district\n village\n houseNumber\n township\n state\n postalCode\n country\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n ... on PartnerMasterData {\n id\n data {\n businessMasterDataCommon {\n businessName\n businessAddress {\n address1\n address2\n city\n district\n village\n houseNumber\n township\n state\n postalCode\n country\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n ... on CompanyLocationMasterData {\n id\n data {\n businessMasterDataCommon {\n businessName\n businessAddress {\n address1\n address2\n city\n district\n village\n houseNumber\n township\n state\n postalCode\n country\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n ... on CompanyMasterData{\n id\n data {\n businessMasterDataCommon {\n businessName\n businessAddress {\n address1\n address2\n city\n district\n village\n houseNumber\n township\n state\n postalCode\n country\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n aptBusinessObjectPrimaryPartnerLocationMasterData {\n to {\n ... on PartnerLocationMasterData {\n id\n data {\n businessMasterDataCommon {\n businessName\n businessAddress {\n address1\n address2\n city\n district\n village\n houseNumber\n township\n state\n postalCode\n country\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n } \n}\nfragment userName on User {\n id\n data {\n givenName\n surname\n __typename\n }\n __typename\n} ", + "variables": "{\n \"type\":\"Incident\",\n \"id\":\"{{incident_id}}\"\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "AddIncidentComment", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var jsonData = JSON.parse(responseBody);", + "var mResult = JSON.parse(jsonData.data.genericActionCall.result);", + "pm.environment.set(\"incident_comment_id\", mResult.id);" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation AddIncidentComments($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Addcommentforincident\",\n\"payload\":{\n \"processId\":\"{{incident_id}}\",\n \"processType\":\"incident\",\n \"aptCommentBox\":{\n \"aptComment\":{\n \"commentText\": \"Adding a test comment using Postman and GraphQL.\",\n \"visibilityType\": \"Public\"\n }\n }\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "ListIncidentComments", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "query ListIncidentComments($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Listcommentsforincident\",\n\"payload\":{\n \"id\":\"{{incident_id}}\",\n \"processType\":\"incident\"\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "GetActivityHistoryForIncident", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "query GetActivityHistoryForIncident($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Getactivityhistoryforincident\",\n\"payload\":{\n \"processId\":\"{{incident_id}}\",\n \"processType\":\"incident\"\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + } + ] + }, + { + "name": "Direct Supplier Incident", + "item": [ + { + "name": "AddDsIncident", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var jsonData = JSON.parse(responseBody);", + "var mResult = JSON.parse(jsonData.data.genericActionCall.result);", + "pm.environment.set(\"direct_supplier_incident_id\", mResult.id);", + "pm.environment.set(\"apt_direct_supplier_incident_id\", mResult.aptBusinessObjectId);" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation AddDSIncident($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Adddirectsupplierincident\",\n\"payload\":{\n \"aptBusinessObjectSummary\": \"GraphQL Postman DS Incident test run\",\n \"aptBusinessObjectDescription\":\"Adding an incident programmatically using graphQL via Postman\",\n \"directSupplierImpact\":{\n \"businessPriority\":\"MEDIUM\"\n },\n \"resolutionDueDate\":1736613281000 // 11 Jan 2025\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "EditDsIncident", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation EditDSIncident($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Editdirectsupplierincident\",\n\"payload\":{\n \"id\":\"{{direct_supplier_incident_id}}\",\n \"aptBusinessObjectDescription\":\"Editing an incident programmatically using graphQL via Postman\",\n \"businessPriority\":\"LOW\",\n \"responsiblePartyAtParner\":{}\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "ReadDsIncident", + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "query readDSIncident($type: String!, $id: String!)\n{\n genericGetObject(type:$type, id: $id)\n {\n ... on ALL_RETURNS {\n ... on DirectSupplierIncident {\n id\n currentBaseState\n currentSubState\n data {\n aptBusinessObjectId\n aptBusinessObjectSummary\n aptBusinessObjectDescription\n responsibleDepartmentAtCompany\n responsibleDepartmentAtPartner\n incidentType\n resolutionDueDate\n directSupplierImpact{\n businessPriority\n }\n referenceIdentifiers {\n value\n referenceTransactionType\n __typename\n }\n dateSubmitted\n createdByPartner\n __typename\n }\n aptBusinessObjectBelongsToProcessNetwork {\n to {\n ... on ProcessNetwork {\n id\n __typename\n }\n __typename\n }\n __typename\n }\n aptBusinessObjectCompanyAssignedUser {\n to {\n ... on User {\n ...userName\n __typename\n }\n __typename\n }\n __typename\n }\n aptBusinessObjectPartnerAssignedUser {\n to {\n ... on User {\n ...userName\n __typename\n }\n __typename\n }\n __typename\n }\n aptBusinessObjectCompanyOwnerUser {\n to {\n ... on User {\n ...userName\n __typename\n }\n __typename\n }\n __typename\n }\n aptBusinessObjectPartnerOwnerUser {\n to {\n ... on User {\n ...userName\n __typename\n }\n __typename\n }\n __typename\n }\n aptBusinessObjectAssignedToCompanyPartnerMasterData {\n to {\n ... on PartnerLocationMasterData {\n id\n data {\n businessMasterDataCommon {\n businessName\n businessAddress {\n address1\n address2\n city\n district\n village\n houseNumber\n township\n state\n postalCode\n country\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n ... on PartnerMasterData {\n id\n data {\n businessMasterDataCommon {\n businessName\n businessAddress {\n address1\n address2\n city\n district\n village\n houseNumber\n township\n state\n postalCode\n country\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n ... on CompanyLocationMasterData {\n id\n data {\n businessMasterDataCommon {\n businessName\n businessAddress {\n address1\n address2\n city\n district\n village\n houseNumber\n township\n state\n postalCode\n country\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n ... on CompanyMasterData{\n id\n data {\n businessMasterDataCommon {\n businessName\n businessAddress {\n address1\n address2\n city\n district\n village\n houseNumber\n township\n state\n postalCode\n country\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n aptBusinessObjectPrimaryPartnerLocationMasterData {\n to {\n ... on PartnerLocationMasterData {\n id\n data {\n businessMasterDataCommon {\n businessName\n businessAddress {\n address1\n address2\n city\n district\n village\n houseNumber\n township\n state\n postalCode\n country\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n } \n}\nfragment userName on User {\n id\n data {\n givenName\n surname\n __typename\n }\n __typename\n} ", + "variables": "{\n \"type\":\"DirectSupplierIncident\",\n \"id\":\"{{direct_supplier_incident_id}}\"\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "AddDsIncidentComment", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var jsonData = JSON.parse(responseBody);", + "var mResult = JSON.parse(jsonData.data.genericActionCall.result);", + "pm.environment.set(\"direct_supplier_incident_comment_id\", mResult.id);" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation AddDSIncidentComments($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Addcommentforincident\",\n\"payload\":{\n \"processId\":\"{{direct_supplier_incident_id}}\",\n \"processType\":\"directSupplierIncident\",\n \"aptCommentBox\":{\n \"aptComment\":{\n \"commentText\": \"Adding a test comment using Postman and GraphQL.\",\n \"visibilityType\": \"Public\"\n }\n }\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "ListDsIncidentComments", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "query ListDSIncidentComments($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Listcommentsforincident\",\n\"payload\":{\n \"id\":\"{{direct_supplier_incident_id}}\",\n \"processType\":\"directSupplierIncident\"\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "GetActivityHistoryForDsIncident", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "query GetActivityHistoryForDSIncident($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Getactivityhistoryforincident\",\n\"payload\":{\n \"processId\":\"{{direct_supplier_incident_id}}\",\n \"processType\":\"directSupplierIncident\"\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + } + ] + }, + { + "name": "External Manufacturing Incident", + "item": [ + { + "name": "AddXMfgIncident", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var jsonData = JSON.parse(responseBody);", + "var mResult = JSON.parse(jsonData.data.genericActionCall.result);", + "pm.environment.set(\"external_manufacturing_incident_id\", mResult.id);", + "pm.environment.set(\"apt_external_manufacturing_incident_id\", mResult.aptBusinessObjectId);" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation AddXMFGIncident($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Addexternalmanufacturingincident\",\n\"payload\":{\n \"aptBusinessObjectSummary\": \"GraphQL Postman test run\",\n \"aptBusinessObjectDescription\":\"Adding an incident programmatically from postman using graphQL\",\n \"externalManufacturingImpact\":{\n \"businessPriority\":\"MEDIUM\"\n },\n \"resolutionDueDate\":1736613281000 // 11 Jan 2025\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "EditXMfgIncident", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation EditXMFGIncident($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Editexternalmanufacturingincident\",\n\"payload\":{\n \"id\":\"{{external_manufacturing_incident_id}}\",\n \"aptBusinessObjectDescription\":\"Editing an external manufacturing incident programmatically using graphQL via postman\",\n \"businessPriority\":\"LOW\",\n \"responsiblePartyAtParner\":{}\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "ReadXMfgIncident", + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "query readXMFGIncident($type: String!, $id: String!)\n{\n genericGetObject(type:$type, id: $id)\n {\n ... on ALL_RETURNS {\n ... on ExternalManufacturingIncident {\n id\n currentBaseState\n currentSubState\n data {\n aptBusinessObjectId\n aptBusinessObjectSummary\n aptBusinessObjectDescription\n responsibleDepartmentAtCompany\n responsibleDepartmentAtPartner\n incidentType\n resolutionDueDate\n externalManufacturingImpact{\n businessImpact\n businessPriority\n }\n referenceIdentifiers {\n value\n referenceTransactionType\n __typename\n }\n dateSubmitted\n createdByPartner\n __typename\n }\n aptBusinessObjectBelongsToProcessNetwork {\n to {\n ... on ProcessNetwork {\n id\n __typename\n }\n __typename\n }\n __typename\n }\n aptBusinessObjectCompanyAssignedUser {\n to {\n ... on User {\n ...userName\n __typename\n }\n __typename\n }\n __typename\n }\n aptBusinessObjectPartnerAssignedUser {\n to {\n ... on User {\n ...userName\n __typename\n }\n __typename\n }\n __typename\n }\n aptBusinessObjectCompanyOwnerUser {\n to {\n ... on User {\n ...userName\n __typename\n }\n __typename\n }\n __typename\n }\n aptBusinessObjectPartnerOwnerUser {\n to {\n ... on User {\n ...userName\n __typename\n }\n __typename\n }\n __typename\n }\n aptBusinessObjectAssignedToCompanyPartnerMasterData {\n to {\n ... on PartnerLocationMasterData {\n id\n data {\n businessMasterDataCommon {\n businessName\n businessAddress {\n address1\n address2\n city\n district\n village\n houseNumber\n township\n state\n postalCode\n country\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n ... on PartnerMasterData {\n id\n data {\n businessMasterDataCommon {\n businessName\n businessAddress {\n address1\n address2\n city\n district\n village\n houseNumber\n township\n state\n postalCode\n country\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n ... on CompanyLocationMasterData {\n id\n data {\n businessMasterDataCommon {\n businessName\n businessAddress {\n address1\n address2\n city\n district\n village\n houseNumber\n township\n state\n postalCode\n country\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n ... on CompanyMasterData{\n id\n data {\n businessMasterDataCommon {\n businessName\n businessAddress {\n address1\n address2\n city\n district\n village\n houseNumber\n township\n state\n postalCode\n country\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n aptBusinessObjectPrimaryPartnerLocationMasterData {\n to {\n ... on PartnerLocationMasterData {\n id\n data {\n businessMasterDataCommon {\n businessName\n businessAddress {\n address1\n address2\n city\n district\n village\n houseNumber\n township\n state\n postalCode\n country\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n } \n}\nfragment userName on User {\n id\n data {\n givenName\n surname\n __typename\n }\n __typename\n} ", + "variables": "{\n \"type\":\"ExternalManufacturingIncident\",\n \"id\":\"{{external_manufacturing_incident_id}}\"\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "AddXMfgIncidentComment", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var jsonData = JSON.parse(responseBody);", + "var mResult = JSON.parse(jsonData.data.genericActionCall.result);", + "pm.environment.set(\"external_manufacturing_incident_comment_id\", mResult.id);" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation AddXMFGIncidentComments($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Addcommentforincident\",\n\"payload\":{\n \"processId\":\"{{external_manufacturing_incident_id}}\",\n \"processType\":\"externalManufacturingIncident\",\n \"aptCommentBox\":{\n \"aptComment\":{\n \"commentText\": \"Adding a test comment using Postman and GraphQL\",\n \"visibilityType\": \"Public\"\n }\n }\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "ListXMfgIncidentComments", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "query ListXMFGIncidentComments($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Listcommentsforincident\",\n\"payload\":{\n \"id\":\"{{external_manufacturing_incident_id}}\",\n \"processType\":\"externalManufacturingIncident\"\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "GetActivityHistoryForXMfgIncident", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "query GetActivityHistoryForXMFGIncident($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Getactivityhistoryforincident\",\n\"payload\":{\n \"processId\":\"{{external_manufacturing_incident_id}}\",\n \"processType\":\"externalManufacturingIncident\"\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + } + ] + }, + { + "name": "Compliance Exception Incident", + "item": [ + { + "name": "AddCEIncident", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var jsonData = JSON.parse(responseBody);", + "var mResult = JSON.parse(jsonData.data.genericActionCall.result)", + "// pm.environment.set(\"payload_data\", jsonData.data);", + "pm.environment.set(\"compliance_exception_incident_id\", mResult.id);", + "pm.environment.set(\"apt_compliance_exeption_id\", mResult.aptBusinessObjectId);" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation AddComplianceException($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Addcomplianceexception\",\n\"payload\":{\n \"aptBusinessObjectSummary\": \"GraphQL test run\",\n \"aptBusinessObjectDescription\":\"Adding a compliance exception incident programmatically from postman using graphQL walkthrough demo.\",\n \"businessPriority\":\"MEDIUM\",\n \"resolutionDueDate\":\"1736613281000\" // 11 Jan 2025\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "EditCEIncident", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation EditComplianceException($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Editcomplianceexception\",\n\"payload\":{\n \"id\":\"{{compliance_exception_incident_id}}\",\n \"aptBusinessObjectDescription\":\"Editing an compliance exception programmatically using graphQL via Postman\",\n \"businessPriority\":\"LOW\",\n \"responsiblePartyAtParner\":{}\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "ReadCEIncident", + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "query readCEIncident($type: String!, $id: String!)\n{\n genericGetObject(type:$type, id: $id)\n {\n ... on ALL_RETURNS {\n ... on ComplianceException {\n id\n currentBaseState\n currentSubState\n data {\n aptBusinessObjectId\n aptBusinessObjectSummary\n aptBusinessObjectDescription\n responsibleDepartmentAtCompany\n responsibleDepartmentAtPartner\n resolutionDueDate\n businessPriority\n referenceIdentifiers {\n value\n referenceTransactionType\n __typename\n }\n dateSubmitted\n createdByPartner\n __typename\n }\n aptBusinessObjectBelongsToProcessNetwork {\n to {\n ... on ProcessNetwork {\n id\n __typename\n }\n __typename\n }\n __typename\n }\n aptBusinessObjectAssignedToCompanyPartnerMasterData {\n to {\n ... on PartnerLocationMasterData {\n id\n data {\n businessMasterDataCommon {\n businessName\n businessAddress {\n address1\n address2\n city\n district\n village\n houseNumber\n township\n state\n postalCode\n country\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n ... on PartnerMasterData {\n id\n data {\n businessMasterDataCommon {\n businessName\n businessAddress {\n address1\n address2\n city\n district\n village\n houseNumber\n township\n state\n postalCode\n country\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n ... on CompanyLocationMasterData {\n id\n data {\n businessMasterDataCommon {\n businessName\n businessAddress {\n address1\n address2\n city\n district\n village\n houseNumber\n township\n state\n postalCode\n country\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n ... on CompanyMasterData{\n id\n data {\n businessMasterDataCommon {\n businessName\n businessAddress {\n address1\n address2\n city\n district\n village\n houseNumber\n township\n state\n postalCode\n country\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n\n __typename\n }\n __typename\n }\n __typename\n } \n}\n", + "variables": "{\n \"type\":\"ComplianceException\",\n \"id\":\"{{compliance_exception_incident_id}}\"\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "AddCEIncidentComment", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var jsonData = JSON.parse(responseBody);", + "var mResult = JSON.parse(jsonData.data.genericActionCall.result);", + "pm.environment.set(\"compliance_exception_incident_comment_id\", mResult.id);" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation AddCEIncidentComments($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Addcommentforincident\",\n\"payload\":{\n \"processId\":\"{{compliance_exception_incident_id}}\",\n \"processType\":\"complianceException\",\n \"aptCommentBox\":{\n \"aptComment\":{\n \"commentText\": \"Adding a test comment using Postman and GraphQL.\",\n \"visibilityType\": \"Public\"\n }\n }\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "ListCEIncidentComments", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "query ListCEIncidentComments($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Listcommentsforincident\",\n\"payload\":{\n \"id\":\"{{compliance_exception_incident_id}}\",\n \"processType\":\"complianceException\"\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "GetActivityHistoryForCEIncident", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "query GetActivityHistoryForCEIncident($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Getactivityhistoryforincident\",\n\"payload\":{\n \"processId\":\"{{compliance_exception_incident_id}}\",\n \"processType\":\"complianceException\"\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + } + ] + }, + { + "name": "Change", + "item": [ + { + "name": "AddChange", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var jsonData = JSON.parse(responseBody);", + "var mResult = JSON.parse(jsonData.data.genericActionCall.result);", + "pm.environment.set(\"change_id\", mResult.id);", + "pm.environment.set(\"apt_change_id\", mResult.aptBusinessObjectId);" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation AddChange($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Addchange\",\n\"payload\":{\n \"aptBusinessObjectSummary\": \"GraphQL using postman demo\",\n \"aptBusinessObjectDescription\":\"Test case entering a change request using postman and graphQL\",\n \"isVisible\": false,\n \"businessPriority\": \"MEDIUM\"\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "EditChange", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation Editchange($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Editchange\",\n\"payload\":{\n \"id\":\"{{change_id}}\",\n \"aptBusinessObjectSummary\":\"GraphQL test run\",\n \"aptBusinessObjectDescription\":\"Using graphql in postman to edit.\",\n \"businessPriority\":\"LOW\",\n \"responsiblePartyAtParner\":{}\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "CloseChange", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation Editchange($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Editchange\",\n\"payload\":{\n \"id\":\"{{change_id}}\",\n \"aptBusinessObjectSummary\":\"GraphQL test run\",\n \"aptBusinessObjectDescription\":\"Using graphql in postman to edit.\",\n \"businessPriority\":\"LOW\",\n \"responsiblePartyAtParner\":{}\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "AddChangeComment", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var jsonData = JSON.parse(responseBody);", + "var mResult = JSON.parse(jsonData.data.genericActionCall.result);", + "pm.environment.set(\"change_comment_id\", mResult.id);" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation AddChangeComments($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Addcommentforchange\",\n\"payload\":{\n \"processId\":\"{{change_id}}\",\n \"processType\":\"change\",\n \"aptCommentBox\":{\n \"aptComment\":{\n \"commentText\": \"Adding a test comment using Postman and GraphQL.\",\n \"visibilityType\": \"Public\"\n }\n }\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "ListChangeComments", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "query ListChangeComments($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n } \n}", + "variables": "{\n\"action\": \"Listcommentsforchange\",\n\"payload\":{\n \"id\":\"{{change_id}}\",\n \"processType\":\"change\"\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "GetActivityHistoryForChange", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "query GetActivityHistoryForIncident($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Getactivityhistoryforincident\",\n\"payload\":{\n \"processId\":\"{{change_id}}\",\n \"processType\":\"change\"\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "Read Change", + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "query readChange($type: String!, $id: String!)\n{\n genericGetObject(type:$type, id: $id)\n {\n ... on ALL_RETURNS{\n ... on Change {\n id\n currentBaseState\n currentSubState\n data {\n aptBusinessObjectId\n aptBusinessObjectSummary\n aptBusinessObjectDescription\n responsibleDepartmentAtCompany\n responsibleDepartmentAtPartner\n businessPriority\n changeType\n implementationDueDate\n implementationTeam\n subjectMatterExperts{\n subjectMatterExpertName\n subjectMatterExpertEmail\n }\n changeImpact{\n changeReferenceIdentifiers{\n referenceTransactionType\n value\n }\n riskType\n implementationNeededByDate\n businessScopeImpact\n otherBusinessScopeImpact\n reasonForChange\n reasonForChangeNotes\n potentialRisks\n evaluationsOfChange\n }\n createdByPartner\n productId\n aptBusinessObjectImpactsLocationMasterData{\n locationType\n locationContact\n partnerLocationId\n }\n __typename\n }\n aptBusinessObjectContainsComment{\n to {\n ... on AptComment{\n id\n data{\n commentText\n visibilityType\n }\n }\n }\n }\n aptBusinessObjectContainsAttachment{\n to {\n ... on AptAttachment{\n data{\n fileName\n fileSize\n visibilityType\n fileS3Location\n }\n }\n }\n }\n __typename\n }\n __typename\n }\n __typename\n } \n}\n", + "variables": "{\n \"type\": \"Change\",\n \"id\":\"{{change_id}}\"\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + } + ] + }, + { + "name": "Document Review Process", + "item": [ + { + "name": "Add Document Review", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var jsonData = JSON.parse(responseBody);", + "var mResult = JSON.parse(jsonData.data.genericActionCall.result);", + "pm.environment.set(\"document_review_id\", mResult.id);", + "pm.environment.set(\"apt_document_review_id\", mResult.aptBusinessObjectId);" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation AddDocumentReview($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Adddocumentreview\",\n\"payload\":{\n \"aptBusinessObjectSummary\":\"New Document Review using graphQL and postman\",\n \"aptBusinessObjectDescription\":\"Adding a document review using postman and graphQL\",\n \"businessPriority\":\"MEDIUM\",\n \"approvalDueDate\": \"1736613281000\" // 11 Jan 2025\n}\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "Edit Document Review", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation EditDocumentReview($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Editdocumentreview\",\n\"payload\":{\n \"id\":\"{{document_review_id}}\",\n \"aptBusinessObjectSummary\":\"GraphQL test run\",\n \"aptBusinessObjectDescription\":\"Using graphql in postman to edit document review incident\",\n \"businessPriority\":\"LOW\"\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "Add Document Review Comment", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var jsonData = JSON.parse(responseBody);", + "var mResult = JSON.parse(jsonData.data.genericActionCall.result);", + "pm.environment.set(\"document_review_comment_id\", mResult.id);" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation AddChangeComments($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Addcommentfordocumentreview\",\n\"payload\":{\n \"processId\":\"{{document_review_id}}\",\n \"processType\":\"documentReview\",\n \"aptCommentBox\":{\n \"aptComment\":{\n \"commentText\": \"Adding a test comment to Document Review using Postman and GraphQL.\",\n \"visibilityType\": \"Public\"\n }\n }\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "List Document Review Comments", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "query ListDocumentReviewComments($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Listcommentsfordocumentreview\",\n\"payload\":{\n \"id\":\"{{document_review_id}}\",\n \"processType\":\"documentReview\"\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "Get Activity History for Document Review", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "query GetActivityHistoryForDocumentReview($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Getactivityhistoryforincident\",\n\"payload\":{\n \"processId\":\"{{document_review_id}}\",\n \"processType\":\"documentReview\"\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "Read Document Review", + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "query readDocumentReview($id: String!, $type: String!)\n{\n genericGetObject(type: $type, id: $id)\n {\n ... on ALL_RETURNS{\n ... on DocumentReview {\n id\n currentBaseState\n currentSubState\n data {\n aptBusinessObjectId\n aptBusinessObjectSummary\n aptBusinessObjectDescription\n responsibleDepartmentAtCompany\n responsibleDepartmentAtPartner\n businessPriority\n createdByPartner\n productId\n aptBusinessObjectImpactsLocationMasterData{\n locationType\n locationContact\n partnerLocationId\n }\n __typename\n }\n aptBusinessObjectContainsComment{\n to {\n ... on AptComment{\n id\n data{\n commentText\n visibilityType\n }\n }\n }\n }\n aptBusinessObjectContainsAttachment{\n to {\n ... on AptAttachment{\n data{\n fileName\n fileSize\n visibilityType\n fileS3Location\n }\n }\n }\n }\n __typename\n }\n __typename\n }\n } \n}", + "variables": "{\n \"type\":\"DocumentReview\",\n \"id\":\"{{document_review_id}}\"\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + } + ] + }, + { + "name": "Task", + "item": [ + { + "name": "Add Task", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var jsonData = JSON.parse(responseBody);", + "var mResult = JSON.parse(jsonData.data.genericActionCall.result);", + "pm.environment.set(\"task_id\", mResult.id);", + "pm.environment.set(\"apt_task_id\", mResult.aptBusinessObjectId);" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation AddTask($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Addtask\",\n\"payload\":{\n \"templateId\": \"{{task_template_id}}\",\n \"aptBusinessObjectSummary\": \"GraphQL test run\",\n \"aptBusinessObjectDescription\": \"Tasks for recurring purchase orders\",\n \"businessPriority\": \"LOW\",\n \"completionDueDate\": \"1737834411000\", \n \"isVisible\": true,\n \"isAtRisk\": false\n \n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "Edit Task", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation EditTask($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Edittask\",\n\"payload\":{\n \"id\":\"{{task_id}}\",\n \"aptBusinessObjectDescription\":\"Modifying the description using Postman and GraphQL\"\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "Read Task Details", + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "query ReadTaskDetails($id: String!, $type: String!)\n{\n genericGetObject(type:$type, id: $id)\n {\n ... on ALL_RETURNS{\n ... on Task{\n id\n data{\n templateName\n aptBusinessObjectDescription\n isAddRemoveSubtaskAllowed\n businessPriority\n responsibleDepartmentAtCompany\n }\n taskContainsSubTask{\n to{\n subType\n objectType\n }\n }\n __typename\n }\n __typename\n }\n __typename\n } \n}", + "variables": "{\n \"type\":\"Task\",\n \"id\":\"{{task_id}}\"\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "Copy Task", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var jsonData = JSON.parse(responseBody);", + "var mResult = JSON.parse(jsonData.data.genericActionCall.result);", + "pm.environment.set(\"copied_task_id\", mResult.id);" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation Copytask($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Copytask\",\n\"payload\":{\n \"id\":\"{{task_id}}\"\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "Close Task", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation CloseTask($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Closetask\",\n\"payload\":{\n \"id\":\"{{task_id}}\",\n \"taskResolutionType\":\"CANCELLED\"\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "Close Subtask", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation CloseSubTask($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Closesubtask\",\n\"payload\":{\n \"id\":\"{{subtask_id}}\"\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "Reopen Subtask", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var jsonData = JSON.parse(responseBody);", + "var mResult = JSON.parse(jsonData.data.genericActionCall.result);", + "pm.environment.set(\"incidentId\", mResult.id);" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation ReopenSubTask($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Reopensubtask\",\n\"payload\":{\n \"id\":\"{{subtask_id}}\"\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "Get Activity History for Task", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "query GetActivityHistoryForTask($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Getactivityhistoryforincident\",\n\"payload\":{\n \"processId\":\"{{task_id}}\",\n \"processType\":\"task\"\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "Remove Subtask", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation RemoveSubTaskFromTask($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Removesubtaskfromtask\",\n\"payload\":{\n \"id\":\"{{subtask_id}}\"\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "Add Comment For Task", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var jsonData = JSON.parse(responseBody);", + "var mResult = JSON.parse(jsonData.data.genericActionCall.result);", + "pm.environment.set(\"task_comment_id\", mResult.id);" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation AddCommentForTask($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Addcommentforprocess\",\n\"payload\":{\n \"processId\":\"{{task_id}}\",\n \"processType\": \"task\",\n \"aptCommentBox\":{\n \"aptComment\":{\n \"commentText\": \"Adding a comment using GraphQL via Postman\",\n \"visibilityType\": \"Public\"\n }\n }\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "Edit Comment For Task", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation EditCommentForTask($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Editcommentforprocess\",\n\"payload\":{\n \"id\":\"{{task_comment_id}}\",\n \"processType\": \"task\",\n \"aptCommentBox\":{\n \"aptComment\":{\n \"commentText\": \"Modifying the comment programmatically using GraphQL via Postman\",\n \"visibilityType\": \"Public\"\n }\n }\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "List Comments For Task", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation ListCommentForTask($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Listcommentsforprocess\",\n\"payload\":{\n \"processId\":\"{{task_id}}\",\n \"processType\": \"task\"\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "Reopen Task", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation CloseTask($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Closetask\",\n\"payload\":{\n \"id\":\"{{task_id}}\",\n \"resolutionType\":\"CANCELLED\"\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "Add SubTask to Task", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var jsonData = JSON.parse(responseBody);", + "var mResult = JSON.parse(jsonData.data.genericActionCall.result);", + "pm.environment.set(\"subtask_id\", mResult.id);" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation AddSubTaskToTask($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Addsubtasktotask\",\n\"payload\":{\n \"taskId\":\"{{task_id}}\",\n \"subTaskName\": \"Postman created using GraphQL\",\n \"subTaskType\": \"Postman test\"\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "List SubTask for Task", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "query ListSubTaskForTask($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Listsubtaskfortask\",\n\"payload\":{\n \"taskId\":\"{{task_id}}\"\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "Edit Subtask on Task", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation EditSubTaskOnTask($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Editsubtaskontask\",\n\"payload\":{\n \"id\":\"{{subtask_id}}\",\n \"subTaskType\": \"Postman test modification\"\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + } + ] + }, + { + "name": "Task Template", + "item": [ + { + "name": "Add Task Template", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var jsonData = JSON.parse(responseBody);", + "var mResult = JSON.parse(jsonData.data.genericActionCall.result);", + "pm.environment.set(\"task_template_id\", mResult.id);", + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation AddTaskTemplate($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Addtasktemplate\",\n\"payload\":{\n \"templateName\": \"GQL Postman Created Task Template\",\n \"aptBusinessObjectDescription\": \"Template to demonstrate subTask creation via GraphQL API and Postman\",\n \"isTemplateModifiableByMember\": true,\n \"isAddRemoveSubtaskAllowed\": true,\n \"completionRequiredWithinDays\": 14,\n \"businessPriority\": \"LOW\"\n}\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "Add SubTask to Template", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var jsonData = JSON.parse(responseBody);", + "var mResult = JSON.parse(jsonData.data.genericActionCall.result);", + "pm.environment.set(\"subtask_template_id\", mResult.id);", + "" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation AddSubTaskToTemplate($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Addsubtasktotemplate\",\n\"payload\":{\n \"templateId\":\"{{task_template_id}}\",\n \"subTaskName\": \"GQL Created Sub Task 2\",\n \"subTaskType\": \"Test subTask\",\n \"businessPriority\": \"LOW\"\n}\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "Edit Task Template", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation EditTaskTemplate($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Edittasktemplate\",\n\"payload\":{\n \"id\":\"{{task_template_id}}\",\n \"aptBusinessObjectDescription\":\"Modified template via Postman using GraphQL\"\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "Edit Sub Task on Template", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation EditSubTaskOnTemplate($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Editsubtaskontemplate\",\n\"payload\":{\n \"id\":\"{{subtask_template_id}}\",\n \"subTaskName\":\"Modified template name 1\",\n \"businessPriority\":\"LOW\"\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "List SubTask for Template", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var jsonData = JSON.parse(responseBody);", + "var mResult = JSON.parse(jsonData.data.genericActionCall.result);", + "pm.environment.set(\"incidentId\", mResult.id);" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "query ListSubTaskForTemplate($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Listsubtaskfortemplate\",\n\"payload\":{\n \"templateId\":\"{{task_template_id}}\"\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "Remove SubTask from Template", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation RemoveSubTaskFromTemplate($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Removesubtaskfromtemplate\",\n\"payload\":{\n \"id\":\"{{subtask_template_id}}\"\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "Copy Task Template", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var jsonData = JSON.parse(responseBody);", + "var mResult = JSON.parse(jsonData.data.genericActionCall.result);", + "pm.environment.set(\"copied_task_template_id\", mResult.id);" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "mutation CopyTaskTemplate($action: String!, $payload: JSON!)\n{\n genericActionCall(action: $action, payload: $payload)\n {\n result\n __typename\n } \n}", + "variables": "{\n\"action\": \"Copytasktemplate\",\n\"payload\":{\n \"id\":\"{{task_template_id}}\",\n \"templateName\":\"New template number 2\",\n \"copyGeneralInfo\": true,\n \"copySubTasks\": false\n }\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "Read Template Details", + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "query ReadTemplateDetails($id: String!, $type: String!)\n{\n genericGetObject(type:$type, id: $id)\n {\n ... on ALL_RETURNS{\n ... on TaskTemplate{\n id\n data{\n templateName\n aptBusinessObjectDescription\n isTemplateModifiableByMember\n isAddRemoveSubtaskAllowed\n completionRequiredWithinDays\n businessPriority\n responsibleDepartmentAtCompany\n }\n taskTemplateContainsSubTask{\n to{\n subType\n objectType\n }\n }\n __typename\n }\n __typename\n }\n __typename\n } \n}", + "variables": "{\n \"type\":\"TaskTemplate\",\n \"id\":\"{{task_template_id}}\"\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + } + ] + }, + { + "name": "Master Data", + "item": [ + { + "name": "Get Product Master Data", + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "query getProductMasterData($action: String!, $regulatoryItemCodeValue: String!, $regulatoryItemCodeType: String!)\n{\n genericActionCall(\n action: $action,\n payload:\n {\n regulatoryItemCodeValue: $regulatoryItemCodeValue,\n regulatoryItemCodeType: $regulatoryItemCodeType\n }\n )\n {\n result\n __typename\n }\n}", + "variables": "{\n\"action\": \"Getproductbyitemcode\", \n\"regulatoryItemCodeValue\":\"{{regulatory_item_code_value}}\",\n\"regulatoryItemCodeType\": \"{{regulatory_item_code_type}}\"\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "Get Company Master Data", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var jsonData = JSON.parse(responseBody);", + "var mResult = JSON.parse(jsonData.data.genericActionCall.result);", + "pm.environment.set(\"response_body\", mResult);", + "", + "pm.test(\"Request is successful\",function(){", + " //pm.response.to.be.ok;", + " pm.response.to.have.status(200);", + "});", + "", + "pm.test(\"Response body is an Object\", function(){", + " if(pm.expect(mResult).not.eq(undefined)){", + " console.log(\"no problem\");", + " }", + " else{", + " pm.variables(mResult).eq(undefined);", + " console.log(\"problem\");", + " }", + "});", + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "query getQueryResults($regulatoryCompanyIdentifierValue: String!, $regulatoryCompanyIdentifierType: String!)\n {\n genericActionCall(\n action: \"Getcompanybyidentifier\",\n payload:{\n regulatoryCompanyIdentifierValue: $regulatoryCompanyIdentifierValue,\n regulatoryCompanyIdentifierType: $regulatoryCompanyIdentifierType\n }\n )\n{result}\n}", + "variables": "{\n \"regulatoryCompanyIdentifierValue\": \"{{regulatory_company_identifier}}\",\n \"regulatoryCompanyIdentifierType\": \"{{regulatory_company_type}}\"\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + }, + { + "name": "Get Partner Master Data", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var jsonData = JSON.parse(responseBody);", + "var mResult = JSON.parse(jsonData.data.genericActionCall.result);", + "pm.environment.set(\"response_body\", mResult);" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "auth": { + "type": "noauth" + }, + "method": "POST", + "header": [ + { + "key": "Authorization", + "value": "Basic {{basicKey}}", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Dataspace", + "value": "default", + "type": "text" + }, + { + "key": "companyId", + "value": "{{ownerId}}", + "type": "text" + }, + { + "key": "processNetworkId", + "value": "{{processNetworkId}}", + "type": "text" + } + ], + "body": { + "mode": "graphql", + "graphql": { + "query": "query getQueryResults($regulatoryIdentifierValue: String!, $regulatoryIdentifierType: String!)\n {\n genericActionCall(\n action: \"Getpartnerbyidentifier\",\n payload:{\n regulatoryIdentifierValue: $regulatoryIdentifierValue,\n regulatoryIdentifierType: $regulatoryIdentifierType\n }\n )\n{result}\n}", + "variables": "{\n \"regulatoryIdentifierValue\": \"{{partner_regulatory_identifier}}\",\n \"regulatoryIdentifierType\": \"{{partner_regulatory_identifier_type}}\"\n}" + } + }, + "url": { + "raw": "{{validation}}/api/graphql", + "host": [ + "{{validation}}" + ], + "path": [ + "api", + "graphql" + ] + } + }, + "response": [] + } + ] + } + ] +} \ No newline at end of file diff --git a/collections/postman/generic.public_upload.json b/collections/postman/generic.public_upload.json new file mode 100644 index 0000000..3e26746 --- /dev/null +++ b/collections/postman/generic.public_upload.json @@ -0,0 +1,309 @@ +{ + "id": "42332a36-8454-4634-9dff-a1f2f1ea0d7b", + "name": "SupplyChainWorkManagement", + "values": [ + { + "key": "server", + "value": "https://valvir-opus.tracelink.com", + "type": "default", + "enabled": true + }, + { + "key": "response_body", + "value": "", + "type": "default", + "enabled": true + }, + { + "key": "prod", + "value": "https://prod-opus.tracelink.com", + "type": "default", + "enabled": true + }, + { + "key": "token", + "value": "", + "type": "secret", + "enabled": true + }, + { + "key": "apiKey", + "value": "", + "type": "default", + "enabled": true + }, + { + "key": "apiSecret", + "value": "", + "type": "secret", + "enabled": true + }, + { + "key": "ownerId", + "value": "", + "type": "secret", + "enabled": true + }, + { + "key": "processNetworkId", + "value": "", + "type": "default", + "enabled": true + }, + { + "key": "ownerId_zero", + "value": "00000000-0000-0000-0000-000000000000", + "type": "default", + "enabled": true + }, + { + "key": "basicKey", + "value": "", + "type": "secret", + "enabled": true + }, + { + "key": "task_template_id", + "value": "", + "type": "default", + "enabled": true + }, + { + "key": "task_id", + "value": "", + "type": "default", + "enabled": true + }, + { + "key": "subtask_id", + "value": "", + "type": "default", + "enabled": true + }, + { + "key": "incident_id", + "value": "", + "type": "default", + "enabled": true + }, + { + "key": "apt_incident_id", + "value": "", + "type": "default", + "enabled": true + }, + { + "key": "apt_task_id", + "value": "", + "type": "default", + "enabled": true + }, + { + "key": "payload_data", + "value": "", + "type": "any", + "enabled": true + }, + { + "key": "direct_supplier_incident_id", + "value": "", + "type": "default", + "enabled": true + }, + { + "key": "apt_direct_supplier_incident_id", + "value": "", + "type": "default", + "enabled": true + }, + { + "key": "direct_supplier_incident_comment_id", + "value": "", + "type": "default", + "enabled": true + }, + { + "key": "apt_change_id", + "value": "", + "type": "default", + "enabled": true + }, + { + "key": "comment_id", + "value": "", + "type": "default", + "enabled": true + }, + { + "key": "change_comment_id", + "value": "", + "type": "default", + "enabled": true + }, + { + "key": "change_edit_id", + "value": "", + "type": "default", + "enabled": true + }, + { + "key": "copied_task_template_id", + "value": "", + "type": "default", + "enabled": true + }, + { + "key": "external_manufacturing_incident_id", + "value": "", + "type": "default", + "enabled": true + }, + { + "key": "apt_external_manufacturing_incident_id", + "value": "", + "type": "default", + "enabled": true + }, + { + "key": "external_manufacturing_incident_comment_id", + "value": "", + "type": "default", + "enabled": true + }, + { + "key": "compliance_exception_incident_id", + "value": "", + "type": "default", + "enabled": true + }, + { + "key": "copied_task_id", + "value": "", + "type": "default", + "enabled": true + }, + { + "key": "apt_compliance_exeption_id", + "value": "", + "type": "default", + "enabled": true + }, + { + "key": "compliance_exception_incident_comment_id", + "value": "", + "type": "default", + "enabled": true + }, + { + "key": "document_review_id", + "value": "", + "type": "default", + "enabled": true + }, + { + "key": "apt_document_review_id", + "value": "", + "type": "default", + "enabled": true + }, + { + "key": "document_review_comment_id", + "value": "", + "type": "default", + "enabled": true + }, + { + "key": "incident_type", + "value": "incident", + "type": "default", + "enabled": true + }, + { + "key": "incident_comment_id", + "value": "", + "type": "any", + "enabled": true + }, + { + "key": "partnerId", + "value": "", + "type": "default", + "enabled": true + }, + { + "key": "partnerUserId", + "value": "", + "type": "default", + "enabled": true + }, + { + "key": "change_id", + "value": "", + "type": "default", + "enabled": true + }, + { + "key": "parsedResult", + "value": "", + "type": "default", + "enabled": true + }, + { + "key": "regulatory_company_identifier", + "value": "", + "type": "default", + "enabled": true + }, + { + "key": "regulatory_company_type", + "value": "GLN", + "type": "default", + "enabled": true + }, + { + "key": "regulatory_item_code_value", + "value": "", + "type": "default", + "enabled": true + }, + { + "key": "regulatory_item_code_type", + "value": "US_NDC532", + "type": "default", + "enabled": true + }, + { + "key": "partner_regulatory_identifier", + "value": "", + "type": "default", + "enabled": true + }, + { + "key": "partner_regulatory_identifier_type", + "value": "GCP", + "type": "default", + "enabled": true + }, + { + "key": "subtask_template_id", + "value": "", + "type": "any", + "enabled": true + }, + { + "key": "task_comment_id", + "value": "", + "type": "default", + "enabled": true + }, + { + "key": "incidentId", + "value": "", + "type": "any", + "enabled": true + } + ], + "_postman_variable_scope": "environment", + "_postman_exported_at": "2024-08-05T19:35:30.547Z", + "_postman_exported_using": "Postman/11.6.2" +} From a73693f69679ad96f782714f7a473295992d1a81 Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Tue, 1 Oct 2024 05:57:51 -0600 Subject: [PATCH 02/47] adding an empty insomnia environment --- collections/insomnia/insomniaEnv.json | 54 +++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 collections/insomnia/insomniaEnv.json diff --git a/collections/insomnia/insomniaEnv.json b/collections/insomnia/insomniaEnv.json new file mode 100644 index 0000000..af34773 --- /dev/null +++ b/collections/insomnia/insomniaEnv.json @@ -0,0 +1,54 @@ +{ + "val_server": "https://valvir-opus.tracelink.com", + "response_body": "[object Object]", + "prod_server": "https://prod-opus.tracelink.com", + "token": "", + "apiKey": "", + "apiSecret": "", + "ownerId": "", + "processNetworkId": "", + "ownerId_zero": "00000000-0000-0000-0000-000000000000", + "basicKey": "", + "task_template_id": "", + "task_id": "", + "subtask_id": "", + "incident_id": "", + "apt_incident_id": "", + "apt_task_id": "", + "payload_data": "", + "direct_supplier_incident_id": "", + "apt_direct_supplier_incident_id": "", + "direct_supplier_incident_comment_id": "", + "apt_change_id": "", + "tde_process_Network": "", + "comment_id": "", + "tde_bearer_token": "", + "tde_owner": "", + "change_comment_id": "", + "change_edit_id": "", + "copied_task_template_id": "", + "external_manufacturing_incident_id": "", + "apt_external_manufacturing_incident_id": "", + "external_manufacturing_incident_comment_id": "", + "compliance_exception_incident_id": "", + "copied_task_id": "", + "apt_compliance_exeption_id": "", + "compliance_exception_incident_comment_id": "", + "document_review_id": "", + "apt_document_review_id": "", + "document_review_comment_id": "", + "incident_type": "incident", + "incident_comment_id": "", + "partnerId": "", + "partnerUserId": "", + "change_id": "", + "parsedResult": "", + "regulatory_company_identifier": "", + "regulatory_company_type": "GLN", + "regulatory_item_code_value": "", + "regulatory_item_code_type": "", + "partner_regulatory_identifier": "", + "partner_regulatory_identifier_type": "GCP", + "subtask_template_id": "", + "task_comment_id": "" +} From 10143987e6c0afe0b94628b379e314524f55c19c Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Tue, 1 Oct 2024 06:12:50 -0600 Subject: [PATCH 03/47] adding the insomnia collection json --- collections/insomnia/Tracelink_Insomnia.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 collections/insomnia/Tracelink_Insomnia.json diff --git a/collections/insomnia/Tracelink_Insomnia.json b/collections/insomnia/Tracelink_Insomnia.json new file mode 100644 index 0000000..11f051e --- /dev/null +++ b/collections/insomnia/Tracelink_Insomnia.json @@ -0,0 +1 @@ +{"_type":"export","__export_format":4,"__export_date":"2024-10-01T12:01:59.894Z","__export_source":"insomnia.desktop.app:v8.2.0","resources":[{"_id":"req_0d1e0a72859846afa2d38c6fbff59825","parentId":"fld_9d8b988c4f154bdba543c7b92eb0857b","modified":1727459869895,"created":1727459869895,"url":"{{prod}}/api/graphql","name":"Get SCWM schema","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query GetapiDocument($action: String!, $apiFileName: String!) {\\n\\tgenericActionCall(action: $action, payload: { apiFileName: $apiFileName }) {\\n\\t\\t... on ReadResult {\\n\\t\\t\\tresult\\n\\t\\t}\\n\\t}\\n}\\n# use the following code on your local device to generate the token\\n# hydra -ae prod token\",\"variables\":\"{\\n\\t\\\"action\\\": \\\"GetapiDocument\\\",\\n\\t\\\"apiFileName\\\": \\\"a0ce8683-b182-47f8-bc75-c83410fc1829\\\"\\n}\\n\\n\\n\\n\\n\\n\"}"},"parameters":[],"headers":[{"name":"Authorization","value":"bearer {{tde_bearer_token}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{tde_owner}}"},{"name":"processNetworkId","value":"{{tde_process_Network}}"}],"authentication":{},"metaSortKey":-1727459869895,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_9d8b988c4f154bdba543c7b92eb0857b","parentId":"fld_8af9e9e548594791b1a1493a43987f61","modified":1727459869883,"created":1727459869883,"name":"Parked","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1727459869883,"_type":"request_group"},{"_id":"fld_8af9e9e548594791b1a1493a43987f61","parentId":"wrk_b52c1911f5b744a99b0bee28f8b96bb0","modified":1727459869792,"created":1727459869792,"name":"GraphQL Requests","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1727459869792,"_type":"request_group"},{"_id":"wrk_b52c1911f5b744a99b0bee28f8b96bb0","parentId":null,"modified":1727459658254,"created":1727459658254,"name":"My Collection","description":"","scope":"collection","_type":"workspace"},{"_id":"req_8fdeb28af2a14eab9e95f86ea93d5850","parentId":"fld_9d8b988c4f154bdba543c7b92eb0857b","modified":1727459869894,"created":1727459869894,"url":"{{prod}}/api/graphql","name":"Get API doc","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query GetapiDocument($action: String!, $apiFileName: String!) {\\n\\tgenericActionCall(action: $action, payload: { apiFileName: $apiFileName }) {\\n\\t\\t... on ReadResult {\\n\\t\\t\\tresult\\n\\t\\t}\\n\\t}\\n}\",\"variables\":\"{\\n\\t\\\"action\\\": \\\"GetapiDocument\\\",\\n\\t\\\"apiFileName\\\": \\\"6edcc413-8c1d-49f8-a72f-e61f3fcc4872\\\"\\n}\\n\\n\\n\\n\\n\\n\"}"},"parameters":[],"headers":[{"name":"Authorization","value":"bearer {{tde_bearer_token}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{tde_owner}}"},{"name":"processNetworkId","value":"{{tde_process_Network}}"}],"authentication":{},"metaSortKey":-1727459869894,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_f4480f351ed04ab29fbeccb908e71382","parentId":"fld_9d8b988c4f154bdba543c7b92eb0857b","modified":1727459869892,"created":1727459869892,"url":"{{server}}/api/graphql","name":"Read Change Details","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n \"operationName\": \"ChangeScreen\",\n \"variables\": {\n \"type\": \"change\",\n \"id\": \"{{changeId}}\"\n },\n \"query\": \"query ChangeScreen($type: String!, $id: String!) {\\n ChangeScreen: genericGetObject(type: $type, id: $id) {\\n ... on ALL_RETURNS {\\n ... on Change {\\n id\\n currentBaseState\\n currentSubState\\n data {\\n aptBusinessObjectId\\n aptBusinessObjectSummary\\n aptBusinessObjectDescription\\n responsibleDepartmentAtCompany\\n responsibleDepartmentAtPartner\\n changeType\\n businessPriority\\n resolutionDueDate\\n changeConclusion {\\n dateClosed\\n finalRootCause\\n resolutionType\\n isReoccuring\\n closingStatement\\n __typename\\n }\\n referenceIdentifiers {\\n value\\n referenceTransactionType\\n __typename\\n }\\n dateSubmitted\\n createdByPartner\\n __typename\\n }\\n issueRelatedToImpactedProductDetail {\\n to {\\n ... on ProductMasterData {\\n id\\n data {\\n productItemInformation {\\n productName\\n packSize\\n strength\\n dosageForm\\n productLanguageCode\\n isLightSensitive\\n __typename\\n }\\n packagingInformation {\\n packagingCode {\\n packagingCodeType\\n packagingCodeValue\\n __typename\\n }\\n __typename\\n }\\n regulatoryItemCodes {\\n regulatoryItemCode {\\n regulatoryItemCodeType\\n regulatoryItemCodeValue\\n __typename\\n }\\n __typename\\n }\\n packagingInformationAndRegulatoryItemCodesDerivedField\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n impactedLots\\n __typename\\n }\\n aptBusinessObjectBelongsToProcessNetwork {\\n to {\\n ... on ProcessNetwork {\\n id\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectCompanyAssignedUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPartnerAssignedUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectCompanyOwnerUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPartnerOwnerUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectAssignedToCompanyPartnerMasterData {\\n to {\\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on PartnerMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPrimaryPartnerLocationMasterData {\\n to {\\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment userName on User {\\n id\\n data {\\n givenName\\n surname\\n __typename\\n }\\n __typename\\n}\\n\"\n}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869892,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_3916006561704422a923888081fe5365","parentId":"fld_9d8b988c4f154bdba543c7b92eb0857b","modified":1727459869891,"created":1727459869891,"url":"{{server}}/api/graphql","name":"ListObjectType","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query GetListByType($type: String!) {\\n listObjectType(type: $type){\\n ... on Deployment{\\n id\\n deploymentHasApplication{\\n to{\\n id\\n lastUpdatedDateTime\\n data{\\n name\\n applicationType\\n provider\\n }\\n }\\n }\\n }\\n }\\n}\",\"variables\":\"{\\\"type\\\":\\\"Deployment\\\",\\n\\\"id\\\":\\\"832c1ac6-3811-4ad5-98ea-796341d14d91\\\",\\n\\\"operationName\\\":\\\"GetAppListFromDeployment\\\"}\"}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869891,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_f1bf6457190542dc9289d1af807c9645","parentId":"fld_9d8b988c4f154bdba543c7b92eb0857b","modified":1727459869890,"created":1727459869890,"url":"{{server}}/api/graphql","name":"GetAppListFromDeployment","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query GetAppListFromDeployment($type: String!, $id: String!) {\\n genericGetObject(type: $type, id: $id){\\n ... on Deployment{\\n id\\n deploymentHasApplication{\\n to{\\n id\\n lastUpdatedDateTime\\n data{\\n name\\n applicationType\\n provider\\n }\\n }\\n }\\n }\\n }\\n}\",\"variables\":\"{\\\"type\\\":\\\"Deployment\\\",\\n\\\"id\\\":\\\"832c1ac6-3811-4ad5-98ea-796341d14d91\\\",\\n\\\"operationName\\\":\\\"GetAppListFromDeployment\\\"}\"}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869890,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_731cbae841ac46ffa0a1a891f5fcb822","parentId":"fld_9d8b988c4f154bdba543c7b92eb0857b","modified":1727459869889,"created":1727459869889,"url":"{{server}}/api/graphql","name":"Read Incident Details Copy","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query IncidentScreen($type: String!, $id: String!) \\n{IncidentScreenIncident: genericGetObject(type: $type, id: $id) {\\n ... on ALL_RETURNS {\\n ... on Incident{\\n id\\n data{\\n aptBusinessObjectDescription\\n aptBusinessObjectId\\n }\\n }\\n }\\n __typename\\n }\\n}\\n\",\"variables\":\"{\\n \\\"type\\\": \\\"Incident\\\",\\n \\\"id\\\": \\\"{{incidentId}}\\\"\\n }\"}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869889,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_3c8d545730da4932a55c06bb594d6f7c","parentId":"fld_9d8b988c4f154bdba543c7b92eb0857b","modified":1727459869888,"created":1727459869888,"url":"{{server}}/api/graphql","name":"Read Incident Details","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query IncidentScreen($type: String!, $id: String!) \\n{IncidentScreenIncident: genericGetObject(type: $type, id: $id) {\\n ... on ALL_RETURNS {\\n ... on Incident {\\n id\\n currentBaseState\\n currentSubState\\n data {\\n aptBusinessObjectId\\n aptBusinessObjectSummary\\n aptBusinessObjectDescription\\n responsibleDepartmentAtCompany\\n responsibleDepartmentAtPartner\\n incidentType\\n businessPriority\\n resolutionDueDate\\n incidentConclusion {\\n dateClosed\\n finalRootCause\\n resolutionType\\n isReoccuring\\n closingStatement\\n __typename\\n }\\n referenceIdentifiers {\\n value\\n referenceTransactionType\\n __typename\\n }\\n dateSubmitted\\n createdByPartner\\n __typename\\n }\\n issueRelatedToImpactedProductDetail {\\n to {\\n ... on ProductMasterData {\\n id\\n data {\\n productItemInformation {\\n productName\\n packSize\\n strength\\n dosageForm\\n productLanguageCode\\n isLightSensitive\\n __typename\\n }\\n packagingInformation {\\n packagingCode {\\n packagingCodeType\\n packagingCodeValue\\n __typename\\n }\\n __typename\\n }\\n regulatoryItemCodes {\\n regulatoryItemCode{\\n regulatoryItemCodeType\\n regulatoryItemCodeValue\\n __typename\\n }\\n __typename\\n }\\n packagingInformationAndRegulatoryItemCodesDerivedField\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n impactedLots\\n __typename\\n }\\n aptBusinessObjectBelongsToProcessNetwork {\\n to {\\n ... on ProcessNetwork {\\n id\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectCompanyAssignedUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPartnerAssignedUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectCompanyOwnerUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPartnerOwnerUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectAssignedToCompanyPartnerMasterData {\\n to {\\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on PartnerMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyMasterData{\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPrimaryPartnerLocationMasterData {\\n to {\\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\nfragment userName on User {\\n id\\n data {\\n givenName\\n surname\\n __typename\\n }\\n __typename\\n} \",\"variables\":\"{\\n \\\"type\\\": \\\"Incident\\\",\\n \\\"id\\\": \\\"{{incidentId}}\\\"\\n }\"}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869888,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_d7376c26e7c346c9bd2f494da147ccd1","parentId":"fld_9d8b988c4f154bdba543c7b92eb0857b","modified":1727459869886,"created":1727459869886,"url":"{{server}}/api/graphql","name":"sketch","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query GetDirectSupplierIncident($type: String!, $id: String!){DSIncidentScreenEscalationReport: genericActionCall( action: \\\"Listattachmentsforincident\\\" payload: {processId: $id, attachmentType: \\\"escalationReport\\\" } ) { result }\\n DSIncident: genericGetObject(type: $type, id: $id){\\n ... on ALL_RETURNS {\\n ... on DirectSupplierIncident {\\n id \\n currentBaseState \\n data {\\n aptBusinessObjectId \\n aptBusinessObjectSummary \\n aptBusinessObjectDescription \\n responsibleDepartmentAtCompany \\n responsibleDepartmentAtPartner \\n resolutionDueDate \\n directSupplierConclusion {\\n approver \\n closingStatement \\n dateClosed \\n finalRootCause \\n isReoccuring \\n resolutionType \\n } \\n referenceIdentifiers { \\n referenceTransactionType \\n value \\n } \\n isEscalated \\n deviationType \\n materialType \\n materialSubtype \\n materialProblem \\n dateSubmitted \\n createdByPartner \\n directSupplierResponse {\\n inventoryAnalysisMethod\\n potentialRootCauses\\n initialContainmentActions\\n replacementMaterials {\\n availabilityDateForReplacements \\n transactionIDsForReplacements {\\n referenceTransactionType \\n value \\n } \\n incidentReplacementProduct {\\n to {\\n ... on ProductMasterData {\\n id \\n data {\\n productCode \\n packagingInformationDerivedField \\n packagingInformationAndRegulatoryItemCodesDerivedField \\n } \\n } \\n } \\n } \\n } \\n dateInitialResponseReceived \\n recommendationFromOriginatingCompany \\n dateSamplesReceivedByCompany \\n dateSamplesReceivedByPartner \\n dateSamplesSentToPartner \\n finalResponseDueDate \\n initialResponseDueDate \\n dateSamplesSentToCompany \\n dateFinalResponseReceived \\n immediateCorrectiveActions \\n potentialRootCauseNotes \\n methodsToProvePreventativeActionsTaken \\n inventoryImpact \\n finalResponseInformation \\n initialResponseInformation \\n finalPreventativeActions \\n } \\n directSupplierMaterialInformation {\\n companyInternalMaterialInformation \\n materialName \\n companyLotNumber \\n defectiveUnitOfMeasure \\n samplesAvailable \\n defectiveQuantity \\n partnerLotNumber \\n partnerInternalMaterialInformation \\n materialDescription \\n defectiveItemInformation \\n } \\n directSupplierImpact {\\n originatingLocationInvestigationDueDate \\n impactedDepartments \\n highPriorityReason \\n dateResourcesDeployed \\n financialImpact \\n businessImpact \\n dateSupplyImpacted \\n dateEscalationReportRequested \\n businessPriority \\n } \\n } \\n aptBusinessObjectOriginatingLocationMasterData {\\n toIdType\\n to {\\n ... on PartnerLocationMasterData {\\n id \\n data {\\n businessMasterDataCommon {\\n businessName \\n } \\n } \\n } \\n ... on CompanyLocationMasterData {\\n id \\n data {\\n businessMasterDataCommon {\\n businessName \\n } \\n } \\n } \\n } \\n } \\n aptBusinessObjectImpactsLocationMasterData {\\n to {\\n ... on CompanyLocationMasterData {\\n id \\n data {\\n businessMasterDataCommon {\\n businessName \\n } \\n } \\n } \\n ... on PartnerLocationMasterData {\\n id \\n data {\\n businessMasterDataCommon {\\n businessName \\n } \\n } \\n } \\n } \\n locationContact \\n locationType \\n } \\n aptBusinessObjectPotentiallyImpactsLocationsMasterData {\\n to {\\n ... on CompanyLocationMasterData {\\n id \\n data {\\n businessMasterDataCommon {\\n businessName \\n } \\n } \\n } \\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName \\n } \\n } \\n } \\n } \\n data {\\n locationType \\n locationContact \\n } \\n } \\n aptBusinessObjectImpactsProduct {\\n to {\\n ... on ProductMasterData {\\n id \\n data {\\n packagingInformationAndRegulatoryItemCodesDerivedField \\n } \\n } \\n } \\n } \\n aptBusinessObjectPotentiallyImpactsProducts {\\n to {\\n ... on ProductMasterData {\\n id \\n data {\\n packagingInformationAndRegulatoryItemCodesDerivedField \\n } \\n } \\n } \\n } \\n aptBusinessObjectCompanyAssignedUser {\\n to {\\n ... on User {\\n ...userName \\n } \\n } \\n } \\n aptBusinessObjectPartnerAssignedUser {\\n to {\\n ... on User {\\n ...userName \\n } \\n } \\n } \\n aptBusinessObjectCompanyOwnerUser {\\n to {\\n ... on User {\\n ...userName \\n } \\n } \\n } \\n aptBusinessObjectPartnerOwnerUser {\\n to {\\n ... on User {\\n ...userName \\n } \\n } \\n } \\n aptBusinessObjectRelatesToAptBusinessObject {\\n to {\\n ... on Incident {\\n id \\n data {\\n aptBusinessObjectId \\n aptBusinessObjectSummary \\n } \\n } \\n ... on DirectSupplierIncident {\\n id \\n data {\\n aptBusinessObjectId \\n aptBusinessObjectSummary \\n } \\n } \\n ... on Task {\\n id \\n data {\\n aptBusinessObjectId \\n aptBusinessObjectSummary \\n } \\n } \\n ... on IndirectSupplierIncident {\\n id \\n data {\\n aptBusinessObjectId \\n aptBusinessObjectSummary \\n } \\n } \\n ... on ExternalManufacturingIncident {\\n id \\n data {\\n aptBusinessObjectId \\n aptBusinessObjectSummary \\n } \\n } \\n ... on InternalManufacturingIncident {\\n id \\n data {\\n aptBusinessObjectId \\n aptBusinessObjectSummary \\n } \\n } \\n ... on Change {\\n id \\n data {\\n aptBusinessObjectId \\n aptBusinessObjectSummary \\n } \\n } \\n ... on DocumentReview {\\n id \\n data {\\n aptBusinessObjectId \\n aptBusinessObjectSummary \\n } \\n } \\n ... on BatchRecordReview {\\n id \\n data {\\n aptBusinessObjectId \\n aptBusinessObjectSummary \\n } \\n } \\n ... on QualityDocumentReview {\\n id \\n data {\\n aptBusinessObjectId \\n aptBusinessObjectSummary \\n } \\n } \\n } \\n } \\n aptBusinessObjectAssignedToCompanyPartnerMasterData {\\n to {\\n ... on PartnerMasterData {\\n id \\n data {\\n businessMasterDataCommon {\\n businessName \\n } \\n } \\n } \\n } \\n } \\n aptBusinessObjectPrimaryPartnerLocationMasterData {\\n to {\\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName \\n } \\n } \\n } \\n } \\n } \\n } \\n } \\n } \\n} \\nfragment userName on User {\\n id \\n data {\\n givenName \\n surname \\n } \\n}\",\"variables\":\"{\\\"companyId\\\": \\\"911379c4-f29c-46cd-8c85-0026932791b9\\\",\\n\\\"processNetworkId\\\": \\\"2154f852-02eb-4725-b521-047df60bbbff\\\",\\n\\\"type\\\": \\\"directSupplierIncident\\\",\\n\\\"id\\\":\\\"7439e92a-eb07-402a-aa4b-e4e807c06cf8\\\"}\"}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869886,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_503975b29c3d40b6bd5906753488e311","parentId":"fld_9d8b988c4f154bdba543c7b92eb0857b","modified":1727459869885,"created":1727459869885,"url":"{{server}}/api/graphql","name":"data fetcher","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n \"operationName\": \"ExperienceManagerQueryOverlay\",\n \"variables\": {\n \"companyId\": \"911379c4-f29c-46cd-8c85-0026932791b9\",\n \"processNetworkId\": \"2154f852-02eb-4725-b521-047df60bbbff\",\n \"route\": \"/monitorchangerequestsforowner/view\"\n },\n \"query\": \"query ExperienceManagerQueryOverlay($companyId: String!, $processNetworkId: String!, $route: String!) {\\n genericActionCall(\\n action: \\\"Getscreenbyroute\\\"\\n payload: {companyId: $companyId, processNetworkId: $processNetworkId, route: $route}\\n ) {\\n result\\n __typename\\n }\\n}\\n\"\n}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"}],"authentication":{},"metaSortKey":-1727459869885,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_9ff7652e63644479bb55ed1928663fb6","parentId":"fld_9d8b988c4f154bdba543c7b92eb0857b","modified":1727459869884,"created":1727459869884,"url":"{{server}}/api/graphql","name":"{{server}}/api/graphql","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n \"operationName\": \"ExperienceManagerQueryOverlay\",\n \"variables\": {\n \"companyId\": \"911379c4-f29c-46cd-8c85-0026932791b9\",\n \"processNetworkId\": \"2154f852-02eb-4725-b521-047df60bbbff\",\n \"route\": \"/monitorchangerequestsforowner/view\"\n },\n \"query\": \"query ExperienceManagerQueryOverlay($companyId: String!, $processNetworkId: String!, $route: String!) {\\n genericActionCall(\\n action: \\\"Getscreenbyroute\\\"\\n payload: {companyId: $companyId, processNetworkId: $processNetworkId, route: $route}\\n ) {\\n result\\n __typename\\n }\\n}\\n\"\n}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"}],"authentication":{},"metaSortKey":-1727459869884,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_94469125e6bc476881e0a6fe390e2d02","parentId":"fld_ee75730bda544227ace07b4951d5ba0d","modified":1727713268108,"created":1727459869882,"url":"{{ _.val_server }}/api/graphql","name":"Get Partner Master Data","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query getQueryResults($regulatoryIdentifierValue: String!, $regulatoryIdentifierType: String!)\\n {\\n genericActionCall(\\n action: \\\"Getpartnerbyidentifier\\\",\\n payload:{\\n regulatoryIdentifierValue: $regulatoryIdentifierValue,\\n regulatoryIdentifierType: $regulatoryIdentifierType\\n }\\n )\\n{result}\\n}\",\"operationName\":\"getQueryResults\",\"variables\":{\"regulatoryIdentifierValue\":\"{{ _.partner_regulatory_identifier }}\",\"regulatoryIdentifierType\":\"{{ _.partner_regulatory_identifier_type }}\"}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869882,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_ee75730bda544227ace07b4951d5ba0d","parentId":"fld_8af9e9e548594791b1a1493a43987f61","modified":1727459869879,"created":1727459869879,"name":"Master Data","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1727459869879,"_type":"request_group"},{"_id":"req_8d06bf5383904616bbb329deb5efa83c","parentId":"fld_ee75730bda544227ace07b4951d5ba0d","modified":1727464655577,"created":1727459869881,"url":"{{ _.val_server }}/api/graphql","name":"Get Company Master Data","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query getQueryResults($regulatoryCompanyIdentifierValue: String!, $regulatoryCompanyIdentifierType: String!)\\n {\\n genericActionCall(\\n action: \\\"Getcompanybyidentifier\\\",\\n payload:{\\n regulatoryCompanyIdentifierValue: $regulatoryCompanyIdentifierValue,\\n regulatoryCompanyIdentifierType: $regulatoryCompanyIdentifierType\\n }\\n )\\n{result}\\n}\",\"operationName\":\"getQueryResults\",\"variables\":{\"regulatoryCompanyIdentifierValue\":\"{{regulatory_company_identifier}}\",\"regulatoryCompanyIdentifierType\":\"{{regulatory_company_type}}\"}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}","id":"pair_1361ec4f98d84f61ad33f81a5866030c"},{"name":"Content-Type","value":"application/json","id":"pair_78df16a45e8f4ac5b3984ec91a8d5c17"},{"name":"Dataspace","value":"default","id":"pair_ae895e76dbe44f5eb24c8b8a187b9249"},{"name":"companyId","value":"{{ownerId}}","id":"pair_a325dddc627d4e4e8dc0e5ddd4a4068e"},{"name":"processNetworkId","value":"{{processNetworkId}}","id":"pair_bd81e072f65a4fbf93fbfbaf48588c2d"}],"authentication":{},"metaSortKey":-1727459869881,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_1cd8f1133b5a46bb81368cfa97ce88ce","parentId":"fld_ee75730bda544227ace07b4951d5ba0d","modified":1727713323013,"created":1727459869880,"url":"{{ _.val_server }}/api/graphql","name":"Get Product Master Data","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query getProductMasterData($action: String!, $regulatoryItemCodeValue: String!, $regulatoryItemCodeType: String!)\\n{\\n genericActionCall(\\n action: $action,\\n payload:\\n {\\n regulatoryItemCodeValue: $regulatoryItemCodeValue,\\n regulatoryItemCodeType: $regulatoryItemCodeType\\n }\\n )\\n {\\n result\\n __typename\\n }\\n}\",\"operationName\":\"getProductMasterData\",\"variables\":{\"action\":\"Getproductbyitemcode\",\"regulatoryItemCodeValue\":\"{{ _.regulatory_item_code_value }}\",\"regulatoryItemCodeType\":\"{{_.regulatory_item_code_type}}\"}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869880,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_c4aa534f3534438a92a38be9a85f2c76","parentId":"fld_ab8ccc12747b4583b05e57ea470e539e","modified":1727711071316,"created":1727459869877,"url":"{{ _.val_server }}/api/graphql","name":"Read Template Details","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query ReadTemplateDetails($id: String!, $type: String!)\\n{\\n genericGetObject(type:$type, id: $id)\\n {\\n ... on ALL_RETURNS{\\n ... on TaskTemplate{\\n id\\n data{\\n templateName\\n aptBusinessObjectDescription\\n isTemplateModifiableByMember\\n isAddRemoveSubtaskAllowed\\n completionRequiredWithinDays\\n businessPriority\\n responsibleDepartmentAtCompany\\n }\\n taskTemplateContainsSubTask{\\n to{\\n subType\\n objectType\\n }\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n } \\n}\",\"operationName\":\"ReadTemplateDetails\",\"variables\":{\"type\":\"TaskTemplate\",\"id\":\"{{ _.task_template_id }}\"}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869877,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_ab8ccc12747b4583b05e57ea470e539e","parentId":"fld_8af9e9e548594791b1a1493a43987f61","modified":1727459869869,"created":1727459869869,"name":"Task Template","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1727459869869,"_type":"request_group"},{"_id":"req_888e5dd98301434684f50a45a218e1f6","parentId":"fld_ab8ccc12747b4583b05e57ea470e539e","modified":1727713392534,"created":1727459869876,"url":"{{ _.val_server }}/api/graphql","name":"Copy Task Template","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation CopyTaskTemplate($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"CopyTaskTemplate\",\"variables\":{\"action\":\"Copytasktemplate\",\"payload\":{\"id\":\"{{_.task_template_id}}\",\"templateName\":\"New template number 2\",\"copyGeneralInfo\":true,\"copySubTasks\":false}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869876,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_4d97ed9d1baf405d89effda5de893bdd","parentId":"fld_ab8ccc12747b4583b05e57ea470e539e","modified":1727713411309,"created":1727459869875,"url":"{{ _.val_server }}/api/graphql","name":"Remove SubTask from Template","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation RemoveSubTaskFromTemplate($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"RemoveSubTaskFromTemplate\",\"variables\":{\"action\":\"Removesubtaskfromtemplate\",\"payload\":{\"id\":\"{{_.subtask_template_id}}\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869875,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_c8ff561253fd4206be995b7123b899cf","parentId":"fld_ab8ccc12747b4583b05e57ea470e539e","modified":1727713461260,"created":1727459869874,"url":"{{ _.val_server }}/api/graphql","name":"List SubTask for Template","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query ListSubTaskForTemplate($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"ListSubTaskForTemplate\",\"variables\":{\"action\":\"Listsubtaskfortemplate\",\"payload\":{\"templateId\":\"{{ _.task_template_id }}\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869874,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_6add3134801146f39fcde05a91034cae","parentId":"fld_ab8ccc12747b4583b05e57ea470e539e","modified":1727713489562,"created":1727459869873,"url":"{{ _.val_server }}/api/graphql","name":"Edit Sub Task on Template","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation EditSubTaskOnTemplate($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"EditSubTaskOnTemplate\",\"variables\":{\"action\":\"Editsubtaskontemplate\",\"payload\":{\"id\":\"{{_.subtask_template_id}}\",\"subTaskName\":\"Modified template name 1\",\"businessPriority\":\"LOW\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869873,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_c95d02cd7c024eb2a819dc946c7bea03","parentId":"fld_ab8ccc12747b4583b05e57ea470e539e","modified":1727713521536,"created":1727459869872,"url":"{{ _.val_server }}/api/graphql","name":"Edit Task Template","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation EditTaskTemplate($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"EditTaskTemplate\",\"variables\":{\"action\":\"Edittasktemplate\",\"payload\":{\"id\":\"{{_.task_template_id}}\",\"aptBusinessObjectDescription\":\"Modified template via python using GraphQL\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869872,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_64542e8cc5c74752bc1c4efc2a3b089e","parentId":"fld_ab8ccc12747b4583b05e57ea470e539e","modified":1727713539668,"created":1727459869871,"url":"{{ _.val_server }}/api/graphql","name":"Add SubTask to Template","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation AddSubTaskToTemplate($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"AddSubTaskToTemplate\",\"variables\":{\"action\":\"Addsubtasktotemplate\",\"payload\":{\"templateId\":\"{{_.task_template_id}}\",\"subTaskName\":\"GQL Created Sub Task 2\",\"subTaskType\":\"Test subTask\",\"businessPriority\":\"LOW\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869871,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_04839e97ed34483aacd06aca3d44e5c4","parentId":"fld_ab8ccc12747b4583b05e57ea470e539e","modified":1727713555753,"created":1727459869870,"url":"{{ _.val_server }}/api/graphql","name":"Add Task Template","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation AddTaskTemplate($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Addtasktemplate\\\",\\n\\\"payload\\\":{\\n \\\"templateName\\\": \\\"GQL Postman Created Task Template 19 Apr test run\\\",\\n \\\"aptBusinessObjectDescription\\\": \\\"Template to demonstrate subTask creation via GraphQL API and Postman\\\",\\n \\\"isTemplateModifiableByMember\\\": true,\\n \\\"isAddRemoveSubtaskAllowed\\\": true,\\n \\\"completionRequiredWithinDays\\\": 14,\\n \\\"businessPriority\\\": \\\"LOW\\\"\\n}\\n}\"}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869870,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_6216dc3048ed4f62af14c65ec7e48af4","parentId":"fld_eae505dcaa5a4bb88db335e08fd14eff","modified":1727713891046,"created":1727459869868,"url":"{{ _.val_server }}/api/graphql","name":"Edit Subtask on Task","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation EditSubTaskOnTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"EditSubTaskOnTask\",\"variables\":{\"action\":\"Editsubtaskontask\",\"payload\":{\"id\":\"{{_.subtask_id}}\",\"subTaskType\":\"Postman second test modification\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869868,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_eae505dcaa5a4bb88db335e08fd14eff","parentId":"fld_8af9e9e548594791b1a1493a43987f61","modified":1727459869849,"created":1727459869849,"name":"Task","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1727459869849,"_type":"request_group"},{"_id":"req_ddcf889775b2429b8e02e07f8a09e7a9","parentId":"fld_eae505dcaa5a4bb88db335e08fd14eff","modified":1727713919147,"created":1727459869867,"url":"{{ _.val_server }}/api/graphql","name":"List SubTask for Task","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query ListSubTaskForTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"ListSubTaskForTask\",\"variables\":{\"action\":\"Listsubtaskfortask\",\"payload\":{\"taskId\":\"{{_.task_id}}\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869867,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_93ec3e1a6d9e413bb66ec63aebc02c9f","parentId":"fld_eae505dcaa5a4bb88db335e08fd14eff","modified":1727713998547,"created":1727459869866,"url":"{{ _.val_server }}/api/graphql","name":"Add SubTask to Task","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation AddSubTaskToTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"AddSubTaskToTask\",\"variables\":{\"action\":\"Addsubtasktotask\",\"payload\":{\"taskId\":\"{{_.task_id}}\",\"subTaskName\":\"Postman created using GraphQL\",\"subTaskType\":\"Postman test\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869866,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_5249e123f9954035ad5ca6b64ed580f5","parentId":"fld_eae505dcaa5a4bb88db335e08fd14eff","modified":1727714129752,"created":1727459869864,"url":"{{ _.val_server }}/api/graphql","name":"Reopen Task","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation ReopenTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"ReopenTask\",\"variables\":{\"action\":\"Reopentask\",\"payload\":{\"id\":\"{{_.task_id}}\",\"resolutionType\":\"CANCELLED\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869864,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_c55ff7c432f0471eb4a049c9a25b5dac","parentId":"fld_eae505dcaa5a4bb88db335e08fd14eff","modified":1727714169891,"created":1727459869863,"url":"{{ _.val_server }}/api/graphql","name":"List Comments For Task","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation ListCommentsForTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"ListCommentsForTask\",\"variables\":{\"action\":\"Listcommentsforprocess\",\"payload\":{\"processId\":\"{{ _.task_id }}\",\"processType\":\"task\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869863,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_ba5a37a46ab94660ab96be641f391ed5","parentId":"fld_eae505dcaa5a4bb88db335e08fd14eff","modified":1727714226720,"created":1727459869862,"url":"{{ _.val_server }}/api/graphql","name":"Edit Comment For Task","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation EditCommentForTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"EditCommentForTask\",\"variables\":{\"action\":\"Editcommentforprocess\",\"payload\":{\"id\":\"{{ _.task_comment_id }}\",\"processType\":\"task\",\"aptCommentBox\":{\"aptComment\":{\"commentText\":\"Modifying the comment programmatically using GraphQL via Python\",\"visibilityType\":\"Public\"}}}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869862,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_771e6ad5fa474bdcadbbc9f8726d13ab","parentId":"fld_eae505dcaa5a4bb88db335e08fd14eff","modified":1727714259399,"created":1727459869861,"url":"{{ _.val_server }}/api/graphql","name":"Add Comment For Task","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation AddCommentForTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"AddCommentForTask\",\"variables\":{\"action\":\"Addcommentforprocess\",\"payload\":{\"processId\":\"{{_.task_id}}\",\"processType\":\"task\",\"aptCommentBox\":{\"aptComment\":{\"commentText\":\"Adding a comment using GraphQL via Postman\",\"visibilityType\":\"Public\"}}}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869861,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_ab3a2fa6a9d54a1185befa5768239916","parentId":"fld_eae505dcaa5a4bb88db335e08fd14eff","modified":1727714282344,"created":1727459869859,"url":"{{ _.val_server }}/api/graphql","name":"Remove Subtask","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation RemoveSubTaskFromTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"RemoveSubTaskFromTask\",\"variables\":{\"action\":\"Removesubtaskfromtask\",\"payload\":{\"id\":\"{{_.subtask_id}}\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869859,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_5302cde5180e4b3a8c111d33d64e81aa","parentId":"fld_eae505dcaa5a4bb88db335e08fd14eff","modified":1727714303332,"created":1727459869858,"url":"{{ _.val_server }}/api/graphql","name":"Get Activity History for Task","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query GetActivityHistoryForTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"GetActivityHistoryForTask\",\"variables\":{\"action\":\"Getactivityhistoryforincident\",\"payload\":{\"processId\":\"{{ _.task_id }}\",\"processType\":\"task\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869858,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_d3997c202c544a50a01181460e4f8e2d","parentId":"fld_eae505dcaa5a4bb88db335e08fd14eff","modified":1727714343203,"created":1727459869857,"url":"{{ _.val_server }}/api/graphql","name":"Reopen Subtask","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation ReopenSubTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"ReopenSubTask\",\"variables\":{\"action\":\"Reopensubtask\",\"payload\":{\"id\":\"{{ _.val_server }}\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869857,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_688367f77017448fb2876b62c55d845d","parentId":"fld_eae505dcaa5a4bb88db335e08fd14eff","modified":1727714367925,"created":1727459869856,"url":"{{ _.val_server }}/api/graphql","name":"Close Subtask","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation CloseSubTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"CloseSubTask\",\"variables\":{\"action\":\"Closesubtask\",\"payload\":{\"id\":\"{{ _.subtask_id }}\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869856,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_015a833998c94783ad0c41da454de781","parentId":"fld_eae505dcaa5a4bb88db335e08fd14eff","modified":1727714393170,"created":1727459869855,"url":"{{ _.val_server }}/api/graphql","name":"Close Task","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation CloseTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"CloseTask\",\"variables\":{\"action\":\"Closetask\",\"payload\":{\"id\":\"{{ _.task_id }}\",\"taskResolutionType\":\"CANCELLED\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869855,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_3b161c0b6369418894b393a2771833de","parentId":"fld_eae505dcaa5a4bb88db335e08fd14eff","modified":1727714427265,"created":1727459869854,"url":"{{ _.val_server }}/api/graphql","name":"Copy Task","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation Copytask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"Copytask\",\"variables\":{\"action\":\"Copytask\",\"payload\":{\"id\":\"{{_.task_id}}\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869854,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_aad7233977db4988a9cf8cdf393f8c5a","parentId":"fld_eae505dcaa5a4bb88db335e08fd14eff","modified":1727714444911,"created":1727459869852,"url":"{{ _.val_server }}/api/graphql","name":"Read Task Details","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query ReadTaskDetails($id: String!, $type: String!)\\n{\\n genericGetObject(type:$type, id: $id)\\n {\\n ... on ALL_RETURNS{\\n ... on Task{\\n id\\n data{\\n templateName\\n aptBusinessObjectDescription\\n isAddRemoveSubtaskAllowed\\n businessPriority\\n responsibleDepartmentAtCompany\\n }\\n taskContainsSubTask{\\n to{\\n subType\\n objectType\\n }\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n } \\n}\",\"operationName\":\"ReadTaskDetails\",\"variables\":{\"type\":\"Task\",\"id\":\"{{_.task_id}}\"}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869852,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_7fcf4898f1634c9c88e9147b06cf2f53","parentId":"fld_eae505dcaa5a4bb88db335e08fd14eff","modified":1727714487830,"created":1727459869851,"url":"{{ _.val_server }}/api/graphql","name":"Edit Task","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation EditTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"EditTask\",\"variables\":{\"action\":\"Edittask\",\"payload\":{\"id\":\"{{_.task_id}}\",\"aptBusinessObjectDescription\":\"Modifying the description using Python and GraphQL\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869851,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_1fd4ee3390da4d6e90ea911121203872","parentId":"fld_eae505dcaa5a4bb88db335e08fd14eff","modified":1727714509119,"created":1727459869850,"url":"{{ _.val_server }}/api/graphql","name":"Add Task","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation AddTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"AddTask\",\"variables\":{\"action\":\"Addtask\",\"payload\":{\"templateId\":\"{{_.task_template_id}}\",\"aptBusinessObjectSummary\":\"GraphQL test run 18 Apr 24\",\"aptBusinessObjectDescription\":\"Tasks for recurring purchase orders\",\"businessPriority\":\"LOW\",\"completionDueDate\":\"1737834411000\",\"isVisible\":true,\"isAtRisk\":false}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869850,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_d08f604c9fd64988b14101559841070b","parentId":"fld_ef1e9de5b6334a46acf6c8f0f1d82539","modified":1727715091697,"created":1727459869848,"url":"{{ _.val_server }}/api/graphql","name":"Read Document Review","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query readDocumentReview($id: String!, $type: String!)\\n{\\n genericGetObject(type: $type, id: $id)\\n {\\n ... on ALL_RETURNS{\\n ... on DocumentReview {\\n id\\n currentBaseState\\n currentSubState\\n data {\\n aptBusinessObjectId\\n aptBusinessObjectSummary\\n aptBusinessObjectDescription\\n responsibleDepartmentAtCompany\\n responsibleDepartmentAtPartner\\n businessPriority\\n createdByPartner\\n productId\\n aptBusinessObjectImpactsLocationMasterData{\\n locationType\\n locationContact\\n partnerLocationId\\n }\\n __typename\\n }\\n aptBusinessObjectContainsComment{\\n to {\\n ... on AptComment{\\n id\\n data{\\n commentText\\n visibilityType\\n }\\n }\\n }\\n }\\n aptBusinessObjectContainsAttachment{\\n to {\\n ... on AptAttachment{\\n data{\\n fileName\\n fileSize\\n visibilityType\\n fileS3Location\\n }\\n }\\n }\\n }\\n __typename\\n }\\n __typename\\n }\\n } \\n}\",\"operationName\":\"readDocumentReview\",\"variables\":{\"type\":\"DocumentReview\",\"id\":\"{{ _.document_review_id }}\"}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869848,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_ef1e9de5b6334a46acf6c8f0f1d82539","parentId":"fld_8af9e9e548594791b1a1493a43987f61","modified":1727459869840,"created":1727459869840,"name":"Document Review Process","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1727459869840,"_type":"request_group"},{"_id":"req_f468f52337a443f9b90393f16c788d01","parentId":"fld_ef1e9de5b6334a46acf6c8f0f1d82539","modified":1727715601341,"created":1727459869846,"url":"{{ _.val_server }}/api/graphql","name":"Get Activity History for Document Review","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query GetActivityHistoryForDocumentReview($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"GetActivityHistoryForDocumentReview\",\"variables\":{\"action\":\"Getactivityhistoryforincident\",\"payload\":{\"processId\":\"{{_.document_review_id}}\",\"processType\":\"documentReview\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869846,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_b48972ce55c74ad6bb6dbdf1ad647874","parentId":"fld_ef1e9de5b6334a46acf6c8f0f1d82539","modified":1727715661480,"created":1727459869845,"url":"{{ _.val_server }}/api/graphql","name":"List Document Review Comments","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query ListDocumentReviewComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"ListDocumentReviewComments\",\"variables\":{\"action\":\"Listcommentsfordocumentreview\",\"payload\":{\"id\":\"{{_.document_review_id}}\",\"processType\":\"documentReview\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869845,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_72c3f328c55a487382d310a8df55ccc3","parentId":"fld_ef1e9de5b6334a46acf6c8f0f1d82539","modified":1727715708465,"created":1727459869844,"url":"{{ _.val_server }}/api/graphql","name":"Add Document Review Comment","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation AddChangeComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"AddChangeComments\",\"variables\":{\"action\":\"Addcommentfordocumentreview\",\"payload\":{\"processId\":\"{{_.document_review_id}}\",\"processType\":\"documentReview\",\"aptCommentBox\":{\"aptComment\":{\"commentText\":\"Adding a test comment to Document Review using Postman and GraphQL.\",\"visibilityType\":\"Public\"}}}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869844,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_c6d95851f2ca4aa9a3d5b5b625f44f76","parentId":"fld_ef1e9de5b6334a46acf6c8f0f1d82539","modified":1727715726927,"created":1727459869842,"url":"{{ _.val_server }}/api/graphql","name":"Edit Document Review","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation EditDocumentReview($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"EditDocumentReview\",\"variables\":{\"action\":\"Editdocumentreview\",\"payload\":{\"id\":\"{{_.document_review_id}}\",\"aptBusinessObjectSummary\":\"GraphQL test run 18 Apr 24\",\"aptBusinessObjectDescription\":\"Using graphql in postman to edit document review incident\",\"businessPriority\":\"LOW\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869842,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_c2e26b3c01c74439b973f1ac1aca2f94","parentId":"fld_ef1e9de5b6334a46acf6c8f0f1d82539","modified":1727715763510,"created":1727459869841,"url":"{{ _.val_server }}/api/graphql","name":"Add Document Review","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation AddDocumentReview($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"AddDocumentReview\",\"variables\":{}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869841,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_63f6e469afdd46ef9ec21c95bf6b944a","parentId":"fld_7167e7b4021e487ab3a66a38fae619e2","modified":1727711523147,"created":1727459869839,"url":"{{ _.val_server }}/api/graphql","name":"Read Change","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query readChange($type: String!, $id: String!)\\n{\\n genericGetObject(type: $type, id: $id)\\n {\\n ... on ALL_RETURNS{\\n ... on Change {\\n id\\n currentBaseState\\n currentSubState\\n data {\\n aptBusinessObjectId\\n aptBusinessObjectSummary\\n aptBusinessObjectDescription\\n responsibleDepartmentAtCompany\\n responsibleDepartmentAtPartner\\n businessPriority\\n changeType\\n implementationDueDate\\n implementationTeam\\n subjectMatterExperts{\\n subjectMatterExpertName\\n subjectMatterExpertEmail\\n }\\n changeImpact{\\n changeReferenceIdentifiers{\\n referenceTransactionType\\n value\\n }\\n riskType\\n implementationNeededByDate\\n businessScopeImpact\\n otherBusinessScopeImpact\\n reasonForChange\\n reasonForChangeNotes\\n potentialRisks\\n evaluationsOfChange\\n }\\n createdByPartner\\n productId\\n aptBusinessObjectImpactsLocationMasterData{\\n locationType\\n locationContact\\n partnerLocationId\\n }\\n __typename\\n }\\n aptBusinessObjectContainsComment{\\n to {\\n ... on AptComment{\\n id\\n data{\\n commentText\\n visibilityType\\n }\\n }\\n }\\n }\\n aptBusinessObjectContainsAttachment{\\n to {\\n ... on AptAttachment{\\n data{\\n fileName\\n fileSize\\n visibilityType\\n fileS3Location\\n }\\n }\\n }\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n } \\n}\\n\",\"operationName\":\"readChange\",\"variables\":{\"type\":\"Change\",\"id\":\"{{ _.change_id }}\"}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{ _.basicKey }}","id":"pair_4ff7266b304f4851b27ef584d1aa41f0","disabled":true},{"name":"Content-Type","value":"application/json","id":"pair_5ee14fc6966e4b31b6e19e8be701ccdd"},{"name":"Dataspace","value":"default","id":"pair_ac4bed725bbf4a46b934188aed237bba"},{"name":"companyId","value":"{{ _.ownerId }}","id":"pair_e78e74f23b0444d0bab7c8c1f57c7716"},{"name":"processNetworkId","value":"{{ _.processNetworkId }}","id":"pair_7c3cceba236d44b98c81c574d959fcf0"},{"id":"pair_5509874a5a0945d9ae30877562832872","name":"Authorization","value":"Bearer {{ _.token }}","description":"","disabled":false}],"authentication":{},"metaSortKey":-1727459869839,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_7167e7b4021e487ab3a66a38fae619e2","parentId":"fld_8af9e9e548594791b1a1493a43987f61","modified":1727459869833,"created":1727459869833,"name":"Change","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1727459869833,"_type":"request_group"},{"_id":"req_f88d25fcf2d647f4b1e6d8546c43224c","parentId":"fld_7167e7b4021e487ab3a66a38fae619e2","modified":1727715792975,"created":1727459869838,"url":"{{ _.val_server }}/api/graphql","name":"GetActivityHistoryForChange","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query GetActivityHistoryForIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"GetActivityHistoryForIncident\",\"variables\":{\"action\":\"Getactivityhistoryforincident\",\"payload\":{\"processId\":\"{{_.change_id}}\",\"processType\":\"change\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869838,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_39203293490b406d8ee5e7fd48d8e900","parentId":"fld_7167e7b4021e487ab3a66a38fae619e2","modified":1727712823861,"created":1727459869837,"url":"{{ _.val_server }}/api/graphql","name":"ListChangeComments","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query ListChangeComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n } \\n}\",\"operationName\":\"ListChangeComments\",\"variables\":{\"action\":\"Listcommentsforchange\",\"payload\":{\"id\":\"{{ _.change_id }}\",\"processType\":\"change\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869837,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_81c92f5c13b24aa28817f6631493a774","parentId":"fld_7167e7b4021e487ab3a66a38fae619e2","modified":1727715853189,"created":1727459869836,"url":"{{ _.val_server }}/api/graphql","name":"AddChangeComment","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation AddChangeComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"AddChangeComments\",\"variables\":{\"action\":\"Addcommentforchange\",\"payload\":{\"processId\":\"{{_.change_id}}\",\"processType\":\"change\",\"aptCommentBox\":{\"aptComment\":{\"commentText\":\"Adding a test comment using Postman and GraphQL.\",\"visibilityType\":\"Public\"}}}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869836,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_1a0147c8b8ca4d20a42a2e99c01820aa","parentId":"fld_7167e7b4021e487ab3a66a38fae619e2","modified":1727715872778,"created":1727459869835,"url":"{{ _.val_server }}/api/graphql","name":"EditChange","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation Editchange($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"Editchange\",\"variables\":{\"action\":\"Editchange\",\"payload\":{\"id\":\"{{_.change_id}}\",\"aptBusinessObjectSummary\":\"GraphQL test run 18 Apr 24\",\"aptBusinessObjectDescription\":\"Using graphql in postman to edit.\",\"businessPriority\":\"LOW\",\"responsiblePartyAtParner\":{}}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869835,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_99de7bb7e9be4baeb9a7488ca93a5856","parentId":"fld_7167e7b4021e487ab3a66a38fae619e2","modified":1727715882273,"created":1727459869834,"url":"{{ _.val_server }}/api/graphql","name":"AddChange","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation AddChange($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Addchange\\\",\\n\\\"payload\\\":{\\n \\\"aptBusinessObjectSummary\\\": \\\"GraphQL using postman demo\\\",\\n \\\"aptBusinessObjectDescription\\\":\\\"Test case entering a change request using postman and graphQL\\\",\\n \\\"isVisible\\\": false,\\n \\\"businessPriority\\\": \\\"MEDIUM\\\"\\n }\\n}\"}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869834,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_48e7c95357c44368802fd633cfb8aa30","parentId":"fld_2591fdc643d544508aaa65c7fc7c7268","modified":1727712957028,"created":1727459869832,"url":"{{ _.val_server }}/api/graphql","name":"GetActivityHistoryForCEIncident","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query GetActivityHistoryForIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"GetActivityHistoryForIncident\",\"variables\":{\"action\":\"Getactivityhistoryforincident\",\"payload\":{\"processId\":\"{{ _.compliance_exception_incident_id }}\",\"processType\":\"complianceException\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869832,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_2591fdc643d544508aaa65c7fc7c7268","parentId":"fld_8af9e9e548594791b1a1493a43987f61","modified":1727459869823,"created":1727459869823,"name":"Compliance Exception Incident","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1727459869823,"_type":"request_group"},{"_id":"req_0b765dd9744643dc8a94fa216c3a2447","parentId":"fld_2591fdc643d544508aaa65c7fc7c7268","modified":1727716013154,"created":1727459869830,"url":"{{ _.val_server }}/api/graphql","name":"ListCEIncidentComments","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query ListIncidentComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"ListIncidentComments\",\"variables\":{\"action\":\"Listcommentsforincident\",\"payload\":{\"id\":\"{{_.compliance_exception_incident_id}}\",\"processType\":\"complianceException\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869830,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_ada9f29e69f144e09c35a4bfa636f777","parentId":"fld_2591fdc643d544508aaa65c7fc7c7268","modified":1727716153861,"created":1727459869829,"url":"{{ _.val_server }}/api/graphql","name":"AddCEIncidentComment","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation AddIncidentComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"AddIncidentComments\",\"variables\":{\"action\":\"Addcommentforincident\",\"payload\":{\"processId\":\"{{_.compliance_exception_incident_id}}\",\"processType\":\"complianceException\",\"aptCommentBox\":{\"aptComment\":{\"commentText\":\"Adding a test comment programmatically.\",\"visibilityType\":\"Public\"}}}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869829,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_669fe50225e84cfd9a1487445ceec791","parentId":"fld_2591fdc643d544508aaa65c7fc7c7268","modified":1727716059543,"created":1727459869827,"url":"{{ _.val_server }}/api/graphql","name":"ReadCEIncident","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query readIncident($type: String!, $id: String!)\\n{\\n genericGetObject(type:$type, id: $id)\\n {\\n ... on ALL_RETURNS {\\n ... on ComplianceException {\\n id\\n currentBaseState\\n currentSubState\\n data {\\n aptBusinessObjectId\\n aptBusinessObjectSummary\\n aptBusinessObjectDescription\\n responsibleDepartmentAtCompany\\n responsibleDepartmentAtPartner\\n resolutionDueDate\\n businessPriority\\n referenceIdentifiers {\\n value\\n referenceTransactionType\\n __typename\\n }\\n dateSubmitted\\n createdByPartner\\n __typename\\n }\\n aptBusinessObjectBelongsToProcessNetwork {\\n to {\\n ... on ProcessNetwork {\\n id\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectAssignedToCompanyPartnerMasterData {\\n to {\\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on PartnerMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyMasterData{\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n\\n __typename\\n }\\n __typename\\n }\\n __typename\\n } \\n}\\n\",\"operationName\":\"readIncident\",\"variables\":{\"type\":\"ComplianceException\",\"id\":\"{{_.compliance_exception_incident_id}}\"}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869827,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_57750edbf4064297b660c0ddb96f410d","parentId":"fld_2591fdc643d544508aaa65c7fc7c7268","modified":1727716093623,"created":1727459869826,"url":"{{ _.val_server }}/api/graphql","name":"EditCEIncident","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation EditIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"EditIncident\",\"variables\":{\"action\":\"Editcomplianceexception\",\"payload\":{\"id\":\"{{_.compliance_exception_incident_id}}\",\"aptBusinessObjectDescription\":\"Editing an compliance exception programmatically using graphQL for a demo.\",\"businessPriority\":\"LOW\",\"responsiblePartyAtParner\":{}}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869826,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_90cffc3e229444a9aaf5760ecdc1c1de","parentId":"fld_2591fdc643d544508aaa65c7fc7c7268","modified":1727716135127,"created":1727459869824,"url":"{{ _.val_server }}/api/graphql","name":"AddCEIncident","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation AddComplianceException($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"AddComplianceException\",\"variables\":{}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869824,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_6011d96f010a4bbf9c6ed310664143d3","parentId":"fld_ca2271413c4947b8b4c33ecfa6d7aa78","modified":1727716253102,"created":1727459869822,"url":"{{ _.val_server }}/api/graphql","name":"GetActivityHistoryForXMfgIncident","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query GetActivityHistoryForIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"GetActivityHistoryForIncident\",\"variables\":{\"action\":\"Getactivityhistoryforincident\",\"payload\":{\"processId\":\"{{_.external_manufacturing_incident_id}}\",\"processType\":\"externalManufacturingIncident\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869822,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_ca2271413c4947b8b4c33ecfa6d7aa78","parentId":"fld_8af9e9e548594791b1a1493a43987f61","modified":1727459869815,"created":1727459869815,"name":"External Manufacturing Incident","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1727459869815,"_type":"request_group"},{"_id":"req_d726daf377d24a8dacbf4d015f6d3426","parentId":"fld_ca2271413c4947b8b4c33ecfa6d7aa78","modified":1727716290272,"created":1727459869821,"url":"{{ _.val_server }}/api/graphql","name":"ListXMfgIncidentComments","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query ListIncidentComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"ListIncidentComments\",\"variables\":{\"action\":\"Listcommentsforincident\",\"payload\":{\"id\":\"{{_.external_manufacturing_incident_id}}\",\"processType\":\"externalManufacturingIncident\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869821,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_70a9f4b451be461998836b68b9172740","parentId":"fld_ca2271413c4947b8b4c33ecfa6d7aa78","modified":1727716351654,"created":1727459869820,"url":"{{ _.val_server }}/api/graphql","name":"AddXMfgIncidentComment","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation AddIncidentComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"AddIncidentComments\",\"variables\":{\"action\":\"Addcommentforincident\",\"payload\":{\"processId\":\"{{_.external_manufacturing_incident_id}}\",\"processType\":\"externalManufacturingIncident\",\"aptCommentBox\":{\"aptComment\":{\"commentText\":\"Adding a test comment using Postman and GraphQL.\",\"visibilityType\":\"Public\"}}}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869820,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_46e7e52e6f264f7c81e2d31c346cbc50","parentId":"fld_ca2271413c4947b8b4c33ecfa6d7aa78","modified":1727716373736,"created":1727459869819,"url":"{{ _.val_server }}/api/graphql","name":"ReadXMfgIncident","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query readIncident($type: String!, $id: String!)\\n{\\n genericGetObject(type:$type, id: $id)\\n {\\n ... on ALL_RETURNS {\\n ... on ExternalManufacturingIncident {\\n id\\n currentBaseState\\n currentSubState\\n data {\\n aptBusinessObjectId\\n aptBusinessObjectSummary\\n aptBusinessObjectDescription\\n responsibleDepartmentAtCompany\\n responsibleDepartmentAtPartner\\n incidentType\\n resolutionDueDate\\n externalManufacturingImpact{\\n businessImpact\\n businessPriority\\n }\\n referenceIdentifiers {\\n value\\n referenceTransactionType\\n __typename\\n }\\n dateSubmitted\\n createdByPartner\\n __typename\\n }\\n aptBusinessObjectBelongsToProcessNetwork {\\n to {\\n ... on ProcessNetwork {\\n id\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectCompanyAssignedUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPartnerAssignedUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectCompanyOwnerUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPartnerOwnerUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectAssignedToCompanyPartnerMasterData {\\n to {\\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on PartnerMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyMasterData{\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPrimaryPartnerLocationMasterData {\\n to {\\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n } \\n}\\nfragment userName on User {\\n id\\n data {\\n givenName\\n surname\\n __typename\\n }\\n __typename\\n} \",\"operationName\":\"readIncident\",\"variables\":{\"type\":\"ExternalManufacturingIncident\",\"id\":\"{{_.external_manufacturing_incident_id}}\"}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869819,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_5047930933d048e197c7abb975eea778","parentId":"fld_ca2271413c4947b8b4c33ecfa6d7aa78","modified":1727716413767,"created":1727459869818,"url":"{{ _.val_server }}/api/graphql","name":"EditXMfgIncident","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation EditIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"EditIncident\",\"variables\":{\"action\":\"Editexternalmanufacturingincident\",\"payload\":{\"id\":\"{{_.external_manufacturing_incident_id}}\",\"aptBusinessObjectDescription\":\"Editing an external manufacturing incident programmatically using graphQL for a demo.\",\"businessPriority\":\"LOW\",\"responsiblePartyAtParner\":{}}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869818,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_4ddc5c49d58040f5852eca7e489ad431","parentId":"fld_ca2271413c4947b8b4c33ecfa6d7aa78","modified":1727716426323,"created":1727459869816,"url":"{{ _.val_server }}/api/graphql","name":"AddXMfgIncident","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation AddIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"AddIncident\",\"variables\":{}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869816,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_dd4c71aad7e844278b9ebd09cf39610d","parentId":"fld_5b22652bbb974c7ea3317fda537198a8","modified":1727716447492,"created":1727459869814,"url":"{{ _.val_server }}/api/graphql","name":"GetActivityHistoryForDsIncident","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query GetActivityHistoryForIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"GetActivityHistoryForIncident\",\"variables\":{\"action\":\"Getactivityhistoryforincident\",\"payload\":{\"processId\":\"{{_.direct_supplier_incident_id}}\",\"processType\":\"directSupplierIncident\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869814,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_5b22652bbb974c7ea3317fda537198a8","parentId":"fld_8af9e9e548594791b1a1493a43987f61","modified":1727459869805,"created":1727459869805,"name":"Direct Supplier Incident","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1727459869805,"_type":"request_group"},{"_id":"req_f11dcc4f903145f0bb931e8de16bfeb8","parentId":"fld_5b22652bbb974c7ea3317fda537198a8","modified":1727716470825,"created":1727459869812,"url":"{{ _.val_server }}/api/graphql","name":"ListDsIncidentComments","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query ListIncidentComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"ListIncidentComments\",\"variables\":{\"action\":\"Listcommentsforincident\",\"payload\":{\"id\":\"{{_.direct_supplier_incident_id}}\",\"processType\":\"directSupplierIncident\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869812,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_450bf413916e41cfae52caf5566cfcdb","parentId":"fld_5b22652bbb974c7ea3317fda537198a8","modified":1727716616123,"created":1727459869811,"url":"{{ _.val_server }}/api/graphql","name":"AddDsIncidentComment","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation AddIncidentComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"AddIncidentComments\",\"variables\":{\"action\":\"Addcommentforincident\",\"payload\":{\"processId\":\"{{_.direct_supplier_incident_id}}\",\"processType\":\"directSupplierIncident\",\"aptCommentBox\":{\"aptComment\":{\"commentText\":\"Adding another test comment programmatically.\",\"visibilityType\":\"Public\"}}}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869811,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_4be1097621644bd7ba5e01c9f7929733","parentId":"fld_5b22652bbb974c7ea3317fda537198a8","modified":1727716532015,"created":1727459869809,"url":"{{ _.val_server }}/api/graphql","name":"ReadDsIncident","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query readIncident($type: String!, $id: String!)\\n{\\n genericGetObject(type:$type, id: $id)\\n {\\n ... on ALL_RETURNS {\\n ... on DirectSupplierIncident {\\n id\\n currentBaseState\\n currentSubState\\n data {\\n aptBusinessObjectId\\n aptBusinessObjectSummary\\n aptBusinessObjectDescription\\n responsibleDepartmentAtCompany\\n responsibleDepartmentAtPartner\\n incidentType\\n resolutionDueDate\\n directSupplierImpact{\\n businessPriority\\n }\\n referenceIdentifiers {\\n value\\n referenceTransactionType\\n __typename\\n }\\n dateSubmitted\\n createdByPartner\\n __typename\\n }\\n aptBusinessObjectBelongsToProcessNetwork {\\n to {\\n ... on ProcessNetwork {\\n id\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectCompanyAssignedUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPartnerAssignedUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectCompanyOwnerUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPartnerOwnerUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectAssignedToCompanyPartnerMasterData {\\n to {\\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on PartnerMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyMasterData{\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPrimaryPartnerLocationMasterData {\\n to {\\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n } \\n}\\nfragment userName on User {\\n id\\n data {\\n givenName\\n surname\\n __typename\\n }\\n __typename\\n} \",\"operationName\":\"readIncident\",\"variables\":{\"type\":\"DirectSupplierIncident\",\"id\":\"{{_.direct_supplier_incident_id}}\"}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869809,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_5ea05207dc334200a37067cb767febd9","parentId":"fld_5b22652bbb974c7ea3317fda537198a8","modified":1727716565576,"created":1727459869807,"url":"{{ _.val_server }}/api/graphql","name":"EditDsIncident","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation EditIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"EditIncident\",\"variables\":{\"action\":\"Editdirectsupplierincident\",\"payload\":{\"id\":\"{{_.direct_supplier_incident_id}}\",\"aptBusinessObjectDescription\":\"Editing an incident programmatically using graphQL for a demo3.\",\"businessPriority\":\"LOW\",\"responsiblePartyAtParner\":{}}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869807,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_3dbf7f27ac654a6b9b6fc86299b78acf","parentId":"fld_5b22652bbb974c7ea3317fda537198a8","modified":1727716574754,"created":1727459869806,"url":"{{ _.val_server }}/api/graphql","name":"AddDsIncident","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation AddIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Adddirectsupplierincident\\\",\\n\\\"payload\\\":{\\n \\\"aptBusinessObjectSummary\\\": \\\"GraphQL Python DS Incident test run 4/18/24\\\",\\n \\\"aptBusinessObjectDescription\\\":\\\"Adding an incident programmatically using graphQL via Python.\\\",\\n \\\"directSupplierImpact\\\":{\\n \\\"businessPriority\\\":\\\"MEDIUM\\\"\\n },\\n \\\"resolutionDueDate\\\":1736613281000 // 11 Jan 2025\\n }\\n}\"}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869806,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_a5d1337ffac14b298f27f46ff766ea5c","parentId":"fld_0fb74605085e45b09701ac108d13c381","modified":1727716653015,"created":1727459869804,"url":"{{ _.val_server }}/api/graphql","name":"GetActivityHistoryForIncident","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query GetActivityHistoryForIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"GetActivityHistoryForIncident\",\"variables\":{\"action\":\"Getactivityhistoryforincident\",\"payload\":{\"processId\":\"{{_.incident_id}}\",\"processType\":\"incident\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869804,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_0fb74605085e45b09701ac108d13c381","parentId":"fld_8af9e9e548594791b1a1493a43987f61","modified":1727459869793,"created":1727459869793,"name":"incident","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1727459869793,"_type":"request_group"},{"_id":"req_28bd86d076594d49b9c3c9f48be3e95e","parentId":"fld_0fb74605085e45b09701ac108d13c381","modified":1727716671665,"created":1727459869803,"url":"{{ _.val_server }}/api/graphql","name":"ListIncidentComments","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query ListIncidentComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"ListIncidentComments\",\"variables\":{\"action\":\"Listcommentsforincident\",\"payload\":{\"id\":\"{{_.incident_id}}\",\"processType\":\"incident\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869803,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_0f6aaef03f1a405fafcaf3c8fc956963","parentId":"fld_0fb74605085e45b09701ac108d13c381","modified":1727716714921,"created":1727459869802,"url":"{{ _.val_server }}/api/graphql","name":"AddIncidentComment","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation AddIncidentComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"AddIncidentComments\",\"variables\":{\"action\":\"Addcommentforincident\",\"payload\":{\"processId\":\"{{_.incident_id}}\",\"processType\":\"incident\",\"aptCommentBox\":{\"aptComment\":{\"commentText\":\"Adding a test comment using Postman and GraphQL.\",\"visibilityType\":\"Public\"}}}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869802,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_ce5c4dae2fac41c29bf4754b397f3b59","parentId":"fld_0fb74605085e45b09701ac108d13c381","modified":1727716748159,"created":1727459869799,"url":"{{ _.val_server }}/api/graphql","name":"ReadIncident","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query readIncident($type: String!, $id: String!)\\n{\\n genericGetObject(type:$type, id: $id)\\n {\\n ... on ALL_RETURNS {\\n ... on Incident {\\n id\\n currentBaseState\\n currentSubState\\n data {\\n aptBusinessObjectId\\n aptBusinessObjectSummary\\n aptBusinessObjectDescription\\n responsibleDepartmentAtCompany\\n responsibleDepartmentAtPartner\\n incidentType\\n businessPriority\\n resolutionDueDate\\n incidentConclusion {\\n dateClosed\\n finalRootCause\\n resolutionType\\n isReoccuring\\n closingStatement\\n __typename\\n }\\n referenceIdentifiers {\\n value\\n referenceTransactionType\\n __typename\\n }\\n dateSubmitted\\n createdByPartner\\n __typename\\n }\\n aptBusinessObjectContainsComment{\\n to {\\n ... on AptComment{\\n id\\n data{\\n commentText\\n visibilityType\\n }\\n }\\n }\\n }\\n issueRelatedToImpactedProductDetail {\\n to {\\n ... on ProductMasterData {\\n id\\n data {\\n productItemInformation {\\n productName\\n packSize\\n strength\\n dosageForm\\n productLanguageCode\\n isLightSensitive\\n __typename\\n }\\n packagingInformation {\\n packagingCode {\\n packagingCodeType\\n packagingCodeValue\\n __typename\\n }\\n __typename\\n }\\n regulatoryItemCodes {\\n regulatoryItemCode{\\n regulatoryItemCodeType\\n regulatoryItemCodeValue\\n __typename\\n }\\n __typename\\n }\\n packagingInformationAndRegulatoryItemCodesDerivedField\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n impactedLots\\n __typename\\n }\\n aptBusinessObjectBelongsToProcessNetwork {\\n to {\\n ... on ProcessNetwork {\\n id\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectCompanyAssignedUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPartnerAssignedUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectCompanyOwnerUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPartnerOwnerUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectAssignedToCompanyPartnerMasterData {\\n to {\\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on PartnerMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyMasterData{\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPrimaryPartnerLocationMasterData {\\n to {\\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n } \\n}\\nfragment userName on User {\\n id\\n data {\\n givenName\\n surname\\n __typename\\n }\\n __typename\\n} \",\"operationName\":\"readIncident\",\"variables\":{\"type\":\"Incident\",\"id\":\"{{_.incident_id}}\"}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869799,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_33da399fd6f8448f94aad1b475e4e9f0","parentId":"fld_0fb74605085e45b09701ac108d13c381","modified":1727716770051,"created":1727459869797,"url":"{{ _.val_server }}/api/graphql","name":"EditIncident","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation EditIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"EditIncident\",\"variables\":{\"action\":\"Editincident\",\"payload\":{\"id\":\"{{_.incident_id}}\",\"aptBusinessObjectDescription\":\"Editing an incident programmatically using graphQL for a demo.\",\"businessPriority\":\"LOW\",\"responsiblePartyAtParner\":{}}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869797,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_29cbd1de9b2a44488f10bdcbb68bcb06","parentId":"fld_0fb74605085e45b09701ac108d13c381","modified":1727716788337,"created":1727459869794,"url":"{{ _.val_server }}/api/graphql","name":"AddIncident","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation AddIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"AddIncident\",\"variables\":{}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869794,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"env_a7a80b22acff65a0208fb353faa6d81fa0c1fec6","parentId":"wrk_b52c1911f5b744a99b0bee28f8b96bb0","modified":1727462344816,"created":1727459658257,"name":"Base Environment","data":{},"dataPropertyOrder":{},"color":null,"isPrivate":false,"metaSortKey":1727459658257,"_type":"environment"},{"_id":"jar_a7a80b22acff65a0208fb353faa6d81fa0c1fec6","parentId":"wrk_b52c1911f5b744a99b0bee28f8b96bb0","modified":1727783967671,"created":1727459658259,"name":"Default Jar","cookies":[{"key":"AWSALB","value":"RCHW9DG2rXAA4fkSHbbgmkkM0RkeAfBbvc4BMoMY8uX0UNleG5BY3t3QNUTivb7TRw7QiVETahZ4/mDLfa5ErvzG0vSnvlj1W+OLwwDpg1FgDXbJFyBaNF8L9WYv","expires":"2024-10-08T11:59:27.000Z","domain":"valvir-opus.tracelink.com","path":"/","hostOnly":true,"creation":"2024-09-30T12:57:49.787Z","lastAccessed":"2024-10-01T11:59:27.670Z","id":"8603489038417773"},{"key":"AWSALBCORS","value":"RCHW9DG2rXAA4fkSHbbgmkkM0RkeAfBbvc4BMoMY8uX0UNleG5BY3t3QNUTivb7TRw7QiVETahZ4/mDLfa5ErvzG0vSnvlj1W+OLwwDpg1FgDXbJFyBaNF8L9WYv","expires":"2024-10-08T11:59:27.000Z","domain":"valvir-opus.tracelink.com","path":"/","secure":true,"hostOnly":true,"creation":"2024-09-30T12:57:49.787Z","lastAccessed":"2024-10-01T11:59:27.670Z","sameSite":"none","id":"6465392713812943"}],"_type":"cookie_jar"}]} \ No newline at end of file From 6974461f99abeddd58cbe060955e37d71b62cae7 Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Tue, 1 Oct 2024 10:33:58 -0600 Subject: [PATCH 04/47] adjusting names for clarity --- .../{Tracelink_Insomnia.json => TL_Insomnia_Collection.json} | 0 .../insomnia/{insomniaEnv.json => TL_Insomnia_Environment.json} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename collections/insomnia/{Tracelink_Insomnia.json => TL_Insomnia_Collection.json} (100%) rename collections/insomnia/{insomniaEnv.json => TL_Insomnia_Environment.json} (100%) diff --git a/collections/insomnia/Tracelink_Insomnia.json b/collections/insomnia/TL_Insomnia_Collection.json similarity index 100% rename from collections/insomnia/Tracelink_Insomnia.json rename to collections/insomnia/TL_Insomnia_Collection.json diff --git a/collections/insomnia/insomniaEnv.json b/collections/insomnia/TL_Insomnia_Environment.json similarity index 100% rename from collections/insomnia/insomniaEnv.json rename to collections/insomnia/TL_Insomnia_Environment.json From d7cba168fe148efa6b20f87babce4910377239a9 Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Tue, 1 Oct 2024 10:35:08 -0600 Subject: [PATCH 05/47] adjusting names for clarity --- ... Public.postman_collection.json => TL_GraphQL Collection.json} | 0 .../{generic.public_upload.json => TL_Postman_Environment.json} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename collections/postman/{GraphQL Requests Public.postman_collection.json => TL_GraphQL Collection.json} (100%) rename collections/postman/{generic.public_upload.json => TL_Postman_Environment.json} (100%) diff --git a/collections/postman/GraphQL Requests Public.postman_collection.json b/collections/postman/TL_GraphQL Collection.json similarity index 100% rename from collections/postman/GraphQL Requests Public.postman_collection.json rename to collections/postman/TL_GraphQL Collection.json diff --git a/collections/postman/generic.public_upload.json b/collections/postman/TL_Postman_Environment.json similarity index 100% rename from collections/postman/generic.public_upload.json rename to collections/postman/TL_Postman_Environment.json From f5d48952b0105bc9528f103d6f651e671fa2836a Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Tue, 1 Oct 2024 10:35:51 -0600 Subject: [PATCH 06/47] fixing name --- .../{TL_GraphQL Collection.json => TL_Postman Collection.json} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename collections/postman/{TL_GraphQL Collection.json => TL_Postman Collection.json} (100%) diff --git a/collections/postman/TL_GraphQL Collection.json b/collections/postman/TL_Postman Collection.json similarity index 100% rename from collections/postman/TL_GraphQL Collection.json rename to collections/postman/TL_Postman Collection.json From f7fadeecd6742b278d2595bb70b69d77d9c264d6 Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Thu, 3 Oct 2024 08:47:20 -0600 Subject: [PATCH 07/47] restructuring folders --- GraphQL/{ => program_samples}/ceIncident/addCEIncident.py | 0 GraphQL/{ => program_samples}/ceIncident/addCEIncidentComment.py | 0 GraphQL/{ => program_samples}/ceIncident/editCEIncident.py | 0 GraphQL/{ => program_samples}/ceIncident/getCEIncidentHistory.py | 0 .../{ => program_samples}/ceIncident/listCEIncidentComments.py | 0 GraphQL/{ => program_samples}/ceIncident/readCEIncident.py | 0 GraphQL/{ => program_samples}/change/addChange.py | 0 GraphQL/{ => program_samples}/change/addChangeComment.py | 0 GraphQL/{ => program_samples}/change/edditChange.py | 0 GraphQL/{ => program_samples}/change/getChangeActivityHistory.py | 0 GraphQL/{ => program_samples}/change/listChangeComments.py | 0 GraphQL/{ => program_samples}/change/readChange.py | 0 GraphQL/{ => program_samples}/documentReview/addDocReview.py | 0 .../{ => program_samples}/documentReview/addDocReviewComment.py | 0 GraphQL/{ => program_samples}/documentReview/editDocReview.py | 0 GraphQL/{ => program_samples}/documentReview/getDocRevActivity.py | 0 .../{ => program_samples}/documentReview/listDocRevComments.py | 0 GraphQL/{ => program_samples}/documentReview/readDocReview.py | 0 GraphQL/{ => program_samples}/dsIncident/addDSIncident.py | 0 GraphQL/{ => program_samples}/dsIncident/addDSIncidentComment.py | 0 GraphQL/{ => program_samples}/dsIncident/editDSIncident.py | 0 .../dsIncident/getActivityHistoryForDSIncidents.py | 0 .../{ => program_samples}/dsIncident/listDSIncidentComments.py | 0 GraphQL/{ => program_samples}/dsIncident/readDSIncident.py | 0 GraphQL/{ => program_samples}/emIncident/addEMIncident.py | 0 GraphQL/{ => program_samples}/emIncident/addEMIncidentComment.py | 0 GraphQL/{ => program_samples}/emIncident/editEMIncident.py | 0 GraphQL/{ => program_samples}/emIncident/getEMIncidentHistory.py | 0 .../{ => program_samples}/emIncident/listEMIncidentComments.py | 0 GraphQL/{ => program_samples}/emIncident/readEMIncident.py | 0 GraphQL/{ => program_samples}/incident/addIncident.py | 0 GraphQL/{ => program_samples}/incident/addIncidentComment.py | 0 GraphQL/{ => program_samples}/incident/editIncident.py | 0 .../incident/getActivityHistoryForIncident.py | 0 GraphQL/{ => program_samples}/incident/listIncidentComments.py | 0 GraphQL/{ => program_samples}/incident/readIncident.py | 0 GraphQL/{ => program_samples}/master/getCompanyMasterData.py | 0 GraphQL/{ => program_samples}/master/getPartnerMasterData.py | 0 GraphQL/{ => program_samples}/master/getProductMasterData.py | 0 GraphQL/{ => program_samples}/task/addCommentForTask.py | 0 GraphQL/{ => program_samples}/task/addSubTaskToTask.py | 0 GraphQL/{ => program_samples}/task/addTask.py | 0 GraphQL/{ => program_samples}/task/closeSubTask.py | 0 GraphQL/{ => program_samples}/task/closeTask.py | 0 GraphQL/{ => program_samples}/task/copyTask.py | 0 GraphQL/{ => program_samples}/task/editCommentForTask.py | 0 GraphQL/{ => program_samples}/task/editSubTaskOnTask.py | 0 GraphQL/{ => program_samples}/task/editTask.py | 0 GraphQL/{ => program_samples}/task/getActivityHistoryForTask.py | 0 GraphQL/{ => program_samples}/task/listCommentForTask.py | 0 GraphQL/{ => program_samples}/task/listSubtaskForTask.py | 0 GraphQL/{ => program_samples}/task/readTaskDetails.py | 0 GraphQL/{ => program_samples}/task/removeSubtask.py | 0 GraphQL/{ => program_samples}/task/reopenSubtask.py | 0 GraphQL/{ => program_samples}/task/reopenTask.py | 0 GraphQL/{ => program_samples}/taskTemplate/addSubTaskTemplate.py | 0 GraphQL/{ => program_samples}/taskTemplate/addTaskTemplate.py | 0 .../{ => program_samples}/taskTemplate/editSubTaskonTemplate.py | 0 GraphQL/{ => program_samples}/taskTemplate/editTaskTemplate.py | 0 .../{ => program_samples}/taskTemplate/listSubtaskForTemplate.py | 0 GraphQL/{ => program_samples}/taskTemplate/readTemplateDetails.py | 0 .../taskTemplate/removeSubTaskFromTemplate.py | 0 62 files changed, 0 insertions(+), 0 deletions(-) rename GraphQL/{ => program_samples}/ceIncident/addCEIncident.py (100%) rename GraphQL/{ => program_samples}/ceIncident/addCEIncidentComment.py (100%) rename GraphQL/{ => program_samples}/ceIncident/editCEIncident.py (100%) rename GraphQL/{ => program_samples}/ceIncident/getCEIncidentHistory.py (100%) rename GraphQL/{ => program_samples}/ceIncident/listCEIncidentComments.py (100%) rename GraphQL/{ => program_samples}/ceIncident/readCEIncident.py (100%) rename GraphQL/{ => program_samples}/change/addChange.py (100%) rename GraphQL/{ => program_samples}/change/addChangeComment.py (100%) rename GraphQL/{ => program_samples}/change/edditChange.py (100%) rename GraphQL/{ => program_samples}/change/getChangeActivityHistory.py (100%) rename GraphQL/{ => program_samples}/change/listChangeComments.py (100%) rename GraphQL/{ => program_samples}/change/readChange.py (100%) rename GraphQL/{ => program_samples}/documentReview/addDocReview.py (100%) rename GraphQL/{ => program_samples}/documentReview/addDocReviewComment.py (100%) rename GraphQL/{ => program_samples}/documentReview/editDocReview.py (100%) rename GraphQL/{ => program_samples}/documentReview/getDocRevActivity.py (100%) rename GraphQL/{ => program_samples}/documentReview/listDocRevComments.py (100%) rename GraphQL/{ => program_samples}/documentReview/readDocReview.py (100%) rename GraphQL/{ => program_samples}/dsIncident/addDSIncident.py (100%) rename GraphQL/{ => program_samples}/dsIncident/addDSIncidentComment.py (100%) rename GraphQL/{ => program_samples}/dsIncident/editDSIncident.py (100%) rename GraphQL/{ => program_samples}/dsIncident/getActivityHistoryForDSIncidents.py (100%) rename GraphQL/{ => program_samples}/dsIncident/listDSIncidentComments.py (100%) rename GraphQL/{ => program_samples}/dsIncident/readDSIncident.py (100%) rename GraphQL/{ => program_samples}/emIncident/addEMIncident.py (100%) rename GraphQL/{ => program_samples}/emIncident/addEMIncidentComment.py (100%) rename GraphQL/{ => program_samples}/emIncident/editEMIncident.py (100%) rename GraphQL/{ => program_samples}/emIncident/getEMIncidentHistory.py (100%) rename GraphQL/{ => program_samples}/emIncident/listEMIncidentComments.py (100%) rename GraphQL/{ => program_samples}/emIncident/readEMIncident.py (100%) rename GraphQL/{ => program_samples}/incident/addIncident.py (100%) rename GraphQL/{ => program_samples}/incident/addIncidentComment.py (100%) rename GraphQL/{ => program_samples}/incident/editIncident.py (100%) rename GraphQL/{ => program_samples}/incident/getActivityHistoryForIncident.py (100%) rename GraphQL/{ => program_samples}/incident/listIncidentComments.py (100%) rename GraphQL/{ => program_samples}/incident/readIncident.py (100%) rename GraphQL/{ => program_samples}/master/getCompanyMasterData.py (100%) rename GraphQL/{ => program_samples}/master/getPartnerMasterData.py (100%) rename GraphQL/{ => program_samples}/master/getProductMasterData.py (100%) rename GraphQL/{ => program_samples}/task/addCommentForTask.py (100%) rename GraphQL/{ => program_samples}/task/addSubTaskToTask.py (100%) rename GraphQL/{ => program_samples}/task/addTask.py (100%) rename GraphQL/{ => program_samples}/task/closeSubTask.py (100%) rename GraphQL/{ => program_samples}/task/closeTask.py (100%) rename GraphQL/{ => program_samples}/task/copyTask.py (100%) rename GraphQL/{ => program_samples}/task/editCommentForTask.py (100%) rename GraphQL/{ => program_samples}/task/editSubTaskOnTask.py (100%) rename GraphQL/{ => program_samples}/task/editTask.py (100%) rename GraphQL/{ => program_samples}/task/getActivityHistoryForTask.py (100%) rename GraphQL/{ => program_samples}/task/listCommentForTask.py (100%) rename GraphQL/{ => program_samples}/task/listSubtaskForTask.py (100%) rename GraphQL/{ => program_samples}/task/readTaskDetails.py (100%) rename GraphQL/{ => program_samples}/task/removeSubtask.py (100%) rename GraphQL/{ => program_samples}/task/reopenSubtask.py (100%) rename GraphQL/{ => program_samples}/task/reopenTask.py (100%) rename GraphQL/{ => program_samples}/taskTemplate/addSubTaskTemplate.py (100%) rename GraphQL/{ => program_samples}/taskTemplate/addTaskTemplate.py (100%) rename GraphQL/{ => program_samples}/taskTemplate/editSubTaskonTemplate.py (100%) rename GraphQL/{ => program_samples}/taskTemplate/editTaskTemplate.py (100%) rename GraphQL/{ => program_samples}/taskTemplate/listSubtaskForTemplate.py (100%) rename GraphQL/{ => program_samples}/taskTemplate/readTemplateDetails.py (100%) rename GraphQL/{ => program_samples}/taskTemplate/removeSubTaskFromTemplate.py (100%) diff --git a/GraphQL/ceIncident/addCEIncident.py b/GraphQL/program_samples/ceIncident/addCEIncident.py similarity index 100% rename from GraphQL/ceIncident/addCEIncident.py rename to GraphQL/program_samples/ceIncident/addCEIncident.py diff --git a/GraphQL/ceIncident/addCEIncidentComment.py b/GraphQL/program_samples/ceIncident/addCEIncidentComment.py similarity index 100% rename from GraphQL/ceIncident/addCEIncidentComment.py rename to GraphQL/program_samples/ceIncident/addCEIncidentComment.py diff --git a/GraphQL/ceIncident/editCEIncident.py b/GraphQL/program_samples/ceIncident/editCEIncident.py similarity index 100% rename from GraphQL/ceIncident/editCEIncident.py rename to GraphQL/program_samples/ceIncident/editCEIncident.py diff --git a/GraphQL/ceIncident/getCEIncidentHistory.py b/GraphQL/program_samples/ceIncident/getCEIncidentHistory.py similarity index 100% rename from GraphQL/ceIncident/getCEIncidentHistory.py rename to GraphQL/program_samples/ceIncident/getCEIncidentHistory.py diff --git a/GraphQL/ceIncident/listCEIncidentComments.py b/GraphQL/program_samples/ceIncident/listCEIncidentComments.py similarity index 100% rename from GraphQL/ceIncident/listCEIncidentComments.py rename to GraphQL/program_samples/ceIncident/listCEIncidentComments.py diff --git a/GraphQL/ceIncident/readCEIncident.py b/GraphQL/program_samples/ceIncident/readCEIncident.py similarity index 100% rename from GraphQL/ceIncident/readCEIncident.py rename to GraphQL/program_samples/ceIncident/readCEIncident.py diff --git a/GraphQL/change/addChange.py b/GraphQL/program_samples/change/addChange.py similarity index 100% rename from GraphQL/change/addChange.py rename to GraphQL/program_samples/change/addChange.py diff --git a/GraphQL/change/addChangeComment.py b/GraphQL/program_samples/change/addChangeComment.py similarity index 100% rename from GraphQL/change/addChangeComment.py rename to GraphQL/program_samples/change/addChangeComment.py diff --git a/GraphQL/change/edditChange.py b/GraphQL/program_samples/change/edditChange.py similarity index 100% rename from GraphQL/change/edditChange.py rename to GraphQL/program_samples/change/edditChange.py diff --git a/GraphQL/change/getChangeActivityHistory.py b/GraphQL/program_samples/change/getChangeActivityHistory.py similarity index 100% rename from GraphQL/change/getChangeActivityHistory.py rename to GraphQL/program_samples/change/getChangeActivityHistory.py diff --git a/GraphQL/change/listChangeComments.py b/GraphQL/program_samples/change/listChangeComments.py similarity index 100% rename from GraphQL/change/listChangeComments.py rename to GraphQL/program_samples/change/listChangeComments.py diff --git a/GraphQL/change/readChange.py b/GraphQL/program_samples/change/readChange.py similarity index 100% rename from GraphQL/change/readChange.py rename to GraphQL/program_samples/change/readChange.py diff --git a/GraphQL/documentReview/addDocReview.py b/GraphQL/program_samples/documentReview/addDocReview.py similarity index 100% rename from GraphQL/documentReview/addDocReview.py rename to GraphQL/program_samples/documentReview/addDocReview.py diff --git a/GraphQL/documentReview/addDocReviewComment.py b/GraphQL/program_samples/documentReview/addDocReviewComment.py similarity index 100% rename from GraphQL/documentReview/addDocReviewComment.py rename to GraphQL/program_samples/documentReview/addDocReviewComment.py diff --git a/GraphQL/documentReview/editDocReview.py b/GraphQL/program_samples/documentReview/editDocReview.py similarity index 100% rename from GraphQL/documentReview/editDocReview.py rename to GraphQL/program_samples/documentReview/editDocReview.py diff --git a/GraphQL/documentReview/getDocRevActivity.py b/GraphQL/program_samples/documentReview/getDocRevActivity.py similarity index 100% rename from GraphQL/documentReview/getDocRevActivity.py rename to GraphQL/program_samples/documentReview/getDocRevActivity.py diff --git a/GraphQL/documentReview/listDocRevComments.py b/GraphQL/program_samples/documentReview/listDocRevComments.py similarity index 100% rename from GraphQL/documentReview/listDocRevComments.py rename to GraphQL/program_samples/documentReview/listDocRevComments.py diff --git a/GraphQL/documentReview/readDocReview.py b/GraphQL/program_samples/documentReview/readDocReview.py similarity index 100% rename from GraphQL/documentReview/readDocReview.py rename to GraphQL/program_samples/documentReview/readDocReview.py diff --git a/GraphQL/dsIncident/addDSIncident.py b/GraphQL/program_samples/dsIncident/addDSIncident.py similarity index 100% rename from GraphQL/dsIncident/addDSIncident.py rename to GraphQL/program_samples/dsIncident/addDSIncident.py diff --git a/GraphQL/dsIncident/addDSIncidentComment.py b/GraphQL/program_samples/dsIncident/addDSIncidentComment.py similarity index 100% rename from GraphQL/dsIncident/addDSIncidentComment.py rename to GraphQL/program_samples/dsIncident/addDSIncidentComment.py diff --git a/GraphQL/dsIncident/editDSIncident.py b/GraphQL/program_samples/dsIncident/editDSIncident.py similarity index 100% rename from GraphQL/dsIncident/editDSIncident.py rename to GraphQL/program_samples/dsIncident/editDSIncident.py diff --git a/GraphQL/dsIncident/getActivityHistoryForDSIncidents.py b/GraphQL/program_samples/dsIncident/getActivityHistoryForDSIncidents.py similarity index 100% rename from GraphQL/dsIncident/getActivityHistoryForDSIncidents.py rename to GraphQL/program_samples/dsIncident/getActivityHistoryForDSIncidents.py diff --git a/GraphQL/dsIncident/listDSIncidentComments.py b/GraphQL/program_samples/dsIncident/listDSIncidentComments.py similarity index 100% rename from GraphQL/dsIncident/listDSIncidentComments.py rename to GraphQL/program_samples/dsIncident/listDSIncidentComments.py diff --git a/GraphQL/dsIncident/readDSIncident.py b/GraphQL/program_samples/dsIncident/readDSIncident.py similarity index 100% rename from GraphQL/dsIncident/readDSIncident.py rename to GraphQL/program_samples/dsIncident/readDSIncident.py diff --git a/GraphQL/emIncident/addEMIncident.py b/GraphQL/program_samples/emIncident/addEMIncident.py similarity index 100% rename from GraphQL/emIncident/addEMIncident.py rename to GraphQL/program_samples/emIncident/addEMIncident.py diff --git a/GraphQL/emIncident/addEMIncidentComment.py b/GraphQL/program_samples/emIncident/addEMIncidentComment.py similarity index 100% rename from GraphQL/emIncident/addEMIncidentComment.py rename to GraphQL/program_samples/emIncident/addEMIncidentComment.py diff --git a/GraphQL/emIncident/editEMIncident.py b/GraphQL/program_samples/emIncident/editEMIncident.py similarity index 100% rename from GraphQL/emIncident/editEMIncident.py rename to GraphQL/program_samples/emIncident/editEMIncident.py diff --git a/GraphQL/emIncident/getEMIncidentHistory.py b/GraphQL/program_samples/emIncident/getEMIncidentHistory.py similarity index 100% rename from GraphQL/emIncident/getEMIncidentHistory.py rename to GraphQL/program_samples/emIncident/getEMIncidentHistory.py diff --git a/GraphQL/emIncident/listEMIncidentComments.py b/GraphQL/program_samples/emIncident/listEMIncidentComments.py similarity index 100% rename from GraphQL/emIncident/listEMIncidentComments.py rename to GraphQL/program_samples/emIncident/listEMIncidentComments.py diff --git a/GraphQL/emIncident/readEMIncident.py b/GraphQL/program_samples/emIncident/readEMIncident.py similarity index 100% rename from GraphQL/emIncident/readEMIncident.py rename to GraphQL/program_samples/emIncident/readEMIncident.py diff --git a/GraphQL/incident/addIncident.py b/GraphQL/program_samples/incident/addIncident.py similarity index 100% rename from GraphQL/incident/addIncident.py rename to GraphQL/program_samples/incident/addIncident.py diff --git a/GraphQL/incident/addIncidentComment.py b/GraphQL/program_samples/incident/addIncidentComment.py similarity index 100% rename from GraphQL/incident/addIncidentComment.py rename to GraphQL/program_samples/incident/addIncidentComment.py diff --git a/GraphQL/incident/editIncident.py b/GraphQL/program_samples/incident/editIncident.py similarity index 100% rename from GraphQL/incident/editIncident.py rename to GraphQL/program_samples/incident/editIncident.py diff --git a/GraphQL/incident/getActivityHistoryForIncident.py b/GraphQL/program_samples/incident/getActivityHistoryForIncident.py similarity index 100% rename from GraphQL/incident/getActivityHistoryForIncident.py rename to GraphQL/program_samples/incident/getActivityHistoryForIncident.py diff --git a/GraphQL/incident/listIncidentComments.py b/GraphQL/program_samples/incident/listIncidentComments.py similarity index 100% rename from GraphQL/incident/listIncidentComments.py rename to GraphQL/program_samples/incident/listIncidentComments.py diff --git a/GraphQL/incident/readIncident.py b/GraphQL/program_samples/incident/readIncident.py similarity index 100% rename from GraphQL/incident/readIncident.py rename to GraphQL/program_samples/incident/readIncident.py diff --git a/GraphQL/master/getCompanyMasterData.py b/GraphQL/program_samples/master/getCompanyMasterData.py similarity index 100% rename from GraphQL/master/getCompanyMasterData.py rename to GraphQL/program_samples/master/getCompanyMasterData.py diff --git a/GraphQL/master/getPartnerMasterData.py b/GraphQL/program_samples/master/getPartnerMasterData.py similarity index 100% rename from GraphQL/master/getPartnerMasterData.py rename to GraphQL/program_samples/master/getPartnerMasterData.py diff --git a/GraphQL/master/getProductMasterData.py b/GraphQL/program_samples/master/getProductMasterData.py similarity index 100% rename from GraphQL/master/getProductMasterData.py rename to GraphQL/program_samples/master/getProductMasterData.py diff --git a/GraphQL/task/addCommentForTask.py b/GraphQL/program_samples/task/addCommentForTask.py similarity index 100% rename from GraphQL/task/addCommentForTask.py rename to GraphQL/program_samples/task/addCommentForTask.py diff --git a/GraphQL/task/addSubTaskToTask.py b/GraphQL/program_samples/task/addSubTaskToTask.py similarity index 100% rename from GraphQL/task/addSubTaskToTask.py rename to GraphQL/program_samples/task/addSubTaskToTask.py diff --git a/GraphQL/task/addTask.py b/GraphQL/program_samples/task/addTask.py similarity index 100% rename from GraphQL/task/addTask.py rename to GraphQL/program_samples/task/addTask.py diff --git a/GraphQL/task/closeSubTask.py b/GraphQL/program_samples/task/closeSubTask.py similarity index 100% rename from GraphQL/task/closeSubTask.py rename to GraphQL/program_samples/task/closeSubTask.py diff --git a/GraphQL/task/closeTask.py b/GraphQL/program_samples/task/closeTask.py similarity index 100% rename from GraphQL/task/closeTask.py rename to GraphQL/program_samples/task/closeTask.py diff --git a/GraphQL/task/copyTask.py b/GraphQL/program_samples/task/copyTask.py similarity index 100% rename from GraphQL/task/copyTask.py rename to GraphQL/program_samples/task/copyTask.py diff --git a/GraphQL/task/editCommentForTask.py b/GraphQL/program_samples/task/editCommentForTask.py similarity index 100% rename from GraphQL/task/editCommentForTask.py rename to GraphQL/program_samples/task/editCommentForTask.py diff --git a/GraphQL/task/editSubTaskOnTask.py b/GraphQL/program_samples/task/editSubTaskOnTask.py similarity index 100% rename from GraphQL/task/editSubTaskOnTask.py rename to GraphQL/program_samples/task/editSubTaskOnTask.py diff --git a/GraphQL/task/editTask.py b/GraphQL/program_samples/task/editTask.py similarity index 100% rename from GraphQL/task/editTask.py rename to GraphQL/program_samples/task/editTask.py diff --git a/GraphQL/task/getActivityHistoryForTask.py b/GraphQL/program_samples/task/getActivityHistoryForTask.py similarity index 100% rename from GraphQL/task/getActivityHistoryForTask.py rename to GraphQL/program_samples/task/getActivityHistoryForTask.py diff --git a/GraphQL/task/listCommentForTask.py b/GraphQL/program_samples/task/listCommentForTask.py similarity index 100% rename from GraphQL/task/listCommentForTask.py rename to GraphQL/program_samples/task/listCommentForTask.py diff --git a/GraphQL/task/listSubtaskForTask.py b/GraphQL/program_samples/task/listSubtaskForTask.py similarity index 100% rename from GraphQL/task/listSubtaskForTask.py rename to GraphQL/program_samples/task/listSubtaskForTask.py diff --git a/GraphQL/task/readTaskDetails.py b/GraphQL/program_samples/task/readTaskDetails.py similarity index 100% rename from GraphQL/task/readTaskDetails.py rename to GraphQL/program_samples/task/readTaskDetails.py diff --git a/GraphQL/task/removeSubtask.py b/GraphQL/program_samples/task/removeSubtask.py similarity index 100% rename from GraphQL/task/removeSubtask.py rename to GraphQL/program_samples/task/removeSubtask.py diff --git a/GraphQL/task/reopenSubtask.py b/GraphQL/program_samples/task/reopenSubtask.py similarity index 100% rename from GraphQL/task/reopenSubtask.py rename to GraphQL/program_samples/task/reopenSubtask.py diff --git a/GraphQL/task/reopenTask.py b/GraphQL/program_samples/task/reopenTask.py similarity index 100% rename from GraphQL/task/reopenTask.py rename to GraphQL/program_samples/task/reopenTask.py diff --git a/GraphQL/taskTemplate/addSubTaskTemplate.py b/GraphQL/program_samples/taskTemplate/addSubTaskTemplate.py similarity index 100% rename from GraphQL/taskTemplate/addSubTaskTemplate.py rename to GraphQL/program_samples/taskTemplate/addSubTaskTemplate.py diff --git a/GraphQL/taskTemplate/addTaskTemplate.py b/GraphQL/program_samples/taskTemplate/addTaskTemplate.py similarity index 100% rename from GraphQL/taskTemplate/addTaskTemplate.py rename to GraphQL/program_samples/taskTemplate/addTaskTemplate.py diff --git a/GraphQL/taskTemplate/editSubTaskonTemplate.py b/GraphQL/program_samples/taskTemplate/editSubTaskonTemplate.py similarity index 100% rename from GraphQL/taskTemplate/editSubTaskonTemplate.py rename to GraphQL/program_samples/taskTemplate/editSubTaskonTemplate.py diff --git a/GraphQL/taskTemplate/editTaskTemplate.py b/GraphQL/program_samples/taskTemplate/editTaskTemplate.py similarity index 100% rename from GraphQL/taskTemplate/editTaskTemplate.py rename to GraphQL/program_samples/taskTemplate/editTaskTemplate.py diff --git a/GraphQL/taskTemplate/listSubtaskForTemplate.py b/GraphQL/program_samples/taskTemplate/listSubtaskForTemplate.py similarity index 100% rename from GraphQL/taskTemplate/listSubtaskForTemplate.py rename to GraphQL/program_samples/taskTemplate/listSubtaskForTemplate.py diff --git a/GraphQL/taskTemplate/readTemplateDetails.py b/GraphQL/program_samples/taskTemplate/readTemplateDetails.py similarity index 100% rename from GraphQL/taskTemplate/readTemplateDetails.py rename to GraphQL/program_samples/taskTemplate/readTemplateDetails.py diff --git a/GraphQL/taskTemplate/removeSubTaskFromTemplate.py b/GraphQL/program_samples/taskTemplate/removeSubTaskFromTemplate.py similarity index 100% rename from GraphQL/taskTemplate/removeSubTaskFromTemplate.py rename to GraphQL/program_samples/taskTemplate/removeSubTaskFromTemplate.py From 4b2247078ae23a3666be6f24ee4bd51f9545c8d8 Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Tue, 8 Oct 2024 14:03:04 -0600 Subject: [PATCH 08/47] adding raw graphql queries --- GraphQL/raw_queries/change/readChange.gql | 1 + GraphQL/raw_queries/compliance_exception/AddCEIncident.gql | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 GraphQL/raw_queries/change/readChange.gql create mode 100644 GraphQL/raw_queries/compliance_exception/AddCEIncident.gql diff --git a/GraphQL/raw_queries/change/readChange.gql b/GraphQL/raw_queries/change/readChange.gql new file mode 100644 index 0000000..9801929 --- /dev/null +++ b/GraphQL/raw_queries/change/readChange.gql @@ -0,0 +1 @@ +{\"query\":\"query readChange($type: String!, $id: String!)\\n{\\n genericGetObject(type:$type, id: $id)\\n {\\n ... on ALL_RETURNS{\\n ... on Change {\\n id\\n currentBaseState\\n currentSubState\\n data {\\n aptBusinessObjectId\\n aptBusinessObjectSummary\\n aptBusinessObjectDescription\\n responsibleDepartmentAtCompany\\n responsibleDepartmentAtPartner\\n businessPriority\\n changeType\\n implementationDueDate\\n implementationTeam\\n subjectMatterExperts{\\n subjectMatterExpertName\\n subjectMatterExpertEmail\\n }\\n changeImpact{\\n changeReferenceIdentifiers{\\n referenceTransactionType\\n value\\n }\\n riskType\\n implementationNeededByDate\\n businessScopeImpact\\n otherBusinessScopeImpact\\n reasonForChange\\n reasonForChangeNotes\\n potentialRisks\\n evaluationsOfChange\\n }\\n createdByPartner\\n productId\\n aptBusinessObjectImpactsLocationMasterData{\\n locationType\\n locationContact\\n partnerLocationId\\n }\\n __typename\\n }\\n aptBusinessObjectContainsComment{\\n to {\\n ... on AptComment{\\n id\\n data{\\n commentText\\n visibilityType\\n }\\n }\\n }\\n }\\n aptBusinessObjectContainsAttachment{\\n to {\\n ... on AptAttachment{\\n data{\\n fileName\\n fileSize\\n visibilityType\\n fileS3Location\\n }\\n }\\n }\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n } \\n}\\n\",\"variables\":{\"type\":\"Change\",\"id\":\"4507844b-2bf1-4ae8-afad-09d432106038\"}} \ No newline at end of file diff --git a/GraphQL/raw_queries/compliance_exception/AddCEIncident.gql b/GraphQL/raw_queries/compliance_exception/AddCEIncident.gql new file mode 100644 index 0000000..6873d6d --- /dev/null +++ b/GraphQL/raw_queries/compliance_exception/AddCEIncident.gql @@ -0,0 +1,6 @@ +mutation AddComplianceException($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} From 751edd854279ae62a9a413597edd381befda5d0d Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Thu, 10 Oct 2024 07:46:25 -0600 Subject: [PATCH 09/47] restructuring folders --- GraphQL/raw_queries/change/readChange.gql | 1 - .../raw_queries/change_request/addChange.gql | 18 +++++ .../raw_queries/change_request/readChange.gql | 81 +++++++++++++++++++ .../TL_Insomnia_Collection.json | 0 .../TL_Insomnia_Environment.json | 0 .../changeRequest/ChangeRequest.MD | 0 ...ChangeRequestAllFieldsPayloadTemplate.json | 0 ...ChangeRequestMinFieldsPayloadTemplate.json | 0 .../addCommentForChangePayloadTemplate.json | 0 .../closeChangeRequestPayloadTemplate.json | 0 .../copyChangeRequestPayloadTemplate.json | 0 ...ChangeRequestBaseStatePayloadTemplate.json | 0 ...geRequestPartnerImpactPayloadTemplate.json | 0 ...itCommentTextForChangePayloadTemplate.json | 0 ...tChangeActivityHistoryPayloadTemplate.json | 0 .../listCommentsForChangePayloadTemplate.json | 0 .../readChangePayloadTemplate.json | 0 ...hmentFromchangeCommentPayloadTemplate.json | 0 .../reopenChangeRequestPayloadTemplate.json | 0 ...oggleUserFollowsChangePayloadTemplate.json | 0 .../addDirSupIncidentPayloadTemplate.json | 0 .../closeDirSupIncidentPayloadTemplate.json | 0 .../copyDirSupIncidentPayloadTemplate.json | 0 .../directSupplierIncident.MD | 0 ...editDirSupIncBaseStatePayloadTemplate.json | 0 ...editDirSupIncFinalRespPayloadTemplate.json | 0 .../editDirSupIncInitRespPayloadTemplate.json | 0 ...ditDirSupIncPartnerImpPayloadTemplate.json | 0 .../readDirSupIncidentPayloadTemplate.json | 0 .../reopenDirSupIncidentPayloadTemplate.json | 0 .../submitDirSupIncidentPayloadTemplate.json | 0 .../addExtMfgIncidentPayloadTemplate.json | 0 .../closeExtMfgIncidentPayloadTemplate.json | 0 .../copyExtMfgIncidentPayloadTemplate.json | 0 ...editExtMfgIncBaseStatePayloadTemplate.json | 0 .../editMfgIncFinalRespPayloadTemplate.json | 0 .../editMfgIncInitRespPayloadTemplate.json | 0 ...ditMfgIncPartnerImpactPayloadTemplate.json | 0 .../externalManufacturingIncident.MD | 0 .../readExtMfgIncidentPayloadTemplate.json | 0 .../reopenExtMfgIncidentPayloadTemplate.json | 0 ...bmitExtMfgIncToPartnerPayloadTemplate.json | 0 .../incident/addIncidentPayloadTemplate.json | 0 .../closeIncidentPayloadTemplate.json | 0 .../incident/copyIncidentPayloadTemplate.json | 0 .../incident/editIncidentPayloadTemplate.json | 0 .../{ => json_only}/incident/incident.MD | 0 .../incident/readIncidentPayloadTemplate.json | 0 .../reopenIncidentPayloadTemplate.json | 0 .../submitIncidentPayloadTemplate.json | 0 .../addIndSupIncMinFieldsPayloadTemplate.json | 0 .../addIndSupIncPayloadTemplate.json | 0 .../closeIndSupIncPayloadTemplate.json | 0 .../copyIndSupIncPayloadTemplate.json | 0 .../editIndSupBaseStatePayloadTemplate.json | 0 ...editIndSupIncFinalRespPayloadTemplate.json | 0 .../editIndSupIncInitRespPayloadTemplate.json | 0 .../editIndSupIncPartnerPayloadTemplate.json | 0 .../readIndSupIncPayloadTemplate.json | 0 .../reopenIndSupIncPayloadTemplate.json | 0 ...submitIndSupIncPartnerPayloadTemplate.json | 0 .../addIntMfgIncFullPayloadTemplate.json | 0 .../addIntMfgIncMinFieldsPayloadTemplate.json | 0 .../closeIntMfgIncPayloadTemplate.json | 0 .../copyIntMfgIncPayloadTemplate.json | 0 ...editIntMfgIncBaseStatePayloadTemplate.json | 0 ...editIntMfgIncFinalRespPayloadTemplate.json | 0 .../editIntMfgIncImpactPayloadTemplate.json | 0 .../editIntMfgIncInitRespPayloadTemplate.json | 0 .../readIntMfgIncPayloadTemplate.json | 0 .../reopenIntMfgIncRespPayloadTemplate.json | 0 .../{ => json_only}/masterData/masterData.MD | 0 .../queryCompanyMasterTemplate.json | 0 .../queryPartnerMasterTemplate.json | 0 .../queryProductMasterTemplate.json | 0 .../shared/addCommentPayloadTemplate.json | 0 ...tCommentForProcessRespPayloadTemplate.json | 0 .../getActivityHistoryPayloadTemplate.json | 0 .../shared/listCommentsPayloadTemplate.json | 0 .../{ => json_only}/shared/shared.MD | 0 ...ggleUserFollowsProcessPayloadTemplate.json | 0 .../task/addTaskPayloadTemplate.json | 0 .../task/addTaskSubTaskPayloadTemplate.json | 0 .../task/closeSubTaskPayloadTemplate.json | 0 .../task/closeTaskPayloadTemplate.json | 0 .../task/copyTaskPayloadTemplate.json | 0 .../task/editSubTaskPayloadTemplate.json | 0 .../task/editTaskPayloadTemplate.json | 0 .../listSubTaskForTaskPayloadTemplate.json | 0 .../task/readTaskPayloadTemplate.json | 0 .../removeSubTaskFromTaskPayloadTemplate.json | 0 .../task/reopenSubTaskPayloadTemplate.json | 0 .../task/reopenTaskPayloadTemplate.json | 0 ...submitSubTaskToPartnerPayloadTemplate.json | 0 payload_samples/{ => json_only}/task/task.MD | 0 .../addSubTaskToTemplatePayloadTemplate.json | 0 .../addTaskTemplatePayloadTemplate.json | 0 .../copyTaskTemplatePayloadTemplate.json | 0 .../editSubTaskOnTemplatePayloadTemplate.json | 0 .../editTaskTemplatePayloadTemplate.json | 0 ...listSubTaskForTemplatePayloadTemplate.json | 0 ...oveSubTaskfromTemplatePayloadTemplate.json | 0 .../taskTemplate/taskTemplate.MD | 0 .../TL_Postman Collection.json | 0 .../TL_Postman_Environment.json | 0 105 files changed, 99 insertions(+), 1 deletion(-) delete mode 100644 GraphQL/raw_queries/change/readChange.gql create mode 100644 GraphQL/raw_queries/change_request/addChange.gql create mode 100644 GraphQL/raw_queries/change_request/readChange.gql rename {collections/insomnia => insomnia}/TL_Insomnia_Collection.json (100%) rename {collections/insomnia => insomnia}/TL_Insomnia_Environment.json (100%) rename payload_samples/{ => json_only}/changeRequest/ChangeRequest.MD (100%) rename payload_samples/{ => json_only}/changeRequest/addChangeRequestAllFieldsPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/changeRequest/addChangeRequestMinFieldsPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/changeRequest/addCommentForChangePayloadTemplate.json (100%) rename payload_samples/{ => json_only}/changeRequest/closeChangeRequestPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/changeRequest/copyChangeRequestPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/changeRequest/editChangeRequestBaseStatePayloadTemplate.json (100%) rename payload_samples/{ => json_only}/changeRequest/editChangeRequestPartnerImpactPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/changeRequest/editCommentTextForChangePayloadTemplate.json (100%) rename payload_samples/{ => json_only}/changeRequest/getChangeActivityHistoryPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/changeRequest/listCommentsForChangePayloadTemplate.json (100%) rename payload_samples/{ => json_only}/changeRequest/readChangePayloadTemplate.json (100%) rename payload_samples/{ => json_only}/changeRequest/removeAttachmentFromchangeCommentPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/changeRequest/reopenChangeRequestPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/changeRequest/toggleUserFollowsChangePayloadTemplate.json (100%) rename payload_samples/{ => json_only}/directSupplierIncident/addDirSupIncidentPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/directSupplierIncident/closeDirSupIncidentPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/directSupplierIncident/copyDirSupIncidentPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/directSupplierIncident/directSupplierIncident.MD (100%) rename payload_samples/{ => json_only}/directSupplierIncident/editDirSupIncBaseStatePayloadTemplate.json (100%) rename payload_samples/{ => json_only}/directSupplierIncident/editDirSupIncFinalRespPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/directSupplierIncident/editDirSupIncInitRespPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/directSupplierIncident/editDirSupIncPartnerImpPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/directSupplierIncident/readDirSupIncidentPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/directSupplierIncident/reopenDirSupIncidentPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/directSupplierIncident/submitDirSupIncidentPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/externalManufacturingIncident/addExtMfgIncidentPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/externalManufacturingIncident/closeExtMfgIncidentPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/externalManufacturingIncident/copyExtMfgIncidentPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/externalManufacturingIncident/editExtMfgIncBaseStatePayloadTemplate.json (100%) rename payload_samples/{ => json_only}/externalManufacturingIncident/editMfgIncFinalRespPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/externalManufacturingIncident/editMfgIncInitRespPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/externalManufacturingIncident/editMfgIncPartnerImpactPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/externalManufacturingIncident/externalManufacturingIncident.MD (100%) rename payload_samples/{ => json_only}/externalManufacturingIncident/readExtMfgIncidentPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/externalManufacturingIncident/reopenExtMfgIncidentPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/externalManufacturingIncident/submitExtMfgIncToPartnerPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/incident/addIncidentPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/incident/closeIncidentPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/incident/copyIncidentPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/incident/editIncidentPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/incident/incident.MD (100%) rename payload_samples/{ => json_only}/incident/readIncidentPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/incident/reopenIncidentPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/incident/submitIncidentPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/indirectSupplierIncident/addIndSupIncMinFieldsPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/indirectSupplierIncident/addIndSupIncPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/indirectSupplierIncident/closeIndSupIncPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/indirectSupplierIncident/copyIndSupIncPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/indirectSupplierIncident/editIndSupBaseStatePayloadTemplate.json (100%) rename payload_samples/{ => json_only}/indirectSupplierIncident/editIndSupIncFinalRespPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/indirectSupplierIncident/editIndSupIncInitRespPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/indirectSupplierIncident/editIndSupIncPartnerPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/indirectSupplierIncident/readIndSupIncPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/indirectSupplierIncident/reopenIndSupIncPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/indirectSupplierIncident/submitIndSupIncPartnerPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/internalManfucaturingIncident/addIntMfgIncFullPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/internalManfucaturingIncident/addIntMfgIncMinFieldsPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/internalManfucaturingIncident/closeIntMfgIncPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/internalManfucaturingIncident/copyIntMfgIncPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/internalManfucaturingIncident/editIntMfgIncBaseStatePayloadTemplate.json (100%) rename payload_samples/{ => json_only}/internalManfucaturingIncident/editIntMfgIncFinalRespPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/internalManfucaturingIncident/editIntMfgIncImpactPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/internalManfucaturingIncident/editIntMfgIncInitRespPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/internalManfucaturingIncident/readIntMfgIncPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/internalManfucaturingIncident/reopenIntMfgIncRespPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/masterData/masterData.MD (100%) rename payload_samples/{ => json_only}/masterData/queryCompanyMasterTemplate.json (100%) rename payload_samples/{ => json_only}/masterData/queryPartnerMasterTemplate.json (100%) rename payload_samples/{ => json_only}/masterData/queryProductMasterTemplate.json (100%) rename payload_samples/{ => json_only}/shared/addCommentPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/shared/editCommentForProcessRespPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/shared/getActivityHistoryPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/shared/listCommentsPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/shared/shared.MD (100%) rename payload_samples/{ => json_only}/shared/toggleUserFollowsProcessPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/task/addTaskPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/task/addTaskSubTaskPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/task/closeSubTaskPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/task/closeTaskPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/task/copyTaskPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/task/editSubTaskPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/task/editTaskPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/task/listSubTaskForTaskPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/task/readTaskPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/task/removeSubTaskFromTaskPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/task/reopenSubTaskPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/task/reopenTaskPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/task/submitSubTaskToPartnerPayloadTemplate.json (100%) rename payload_samples/{ => json_only}/task/task.MD (100%) rename payload_samples/{ => json_only}/taskTemplate/addSubTaskToTemplatePayloadTemplate.json (100%) rename payload_samples/{ => json_only}/taskTemplate/addTaskTemplatePayloadTemplate.json (100%) rename payload_samples/{ => json_only}/taskTemplate/copyTaskTemplatePayloadTemplate.json (100%) rename payload_samples/{ => json_only}/taskTemplate/editSubTaskOnTemplatePayloadTemplate.json (100%) rename payload_samples/{ => json_only}/taskTemplate/editTaskTemplatePayloadTemplate.json (100%) rename payload_samples/{ => json_only}/taskTemplate/listSubTaskForTemplatePayloadTemplate.json (100%) rename payload_samples/{ => json_only}/taskTemplate/removeSubTaskfromTemplatePayloadTemplate.json (100%) rename payload_samples/{ => json_only}/taskTemplate/taskTemplate.MD (100%) rename {collections/postman => postman}/TL_Postman Collection.json (100%) rename {collections/postman => postman}/TL_Postman_Environment.json (100%) diff --git a/GraphQL/raw_queries/change/readChange.gql b/GraphQL/raw_queries/change/readChange.gql deleted file mode 100644 index 9801929..0000000 --- a/GraphQL/raw_queries/change/readChange.gql +++ /dev/null @@ -1 +0,0 @@ -{\"query\":\"query readChange($type: String!, $id: String!)\\n{\\n genericGetObject(type:$type, id: $id)\\n {\\n ... on ALL_RETURNS{\\n ... on Change {\\n id\\n currentBaseState\\n currentSubState\\n data {\\n aptBusinessObjectId\\n aptBusinessObjectSummary\\n aptBusinessObjectDescription\\n responsibleDepartmentAtCompany\\n responsibleDepartmentAtPartner\\n businessPriority\\n changeType\\n implementationDueDate\\n implementationTeam\\n subjectMatterExperts{\\n subjectMatterExpertName\\n subjectMatterExpertEmail\\n }\\n changeImpact{\\n changeReferenceIdentifiers{\\n referenceTransactionType\\n value\\n }\\n riskType\\n implementationNeededByDate\\n businessScopeImpact\\n otherBusinessScopeImpact\\n reasonForChange\\n reasonForChangeNotes\\n potentialRisks\\n evaluationsOfChange\\n }\\n createdByPartner\\n productId\\n aptBusinessObjectImpactsLocationMasterData{\\n locationType\\n locationContact\\n partnerLocationId\\n }\\n __typename\\n }\\n aptBusinessObjectContainsComment{\\n to {\\n ... on AptComment{\\n id\\n data{\\n commentText\\n visibilityType\\n }\\n }\\n }\\n }\\n aptBusinessObjectContainsAttachment{\\n to {\\n ... on AptAttachment{\\n data{\\n fileName\\n fileSize\\n visibilityType\\n fileS3Location\\n }\\n }\\n }\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n } \\n}\\n\",\"variables\":{\"type\":\"Change\",\"id\":\"4507844b-2bf1-4ae8-afad-09d432106038\"}} \ No newline at end of file diff --git a/GraphQL/raw_queries/change_request/addChange.gql b/GraphQL/raw_queries/change_request/addChange.gql new file mode 100644 index 0000000..fa72229 --- /dev/null +++ b/GraphQL/raw_queries/change_request/addChange.gql @@ -0,0 +1,18 @@ +mutation AddChange($action: String!, $payload: JSON!) +{ + genericActionCall(action: $action, payload: $payload) + { + result + __typename + } +} + +{ +"action": "Addchange", +"payload":{ + "aptBusinessObjectSummary": "GraphQL using postman demo", + "aptBusinessObjectDescription":"Test case entering a change request using postman and graphQL", + "isVisible": false, + "businessPriority": "MEDIUM" + } +} diff --git a/GraphQL/raw_queries/change_request/readChange.gql b/GraphQL/raw_queries/change_request/readChange.gql new file mode 100644 index 0000000..2c32ed0 --- /dev/null +++ b/GraphQL/raw_queries/change_request/readChange.gql @@ -0,0 +1,81 @@ +query readChange($type: String!, $id: String!) +{ + genericGetObject(type:$type, id: $id) + { + ... on ALL_RETURNS{ + ... on Change { + id + currentBaseState + currentSubState + data { + aptBusinessObjectId + aptBusinessObjectSummary + aptBusinessObjectDescription + responsibleDepartmentAtCompany + responsibleDepartmentAtPartner + businessPriority + changeType + implementationDueDate + implementationTeam + subjectMatterExperts{ + subjectMatterExpertName + subjectMatterExpertEmail + } + changeImpact{ + changeReferenceIdentifiers{ + referenceTransactionType + value + } + riskType + implementationNeededByDate + businessScopeImpact + otherBusinessScopeImpact + reasonForChange + reasonForChangeNotes + potentialRisks + evaluationsOfChange + } + createdByPartner + productId + aptBusinessObjectImpactsLocationMasterData{ + locationType + locationContact + partnerLocationId + } + __typename + } + aptBusinessObjectContainsComment{ + to { + ... on AptComment{ + id + data{ + commentText + visibilityType + } + } + } + } + aptBusinessObjectContainsAttachment{ + to { + ... on AptAttachment{ + data{ + fileName + fileSize + visibilityType + fileS3Location + } + } + } + } + __typename + } + __typename + } + __typename + } +} + +{ + "type": "Change", + "id":"{{change_id}}" +} diff --git a/collections/insomnia/TL_Insomnia_Collection.json b/insomnia/TL_Insomnia_Collection.json similarity index 100% rename from collections/insomnia/TL_Insomnia_Collection.json rename to insomnia/TL_Insomnia_Collection.json diff --git a/collections/insomnia/TL_Insomnia_Environment.json b/insomnia/TL_Insomnia_Environment.json similarity index 100% rename from collections/insomnia/TL_Insomnia_Environment.json rename to insomnia/TL_Insomnia_Environment.json diff --git a/payload_samples/changeRequest/ChangeRequest.MD b/payload_samples/json_only/changeRequest/ChangeRequest.MD similarity index 100% rename from payload_samples/changeRequest/ChangeRequest.MD rename to payload_samples/json_only/changeRequest/ChangeRequest.MD diff --git a/payload_samples/changeRequest/addChangeRequestAllFieldsPayloadTemplate.json b/payload_samples/json_only/changeRequest/addChangeRequestAllFieldsPayloadTemplate.json similarity index 100% rename from payload_samples/changeRequest/addChangeRequestAllFieldsPayloadTemplate.json rename to payload_samples/json_only/changeRequest/addChangeRequestAllFieldsPayloadTemplate.json diff --git a/payload_samples/changeRequest/addChangeRequestMinFieldsPayloadTemplate.json b/payload_samples/json_only/changeRequest/addChangeRequestMinFieldsPayloadTemplate.json similarity index 100% rename from payload_samples/changeRequest/addChangeRequestMinFieldsPayloadTemplate.json rename to payload_samples/json_only/changeRequest/addChangeRequestMinFieldsPayloadTemplate.json diff --git a/payload_samples/changeRequest/addCommentForChangePayloadTemplate.json b/payload_samples/json_only/changeRequest/addCommentForChangePayloadTemplate.json similarity index 100% rename from payload_samples/changeRequest/addCommentForChangePayloadTemplate.json rename to payload_samples/json_only/changeRequest/addCommentForChangePayloadTemplate.json diff --git a/payload_samples/changeRequest/closeChangeRequestPayloadTemplate.json b/payload_samples/json_only/changeRequest/closeChangeRequestPayloadTemplate.json similarity index 100% rename from payload_samples/changeRequest/closeChangeRequestPayloadTemplate.json rename to payload_samples/json_only/changeRequest/closeChangeRequestPayloadTemplate.json diff --git a/payload_samples/changeRequest/copyChangeRequestPayloadTemplate.json b/payload_samples/json_only/changeRequest/copyChangeRequestPayloadTemplate.json similarity index 100% rename from payload_samples/changeRequest/copyChangeRequestPayloadTemplate.json rename to payload_samples/json_only/changeRequest/copyChangeRequestPayloadTemplate.json diff --git a/payload_samples/changeRequest/editChangeRequestBaseStatePayloadTemplate.json b/payload_samples/json_only/changeRequest/editChangeRequestBaseStatePayloadTemplate.json similarity index 100% rename from payload_samples/changeRequest/editChangeRequestBaseStatePayloadTemplate.json rename to payload_samples/json_only/changeRequest/editChangeRequestBaseStatePayloadTemplate.json diff --git a/payload_samples/changeRequest/editChangeRequestPartnerImpactPayloadTemplate.json b/payload_samples/json_only/changeRequest/editChangeRequestPartnerImpactPayloadTemplate.json similarity index 100% rename from payload_samples/changeRequest/editChangeRequestPartnerImpactPayloadTemplate.json rename to payload_samples/json_only/changeRequest/editChangeRequestPartnerImpactPayloadTemplate.json diff --git a/payload_samples/changeRequest/editCommentTextForChangePayloadTemplate.json b/payload_samples/json_only/changeRequest/editCommentTextForChangePayloadTemplate.json similarity index 100% rename from payload_samples/changeRequest/editCommentTextForChangePayloadTemplate.json rename to payload_samples/json_only/changeRequest/editCommentTextForChangePayloadTemplate.json diff --git a/payload_samples/changeRequest/getChangeActivityHistoryPayloadTemplate.json b/payload_samples/json_only/changeRequest/getChangeActivityHistoryPayloadTemplate.json similarity index 100% rename from payload_samples/changeRequest/getChangeActivityHistoryPayloadTemplate.json rename to payload_samples/json_only/changeRequest/getChangeActivityHistoryPayloadTemplate.json diff --git a/payload_samples/changeRequest/listCommentsForChangePayloadTemplate.json b/payload_samples/json_only/changeRequest/listCommentsForChangePayloadTemplate.json similarity index 100% rename from payload_samples/changeRequest/listCommentsForChangePayloadTemplate.json rename to payload_samples/json_only/changeRequest/listCommentsForChangePayloadTemplate.json diff --git a/payload_samples/changeRequest/readChangePayloadTemplate.json b/payload_samples/json_only/changeRequest/readChangePayloadTemplate.json similarity index 100% rename from payload_samples/changeRequest/readChangePayloadTemplate.json rename to payload_samples/json_only/changeRequest/readChangePayloadTemplate.json diff --git a/payload_samples/changeRequest/removeAttachmentFromchangeCommentPayloadTemplate.json b/payload_samples/json_only/changeRequest/removeAttachmentFromchangeCommentPayloadTemplate.json similarity index 100% rename from payload_samples/changeRequest/removeAttachmentFromchangeCommentPayloadTemplate.json rename to payload_samples/json_only/changeRequest/removeAttachmentFromchangeCommentPayloadTemplate.json diff --git a/payload_samples/changeRequest/reopenChangeRequestPayloadTemplate.json b/payload_samples/json_only/changeRequest/reopenChangeRequestPayloadTemplate.json similarity index 100% rename from payload_samples/changeRequest/reopenChangeRequestPayloadTemplate.json rename to payload_samples/json_only/changeRequest/reopenChangeRequestPayloadTemplate.json diff --git a/payload_samples/changeRequest/toggleUserFollowsChangePayloadTemplate.json b/payload_samples/json_only/changeRequest/toggleUserFollowsChangePayloadTemplate.json similarity index 100% rename from payload_samples/changeRequest/toggleUserFollowsChangePayloadTemplate.json rename to payload_samples/json_only/changeRequest/toggleUserFollowsChangePayloadTemplate.json diff --git a/payload_samples/directSupplierIncident/addDirSupIncidentPayloadTemplate.json b/payload_samples/json_only/directSupplierIncident/addDirSupIncidentPayloadTemplate.json similarity index 100% rename from payload_samples/directSupplierIncident/addDirSupIncidentPayloadTemplate.json rename to payload_samples/json_only/directSupplierIncident/addDirSupIncidentPayloadTemplate.json diff --git a/payload_samples/directSupplierIncident/closeDirSupIncidentPayloadTemplate.json b/payload_samples/json_only/directSupplierIncident/closeDirSupIncidentPayloadTemplate.json similarity index 100% rename from payload_samples/directSupplierIncident/closeDirSupIncidentPayloadTemplate.json rename to payload_samples/json_only/directSupplierIncident/closeDirSupIncidentPayloadTemplate.json diff --git a/payload_samples/directSupplierIncident/copyDirSupIncidentPayloadTemplate.json b/payload_samples/json_only/directSupplierIncident/copyDirSupIncidentPayloadTemplate.json similarity index 100% rename from payload_samples/directSupplierIncident/copyDirSupIncidentPayloadTemplate.json rename to payload_samples/json_only/directSupplierIncident/copyDirSupIncidentPayloadTemplate.json diff --git a/payload_samples/directSupplierIncident/directSupplierIncident.MD b/payload_samples/json_only/directSupplierIncident/directSupplierIncident.MD similarity index 100% rename from payload_samples/directSupplierIncident/directSupplierIncident.MD rename to payload_samples/json_only/directSupplierIncident/directSupplierIncident.MD diff --git a/payload_samples/directSupplierIncident/editDirSupIncBaseStatePayloadTemplate.json b/payload_samples/json_only/directSupplierIncident/editDirSupIncBaseStatePayloadTemplate.json similarity index 100% rename from payload_samples/directSupplierIncident/editDirSupIncBaseStatePayloadTemplate.json rename to payload_samples/json_only/directSupplierIncident/editDirSupIncBaseStatePayloadTemplate.json diff --git a/payload_samples/directSupplierIncident/editDirSupIncFinalRespPayloadTemplate.json b/payload_samples/json_only/directSupplierIncident/editDirSupIncFinalRespPayloadTemplate.json similarity index 100% rename from payload_samples/directSupplierIncident/editDirSupIncFinalRespPayloadTemplate.json rename to payload_samples/json_only/directSupplierIncident/editDirSupIncFinalRespPayloadTemplate.json diff --git a/payload_samples/directSupplierIncident/editDirSupIncInitRespPayloadTemplate.json b/payload_samples/json_only/directSupplierIncident/editDirSupIncInitRespPayloadTemplate.json similarity index 100% rename from payload_samples/directSupplierIncident/editDirSupIncInitRespPayloadTemplate.json rename to payload_samples/json_only/directSupplierIncident/editDirSupIncInitRespPayloadTemplate.json diff --git a/payload_samples/directSupplierIncident/editDirSupIncPartnerImpPayloadTemplate.json b/payload_samples/json_only/directSupplierIncident/editDirSupIncPartnerImpPayloadTemplate.json similarity index 100% rename from payload_samples/directSupplierIncident/editDirSupIncPartnerImpPayloadTemplate.json rename to payload_samples/json_only/directSupplierIncident/editDirSupIncPartnerImpPayloadTemplate.json diff --git a/payload_samples/directSupplierIncident/readDirSupIncidentPayloadTemplate.json b/payload_samples/json_only/directSupplierIncident/readDirSupIncidentPayloadTemplate.json similarity index 100% rename from payload_samples/directSupplierIncident/readDirSupIncidentPayloadTemplate.json rename to payload_samples/json_only/directSupplierIncident/readDirSupIncidentPayloadTemplate.json diff --git a/payload_samples/directSupplierIncident/reopenDirSupIncidentPayloadTemplate.json b/payload_samples/json_only/directSupplierIncident/reopenDirSupIncidentPayloadTemplate.json similarity index 100% rename from payload_samples/directSupplierIncident/reopenDirSupIncidentPayloadTemplate.json rename to payload_samples/json_only/directSupplierIncident/reopenDirSupIncidentPayloadTemplate.json diff --git a/payload_samples/directSupplierIncident/submitDirSupIncidentPayloadTemplate.json b/payload_samples/json_only/directSupplierIncident/submitDirSupIncidentPayloadTemplate.json similarity index 100% rename from payload_samples/directSupplierIncident/submitDirSupIncidentPayloadTemplate.json rename to payload_samples/json_only/directSupplierIncident/submitDirSupIncidentPayloadTemplate.json diff --git a/payload_samples/externalManufacturingIncident/addExtMfgIncidentPayloadTemplate.json b/payload_samples/json_only/externalManufacturingIncident/addExtMfgIncidentPayloadTemplate.json similarity index 100% rename from payload_samples/externalManufacturingIncident/addExtMfgIncidentPayloadTemplate.json rename to payload_samples/json_only/externalManufacturingIncident/addExtMfgIncidentPayloadTemplate.json diff --git a/payload_samples/externalManufacturingIncident/closeExtMfgIncidentPayloadTemplate.json b/payload_samples/json_only/externalManufacturingIncident/closeExtMfgIncidentPayloadTemplate.json similarity index 100% rename from payload_samples/externalManufacturingIncident/closeExtMfgIncidentPayloadTemplate.json rename to payload_samples/json_only/externalManufacturingIncident/closeExtMfgIncidentPayloadTemplate.json diff --git a/payload_samples/externalManufacturingIncident/copyExtMfgIncidentPayloadTemplate.json b/payload_samples/json_only/externalManufacturingIncident/copyExtMfgIncidentPayloadTemplate.json similarity index 100% rename from payload_samples/externalManufacturingIncident/copyExtMfgIncidentPayloadTemplate.json rename to payload_samples/json_only/externalManufacturingIncident/copyExtMfgIncidentPayloadTemplate.json diff --git a/payload_samples/externalManufacturingIncident/editExtMfgIncBaseStatePayloadTemplate.json b/payload_samples/json_only/externalManufacturingIncident/editExtMfgIncBaseStatePayloadTemplate.json similarity index 100% rename from payload_samples/externalManufacturingIncident/editExtMfgIncBaseStatePayloadTemplate.json rename to payload_samples/json_only/externalManufacturingIncident/editExtMfgIncBaseStatePayloadTemplate.json diff --git a/payload_samples/externalManufacturingIncident/editMfgIncFinalRespPayloadTemplate.json b/payload_samples/json_only/externalManufacturingIncident/editMfgIncFinalRespPayloadTemplate.json similarity index 100% rename from payload_samples/externalManufacturingIncident/editMfgIncFinalRespPayloadTemplate.json rename to payload_samples/json_only/externalManufacturingIncident/editMfgIncFinalRespPayloadTemplate.json diff --git a/payload_samples/externalManufacturingIncident/editMfgIncInitRespPayloadTemplate.json b/payload_samples/json_only/externalManufacturingIncident/editMfgIncInitRespPayloadTemplate.json similarity index 100% rename from payload_samples/externalManufacturingIncident/editMfgIncInitRespPayloadTemplate.json rename to payload_samples/json_only/externalManufacturingIncident/editMfgIncInitRespPayloadTemplate.json diff --git a/payload_samples/externalManufacturingIncident/editMfgIncPartnerImpactPayloadTemplate.json b/payload_samples/json_only/externalManufacturingIncident/editMfgIncPartnerImpactPayloadTemplate.json similarity index 100% rename from payload_samples/externalManufacturingIncident/editMfgIncPartnerImpactPayloadTemplate.json rename to payload_samples/json_only/externalManufacturingIncident/editMfgIncPartnerImpactPayloadTemplate.json diff --git a/payload_samples/externalManufacturingIncident/externalManufacturingIncident.MD b/payload_samples/json_only/externalManufacturingIncident/externalManufacturingIncident.MD similarity index 100% rename from payload_samples/externalManufacturingIncident/externalManufacturingIncident.MD rename to payload_samples/json_only/externalManufacturingIncident/externalManufacturingIncident.MD diff --git a/payload_samples/externalManufacturingIncident/readExtMfgIncidentPayloadTemplate.json b/payload_samples/json_only/externalManufacturingIncident/readExtMfgIncidentPayloadTemplate.json similarity index 100% rename from payload_samples/externalManufacturingIncident/readExtMfgIncidentPayloadTemplate.json rename to payload_samples/json_only/externalManufacturingIncident/readExtMfgIncidentPayloadTemplate.json diff --git a/payload_samples/externalManufacturingIncident/reopenExtMfgIncidentPayloadTemplate.json b/payload_samples/json_only/externalManufacturingIncident/reopenExtMfgIncidentPayloadTemplate.json similarity index 100% rename from payload_samples/externalManufacturingIncident/reopenExtMfgIncidentPayloadTemplate.json rename to payload_samples/json_only/externalManufacturingIncident/reopenExtMfgIncidentPayloadTemplate.json diff --git a/payload_samples/externalManufacturingIncident/submitExtMfgIncToPartnerPayloadTemplate.json b/payload_samples/json_only/externalManufacturingIncident/submitExtMfgIncToPartnerPayloadTemplate.json similarity index 100% rename from payload_samples/externalManufacturingIncident/submitExtMfgIncToPartnerPayloadTemplate.json rename to payload_samples/json_only/externalManufacturingIncident/submitExtMfgIncToPartnerPayloadTemplate.json diff --git a/payload_samples/incident/addIncidentPayloadTemplate.json b/payload_samples/json_only/incident/addIncidentPayloadTemplate.json similarity index 100% rename from payload_samples/incident/addIncidentPayloadTemplate.json rename to payload_samples/json_only/incident/addIncidentPayloadTemplate.json diff --git a/payload_samples/incident/closeIncidentPayloadTemplate.json b/payload_samples/json_only/incident/closeIncidentPayloadTemplate.json similarity index 100% rename from payload_samples/incident/closeIncidentPayloadTemplate.json rename to payload_samples/json_only/incident/closeIncidentPayloadTemplate.json diff --git a/payload_samples/incident/copyIncidentPayloadTemplate.json b/payload_samples/json_only/incident/copyIncidentPayloadTemplate.json similarity index 100% rename from payload_samples/incident/copyIncidentPayloadTemplate.json rename to payload_samples/json_only/incident/copyIncidentPayloadTemplate.json diff --git a/payload_samples/incident/editIncidentPayloadTemplate.json b/payload_samples/json_only/incident/editIncidentPayloadTemplate.json similarity index 100% rename from payload_samples/incident/editIncidentPayloadTemplate.json rename to payload_samples/json_only/incident/editIncidentPayloadTemplate.json diff --git a/payload_samples/incident/incident.MD b/payload_samples/json_only/incident/incident.MD similarity index 100% rename from payload_samples/incident/incident.MD rename to payload_samples/json_only/incident/incident.MD diff --git a/payload_samples/incident/readIncidentPayloadTemplate.json b/payload_samples/json_only/incident/readIncidentPayloadTemplate.json similarity index 100% rename from payload_samples/incident/readIncidentPayloadTemplate.json rename to payload_samples/json_only/incident/readIncidentPayloadTemplate.json diff --git a/payload_samples/incident/reopenIncidentPayloadTemplate.json b/payload_samples/json_only/incident/reopenIncidentPayloadTemplate.json similarity index 100% rename from payload_samples/incident/reopenIncidentPayloadTemplate.json rename to payload_samples/json_only/incident/reopenIncidentPayloadTemplate.json diff --git a/payload_samples/incident/submitIncidentPayloadTemplate.json b/payload_samples/json_only/incident/submitIncidentPayloadTemplate.json similarity index 100% rename from payload_samples/incident/submitIncidentPayloadTemplate.json rename to payload_samples/json_only/incident/submitIncidentPayloadTemplate.json diff --git a/payload_samples/indirectSupplierIncident/addIndSupIncMinFieldsPayloadTemplate.json b/payload_samples/json_only/indirectSupplierIncident/addIndSupIncMinFieldsPayloadTemplate.json similarity index 100% rename from payload_samples/indirectSupplierIncident/addIndSupIncMinFieldsPayloadTemplate.json rename to payload_samples/json_only/indirectSupplierIncident/addIndSupIncMinFieldsPayloadTemplate.json diff --git a/payload_samples/indirectSupplierIncident/addIndSupIncPayloadTemplate.json b/payload_samples/json_only/indirectSupplierIncident/addIndSupIncPayloadTemplate.json similarity index 100% rename from payload_samples/indirectSupplierIncident/addIndSupIncPayloadTemplate.json rename to payload_samples/json_only/indirectSupplierIncident/addIndSupIncPayloadTemplate.json diff --git a/payload_samples/indirectSupplierIncident/closeIndSupIncPayloadTemplate.json b/payload_samples/json_only/indirectSupplierIncident/closeIndSupIncPayloadTemplate.json similarity index 100% rename from payload_samples/indirectSupplierIncident/closeIndSupIncPayloadTemplate.json rename to payload_samples/json_only/indirectSupplierIncident/closeIndSupIncPayloadTemplate.json diff --git a/payload_samples/indirectSupplierIncident/copyIndSupIncPayloadTemplate.json b/payload_samples/json_only/indirectSupplierIncident/copyIndSupIncPayloadTemplate.json similarity index 100% rename from payload_samples/indirectSupplierIncident/copyIndSupIncPayloadTemplate.json rename to payload_samples/json_only/indirectSupplierIncident/copyIndSupIncPayloadTemplate.json diff --git a/payload_samples/indirectSupplierIncident/editIndSupBaseStatePayloadTemplate.json b/payload_samples/json_only/indirectSupplierIncident/editIndSupBaseStatePayloadTemplate.json similarity index 100% rename from payload_samples/indirectSupplierIncident/editIndSupBaseStatePayloadTemplate.json rename to payload_samples/json_only/indirectSupplierIncident/editIndSupBaseStatePayloadTemplate.json diff --git a/payload_samples/indirectSupplierIncident/editIndSupIncFinalRespPayloadTemplate.json b/payload_samples/json_only/indirectSupplierIncident/editIndSupIncFinalRespPayloadTemplate.json similarity index 100% rename from payload_samples/indirectSupplierIncident/editIndSupIncFinalRespPayloadTemplate.json rename to payload_samples/json_only/indirectSupplierIncident/editIndSupIncFinalRespPayloadTemplate.json diff --git a/payload_samples/indirectSupplierIncident/editIndSupIncInitRespPayloadTemplate.json b/payload_samples/json_only/indirectSupplierIncident/editIndSupIncInitRespPayloadTemplate.json similarity index 100% rename from payload_samples/indirectSupplierIncident/editIndSupIncInitRespPayloadTemplate.json rename to payload_samples/json_only/indirectSupplierIncident/editIndSupIncInitRespPayloadTemplate.json diff --git a/payload_samples/indirectSupplierIncident/editIndSupIncPartnerPayloadTemplate.json b/payload_samples/json_only/indirectSupplierIncident/editIndSupIncPartnerPayloadTemplate.json similarity index 100% rename from payload_samples/indirectSupplierIncident/editIndSupIncPartnerPayloadTemplate.json rename to payload_samples/json_only/indirectSupplierIncident/editIndSupIncPartnerPayloadTemplate.json diff --git a/payload_samples/indirectSupplierIncident/readIndSupIncPayloadTemplate.json b/payload_samples/json_only/indirectSupplierIncident/readIndSupIncPayloadTemplate.json similarity index 100% rename from payload_samples/indirectSupplierIncident/readIndSupIncPayloadTemplate.json rename to payload_samples/json_only/indirectSupplierIncident/readIndSupIncPayloadTemplate.json diff --git a/payload_samples/indirectSupplierIncident/reopenIndSupIncPayloadTemplate.json b/payload_samples/json_only/indirectSupplierIncident/reopenIndSupIncPayloadTemplate.json similarity index 100% rename from payload_samples/indirectSupplierIncident/reopenIndSupIncPayloadTemplate.json rename to payload_samples/json_only/indirectSupplierIncident/reopenIndSupIncPayloadTemplate.json diff --git a/payload_samples/indirectSupplierIncident/submitIndSupIncPartnerPayloadTemplate.json b/payload_samples/json_only/indirectSupplierIncident/submitIndSupIncPartnerPayloadTemplate.json similarity index 100% rename from payload_samples/indirectSupplierIncident/submitIndSupIncPartnerPayloadTemplate.json rename to payload_samples/json_only/indirectSupplierIncident/submitIndSupIncPartnerPayloadTemplate.json diff --git a/payload_samples/internalManfucaturingIncident/addIntMfgIncFullPayloadTemplate.json b/payload_samples/json_only/internalManfucaturingIncident/addIntMfgIncFullPayloadTemplate.json similarity index 100% rename from payload_samples/internalManfucaturingIncident/addIntMfgIncFullPayloadTemplate.json rename to payload_samples/json_only/internalManfucaturingIncident/addIntMfgIncFullPayloadTemplate.json diff --git a/payload_samples/internalManfucaturingIncident/addIntMfgIncMinFieldsPayloadTemplate.json b/payload_samples/json_only/internalManfucaturingIncident/addIntMfgIncMinFieldsPayloadTemplate.json similarity index 100% rename from payload_samples/internalManfucaturingIncident/addIntMfgIncMinFieldsPayloadTemplate.json rename to payload_samples/json_only/internalManfucaturingIncident/addIntMfgIncMinFieldsPayloadTemplate.json diff --git a/payload_samples/internalManfucaturingIncident/closeIntMfgIncPayloadTemplate.json b/payload_samples/json_only/internalManfucaturingIncident/closeIntMfgIncPayloadTemplate.json similarity index 100% rename from payload_samples/internalManfucaturingIncident/closeIntMfgIncPayloadTemplate.json rename to payload_samples/json_only/internalManfucaturingIncident/closeIntMfgIncPayloadTemplate.json diff --git a/payload_samples/internalManfucaturingIncident/copyIntMfgIncPayloadTemplate.json b/payload_samples/json_only/internalManfucaturingIncident/copyIntMfgIncPayloadTemplate.json similarity index 100% rename from payload_samples/internalManfucaturingIncident/copyIntMfgIncPayloadTemplate.json rename to payload_samples/json_only/internalManfucaturingIncident/copyIntMfgIncPayloadTemplate.json diff --git a/payload_samples/internalManfucaturingIncident/editIntMfgIncBaseStatePayloadTemplate.json b/payload_samples/json_only/internalManfucaturingIncident/editIntMfgIncBaseStatePayloadTemplate.json similarity index 100% rename from payload_samples/internalManfucaturingIncident/editIntMfgIncBaseStatePayloadTemplate.json rename to payload_samples/json_only/internalManfucaturingIncident/editIntMfgIncBaseStatePayloadTemplate.json diff --git a/payload_samples/internalManfucaturingIncident/editIntMfgIncFinalRespPayloadTemplate.json b/payload_samples/json_only/internalManfucaturingIncident/editIntMfgIncFinalRespPayloadTemplate.json similarity index 100% rename from payload_samples/internalManfucaturingIncident/editIntMfgIncFinalRespPayloadTemplate.json rename to payload_samples/json_only/internalManfucaturingIncident/editIntMfgIncFinalRespPayloadTemplate.json diff --git a/payload_samples/internalManfucaturingIncident/editIntMfgIncImpactPayloadTemplate.json b/payload_samples/json_only/internalManfucaturingIncident/editIntMfgIncImpactPayloadTemplate.json similarity index 100% rename from payload_samples/internalManfucaturingIncident/editIntMfgIncImpactPayloadTemplate.json rename to payload_samples/json_only/internalManfucaturingIncident/editIntMfgIncImpactPayloadTemplate.json diff --git a/payload_samples/internalManfucaturingIncident/editIntMfgIncInitRespPayloadTemplate.json b/payload_samples/json_only/internalManfucaturingIncident/editIntMfgIncInitRespPayloadTemplate.json similarity index 100% rename from payload_samples/internalManfucaturingIncident/editIntMfgIncInitRespPayloadTemplate.json rename to payload_samples/json_only/internalManfucaturingIncident/editIntMfgIncInitRespPayloadTemplate.json diff --git a/payload_samples/internalManfucaturingIncident/readIntMfgIncPayloadTemplate.json b/payload_samples/json_only/internalManfucaturingIncident/readIntMfgIncPayloadTemplate.json similarity index 100% rename from payload_samples/internalManfucaturingIncident/readIntMfgIncPayloadTemplate.json rename to payload_samples/json_only/internalManfucaturingIncident/readIntMfgIncPayloadTemplate.json diff --git a/payload_samples/internalManfucaturingIncident/reopenIntMfgIncRespPayloadTemplate.json b/payload_samples/json_only/internalManfucaturingIncident/reopenIntMfgIncRespPayloadTemplate.json similarity index 100% rename from payload_samples/internalManfucaturingIncident/reopenIntMfgIncRespPayloadTemplate.json rename to payload_samples/json_only/internalManfucaturingIncident/reopenIntMfgIncRespPayloadTemplate.json diff --git a/payload_samples/masterData/masterData.MD b/payload_samples/json_only/masterData/masterData.MD similarity index 100% rename from payload_samples/masterData/masterData.MD rename to payload_samples/json_only/masterData/masterData.MD diff --git a/payload_samples/masterData/queryCompanyMasterTemplate.json b/payload_samples/json_only/masterData/queryCompanyMasterTemplate.json similarity index 100% rename from payload_samples/masterData/queryCompanyMasterTemplate.json rename to payload_samples/json_only/masterData/queryCompanyMasterTemplate.json diff --git a/payload_samples/masterData/queryPartnerMasterTemplate.json b/payload_samples/json_only/masterData/queryPartnerMasterTemplate.json similarity index 100% rename from payload_samples/masterData/queryPartnerMasterTemplate.json rename to payload_samples/json_only/masterData/queryPartnerMasterTemplate.json diff --git a/payload_samples/masterData/queryProductMasterTemplate.json b/payload_samples/json_only/masterData/queryProductMasterTemplate.json similarity index 100% rename from payload_samples/masterData/queryProductMasterTemplate.json rename to payload_samples/json_only/masterData/queryProductMasterTemplate.json diff --git a/payload_samples/shared/addCommentPayloadTemplate.json b/payload_samples/json_only/shared/addCommentPayloadTemplate.json similarity index 100% rename from payload_samples/shared/addCommentPayloadTemplate.json rename to payload_samples/json_only/shared/addCommentPayloadTemplate.json diff --git a/payload_samples/shared/editCommentForProcessRespPayloadTemplate.json b/payload_samples/json_only/shared/editCommentForProcessRespPayloadTemplate.json similarity index 100% rename from payload_samples/shared/editCommentForProcessRespPayloadTemplate.json rename to payload_samples/json_only/shared/editCommentForProcessRespPayloadTemplate.json diff --git a/payload_samples/shared/getActivityHistoryPayloadTemplate.json b/payload_samples/json_only/shared/getActivityHistoryPayloadTemplate.json similarity index 100% rename from payload_samples/shared/getActivityHistoryPayloadTemplate.json rename to payload_samples/json_only/shared/getActivityHistoryPayloadTemplate.json diff --git a/payload_samples/shared/listCommentsPayloadTemplate.json b/payload_samples/json_only/shared/listCommentsPayloadTemplate.json similarity index 100% rename from payload_samples/shared/listCommentsPayloadTemplate.json rename to payload_samples/json_only/shared/listCommentsPayloadTemplate.json diff --git a/payload_samples/shared/shared.MD b/payload_samples/json_only/shared/shared.MD similarity index 100% rename from payload_samples/shared/shared.MD rename to payload_samples/json_only/shared/shared.MD diff --git a/payload_samples/shared/toggleUserFollowsProcessPayloadTemplate.json b/payload_samples/json_only/shared/toggleUserFollowsProcessPayloadTemplate.json similarity index 100% rename from payload_samples/shared/toggleUserFollowsProcessPayloadTemplate.json rename to payload_samples/json_only/shared/toggleUserFollowsProcessPayloadTemplate.json diff --git a/payload_samples/task/addTaskPayloadTemplate.json b/payload_samples/json_only/task/addTaskPayloadTemplate.json similarity index 100% rename from payload_samples/task/addTaskPayloadTemplate.json rename to payload_samples/json_only/task/addTaskPayloadTemplate.json diff --git a/payload_samples/task/addTaskSubTaskPayloadTemplate.json b/payload_samples/json_only/task/addTaskSubTaskPayloadTemplate.json similarity index 100% rename from payload_samples/task/addTaskSubTaskPayloadTemplate.json rename to payload_samples/json_only/task/addTaskSubTaskPayloadTemplate.json diff --git a/payload_samples/task/closeSubTaskPayloadTemplate.json b/payload_samples/json_only/task/closeSubTaskPayloadTemplate.json similarity index 100% rename from payload_samples/task/closeSubTaskPayloadTemplate.json rename to payload_samples/json_only/task/closeSubTaskPayloadTemplate.json diff --git a/payload_samples/task/closeTaskPayloadTemplate.json b/payload_samples/json_only/task/closeTaskPayloadTemplate.json similarity index 100% rename from payload_samples/task/closeTaskPayloadTemplate.json rename to payload_samples/json_only/task/closeTaskPayloadTemplate.json diff --git a/payload_samples/task/copyTaskPayloadTemplate.json b/payload_samples/json_only/task/copyTaskPayloadTemplate.json similarity index 100% rename from payload_samples/task/copyTaskPayloadTemplate.json rename to payload_samples/json_only/task/copyTaskPayloadTemplate.json diff --git a/payload_samples/task/editSubTaskPayloadTemplate.json b/payload_samples/json_only/task/editSubTaskPayloadTemplate.json similarity index 100% rename from payload_samples/task/editSubTaskPayloadTemplate.json rename to payload_samples/json_only/task/editSubTaskPayloadTemplate.json diff --git a/payload_samples/task/editTaskPayloadTemplate.json b/payload_samples/json_only/task/editTaskPayloadTemplate.json similarity index 100% rename from payload_samples/task/editTaskPayloadTemplate.json rename to payload_samples/json_only/task/editTaskPayloadTemplate.json diff --git a/payload_samples/task/listSubTaskForTaskPayloadTemplate.json b/payload_samples/json_only/task/listSubTaskForTaskPayloadTemplate.json similarity index 100% rename from payload_samples/task/listSubTaskForTaskPayloadTemplate.json rename to payload_samples/json_only/task/listSubTaskForTaskPayloadTemplate.json diff --git a/payload_samples/task/readTaskPayloadTemplate.json b/payload_samples/json_only/task/readTaskPayloadTemplate.json similarity index 100% rename from payload_samples/task/readTaskPayloadTemplate.json rename to payload_samples/json_only/task/readTaskPayloadTemplate.json diff --git a/payload_samples/task/removeSubTaskFromTaskPayloadTemplate.json b/payload_samples/json_only/task/removeSubTaskFromTaskPayloadTemplate.json similarity index 100% rename from payload_samples/task/removeSubTaskFromTaskPayloadTemplate.json rename to payload_samples/json_only/task/removeSubTaskFromTaskPayloadTemplate.json diff --git a/payload_samples/task/reopenSubTaskPayloadTemplate.json b/payload_samples/json_only/task/reopenSubTaskPayloadTemplate.json similarity index 100% rename from payload_samples/task/reopenSubTaskPayloadTemplate.json rename to payload_samples/json_only/task/reopenSubTaskPayloadTemplate.json diff --git a/payload_samples/task/reopenTaskPayloadTemplate.json b/payload_samples/json_only/task/reopenTaskPayloadTemplate.json similarity index 100% rename from payload_samples/task/reopenTaskPayloadTemplate.json rename to payload_samples/json_only/task/reopenTaskPayloadTemplate.json diff --git a/payload_samples/task/submitSubTaskToPartnerPayloadTemplate.json b/payload_samples/json_only/task/submitSubTaskToPartnerPayloadTemplate.json similarity index 100% rename from payload_samples/task/submitSubTaskToPartnerPayloadTemplate.json rename to payload_samples/json_only/task/submitSubTaskToPartnerPayloadTemplate.json diff --git a/payload_samples/task/task.MD b/payload_samples/json_only/task/task.MD similarity index 100% rename from payload_samples/task/task.MD rename to payload_samples/json_only/task/task.MD diff --git a/payload_samples/taskTemplate/addSubTaskToTemplatePayloadTemplate.json b/payload_samples/json_only/taskTemplate/addSubTaskToTemplatePayloadTemplate.json similarity index 100% rename from payload_samples/taskTemplate/addSubTaskToTemplatePayloadTemplate.json rename to payload_samples/json_only/taskTemplate/addSubTaskToTemplatePayloadTemplate.json diff --git a/payload_samples/taskTemplate/addTaskTemplatePayloadTemplate.json b/payload_samples/json_only/taskTemplate/addTaskTemplatePayloadTemplate.json similarity index 100% rename from payload_samples/taskTemplate/addTaskTemplatePayloadTemplate.json rename to payload_samples/json_only/taskTemplate/addTaskTemplatePayloadTemplate.json diff --git a/payload_samples/taskTemplate/copyTaskTemplatePayloadTemplate.json b/payload_samples/json_only/taskTemplate/copyTaskTemplatePayloadTemplate.json similarity index 100% rename from payload_samples/taskTemplate/copyTaskTemplatePayloadTemplate.json rename to payload_samples/json_only/taskTemplate/copyTaskTemplatePayloadTemplate.json diff --git a/payload_samples/taskTemplate/editSubTaskOnTemplatePayloadTemplate.json b/payload_samples/json_only/taskTemplate/editSubTaskOnTemplatePayloadTemplate.json similarity index 100% rename from payload_samples/taskTemplate/editSubTaskOnTemplatePayloadTemplate.json rename to payload_samples/json_only/taskTemplate/editSubTaskOnTemplatePayloadTemplate.json diff --git a/payload_samples/taskTemplate/editTaskTemplatePayloadTemplate.json b/payload_samples/json_only/taskTemplate/editTaskTemplatePayloadTemplate.json similarity index 100% rename from payload_samples/taskTemplate/editTaskTemplatePayloadTemplate.json rename to payload_samples/json_only/taskTemplate/editTaskTemplatePayloadTemplate.json diff --git a/payload_samples/taskTemplate/listSubTaskForTemplatePayloadTemplate.json b/payload_samples/json_only/taskTemplate/listSubTaskForTemplatePayloadTemplate.json similarity index 100% rename from payload_samples/taskTemplate/listSubTaskForTemplatePayloadTemplate.json rename to payload_samples/json_only/taskTemplate/listSubTaskForTemplatePayloadTemplate.json diff --git a/payload_samples/taskTemplate/removeSubTaskfromTemplatePayloadTemplate.json b/payload_samples/json_only/taskTemplate/removeSubTaskfromTemplatePayloadTemplate.json similarity index 100% rename from payload_samples/taskTemplate/removeSubTaskfromTemplatePayloadTemplate.json rename to payload_samples/json_only/taskTemplate/removeSubTaskfromTemplatePayloadTemplate.json diff --git a/payload_samples/taskTemplate/taskTemplate.MD b/payload_samples/json_only/taskTemplate/taskTemplate.MD similarity index 100% rename from payload_samples/taskTemplate/taskTemplate.MD rename to payload_samples/json_only/taskTemplate/taskTemplate.MD diff --git a/collections/postman/TL_Postman Collection.json b/postman/TL_Postman Collection.json similarity index 100% rename from collections/postman/TL_Postman Collection.json rename to postman/TL_Postman Collection.json diff --git a/collections/postman/TL_Postman_Environment.json b/postman/TL_Postman_Environment.json similarity index 100% rename from collections/postman/TL_Postman_Environment.json rename to postman/TL_Postman_Environment.json From aba1b2565333e79983cc0f50b9565d60f1161aec Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Thu, 10 Oct 2024 07:52:21 -0600 Subject: [PATCH 10/47] adding change requests --- .../change_request/addChangeComments.gql | 22 +++++++++++++++++++ .../change_request/closeChange.gql | 17 ++++++++++++++ .../raw_queries/change_request/editChange.gql | 19 ++++++++++++++++ .../change_request/getChangeHistory.gql | 16 ++++++++++++++ .../change_request/listChangeComments.gql | 15 +++++++++++++ 5 files changed, 89 insertions(+) create mode 100644 GraphQL/raw_queries/change_request/addChangeComments.gql create mode 100644 GraphQL/raw_queries/change_request/closeChange.gql create mode 100644 GraphQL/raw_queries/change_request/editChange.gql create mode 100644 GraphQL/raw_queries/change_request/getChangeHistory.gql create mode 100644 GraphQL/raw_queries/change_request/listChangeComments.gql diff --git a/GraphQL/raw_queries/change_request/addChangeComments.gql b/GraphQL/raw_queries/change_request/addChangeComments.gql new file mode 100644 index 0000000..e5f50e0 --- /dev/null +++ b/GraphQL/raw_queries/change_request/addChangeComments.gql @@ -0,0 +1,22 @@ +mutation AddChangeComments($action: String!, $payload: JSON!) +{ + genericActionCall(action: $action, payload: $payload) + { + result + __typename + } +} + +{ +"action": "Addcommentforchange", +"payload":{ + "processId":"{{change_id}}", + "processType":"change", + "aptCommentBox":{ + "aptComment":{ + "commentText": "Adding a test comment using Postman and GraphQL.", + "visibilityType": "Public" + } + } + } +} \ No newline at end of file diff --git a/GraphQL/raw_queries/change_request/closeChange.gql b/GraphQL/raw_queries/change_request/closeChange.gql new file mode 100644 index 0000000..2479978 --- /dev/null +++ b/GraphQL/raw_queries/change_request/closeChange.gql @@ -0,0 +1,17 @@ +mutation Closechange($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} + +{ +"action": "Closechange", +"payload":{ + "id":"{{change_id}}", + "aptBusinessObjectSummary":"GraphQL test run", + "aptBusinessObjectDescription":"Using graphql in postman to edit.", + "businessPriority":"LOW", + "responsiblePartyAtParner":{} + } +} \ No newline at end of file diff --git a/GraphQL/raw_queries/change_request/editChange.gql b/GraphQL/raw_queries/change_request/editChange.gql new file mode 100644 index 0000000..0e94fee --- /dev/null +++ b/GraphQL/raw_queries/change_request/editChange.gql @@ -0,0 +1,19 @@ +mutation Editchange($action: String!, $payload: JSON!) +{ + genericActionCall(action: $action, payload: $payload) + { + result + __typename + } +} + +{ +"action": "Editchange", +"payload":{ + "id":"{{change_id}}", + "aptBusinessObjectSummary":"GraphQL test run", + "aptBusinessObjectDescription":"Using graphql in postman to edit.", + "businessPriority":"LOW", + "responsiblePartyAtParner":{} + } +} \ No newline at end of file diff --git a/GraphQL/raw_queries/change_request/getChangeHistory.gql b/GraphQL/raw_queries/change_request/getChangeHistory.gql new file mode 100644 index 0000000..f4ecac5 --- /dev/null +++ b/GraphQL/raw_queries/change_request/getChangeHistory.gql @@ -0,0 +1,16 @@ +query GetActivityHistoryForIncident($action: String!, $payload: JSON!) +{ + genericActionCall(action: $action, payload: $payload) + { + result + __typename + } +} + +{ +"action": "Getactivityhistoryforincident", +"payload":{ + "processId":"{{change_id}}", + "processType":"change" + } +} \ No newline at end of file diff --git a/GraphQL/raw_queries/change_request/listChangeComments.gql b/GraphQL/raw_queries/change_request/listChangeComments.gql new file mode 100644 index 0000000..1d9926b --- /dev/null +++ b/GraphQL/raw_queries/change_request/listChangeComments.gql @@ -0,0 +1,15 @@ +query ListChangeComments($action: String!, $payload: JSON!) +{ + genericActionCall(action: $action, payload: $payload) + { + result + } +} + +{ +"action": "Listcommentsforchange", +"payload":{ + "id":"{{change_id}}", + "processType":"change" + } +} \ No newline at end of file From a8d33332d491436b23af08bd53e94a6a0d03ea00 Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Thu, 10 Oct 2024 07:59:06 -0600 Subject: [PATCH 11/47] removing redundant file --- GraphQL/raw_queries/compliance_exception/AddCEIncident.gql | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 GraphQL/raw_queries/compliance_exception/AddCEIncident.gql diff --git a/GraphQL/raw_queries/compliance_exception/AddCEIncident.gql b/GraphQL/raw_queries/compliance_exception/AddCEIncident.gql deleted file mode 100644 index 6873d6d..0000000 --- a/GraphQL/raw_queries/compliance_exception/AddCEIncident.gql +++ /dev/null @@ -1,6 +0,0 @@ -mutation AddComplianceException($action: String!, $payload: JSON!) { - genericActionCall(action: $action, payload: $payload) { - result - __typename - } -} From e697bca10876183bbfb9e1417e9e3f9251598c67 Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Thu, 10 Oct 2024 08:07:04 -0600 Subject: [PATCH 12/47] adding compliance exception requests --- .../addComplianceException.gql | 18 +++ .../addComplianceExceptionComments.gql | 22 +++ .../editComplianceException.gql | 18 +++ .../getComplianceExceptionHistory.gql | 16 ++ .../listComplianceExceptionComments.gql | 16 ++ .../readComplianceException.gql | 151 ++++++++++++++++++ 6 files changed, 241 insertions(+) create mode 100644 GraphQL/raw_queries/compliance_exception/addComplianceException.gql create mode 100644 GraphQL/raw_queries/compliance_exception/addComplianceExceptionComments.gql create mode 100644 GraphQL/raw_queries/compliance_exception/editComplianceException.gql create mode 100644 GraphQL/raw_queries/compliance_exception/getComplianceExceptionHistory.gql create mode 100644 GraphQL/raw_queries/compliance_exception/listComplianceExceptionComments.gql create mode 100644 GraphQL/raw_queries/compliance_exception/readComplianceException.gql diff --git a/GraphQL/raw_queries/compliance_exception/addComplianceException.gql b/GraphQL/raw_queries/compliance_exception/addComplianceException.gql new file mode 100644 index 0000000..bccb38f --- /dev/null +++ b/GraphQL/raw_queries/compliance_exception/addComplianceException.gql @@ -0,0 +1,18 @@ +mutation AddComplianceException($action: String!, $payload: JSON!) +{ + genericActionCall(action: $action, payload: $payload) + { + result + __typename + } +} + +{ +"action": "Addcomplianceexception", +"payload":{ + "aptBusinessObjectSummary": "GraphQL test run", + "aptBusinessObjectDescription":"Adding a compliance exception incident programmatically from postman using graphQL walkthrough demo.", + "businessPriority":"MEDIUM", + "resolutionDueDate":"1736613281000" // 11 Jan 2025 + } +} \ No newline at end of file diff --git a/GraphQL/raw_queries/compliance_exception/addComplianceExceptionComments.gql b/GraphQL/raw_queries/compliance_exception/addComplianceExceptionComments.gql new file mode 100644 index 0000000..1b15da7 --- /dev/null +++ b/GraphQL/raw_queries/compliance_exception/addComplianceExceptionComments.gql @@ -0,0 +1,22 @@ +mutation AddCEIncidentComments($action: String!, $payload: JSON!) +{ + genericActionCall(action: $action, payload: $payload) + { + result + __typename + } +} + +{ +"action": "Addcommentforincident", +"payload":{ + "processId":"{{compliance_exception_incident_id}}", + "processType":"complianceException", + "aptCommentBox":{ + "aptComment":{ + "commentText": "Adding a test comment using Postman and GraphQL.", + "visibilityType": "Public" + } + } + } +} \ No newline at end of file diff --git a/GraphQL/raw_queries/compliance_exception/editComplianceException.gql b/GraphQL/raw_queries/compliance_exception/editComplianceException.gql new file mode 100644 index 0000000..b18787c --- /dev/null +++ b/GraphQL/raw_queries/compliance_exception/editComplianceException.gql @@ -0,0 +1,18 @@ +mutation EditComplianceException($action: String!, $payload: JSON!) +{ + genericActionCall(action: $action, payload: $payload) + { + result + __typename + } +} + +{ +"action": "Editcomplianceexception", +"payload":{ + "id":"{{compliance_exception_incident_id}}", + "aptBusinessObjectDescription":"Editing an compliance exception programmatically using graphQL via Postman", + "businessPriority":"LOW", + "responsiblePartyAtParner":{} + } +} \ No newline at end of file diff --git a/GraphQL/raw_queries/compliance_exception/getComplianceExceptionHistory.gql b/GraphQL/raw_queries/compliance_exception/getComplianceExceptionHistory.gql new file mode 100644 index 0000000..de2209a --- /dev/null +++ b/GraphQL/raw_queries/compliance_exception/getComplianceExceptionHistory.gql @@ -0,0 +1,16 @@ +query GetActivityHistoryForCEIncident($action: String!, $payload: JSON!) +{ + genericActionCall(action: $action, payload: $payload) + { + result + __typename + } +} + +{ +"action": "Getactivityhistoryforincident", +"payload":{ + "processId":"{{compliance_exception_incident_id}}", + "processType":"complianceException" + } +} \ No newline at end of file diff --git a/GraphQL/raw_queries/compliance_exception/listComplianceExceptionComments.gql b/GraphQL/raw_queries/compliance_exception/listComplianceExceptionComments.gql new file mode 100644 index 0000000..6dcfbd6 --- /dev/null +++ b/GraphQL/raw_queries/compliance_exception/listComplianceExceptionComments.gql @@ -0,0 +1,16 @@ +query ListCEIncidentComments($action: String!, $payload: JSON!) +{ + genericActionCall(action: $action, payload: $payload) + { + result + __typename + } +} + +{ +"action": "Listcommentsforincident", +"payload":{ + "id":"{{compliance_exception_incident_id}}", + "processType":"complianceException" + } +} \ No newline at end of file diff --git a/GraphQL/raw_queries/compliance_exception/readComplianceException.gql b/GraphQL/raw_queries/compliance_exception/readComplianceException.gql new file mode 100644 index 0000000..f6b6ccb --- /dev/null +++ b/GraphQL/raw_queries/compliance_exception/readComplianceException.gql @@ -0,0 +1,151 @@ +query readCEIncident($type: String!, $id: String!) +{ + genericGetObject(type:$type, id: $id) + { + ... on ALL_RETURNS { + ... on ComplianceException { + id + currentBaseState + currentSubState + data { + aptBusinessObjectId + aptBusinessObjectSummary + aptBusinessObjectDescription + responsibleDepartmentAtCompany + responsibleDepartmentAtPartner + resolutionDueDate + businessPriority + referenceIdentifiers { + value + referenceTransactionType + __typename + } + dateSubmitted + createdByPartner + __typename + } + aptBusinessObjectBelongsToProcessNetwork { + to { + ... on ProcessNetwork { + id + __typename + } + __typename + } + __typename + } + aptBusinessObjectAssignedToCompanyPartnerMasterData { + to { + ... on PartnerLocationMasterData { + id + data { + businessMasterDataCommon { + businessName + businessAddress { + address1 + address2 + city + district + village + houseNumber + township + state + postalCode + country + __typename + } + __typename + } + __typename + } + __typename + } + ... on PartnerMasterData { + id + data { + businessMasterDataCommon { + businessName + businessAddress { + address1 + address2 + city + district + village + houseNumber + township + state + postalCode + country + __typename + } + __typename + } + __typename + } + __typename + } + ... on CompanyLocationMasterData { + id + data { + businessMasterDataCommon { + businessName + businessAddress { + address1 + address2 + city + district + village + houseNumber + township + state + postalCode + country + __typename + } + __typename + } + __typename + } + __typename + } + ... on CompanyMasterData{ + id + data { + businessMasterDataCommon { + businessName + businessAddress { + address1 + address2 + city + district + village + houseNumber + township + state + postalCode + country + __typename + } + __typename + } + __typename + } + __typename + } + __typename + } + __typename + } + + __typename + } + __typename + } + __typename + } +} + +{ + "type":"ComplianceException", + "id":"{{compliance_exception_incident_id}}" +} \ No newline at end of file From a0672e9ac5437b0c050299cc7c4e63ef7acac518 Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Thu, 10 Oct 2024 08:21:59 -0600 Subject: [PATCH 13/47] adding direct supplier incident requests --- .../direct_supplier/addDSIncident.gql | 20 ++ .../direct_supplier/addDSIncidentComment.gql | 22 ++ .../direct_supplier/editDSIncident.gql | 18 ++ .../direct_supplier/getDSIncidentHistory.gql | 16 ++ .../listDSIncidentComments.gql | 16 ++ .../direct_supplier/readDSIncident.gql | 232 ++++++++++++++++++ 6 files changed, 324 insertions(+) create mode 100644 GraphQL/raw_queries/direct_supplier/addDSIncident.gql create mode 100644 GraphQL/raw_queries/direct_supplier/addDSIncidentComment.gql create mode 100644 GraphQL/raw_queries/direct_supplier/editDSIncident.gql create mode 100644 GraphQL/raw_queries/direct_supplier/getDSIncidentHistory.gql create mode 100644 GraphQL/raw_queries/direct_supplier/listDSIncidentComments.gql create mode 100644 GraphQL/raw_queries/direct_supplier/readDSIncident.gql diff --git a/GraphQL/raw_queries/direct_supplier/addDSIncident.gql b/GraphQL/raw_queries/direct_supplier/addDSIncident.gql new file mode 100644 index 0000000..a98f061 --- /dev/null +++ b/GraphQL/raw_queries/direct_supplier/addDSIncident.gql @@ -0,0 +1,20 @@ +mutation AddDSIncident($action: String!, $payload: JSON!) +{ + genericActionCall(action: $action, payload: $payload) + { + result + __typename + } +} + +{ +"action": "Adddirectsupplierincident", +"payload":{ + "aptBusinessObjectSummary": "GraphQL Postman DS Incident test run", + "aptBusinessObjectDescription":"Adding an incident programmatically using graphQL via Postman", + "directSupplierImpact":{ + "businessPriority":"MEDIUM" + }, + "resolutionDueDate":1736613281000 // 11 Jan 2025 + } +} \ No newline at end of file diff --git a/GraphQL/raw_queries/direct_supplier/addDSIncidentComment.gql b/GraphQL/raw_queries/direct_supplier/addDSIncidentComment.gql new file mode 100644 index 0000000..efa9b15 --- /dev/null +++ b/GraphQL/raw_queries/direct_supplier/addDSIncidentComment.gql @@ -0,0 +1,22 @@ +mutation AddDSIncidentComments($action: String!, $payload: JSON!) +{ + genericActionCall(action: $action, payload: $payload) + { + result + __typename + } +} + +{ +"action": "Addcommentforincident", +"payload":{ + "processId":"{{direct_supplier_incident_id}}", + "processType":"directSupplierIncident", + "aptCommentBox":{ + "aptComment":{ + "commentText": "Adding a test comment using Postman and GraphQL.", + "visibilityType": "Public" + } + } + } +} \ No newline at end of file diff --git a/GraphQL/raw_queries/direct_supplier/editDSIncident.gql b/GraphQL/raw_queries/direct_supplier/editDSIncident.gql new file mode 100644 index 0000000..634bcf6 --- /dev/null +++ b/GraphQL/raw_queries/direct_supplier/editDSIncident.gql @@ -0,0 +1,18 @@ +mutation EditDSIncident($action: String!, $payload: JSON!) +{ + genericActionCall(action: $action, payload: $payload) + { + result + __typename + } +} + +{ +"action": "Editdirectsupplierincident", +"payload":{ + "id":"{{direct_supplier_incident_id}}", + "aptBusinessObjectDescription":"Editing an incident programmatically using graphQL via Postman", + "businessPriority":"LOW", + "responsiblePartyAtParner":{} + } +} \ No newline at end of file diff --git a/GraphQL/raw_queries/direct_supplier/getDSIncidentHistory.gql b/GraphQL/raw_queries/direct_supplier/getDSIncidentHistory.gql new file mode 100644 index 0000000..6a8f098 --- /dev/null +++ b/GraphQL/raw_queries/direct_supplier/getDSIncidentHistory.gql @@ -0,0 +1,16 @@ +query GetActivityHistoryForDSIncident($action: String!, $payload: JSON!) +{ + genericActionCall(action: $action, payload: $payload) + { + result + __typename + } +} + +{ +"action": "Getactivityhistoryforincident", +"payload":{ + "processId":"{{direct_supplier_incident_id}}", + "processType":"directSupplierIncident" + } +} \ No newline at end of file diff --git a/GraphQL/raw_queries/direct_supplier/listDSIncidentComments.gql b/GraphQL/raw_queries/direct_supplier/listDSIncidentComments.gql new file mode 100644 index 0000000..1a80e52 --- /dev/null +++ b/GraphQL/raw_queries/direct_supplier/listDSIncidentComments.gql @@ -0,0 +1,16 @@ +query ListDSIncidentComments($action: String!, $payload: JSON!) +{ + genericActionCall(action: $action, payload: $payload) + { + result + __typename + } +} + +{ +"action": "Listcommentsforincident", +"payload":{ + "id":"{{direct_supplier_incident_id}}", + "processType":"directSupplierIncident" + } +} \ No newline at end of file diff --git a/GraphQL/raw_queries/direct_supplier/readDSIncident.gql b/GraphQL/raw_queries/direct_supplier/readDSIncident.gql new file mode 100644 index 0000000..7c5698b --- /dev/null +++ b/GraphQL/raw_queries/direct_supplier/readDSIncident.gql @@ -0,0 +1,232 @@ +query readDSIncident($type: String!, $id: String!) +{ + genericGetObject(type:$type, id: $id) + { + ... on ALL_RETURNS { + ... on DirectSupplierIncident { + id + currentBaseState + currentSubState + data { + aptBusinessObjectId + aptBusinessObjectSummary + aptBusinessObjectDescription + responsibleDepartmentAtCompany + responsibleDepartmentAtPartner + incidentType + resolutionDueDate + directSupplierImpact{ + businessPriority + } + referenceIdentifiers { + value + referenceTransactionType + __typename + } + dateSubmitted + createdByPartner + __typename + } + aptBusinessObjectBelongsToProcessNetwork { + to { + ... on ProcessNetwork { + id + __typename + } + __typename + } + __typename + } + aptBusinessObjectCompanyAssignedUser { + to { + ... on User { + ...userName + __typename + } + __typename + } + __typename + } + aptBusinessObjectPartnerAssignedUser { + to { + ... on User { + ...userName + __typename + } + __typename + } + __typename + } + aptBusinessObjectCompanyOwnerUser { + to { + ... on User { + ...userName + __typename + } + __typename + } + __typename + } + aptBusinessObjectPartnerOwnerUser { + to { + ... on User { + ...userName + __typename + } + __typename + } + __typename + } + aptBusinessObjectAssignedToCompanyPartnerMasterData { + to { + ... on PartnerLocationMasterData { + id + data { + businessMasterDataCommon { + businessName + businessAddress { + address1 + address2 + city + district + village + houseNumber + township + state + postalCode + country + __typename + } + __typename + } + __typename + } + __typename + } + ... on PartnerMasterData { + id + data { + businessMasterDataCommon { + businessName + businessAddress { + address1 + address2 + city + district + village + houseNumber + township + state + postalCode + country + __typename + } + __typename + } + __typename + } + __typename + } + ... on CompanyLocationMasterData { + id + data { + businessMasterDataCommon { + businessName + businessAddress { + address1 + address2 + city + district + village + houseNumber + township + state + postalCode + country + __typename + } + __typename + } + __typename + } + __typename + } + ... on CompanyMasterData{ + id + data { + businessMasterDataCommon { + businessName + businessAddress { + address1 + address2 + city + district + village + houseNumber + township + state + postalCode + country + __typename + } + __typename + } + __typename + } + __typename + } + __typename + } + __typename + } + aptBusinessObjectPrimaryPartnerLocationMasterData { + to { + ... on PartnerLocationMasterData { + id + data { + businessMasterDataCommon { + businessName + businessAddress { + address1 + address2 + city + district + village + houseNumber + township + state + postalCode + country + __typename + } + __typename + } + __typename + } + __typename + } + __typename + } + __typename + } + __typename + } + __typename + } + __typename + } +} +fragment userName on User { + id + data { + givenName + surname + __typename + } + __typename +} + +{ + "type":"DirectSupplierIncident", + "id":"{{direct_supplier_incident_id}}" +} \ No newline at end of file From a42e3123671f74953ad6a71282db79885c666cec Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Thu, 10 Oct 2024 08:39:23 -0600 Subject: [PATCH 14/47] adding document review requests --- .../document_review/addDocReview.gql | 16 ++++++ .../document_review/addDocReviewComment.gql | 20 +++++++ .../document_review/editDocReview.gql | 16 ++++++ .../getDocReviewActivityHistory.gql | 14 +++++ .../document_review/listDocReviewComments.gql | 14 +++++ .../document_review/readDocReviewDetails.gql | 57 +++++++++++++++++++ 6 files changed, 137 insertions(+) create mode 100644 GraphQL/raw_queries/document_review/addDocReview.gql create mode 100644 GraphQL/raw_queries/document_review/addDocReviewComment.gql create mode 100644 GraphQL/raw_queries/document_review/editDocReview.gql create mode 100644 GraphQL/raw_queries/document_review/getDocReviewActivityHistory.gql create mode 100644 GraphQL/raw_queries/document_review/listDocReviewComments.gql create mode 100644 GraphQL/raw_queries/document_review/readDocReviewDetails.gql diff --git a/GraphQL/raw_queries/document_review/addDocReview.gql b/GraphQL/raw_queries/document_review/addDocReview.gql new file mode 100644 index 0000000..57809db --- /dev/null +++ b/GraphQL/raw_queries/document_review/addDocReview.gql @@ -0,0 +1,16 @@ +mutation AddDocumentReview($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} + +{ +"action": "Adddocumentreview", +"payload":{ + "aptBusinessObjectSummary":"New Document Review using graphQL and postman", + "aptBusinessObjectDescription":"Adding a document review using postman and graphQL", + "businessPriority":"MEDIUM", + "approvalDueDate": "1736613281000" // 11 Jan 2025 +} +} \ No newline at end of file diff --git a/GraphQL/raw_queries/document_review/addDocReviewComment.gql b/GraphQL/raw_queries/document_review/addDocReviewComment.gql new file mode 100644 index 0000000..4257010 --- /dev/null +++ b/GraphQL/raw_queries/document_review/addDocReviewComment.gql @@ -0,0 +1,20 @@ +mutation AddChangeComments($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} + +{ +"action": "Addcommentfordocumentreview", +"payload":{ + "processId":"{{document_review_id}}", + "processType":"documentReview", + "aptCommentBox":{ + "aptComment":{ + "commentText": "Adding a test comment to Document Review using Postman and GraphQL.", + "visibilityType": "Public" + } + } + } +} \ No newline at end of file diff --git a/GraphQL/raw_queries/document_review/editDocReview.gql b/GraphQL/raw_queries/document_review/editDocReview.gql new file mode 100644 index 0000000..4c4a7a1 --- /dev/null +++ b/GraphQL/raw_queries/document_review/editDocReview.gql @@ -0,0 +1,16 @@ +mutation EditDocumentReview($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} + +{ +"action": "Editdocumentreview", +"payload":{ + "id":"{{document_review_id}}", + "aptBusinessObjectSummary":"GraphQL test run", + "aptBusinessObjectDescription":"Using graphql in postman to edit document review incident", + "businessPriority":"LOW" + } +} \ No newline at end of file diff --git a/GraphQL/raw_queries/document_review/getDocReviewActivityHistory.gql b/GraphQL/raw_queries/document_review/getDocReviewActivityHistory.gql new file mode 100644 index 0000000..cd44f4a --- /dev/null +++ b/GraphQL/raw_queries/document_review/getDocReviewActivityHistory.gql @@ -0,0 +1,14 @@ +query GetActivityHistoryForDocumentReview($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} + +{ +"action": "Getactivityhistoryforincident", +"payload":{ + "processId":"{{document_review_id}}", + "processType":"documentReview" + } +} \ No newline at end of file diff --git a/GraphQL/raw_queries/document_review/listDocReviewComments.gql b/GraphQL/raw_queries/document_review/listDocReviewComments.gql new file mode 100644 index 0000000..6c46aa2 --- /dev/null +++ b/GraphQL/raw_queries/document_review/listDocReviewComments.gql @@ -0,0 +1,14 @@ +query ListDocumentReviewComments($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} + +{ +"action": "Listcommentsfordocumentreview", +"payload":{ + "id":"{{document_review_id}}", + "processType":"documentReview" + } +} \ No newline at end of file diff --git a/GraphQL/raw_queries/document_review/readDocReviewDetails.gql b/GraphQL/raw_queries/document_review/readDocReviewDetails.gql new file mode 100644 index 0000000..c3bad1a --- /dev/null +++ b/GraphQL/raw_queries/document_review/readDocReviewDetails.gql @@ -0,0 +1,57 @@ +query readDocumentReview($id: String!, $type: String!) { + genericGetObject(type: $type, id: $id) { + ... on ALL_RETURNS { + ... on DocumentReview { + id + currentBaseState + currentSubState + data { + aptBusinessObjectId + aptBusinessObjectSummary + aptBusinessObjectDescription + responsibleDepartmentAtCompany + responsibleDepartmentAtPartner + businessPriority + createdByPartner + productId + aptBusinessObjectImpactsLocationMasterData { + locationType + locationContact + partnerLocationId + } + __typename + } + aptBusinessObjectContainsComment { + to { + ... on AptComment { + id + data { + commentText + visibilityType + } + } + } + } + aptBusinessObjectContainsAttachment { + to { + ... on AptAttachment { + data { + fileName + fileSize + visibilityType + fileS3Location + } + } + } + } + __typename + } + __typename + } + } +} + +{ + "type":"DocumentReview", + "id":"{{document_review_id}}" +} \ No newline at end of file From 8b76c4c70c07be39d50e84e518755992ae4a8350 Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Thu, 10 Oct 2024 08:42:01 -0600 Subject: [PATCH 15/47] renaming folder --- .../{raw_queries => query_samples}/change_request/addChange.gql | 0 .../change_request/addChangeComments.gql | 0 .../{raw_queries => query_samples}/change_request/closeChange.gql | 0 .../{raw_queries => query_samples}/change_request/editChange.gql | 0 .../change_request/getChangeHistory.gql | 0 .../change_request/listChangeComments.gql | 0 .../{raw_queries => query_samples}/change_request/readChange.gql | 0 .../compliance_exception/addComplianceException.gql | 0 .../compliance_exception/addComplianceExceptionComments.gql | 0 .../compliance_exception/editComplianceException.gql | 0 .../compliance_exception/getComplianceExceptionHistory.gql | 0 .../compliance_exception/listComplianceExceptionComments.gql | 0 .../compliance_exception/readComplianceException.gql | 0 .../direct_supplier/addDSIncident.gql | 0 .../direct_supplier/addDSIncidentComment.gql | 0 .../direct_supplier/editDSIncident.gql | 0 .../direct_supplier/getDSIncidentHistory.gql | 0 .../direct_supplier/listDSIncidentComments.gql | 0 .../direct_supplier/readDSIncident.gql | 0 .../document_review/addDocReview.gql | 0 .../document_review/addDocReviewComment.gql | 0 .../document_review/editDocReview.gql | 0 .../document_review/getDocReviewActivityHistory.gql | 0 .../document_review/listDocReviewComments.gql | 0 .../document_review/readDocReviewDetails.gql | 0 25 files changed, 0 insertions(+), 0 deletions(-) rename GraphQL/{raw_queries => query_samples}/change_request/addChange.gql (100%) rename GraphQL/{raw_queries => query_samples}/change_request/addChangeComments.gql (100%) rename GraphQL/{raw_queries => query_samples}/change_request/closeChange.gql (100%) rename GraphQL/{raw_queries => query_samples}/change_request/editChange.gql (100%) rename GraphQL/{raw_queries => query_samples}/change_request/getChangeHistory.gql (100%) rename GraphQL/{raw_queries => query_samples}/change_request/listChangeComments.gql (100%) rename GraphQL/{raw_queries => query_samples}/change_request/readChange.gql (100%) rename GraphQL/{raw_queries => query_samples}/compliance_exception/addComplianceException.gql (100%) rename GraphQL/{raw_queries => query_samples}/compliance_exception/addComplianceExceptionComments.gql (100%) rename GraphQL/{raw_queries => query_samples}/compliance_exception/editComplianceException.gql (100%) rename GraphQL/{raw_queries => query_samples}/compliance_exception/getComplianceExceptionHistory.gql (100%) rename GraphQL/{raw_queries => query_samples}/compliance_exception/listComplianceExceptionComments.gql (100%) rename GraphQL/{raw_queries => query_samples}/compliance_exception/readComplianceException.gql (100%) rename GraphQL/{raw_queries => query_samples}/direct_supplier/addDSIncident.gql (100%) rename GraphQL/{raw_queries => query_samples}/direct_supplier/addDSIncidentComment.gql (100%) rename GraphQL/{raw_queries => query_samples}/direct_supplier/editDSIncident.gql (100%) rename GraphQL/{raw_queries => query_samples}/direct_supplier/getDSIncidentHistory.gql (100%) rename GraphQL/{raw_queries => query_samples}/direct_supplier/listDSIncidentComments.gql (100%) rename GraphQL/{raw_queries => query_samples}/direct_supplier/readDSIncident.gql (100%) rename GraphQL/{raw_queries => query_samples}/document_review/addDocReview.gql (100%) rename GraphQL/{raw_queries => query_samples}/document_review/addDocReviewComment.gql (100%) rename GraphQL/{raw_queries => query_samples}/document_review/editDocReview.gql (100%) rename GraphQL/{raw_queries => query_samples}/document_review/getDocReviewActivityHistory.gql (100%) rename GraphQL/{raw_queries => query_samples}/document_review/listDocReviewComments.gql (100%) rename GraphQL/{raw_queries => query_samples}/document_review/readDocReviewDetails.gql (100%) diff --git a/GraphQL/raw_queries/change_request/addChange.gql b/GraphQL/query_samples/change_request/addChange.gql similarity index 100% rename from GraphQL/raw_queries/change_request/addChange.gql rename to GraphQL/query_samples/change_request/addChange.gql diff --git a/GraphQL/raw_queries/change_request/addChangeComments.gql b/GraphQL/query_samples/change_request/addChangeComments.gql similarity index 100% rename from GraphQL/raw_queries/change_request/addChangeComments.gql rename to GraphQL/query_samples/change_request/addChangeComments.gql diff --git a/GraphQL/raw_queries/change_request/closeChange.gql b/GraphQL/query_samples/change_request/closeChange.gql similarity index 100% rename from GraphQL/raw_queries/change_request/closeChange.gql rename to GraphQL/query_samples/change_request/closeChange.gql diff --git a/GraphQL/raw_queries/change_request/editChange.gql b/GraphQL/query_samples/change_request/editChange.gql similarity index 100% rename from GraphQL/raw_queries/change_request/editChange.gql rename to GraphQL/query_samples/change_request/editChange.gql diff --git a/GraphQL/raw_queries/change_request/getChangeHistory.gql b/GraphQL/query_samples/change_request/getChangeHistory.gql similarity index 100% rename from GraphQL/raw_queries/change_request/getChangeHistory.gql rename to GraphQL/query_samples/change_request/getChangeHistory.gql diff --git a/GraphQL/raw_queries/change_request/listChangeComments.gql b/GraphQL/query_samples/change_request/listChangeComments.gql similarity index 100% rename from GraphQL/raw_queries/change_request/listChangeComments.gql rename to GraphQL/query_samples/change_request/listChangeComments.gql diff --git a/GraphQL/raw_queries/change_request/readChange.gql b/GraphQL/query_samples/change_request/readChange.gql similarity index 100% rename from GraphQL/raw_queries/change_request/readChange.gql rename to GraphQL/query_samples/change_request/readChange.gql diff --git a/GraphQL/raw_queries/compliance_exception/addComplianceException.gql b/GraphQL/query_samples/compliance_exception/addComplianceException.gql similarity index 100% rename from GraphQL/raw_queries/compliance_exception/addComplianceException.gql rename to GraphQL/query_samples/compliance_exception/addComplianceException.gql diff --git a/GraphQL/raw_queries/compliance_exception/addComplianceExceptionComments.gql b/GraphQL/query_samples/compliance_exception/addComplianceExceptionComments.gql similarity index 100% rename from GraphQL/raw_queries/compliance_exception/addComplianceExceptionComments.gql rename to GraphQL/query_samples/compliance_exception/addComplianceExceptionComments.gql diff --git a/GraphQL/raw_queries/compliance_exception/editComplianceException.gql b/GraphQL/query_samples/compliance_exception/editComplianceException.gql similarity index 100% rename from GraphQL/raw_queries/compliance_exception/editComplianceException.gql rename to GraphQL/query_samples/compliance_exception/editComplianceException.gql diff --git a/GraphQL/raw_queries/compliance_exception/getComplianceExceptionHistory.gql b/GraphQL/query_samples/compliance_exception/getComplianceExceptionHistory.gql similarity index 100% rename from GraphQL/raw_queries/compliance_exception/getComplianceExceptionHistory.gql rename to GraphQL/query_samples/compliance_exception/getComplianceExceptionHistory.gql diff --git a/GraphQL/raw_queries/compliance_exception/listComplianceExceptionComments.gql b/GraphQL/query_samples/compliance_exception/listComplianceExceptionComments.gql similarity index 100% rename from GraphQL/raw_queries/compliance_exception/listComplianceExceptionComments.gql rename to GraphQL/query_samples/compliance_exception/listComplianceExceptionComments.gql diff --git a/GraphQL/raw_queries/compliance_exception/readComplianceException.gql b/GraphQL/query_samples/compliance_exception/readComplianceException.gql similarity index 100% rename from GraphQL/raw_queries/compliance_exception/readComplianceException.gql rename to GraphQL/query_samples/compliance_exception/readComplianceException.gql diff --git a/GraphQL/raw_queries/direct_supplier/addDSIncident.gql b/GraphQL/query_samples/direct_supplier/addDSIncident.gql similarity index 100% rename from GraphQL/raw_queries/direct_supplier/addDSIncident.gql rename to GraphQL/query_samples/direct_supplier/addDSIncident.gql diff --git a/GraphQL/raw_queries/direct_supplier/addDSIncidentComment.gql b/GraphQL/query_samples/direct_supplier/addDSIncidentComment.gql similarity index 100% rename from GraphQL/raw_queries/direct_supplier/addDSIncidentComment.gql rename to GraphQL/query_samples/direct_supplier/addDSIncidentComment.gql diff --git a/GraphQL/raw_queries/direct_supplier/editDSIncident.gql b/GraphQL/query_samples/direct_supplier/editDSIncident.gql similarity index 100% rename from GraphQL/raw_queries/direct_supplier/editDSIncident.gql rename to GraphQL/query_samples/direct_supplier/editDSIncident.gql diff --git a/GraphQL/raw_queries/direct_supplier/getDSIncidentHistory.gql b/GraphQL/query_samples/direct_supplier/getDSIncidentHistory.gql similarity index 100% rename from GraphQL/raw_queries/direct_supplier/getDSIncidentHistory.gql rename to GraphQL/query_samples/direct_supplier/getDSIncidentHistory.gql diff --git a/GraphQL/raw_queries/direct_supplier/listDSIncidentComments.gql b/GraphQL/query_samples/direct_supplier/listDSIncidentComments.gql similarity index 100% rename from GraphQL/raw_queries/direct_supplier/listDSIncidentComments.gql rename to GraphQL/query_samples/direct_supplier/listDSIncidentComments.gql diff --git a/GraphQL/raw_queries/direct_supplier/readDSIncident.gql b/GraphQL/query_samples/direct_supplier/readDSIncident.gql similarity index 100% rename from GraphQL/raw_queries/direct_supplier/readDSIncident.gql rename to GraphQL/query_samples/direct_supplier/readDSIncident.gql diff --git a/GraphQL/raw_queries/document_review/addDocReview.gql b/GraphQL/query_samples/document_review/addDocReview.gql similarity index 100% rename from GraphQL/raw_queries/document_review/addDocReview.gql rename to GraphQL/query_samples/document_review/addDocReview.gql diff --git a/GraphQL/raw_queries/document_review/addDocReviewComment.gql b/GraphQL/query_samples/document_review/addDocReviewComment.gql similarity index 100% rename from GraphQL/raw_queries/document_review/addDocReviewComment.gql rename to GraphQL/query_samples/document_review/addDocReviewComment.gql diff --git a/GraphQL/raw_queries/document_review/editDocReview.gql b/GraphQL/query_samples/document_review/editDocReview.gql similarity index 100% rename from GraphQL/raw_queries/document_review/editDocReview.gql rename to GraphQL/query_samples/document_review/editDocReview.gql diff --git a/GraphQL/raw_queries/document_review/getDocReviewActivityHistory.gql b/GraphQL/query_samples/document_review/getDocReviewActivityHistory.gql similarity index 100% rename from GraphQL/raw_queries/document_review/getDocReviewActivityHistory.gql rename to GraphQL/query_samples/document_review/getDocReviewActivityHistory.gql diff --git a/GraphQL/raw_queries/document_review/listDocReviewComments.gql b/GraphQL/query_samples/document_review/listDocReviewComments.gql similarity index 100% rename from GraphQL/raw_queries/document_review/listDocReviewComments.gql rename to GraphQL/query_samples/document_review/listDocReviewComments.gql diff --git a/GraphQL/raw_queries/document_review/readDocReviewDetails.gql b/GraphQL/query_samples/document_review/readDocReviewDetails.gql similarity index 100% rename from GraphQL/raw_queries/document_review/readDocReviewDetails.gql rename to GraphQL/query_samples/document_review/readDocReviewDetails.gql From 40e280c38a1884716b6afacf7f9df64e85fdfce4 Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Thu, 10 Oct 2024 08:49:57 -0600 Subject: [PATCH 16/47] renaming folder --- .../change_request/addChange.gql | 0 .../change_request/addChangeComments.gql | 0 .../change_request/closeChange.gql | 0 .../change_request/editChange.gql | 0 .../change_request/getChangeHistory.gql | 0 .../change_request/listChangeComments.gql | 0 .../change_request/readChange.gql | 0 .../compliance_exception/addComplianceException.gql | 0 .../compliance_exception/addComplianceExceptionComments.gql | 0 .../compliance_exception/editComplianceException.gql | 0 .../compliance_exception/getComplianceExceptionHistory.gql | 0 .../compliance_exception/listComplianceExceptionComments.gql | 0 .../compliance_exception/readComplianceException.gql | 0 .../direct_supplier/addDSIncident.gql | 0 .../direct_supplier/addDSIncidentComment.gql | 0 .../direct_supplier/editDSIncident.gql | 0 .../direct_supplier/getDSIncidentHistory.gql | 0 .../direct_supplier/listDSIncidentComments.gql | 0 .../direct_supplier/readDSIncident.gql | 0 .../document_review/addDocReview.gql | 0 .../document_review/addDocReviewComment.gql | 0 .../document_review/editDocReview.gql | 0 .../document_review/getDocReviewActivityHistory.gql | 0 .../document_review/listDocReviewComments.gql | 0 .../document_review/readDocReviewDetails.gql | 0 25 files changed, 0 insertions(+), 0 deletions(-) rename GraphQL/{query_samples => payload_samples}/change_request/addChange.gql (100%) rename GraphQL/{query_samples => payload_samples}/change_request/addChangeComments.gql (100%) rename GraphQL/{query_samples => payload_samples}/change_request/closeChange.gql (100%) rename GraphQL/{query_samples => payload_samples}/change_request/editChange.gql (100%) rename GraphQL/{query_samples => payload_samples}/change_request/getChangeHistory.gql (100%) rename GraphQL/{query_samples => payload_samples}/change_request/listChangeComments.gql (100%) rename GraphQL/{query_samples => payload_samples}/change_request/readChange.gql (100%) rename GraphQL/{query_samples => payload_samples}/compliance_exception/addComplianceException.gql (100%) rename GraphQL/{query_samples => payload_samples}/compliance_exception/addComplianceExceptionComments.gql (100%) rename GraphQL/{query_samples => payload_samples}/compliance_exception/editComplianceException.gql (100%) rename GraphQL/{query_samples => payload_samples}/compliance_exception/getComplianceExceptionHistory.gql (100%) rename GraphQL/{query_samples => payload_samples}/compliance_exception/listComplianceExceptionComments.gql (100%) rename GraphQL/{query_samples => payload_samples}/compliance_exception/readComplianceException.gql (100%) rename GraphQL/{query_samples => payload_samples}/direct_supplier/addDSIncident.gql (100%) rename GraphQL/{query_samples => payload_samples}/direct_supplier/addDSIncidentComment.gql (100%) rename GraphQL/{query_samples => payload_samples}/direct_supplier/editDSIncident.gql (100%) rename GraphQL/{query_samples => payload_samples}/direct_supplier/getDSIncidentHistory.gql (100%) rename GraphQL/{query_samples => payload_samples}/direct_supplier/listDSIncidentComments.gql (100%) rename GraphQL/{query_samples => payload_samples}/direct_supplier/readDSIncident.gql (100%) rename GraphQL/{query_samples => payload_samples}/document_review/addDocReview.gql (100%) rename GraphQL/{query_samples => payload_samples}/document_review/addDocReviewComment.gql (100%) rename GraphQL/{query_samples => payload_samples}/document_review/editDocReview.gql (100%) rename GraphQL/{query_samples => payload_samples}/document_review/getDocReviewActivityHistory.gql (100%) rename GraphQL/{query_samples => payload_samples}/document_review/listDocReviewComments.gql (100%) rename GraphQL/{query_samples => payload_samples}/document_review/readDocReviewDetails.gql (100%) diff --git a/GraphQL/query_samples/change_request/addChange.gql b/GraphQL/payload_samples/change_request/addChange.gql similarity index 100% rename from GraphQL/query_samples/change_request/addChange.gql rename to GraphQL/payload_samples/change_request/addChange.gql diff --git a/GraphQL/query_samples/change_request/addChangeComments.gql b/GraphQL/payload_samples/change_request/addChangeComments.gql similarity index 100% rename from GraphQL/query_samples/change_request/addChangeComments.gql rename to GraphQL/payload_samples/change_request/addChangeComments.gql diff --git a/GraphQL/query_samples/change_request/closeChange.gql b/GraphQL/payload_samples/change_request/closeChange.gql similarity index 100% rename from GraphQL/query_samples/change_request/closeChange.gql rename to GraphQL/payload_samples/change_request/closeChange.gql diff --git a/GraphQL/query_samples/change_request/editChange.gql b/GraphQL/payload_samples/change_request/editChange.gql similarity index 100% rename from GraphQL/query_samples/change_request/editChange.gql rename to GraphQL/payload_samples/change_request/editChange.gql diff --git a/GraphQL/query_samples/change_request/getChangeHistory.gql b/GraphQL/payload_samples/change_request/getChangeHistory.gql similarity index 100% rename from GraphQL/query_samples/change_request/getChangeHistory.gql rename to GraphQL/payload_samples/change_request/getChangeHistory.gql diff --git a/GraphQL/query_samples/change_request/listChangeComments.gql b/GraphQL/payload_samples/change_request/listChangeComments.gql similarity index 100% rename from GraphQL/query_samples/change_request/listChangeComments.gql rename to GraphQL/payload_samples/change_request/listChangeComments.gql diff --git a/GraphQL/query_samples/change_request/readChange.gql b/GraphQL/payload_samples/change_request/readChange.gql similarity index 100% rename from GraphQL/query_samples/change_request/readChange.gql rename to GraphQL/payload_samples/change_request/readChange.gql diff --git a/GraphQL/query_samples/compliance_exception/addComplianceException.gql b/GraphQL/payload_samples/compliance_exception/addComplianceException.gql similarity index 100% rename from GraphQL/query_samples/compliance_exception/addComplianceException.gql rename to GraphQL/payload_samples/compliance_exception/addComplianceException.gql diff --git a/GraphQL/query_samples/compliance_exception/addComplianceExceptionComments.gql b/GraphQL/payload_samples/compliance_exception/addComplianceExceptionComments.gql similarity index 100% rename from GraphQL/query_samples/compliance_exception/addComplianceExceptionComments.gql rename to GraphQL/payload_samples/compliance_exception/addComplianceExceptionComments.gql diff --git a/GraphQL/query_samples/compliance_exception/editComplianceException.gql b/GraphQL/payload_samples/compliance_exception/editComplianceException.gql similarity index 100% rename from GraphQL/query_samples/compliance_exception/editComplianceException.gql rename to GraphQL/payload_samples/compliance_exception/editComplianceException.gql diff --git a/GraphQL/query_samples/compliance_exception/getComplianceExceptionHistory.gql b/GraphQL/payload_samples/compliance_exception/getComplianceExceptionHistory.gql similarity index 100% rename from GraphQL/query_samples/compliance_exception/getComplianceExceptionHistory.gql rename to GraphQL/payload_samples/compliance_exception/getComplianceExceptionHistory.gql diff --git a/GraphQL/query_samples/compliance_exception/listComplianceExceptionComments.gql b/GraphQL/payload_samples/compliance_exception/listComplianceExceptionComments.gql similarity index 100% rename from GraphQL/query_samples/compliance_exception/listComplianceExceptionComments.gql rename to GraphQL/payload_samples/compliance_exception/listComplianceExceptionComments.gql diff --git a/GraphQL/query_samples/compliance_exception/readComplianceException.gql b/GraphQL/payload_samples/compliance_exception/readComplianceException.gql similarity index 100% rename from GraphQL/query_samples/compliance_exception/readComplianceException.gql rename to GraphQL/payload_samples/compliance_exception/readComplianceException.gql diff --git a/GraphQL/query_samples/direct_supplier/addDSIncident.gql b/GraphQL/payload_samples/direct_supplier/addDSIncident.gql similarity index 100% rename from GraphQL/query_samples/direct_supplier/addDSIncident.gql rename to GraphQL/payload_samples/direct_supplier/addDSIncident.gql diff --git a/GraphQL/query_samples/direct_supplier/addDSIncidentComment.gql b/GraphQL/payload_samples/direct_supplier/addDSIncidentComment.gql similarity index 100% rename from GraphQL/query_samples/direct_supplier/addDSIncidentComment.gql rename to GraphQL/payload_samples/direct_supplier/addDSIncidentComment.gql diff --git a/GraphQL/query_samples/direct_supplier/editDSIncident.gql b/GraphQL/payload_samples/direct_supplier/editDSIncident.gql similarity index 100% rename from GraphQL/query_samples/direct_supplier/editDSIncident.gql rename to GraphQL/payload_samples/direct_supplier/editDSIncident.gql diff --git a/GraphQL/query_samples/direct_supplier/getDSIncidentHistory.gql b/GraphQL/payload_samples/direct_supplier/getDSIncidentHistory.gql similarity index 100% rename from GraphQL/query_samples/direct_supplier/getDSIncidentHistory.gql rename to GraphQL/payload_samples/direct_supplier/getDSIncidentHistory.gql diff --git a/GraphQL/query_samples/direct_supplier/listDSIncidentComments.gql b/GraphQL/payload_samples/direct_supplier/listDSIncidentComments.gql similarity index 100% rename from GraphQL/query_samples/direct_supplier/listDSIncidentComments.gql rename to GraphQL/payload_samples/direct_supplier/listDSIncidentComments.gql diff --git a/GraphQL/query_samples/direct_supplier/readDSIncident.gql b/GraphQL/payload_samples/direct_supplier/readDSIncident.gql similarity index 100% rename from GraphQL/query_samples/direct_supplier/readDSIncident.gql rename to GraphQL/payload_samples/direct_supplier/readDSIncident.gql diff --git a/GraphQL/query_samples/document_review/addDocReview.gql b/GraphQL/payload_samples/document_review/addDocReview.gql similarity index 100% rename from GraphQL/query_samples/document_review/addDocReview.gql rename to GraphQL/payload_samples/document_review/addDocReview.gql diff --git a/GraphQL/query_samples/document_review/addDocReviewComment.gql b/GraphQL/payload_samples/document_review/addDocReviewComment.gql similarity index 100% rename from GraphQL/query_samples/document_review/addDocReviewComment.gql rename to GraphQL/payload_samples/document_review/addDocReviewComment.gql diff --git a/GraphQL/query_samples/document_review/editDocReview.gql b/GraphQL/payload_samples/document_review/editDocReview.gql similarity index 100% rename from GraphQL/query_samples/document_review/editDocReview.gql rename to GraphQL/payload_samples/document_review/editDocReview.gql diff --git a/GraphQL/query_samples/document_review/getDocReviewActivityHistory.gql b/GraphQL/payload_samples/document_review/getDocReviewActivityHistory.gql similarity index 100% rename from GraphQL/query_samples/document_review/getDocReviewActivityHistory.gql rename to GraphQL/payload_samples/document_review/getDocReviewActivityHistory.gql diff --git a/GraphQL/query_samples/document_review/listDocReviewComments.gql b/GraphQL/payload_samples/document_review/listDocReviewComments.gql similarity index 100% rename from GraphQL/query_samples/document_review/listDocReviewComments.gql rename to GraphQL/payload_samples/document_review/listDocReviewComments.gql diff --git a/GraphQL/query_samples/document_review/readDocReviewDetails.gql b/GraphQL/payload_samples/document_review/readDocReviewDetails.gql similarity index 100% rename from GraphQL/query_samples/document_review/readDocReviewDetails.gql rename to GraphQL/payload_samples/document_review/readDocReviewDetails.gql From 91601df18df69ac0b1c247269214402e09a7f8a7 Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Thu, 10 Oct 2024 11:08:30 -0600 Subject: [PATCH 17/47] adding requests for external manufacturing --- .../addExtMfgIncident.gql | 18 ++ .../addExtMfgIncidentComment.gql | 20 ++ .../editExtMfgIncident.gql | 21 ++ .../getExtMfgIncidentHistory.gql | 15 ++ .../listExtMfgIncidentComments.gql | 14 ++ .../readExtMfgIncidentDetails.gql | 231 ++++++++++++++++++ 6 files changed, 319 insertions(+) create mode 100644 GraphQL/payload_samples/external_manufacturing/addExtMfgIncident.gql create mode 100644 GraphQL/payload_samples/external_manufacturing/addExtMfgIncidentComment.gql create mode 100644 GraphQL/payload_samples/external_manufacturing/editExtMfgIncident.gql create mode 100644 GraphQL/payload_samples/external_manufacturing/getExtMfgIncidentHistory.gql create mode 100644 GraphQL/payload_samples/external_manufacturing/listExtMfgIncidentComments.gql create mode 100644 GraphQL/payload_samples/external_manufacturing/readExtMfgIncidentDetails.gql diff --git a/GraphQL/payload_samples/external_manufacturing/addExtMfgIncident.gql b/GraphQL/payload_samples/external_manufacturing/addExtMfgIncident.gql new file mode 100644 index 0000000..7a7ce8b --- /dev/null +++ b/GraphQL/payload_samples/external_manufacturing/addExtMfgIncident.gql @@ -0,0 +1,18 @@ +mutation AddIncident($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} + +{ +"action": "Addexternalmanufacturingincident", +"payload":{ + "aptBusinessObjectSummary": "GraphQL test run 4/18/24", + "aptBusinessObjectDescription":"Adding an incident programmatically from postman using graphQL walkthrough demo.", + "externalManufacturingImpact":{ + "businessPriority":"MEDIUM" + }, + "resolutionDueDate":1736613281000 // 11 Jan 2025 + } +} \ No newline at end of file diff --git a/GraphQL/payload_samples/external_manufacturing/addExtMfgIncidentComment.gql b/GraphQL/payload_samples/external_manufacturing/addExtMfgIncidentComment.gql new file mode 100644 index 0000000..4372e2a --- /dev/null +++ b/GraphQL/payload_samples/external_manufacturing/addExtMfgIncidentComment.gql @@ -0,0 +1,20 @@ +mutation AddIncidentComments($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} + +{ +"action": "Addcommentforincident", +"payload":{ + "processId":"{{external_manufacturing_incident_id}}", + "processType":"externalManufacturingIncident", + "aptCommentBox":{ + "aptComment":{ + "commentText": "Adding a test comment using Postman and GraphQL.", + "visibilityType": "Public" + } + } + } +} \ No newline at end of file diff --git a/GraphQL/payload_samples/external_manufacturing/editExtMfgIncident.gql b/GraphQL/payload_samples/external_manufacturing/editExtMfgIncident.gql new file mode 100644 index 0000000..9ada312 --- /dev/null +++ b/GraphQL/payload_samples/external_manufacturing/editExtMfgIncident.gql @@ -0,0 +1,21 @@ +{ +"action": "Addexternalmanufacturingincident", +"payload":{ + "aptBusinessObjectSummary": "GraphQL test run 4/18/24", + "aptBusinessObjectDescription":"Adding an incident programmatically from postman using graphQL walkthrough demo.", + "externalManufacturingImpact":{ + "businessPriority":"MEDIUM" + }, + "resolutionDueDate":1736613281000 // 11 Jan 2025 + } +} + +{ +"action": "Editexternalmanufacturingincident", +"payload":{ + "id":"{{external_manufacturing_incident_id}}", + "aptBusinessObjectDescription":"Editing an external manufacturing incident programmatically using graphQL for a demo.", + "businessPriority":"LOW", + "responsiblePartyAtParner":{} + } +} \ No newline at end of file diff --git a/GraphQL/payload_samples/external_manufacturing/getExtMfgIncidentHistory.gql b/GraphQL/payload_samples/external_manufacturing/getExtMfgIncidentHistory.gql new file mode 100644 index 0000000..7109ff2 --- /dev/null +++ b/GraphQL/payload_samples/external_manufacturing/getExtMfgIncidentHistory.gql @@ -0,0 +1,15 @@ +{ +"action": "Listcommentsforincident", +"payload":{ + "id":"{{external_manufacturing_incident_id}}", + "processType":"externalManufacturingIncident" + } +} + +{ +"action": "Getactivityhistoryforincident", +"payload":{ + "processId":"{{external_manufacturing_incident_id}}", + "processType":"externalManufacturingIncident" + } +} \ No newline at end of file diff --git a/GraphQL/payload_samples/external_manufacturing/listExtMfgIncidentComments.gql b/GraphQL/payload_samples/external_manufacturing/listExtMfgIncidentComments.gql new file mode 100644 index 0000000..955e4ae --- /dev/null +++ b/GraphQL/payload_samples/external_manufacturing/listExtMfgIncidentComments.gql @@ -0,0 +1,14 @@ +query ListIncidentComments($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} + +{ +"action": "Listcommentsforincident", +"payload":{ + "id":"{{external_manufacturing_incident_id}}", + "processType":"externalManufacturingIncident" + } +} \ No newline at end of file diff --git a/GraphQL/payload_samples/external_manufacturing/readExtMfgIncidentDetails.gql b/GraphQL/payload_samples/external_manufacturing/readExtMfgIncidentDetails.gql new file mode 100644 index 0000000..bbcc83e --- /dev/null +++ b/GraphQL/payload_samples/external_manufacturing/readExtMfgIncidentDetails.gql @@ -0,0 +1,231 @@ +query readIncident($type: String!, $id: String!) { + genericGetObject(type: $type, id: $id) { + ... on ALL_RETURNS { + ... on ExternalManufacturingIncident { + id + currentBaseState + currentSubState + data { + aptBusinessObjectId + aptBusinessObjectSummary + aptBusinessObjectDescription + responsibleDepartmentAtCompany + responsibleDepartmentAtPartner + incidentType + resolutionDueDate + externalManufacturingImpact { + businessImpact + businessPriority + } + referenceIdentifiers { + value + referenceTransactionType + __typename + } + dateSubmitted + createdByPartner + __typename + } + aptBusinessObjectBelongsToProcessNetwork { + to { + ... on ProcessNetwork { + id + __typename + } + __typename + } + __typename + } + aptBusinessObjectCompanyAssignedUser { + to { + ... on User { + ...userName + __typename + } + __typename + } + __typename + } + aptBusinessObjectPartnerAssignedUser { + to { + ... on User { + ...userName + __typename + } + __typename + } + __typename + } + aptBusinessObjectCompanyOwnerUser { + to { + ... on User { + ...userName + __typename + } + __typename + } + __typename + } + aptBusinessObjectPartnerOwnerUser { + to { + ... on User { + ...userName + __typename + } + __typename + } + __typename + } + aptBusinessObjectAssignedToCompanyPartnerMasterData { + to { + ... on PartnerLocationMasterData { + id + data { + businessMasterDataCommon { + businessName + businessAddress { + address1 + address2 + city + district + village + houseNumber + township + state + postalCode + country + __typename + } + __typename + } + __typename + } + __typename + } + ... on PartnerMasterData { + id + data { + businessMasterDataCommon { + businessName + businessAddress { + address1 + address2 + city + district + village + houseNumber + township + state + postalCode + country + __typename + } + __typename + } + __typename + } + __typename + } + ... on CompanyLocationMasterData { + id + data { + businessMasterDataCommon { + businessName + businessAddress { + address1 + address2 + city + district + village + houseNumber + township + state + postalCode + country + __typename + } + __typename + } + __typename + } + __typename + } + ... on CompanyMasterData { + id + data { + businessMasterDataCommon { + businessName + businessAddress { + address1 + address2 + city + district + village + houseNumber + township + state + postalCode + country + __typename + } + __typename + } + __typename + } + __typename + } + __typename + } + __typename + } + aptBusinessObjectPrimaryPartnerLocationMasterData { + to { + ... on PartnerLocationMasterData { + id + data { + businessMasterDataCommon { + businessName + businessAddress { + address1 + address2 + city + district + village + houseNumber + township + state + postalCode + country + __typename + } + __typename + } + __typename + } + __typename + } + __typename + } + __typename + } + __typename + } + __typename + } + __typename + } +} +fragment userName on User { + id + data { + givenName + surname + __typename + } + __typename +} + +{ + "type":"ExternalManufacturingIncident", + "id":"{{external_manufacturing_incident_id}}" +} \ No newline at end of file From 3ebf57ee76817647aadfe48d27688b1ab18156e8 Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Thu, 10 Oct 2024 11:32:40 -0600 Subject: [PATCH 18/47] adding incident requests --- .../payload_samples/incident/addIncident.gql | 18 ++ .../incident/addIncidentComments.gql | 20 ++ .../payload_samples/incident/editIncident.gql | 16 + .../incident/getIncidentHistory.gql | 14 + .../incident/listIncidentComments.gql | 14 + .../incident/readIncidentDetails.gql | 287 ++++++++++++++++++ 6 files changed, 369 insertions(+) create mode 100644 GraphQL/payload_samples/incident/addIncident.gql create mode 100644 GraphQL/payload_samples/incident/addIncidentComments.gql create mode 100644 GraphQL/payload_samples/incident/editIncident.gql create mode 100644 GraphQL/payload_samples/incident/getIncidentHistory.gql create mode 100644 GraphQL/payload_samples/incident/listIncidentComments.gql create mode 100644 GraphQL/payload_samples/incident/readIncidentDetails.gql diff --git a/GraphQL/payload_samples/incident/addIncident.gql b/GraphQL/payload_samples/incident/addIncident.gql new file mode 100644 index 0000000..f363cc6 --- /dev/null +++ b/GraphQL/payload_samples/incident/addIncident.gql @@ -0,0 +1,18 @@ +mutation AddIncident($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} + +{ +"action": "Addincident", +"payload":{ + "aptBusinessObjectSummary": "GraphQL flow test run", + "aptBusinessObjectDescription":"Adding an incident programmatically from postman using graphQL", + "businessPriority":"MEDIUM", + "incidentType":"LABEL_COMPLIANCE_ERROR", + "resolutionDueDate":"1736613281000", // 11 Jan 2025 + "responsiblePartyAtParner":{} + } +} \ No newline at end of file diff --git a/GraphQL/payload_samples/incident/addIncidentComments.gql b/GraphQL/payload_samples/incident/addIncidentComments.gql new file mode 100644 index 0000000..c3a2c03 --- /dev/null +++ b/GraphQL/payload_samples/incident/addIncidentComments.gql @@ -0,0 +1,20 @@ +mutation AddIncidentComments($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} + +{ +"action": "Addcommentforincident", +"payload":{ + "processId":"{{incident_id}}", + "processType":"incident", + "aptCommentBox":{ + "aptComment":{ + "commentText": "Adding a test comment using Postman and GraphQL.", + "visibilityType": "Public" + } + } + } +} \ No newline at end of file diff --git a/GraphQL/payload_samples/incident/editIncident.gql b/GraphQL/payload_samples/incident/editIncident.gql new file mode 100644 index 0000000..78b5074 --- /dev/null +++ b/GraphQL/payload_samples/incident/editIncident.gql @@ -0,0 +1,16 @@ +mutation EditIncident($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} + +{ +"action": "Editincident", +"payload":{ + "id":"{{incident_id}}", + "aptBusinessObjectDescription":"Editing an incident programmatically using graphQL via postman", + "businessPriority":"LOW", + "responsiblePartyAtParner":{} + } +} \ No newline at end of file diff --git a/GraphQL/payload_samples/incident/getIncidentHistory.gql b/GraphQL/payload_samples/incident/getIncidentHistory.gql new file mode 100644 index 0000000..5473a68 --- /dev/null +++ b/GraphQL/payload_samples/incident/getIncidentHistory.gql @@ -0,0 +1,14 @@ +query GetActivityHistoryForIncident($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} + +{ +"action": "Getactivityhistoryforincident", +"payload":{ + "processId":"{{incident_id}}", + "processType":"incident" + } +} \ No newline at end of file diff --git a/GraphQL/payload_samples/incident/listIncidentComments.gql b/GraphQL/payload_samples/incident/listIncidentComments.gql new file mode 100644 index 0000000..20d4bba --- /dev/null +++ b/GraphQL/payload_samples/incident/listIncidentComments.gql @@ -0,0 +1,14 @@ +query ListIncidentComments($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} + +{ +"action": "Listcommentsforincident", +"payload":{ + "id":"{{incident_id}}", + "processType":"incident" + } +} \ No newline at end of file diff --git a/GraphQL/payload_samples/incident/readIncidentDetails.gql b/GraphQL/payload_samples/incident/readIncidentDetails.gql new file mode 100644 index 0000000..d2ab892 --- /dev/null +++ b/GraphQL/payload_samples/incident/readIncidentDetails.gql @@ -0,0 +1,287 @@ +query readIncident($type: String!, $id: String!) { + genericGetObject(type: $type, id: $id) { + ... on ALL_RETURNS { + ... on Incident { + id + currentBaseState + currentSubState + data { + aptBusinessObjectId + aptBusinessObjectSummary + aptBusinessObjectDescription + responsibleDepartmentAtCompany + responsibleDepartmentAtPartner + incidentType + businessPriority + resolutionDueDate + incidentConclusion { + dateClosed + finalRootCause + resolutionType + isReoccuring + closingStatement + __typename + } + referenceIdentifiers { + value + referenceTransactionType + __typename + } + dateSubmitted + createdByPartner + __typename + } + aptBusinessObjectContainsComment { + to { + ... on AptComment { + id + data { + commentText + visibilityType + } + } + } + } + issueRelatedToImpactedProductDetail { + to { + ... on ProductMasterData { + id + data { + productItemInformation { + productName + packSize + strength + dosageForm + productLanguageCode + isLightSensitive + __typename + } + packagingInformation { + packagingCode { + packagingCodeType + packagingCodeValue + __typename + } + __typename + } + regulatoryItemCodes { + regulatoryItemCode { + regulatoryItemCodeType + regulatoryItemCodeValue + __typename + } + __typename + } + packagingInformationAndRegulatoryItemCodesDerivedField + __typename + } + __typename + } + __typename + } + impactedLots + __typename + } + aptBusinessObjectBelongsToProcessNetwork { + to { + ... on ProcessNetwork { + id + __typename + } + __typename + } + __typename + } + aptBusinessObjectCompanyAssignedUser { + to { + ... on User { + ...userName + __typename + } + __typename + } + __typename + } + aptBusinessObjectPartnerAssignedUser { + to { + ... on User { + ...userName + __typename + } + __typename + } + __typename + } + aptBusinessObjectCompanyOwnerUser { + to { + ... on User { + ...userName + __typename + } + __typename + } + __typename + } + aptBusinessObjectPartnerOwnerUser { + to { + ... on User { + ...userName + __typename + } + __typename + } + __typename + } + aptBusinessObjectAssignedToCompanyPartnerMasterData { + to { + ... on PartnerLocationMasterData { + id + data { + businessMasterDataCommon { + businessName + businessAddress { + address1 + address2 + city + district + village + houseNumber + township + state + postalCode + country + __typename + } + __typename + } + __typename + } + __typename + } + ... on PartnerMasterData { + id + data { + businessMasterDataCommon { + businessName + businessAddress { + address1 + address2 + city + district + village + houseNumber + township + state + postalCode + country + __typename + } + __typename + } + __typename + } + __typename + } + ... on CompanyLocationMasterData { + id + data { + businessMasterDataCommon { + businessName + businessAddress { + address1 + address2 + city + district + village + houseNumber + township + state + postalCode + country + __typename + } + __typename + } + __typename + } + __typename + } + ... on CompanyMasterData { + id + data { + businessMasterDataCommon { + businessName + businessAddress { + address1 + address2 + city + district + village + houseNumber + township + state + postalCode + country + __typename + } + __typename + } + __typename + } + __typename + } + __typename + } + __typename + } + aptBusinessObjectPrimaryPartnerLocationMasterData { + to { + ... on PartnerLocationMasterData { + id + data { + businessMasterDataCommon { + businessName + businessAddress { + address1 + address2 + city + district + village + houseNumber + township + state + postalCode + country + __typename + } + __typename + } + __typename + } + __typename + } + __typename + } + __typename + } + __typename + } + __typename + } + __typename + } +} +fragment userName on User { + id + data { + givenName + surname + __typename + } + __typename +} + +{ + "type":"Incident", + "id":"{{incident_id}}" +} \ No newline at end of file From f66b13b5d8b703c46539ed9046ff822e53aea2db Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Thu, 10 Oct 2024 11:38:55 -0600 Subject: [PATCH 19/47] adding master data requests --- .../master_data/companyMaster.gql | 19 ++++++++++++++++ .../master_data/partnerMaster.gql | 19 ++++++++++++++++ .../master_data/productMaster.gql | 22 +++++++++++++++++++ 3 files changed, 60 insertions(+) create mode 100644 GraphQL/payload_samples/master_data/companyMaster.gql create mode 100644 GraphQL/payload_samples/master_data/partnerMaster.gql create mode 100644 GraphQL/payload_samples/master_data/productMaster.gql diff --git a/GraphQL/payload_samples/master_data/companyMaster.gql b/GraphQL/payload_samples/master_data/companyMaster.gql new file mode 100644 index 0000000..99aec75 --- /dev/null +++ b/GraphQL/payload_samples/master_data/companyMaster.gql @@ -0,0 +1,19 @@ +query getQueryResults( + $regulatoryCompanyIdentifierValue: String! + $regulatoryCompanyIdentifierType: String! +) { + genericActionCall( + action: "Getcompanybyidentifier" + payload: { + regulatoryCompanyIdentifierValue: $regulatoryCompanyIdentifierValue + regulatoryCompanyIdentifierType: $regulatoryCompanyIdentifierType + } + ) { + result + } +} + +{ + "regulatoryCompanyIdentifierValue": "{{regulatory_company_identifier}}", + "regulatoryCompanyIdentifierType": "{{regulatory_company_type}}" +} \ No newline at end of file diff --git a/GraphQL/payload_samples/master_data/partnerMaster.gql b/GraphQL/payload_samples/master_data/partnerMaster.gql new file mode 100644 index 0000000..025e7ff --- /dev/null +++ b/GraphQL/payload_samples/master_data/partnerMaster.gql @@ -0,0 +1,19 @@ +query getQueryResults( + $regulatoryIdentifierValue: String! + $regulatoryIdentifierType: String! +) { + genericActionCall( + action: "Getpartnerbyidentifier" + payload: { + regulatoryIdentifierValue: $regulatoryIdentifierValue + regulatoryIdentifierType: $regulatoryIdentifierType + } + ) { + result + } +} + +{ + "regulatoryIdentifierValue": "{{partner_regulatory_identifier}}", + "regulatoryIdentifierType": "{{partner_regulatory_identifier_type}}" +} \ No newline at end of file diff --git a/GraphQL/payload_samples/master_data/productMaster.gql b/GraphQL/payload_samples/master_data/productMaster.gql new file mode 100644 index 0000000..69230b8 --- /dev/null +++ b/GraphQL/payload_samples/master_data/productMaster.gql @@ -0,0 +1,22 @@ +query getProductMasterData( + $action: String! + $regulatoryItemCodeValue: String! + $regulatoryItemCodeType: String! +) { + genericActionCall( + action: $action + payload: { + regulatoryItemCodeValue: $regulatoryItemCodeValue + regulatoryItemCodeType: $regulatoryItemCodeType + } + ) { + result + __typename + } +} + +{ +"action": "Getproductbyitemcode", +"regulatoryItemCodeValue":"{{regulatory_item_code_value}}", +"regulatoryItemCodeType": "{{regulatory_item_code_type}}" +} \ No newline at end of file From 7911ea62617327c758dc7281bf7ba6c22361f985 Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Thu, 10 Oct 2024 11:46:12 -0600 Subject: [PATCH 20/47] adding template management requests --- .../task_template/addSubTaskToTemplate.gql | 16 ++++++++++ .../task_template/addTaskTemplate.gql | 18 +++++++++++ .../task_template/copyTaskTemplate.gql | 16 ++++++++++ .../task_template/editSubTaskOnTemplate.gql | 15 +++++++++ .../task_template/editTaskTemplate.gql | 14 ++++++++ .../task_template/listSubTaskForTemplate.gql | 13 ++++++++ .../task_template/readTemplateDetails.gql | 32 +++++++++++++++++++ .../removeSubTaskFromTemplate.gql | 13 ++++++++ 8 files changed, 137 insertions(+) create mode 100644 GraphQL/payload_samples/task_template/addSubTaskToTemplate.gql create mode 100644 GraphQL/payload_samples/task_template/addTaskTemplate.gql create mode 100644 GraphQL/payload_samples/task_template/copyTaskTemplate.gql create mode 100644 GraphQL/payload_samples/task_template/editSubTaskOnTemplate.gql create mode 100644 GraphQL/payload_samples/task_template/editTaskTemplate.gql create mode 100644 GraphQL/payload_samples/task_template/listSubTaskForTemplate.gql create mode 100644 GraphQL/payload_samples/task_template/readTemplateDetails.gql create mode 100644 GraphQL/payload_samples/task_template/removeSubTaskFromTemplate.gql diff --git a/GraphQL/payload_samples/task_template/addSubTaskToTemplate.gql b/GraphQL/payload_samples/task_template/addSubTaskToTemplate.gql new file mode 100644 index 0000000..2a8dad8 --- /dev/null +++ b/GraphQL/payload_samples/task_template/addSubTaskToTemplate.gql @@ -0,0 +1,16 @@ +mutation AddSubTaskToTemplate($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} + +{ +"action": "Addsubtasktotemplate", +"payload":{ + "templateId":"{{task_template_id}}", + "subTaskName": "GQL Created Sub Task 2", + "subTaskType": "Test subTask", + "businessPriority": "LOW" +} +} \ No newline at end of file diff --git a/GraphQL/payload_samples/task_template/addTaskTemplate.gql b/GraphQL/payload_samples/task_template/addTaskTemplate.gql new file mode 100644 index 0000000..ce4ef4b --- /dev/null +++ b/GraphQL/payload_samples/task_template/addTaskTemplate.gql @@ -0,0 +1,18 @@ +mutation AddTaskTemplate($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} + +{ +"action": "Addtasktemplate", +"payload":{ + "templateName": "GQL Postman Created Task Template", + "aptBusinessObjectDescription": "Template to demonstrate subTask creation via GraphQL API and Postman", + "isTemplateModifiableByMember": true, + "isAddRemoveSubtaskAllowed": true, + "completionRequiredWithinDays": 14, + "businessPriority": "LOW" +} +} \ No newline at end of file diff --git a/GraphQL/payload_samples/task_template/copyTaskTemplate.gql b/GraphQL/payload_samples/task_template/copyTaskTemplate.gql new file mode 100644 index 0000000..bdee5d3 --- /dev/null +++ b/GraphQL/payload_samples/task_template/copyTaskTemplate.gql @@ -0,0 +1,16 @@ +mutation CopyTaskTemplate($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} + +{ +"action": "Copytasktemplate", +"payload":{ + "id":"{{task_template_id}}", + "templateName":"New template number 2", + "copyGeneralInfo": true, + "copySubTasks": false + } +} \ No newline at end of file diff --git a/GraphQL/payload_samples/task_template/editSubTaskOnTemplate.gql b/GraphQL/payload_samples/task_template/editSubTaskOnTemplate.gql new file mode 100644 index 0000000..6e14228 --- /dev/null +++ b/GraphQL/payload_samples/task_template/editSubTaskOnTemplate.gql @@ -0,0 +1,15 @@ +mutation EditSubTaskOnTemplate($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} + +{ +"action": "Editsubtaskontemplate", +"payload":{ + "id":"{{subtask_template_id}}", + "subTaskName":"Modified template name 1", + "businessPriority":"LOW" + } +} \ No newline at end of file diff --git a/GraphQL/payload_samples/task_template/editTaskTemplate.gql b/GraphQL/payload_samples/task_template/editTaskTemplate.gql new file mode 100644 index 0000000..e065e18 --- /dev/null +++ b/GraphQL/payload_samples/task_template/editTaskTemplate.gql @@ -0,0 +1,14 @@ +mutation EditTaskTemplate($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} + +{ +"action": "Edittasktemplate", +"payload":{ + "id":"{{task_template_id}}", + "aptBusinessObjectDescription":"Modified template via Postman using GraphQL" + } +} \ No newline at end of file diff --git a/GraphQL/payload_samples/task_template/listSubTaskForTemplate.gql b/GraphQL/payload_samples/task_template/listSubTaskForTemplate.gql new file mode 100644 index 0000000..16e0790 --- /dev/null +++ b/GraphQL/payload_samples/task_template/listSubTaskForTemplate.gql @@ -0,0 +1,13 @@ +query ListSubTaskForTemplate($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} + +{ +"action": "Listsubtaskfortemplate", +"payload":{ + "templateId":"{{task_template_id}}" + } +} \ No newline at end of file diff --git a/GraphQL/payload_samples/task_template/readTemplateDetails.gql b/GraphQL/payload_samples/task_template/readTemplateDetails.gql new file mode 100644 index 0000000..99dd11f --- /dev/null +++ b/GraphQL/payload_samples/task_template/readTemplateDetails.gql @@ -0,0 +1,32 @@ +query ReadTemplateDetails($id: String!, $type: String!) { + genericGetObject(type: $type, id: $id) { + ... on ALL_RETURNS { + ... on TaskTemplate { + id + data { + templateName + aptBusinessObjectDescription + isTemplateModifiableByMember + isAddRemoveSubtaskAllowed + completionRequiredWithinDays + businessPriority + responsibleDepartmentAtCompany + } + taskTemplateContainsSubTask { + to { + subType + objectType + } + } + __typename + } + __typename + } + __typename + } +} + +{ + "type":"TaskTemplate", + "id":"{{task_template_id}}" +} \ No newline at end of file diff --git a/GraphQL/payload_samples/task_template/removeSubTaskFromTemplate.gql b/GraphQL/payload_samples/task_template/removeSubTaskFromTemplate.gql new file mode 100644 index 0000000..1a0d3b7 --- /dev/null +++ b/GraphQL/payload_samples/task_template/removeSubTaskFromTemplate.gql @@ -0,0 +1,13 @@ +mutation RemoveSubTaskFromTemplate($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} + +{ +"action": "Removesubtaskfromtemplate", +"payload":{ + "id":"{{subtask_template_id}}" + } +} \ No newline at end of file From 3e770fd483a4ac6943824187674c7accfd380911 Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Thu, 10 Oct 2024 11:58:54 -0600 Subject: [PATCH 21/47] adding task requests --- .../payload_samples/task/addSubTaskToTask.gql | 15 ++++++++++ GraphQL/payload_samples/task/addTask.gql | 20 +++++++++++++ .../payload_samples/task/addTaskComment.gql | 20 +++++++++++++ GraphQL/payload_samples/task/closeSubTask.gql | 13 ++++++++ GraphQL/payload_samples/task/closeTask.gql | 14 +++++++++ GraphQL/payload_samples/task/copyTask.gql | 13 ++++++++ .../task/editSubTaskOnTask.gql | 14 +++++++++ GraphQL/payload_samples/task/editTask.gql | 14 +++++++++ .../payload_samples/task/editTaskComment.gql | 20 +++++++++++++ .../payload_samples/task/getTaskHistory.gql | 14 +++++++++ .../task/listSubTasksForTask.gql | 13 ++++++++ .../payload_samples/task/listTaskComments.gql | 14 +++++++++ .../payload_samples/task/readTaskDetails.gql | 30 +++++++++++++++++++ .../payload_samples/task/removeSubTask.gql | 13 ++++++++ .../payload_samples/task/reopenSubTask.gql | 13 ++++++++ GraphQL/payload_samples/task/reopenTask.gql | 14 +++++++++ 16 files changed, 254 insertions(+) create mode 100644 GraphQL/payload_samples/task/addSubTaskToTask.gql create mode 100644 GraphQL/payload_samples/task/addTask.gql create mode 100644 GraphQL/payload_samples/task/addTaskComment.gql create mode 100644 GraphQL/payload_samples/task/closeSubTask.gql create mode 100644 GraphQL/payload_samples/task/closeTask.gql create mode 100644 GraphQL/payload_samples/task/copyTask.gql create mode 100644 GraphQL/payload_samples/task/editSubTaskOnTask.gql create mode 100644 GraphQL/payload_samples/task/editTask.gql create mode 100644 GraphQL/payload_samples/task/editTaskComment.gql create mode 100644 GraphQL/payload_samples/task/getTaskHistory.gql create mode 100644 GraphQL/payload_samples/task/listSubTasksForTask.gql create mode 100644 GraphQL/payload_samples/task/listTaskComments.gql create mode 100644 GraphQL/payload_samples/task/readTaskDetails.gql create mode 100644 GraphQL/payload_samples/task/removeSubTask.gql create mode 100644 GraphQL/payload_samples/task/reopenSubTask.gql create mode 100644 GraphQL/payload_samples/task/reopenTask.gql diff --git a/GraphQL/payload_samples/task/addSubTaskToTask.gql b/GraphQL/payload_samples/task/addSubTaskToTask.gql new file mode 100644 index 0000000..2c91fd6 --- /dev/null +++ b/GraphQL/payload_samples/task/addSubTaskToTask.gql @@ -0,0 +1,15 @@ +mutation AddSubTaskToTask($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} + +{ +"action": "Addsubtasktotask", +"payload":{ + "taskId":"{{task_id}}", + "subTaskName": "Postman created using GraphQL", + "subTaskType": "Postman test" + } +} \ No newline at end of file diff --git a/GraphQL/payload_samples/task/addTask.gql b/GraphQL/payload_samples/task/addTask.gql new file mode 100644 index 0000000..1970fbc --- /dev/null +++ b/GraphQL/payload_samples/task/addTask.gql @@ -0,0 +1,20 @@ +mutation AddTask($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} + +{ +"action": "Addtask", +"payload":{ + "templateId": "{{task_template_id}}", + "aptBusinessObjectSummary": "GraphQL test run", + "aptBusinessObjectDescription": "Tasks for recurring purchase orders", + "businessPriority": "LOW", + "completionDueDate": "1737834411000", + "isVisible": true, + "isAtRisk": false + + } +} \ No newline at end of file diff --git a/GraphQL/payload_samples/task/addTaskComment.gql b/GraphQL/payload_samples/task/addTaskComment.gql new file mode 100644 index 0000000..79f3c71 --- /dev/null +++ b/GraphQL/payload_samples/task/addTaskComment.gql @@ -0,0 +1,20 @@ +mutation AddCommentForTask($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} + +{ +"action": "Addcommentforprocess", +"payload":{ + "processId":"{{task_id}}", + "processType": "task", + "aptCommentBox":{ + "aptComment":{ + "commentText": "Adding a comment using GraphQL via Postman", + "visibilityType": "Public" + } + } + } +} \ No newline at end of file diff --git a/GraphQL/payload_samples/task/closeSubTask.gql b/GraphQL/payload_samples/task/closeSubTask.gql new file mode 100644 index 0000000..6d6e915 --- /dev/null +++ b/GraphQL/payload_samples/task/closeSubTask.gql @@ -0,0 +1,13 @@ +mutation CloseSubTask($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} + +{ +"action": "Closesubtask", +"payload":{ + "id":"{{subtask_id}}" + } +} \ No newline at end of file diff --git a/GraphQL/payload_samples/task/closeTask.gql b/GraphQL/payload_samples/task/closeTask.gql new file mode 100644 index 0000000..8d0f88d --- /dev/null +++ b/GraphQL/payload_samples/task/closeTask.gql @@ -0,0 +1,14 @@ +mutation CloseTask($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} + +{ +"action": "Closetask", +"payload":{ + "id":"{{task_id}}", + "taskResolutionType":"CANCELLED" + } +} \ No newline at end of file diff --git a/GraphQL/payload_samples/task/copyTask.gql b/GraphQL/payload_samples/task/copyTask.gql new file mode 100644 index 0000000..14d4791 --- /dev/null +++ b/GraphQL/payload_samples/task/copyTask.gql @@ -0,0 +1,13 @@ +mutation Copytask($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} + +{ +"action": "Copytask", +"payload":{ + "id":"{{task_id}}" + } +} \ No newline at end of file diff --git a/GraphQL/payload_samples/task/editSubTaskOnTask.gql b/GraphQL/payload_samples/task/editSubTaskOnTask.gql new file mode 100644 index 0000000..ed0503e --- /dev/null +++ b/GraphQL/payload_samples/task/editSubTaskOnTask.gql @@ -0,0 +1,14 @@ +mutation EditSubTaskOnTask($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} + +{ +"action": "Editsubtaskontask", +"payload":{ + "id":"{{subtask_id}}", + "subTaskType": "Postman test modification" + } +} \ No newline at end of file diff --git a/GraphQL/payload_samples/task/editTask.gql b/GraphQL/payload_samples/task/editTask.gql new file mode 100644 index 0000000..e708f35 --- /dev/null +++ b/GraphQL/payload_samples/task/editTask.gql @@ -0,0 +1,14 @@ +mutation EditTask($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} + +{ +"action": "Edittask", +"payload":{ + "id":"{{task_id}}", + "aptBusinessObjectDescription":"Modifying the description using Postman and GraphQL" + } +} \ No newline at end of file diff --git a/GraphQL/payload_samples/task/editTaskComment.gql b/GraphQL/payload_samples/task/editTaskComment.gql new file mode 100644 index 0000000..c25928b --- /dev/null +++ b/GraphQL/payload_samples/task/editTaskComment.gql @@ -0,0 +1,20 @@ +mutation EditCommentForTask($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} + +{ +"action": "Editcommentforprocess", +"payload":{ + "id":"{{task_comment_id}}", + "processType": "task", + "aptCommentBox":{ + "aptComment":{ + "commentText": "Modifying the comment programmatically using GraphQL via Postman", + "visibilityType": "Public" + } + } + } +} \ No newline at end of file diff --git a/GraphQL/payload_samples/task/getTaskHistory.gql b/GraphQL/payload_samples/task/getTaskHistory.gql new file mode 100644 index 0000000..e3f08fd --- /dev/null +++ b/GraphQL/payload_samples/task/getTaskHistory.gql @@ -0,0 +1,14 @@ +query GetActivityHistoryForTask($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} + +{ +"action": "Getactivityhistoryforincident", +"payload":{ + "processId":"{{task_id}}", + "processType":"task" + } +} \ No newline at end of file diff --git a/GraphQL/payload_samples/task/listSubTasksForTask.gql b/GraphQL/payload_samples/task/listSubTasksForTask.gql new file mode 100644 index 0000000..d24b79e --- /dev/null +++ b/GraphQL/payload_samples/task/listSubTasksForTask.gql @@ -0,0 +1,13 @@ +query ListSubTaskForTask($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} + +{ +"action": "Listsubtaskfortask", +"payload":{ + "taskId":"{{task_id}}" + } +} \ No newline at end of file diff --git a/GraphQL/payload_samples/task/listTaskComments.gql b/GraphQL/payload_samples/task/listTaskComments.gql new file mode 100644 index 0000000..f039530 --- /dev/null +++ b/GraphQL/payload_samples/task/listTaskComments.gql @@ -0,0 +1,14 @@ +mutation ListCommentForTask($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} + +{ +"action": "Listcommentsforprocess", +"payload":{ + "processId":"{{task_id}}", + "processType": "task" + } +} \ No newline at end of file diff --git a/GraphQL/payload_samples/task/readTaskDetails.gql b/GraphQL/payload_samples/task/readTaskDetails.gql new file mode 100644 index 0000000..a5f8887 --- /dev/null +++ b/GraphQL/payload_samples/task/readTaskDetails.gql @@ -0,0 +1,30 @@ +query ReadTaskDetails($id: String!, $type: String!) { + genericGetObject(type: $type, id: $id) { + ... on ALL_RETURNS { + ... on Task { + id + data { + templateName + aptBusinessObjectDescription + isAddRemoveSubtaskAllowed + businessPriority + responsibleDepartmentAtCompany + } + taskContainsSubTask { + to { + subType + objectType + } + } + __typename + } + __typename + } + __typename + } +} + +{ + "type":"Task", + "id":"{{task_id}}" +} \ No newline at end of file diff --git a/GraphQL/payload_samples/task/removeSubTask.gql b/GraphQL/payload_samples/task/removeSubTask.gql new file mode 100644 index 0000000..603c8fc --- /dev/null +++ b/GraphQL/payload_samples/task/removeSubTask.gql @@ -0,0 +1,13 @@ +mutation RemoveSubTaskFromTask($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} + +{ +"action": "Removesubtaskfromtask", +"payload":{ + "id":"{{subtask_id}}" + } +} \ No newline at end of file diff --git a/GraphQL/payload_samples/task/reopenSubTask.gql b/GraphQL/payload_samples/task/reopenSubTask.gql new file mode 100644 index 0000000..ba43f5f --- /dev/null +++ b/GraphQL/payload_samples/task/reopenSubTask.gql @@ -0,0 +1,13 @@ +mutation ReopenSubTask($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} + +{ +"action": "Reopensubtask", +"payload":{ + "id":"{{subtask_id}}" + } +} \ No newline at end of file diff --git a/GraphQL/payload_samples/task/reopenTask.gql b/GraphQL/payload_samples/task/reopenTask.gql new file mode 100644 index 0000000..b38b933 --- /dev/null +++ b/GraphQL/payload_samples/task/reopenTask.gql @@ -0,0 +1,14 @@ +mutation CloseTask($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} + +{ +"action": "Closetask", +"payload":{ + "id":"{{task_id}}", + "resolutionType":"CANCELLED" + } +} \ No newline at end of file From 4f582c2d549351a6a42c17974872cb60e9706408 Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Thu, 10 Oct 2024 14:22:33 -0600 Subject: [PATCH 22/47] renaming folder for consistency --- GraphQL/program_samples/{change => change_request}/addChange.py | 0 .../{change => change_request}/addChangeComment.py | 0 GraphQL/program_samples/{change => change_request}/edditChange.py | 0 .../{change => change_request}/getChangeActivityHistory.py | 0 .../{change => change_request}/listChangeComments.py | 0 GraphQL/program_samples/{change => change_request}/readChange.py | 0 .../{ceIncident => compliance_exception}/addCEIncident.py | 0 .../{ceIncident => compliance_exception}/addCEIncidentComment.py | 0 .../{ceIncident => compliance_exception}/editCEIncident.py | 0 .../{ceIncident => compliance_exception}/getCEIncidentHistory.py | 0 .../listCEIncidentComments.py | 0 .../{ceIncident => compliance_exception}/readCEIncident.py | 0 .../{dsIncident => direct_supplier}/addDSIncident.py | 0 .../{dsIncident => direct_supplier}/addDSIncidentComment.py | 0 .../{dsIncident => direct_supplier}/editDSIncident.py | 0 .../getActivityHistoryForDSIncidents.py | 0 .../{dsIncident => direct_supplier}/listDSIncidentComments.py | 0 .../{dsIncident => direct_supplier}/readDSIncident.py | 0 .../{documentReview => document_review}/addDocReview.py | 0 .../{documentReview => document_review}/addDocReviewComment.py | 0 .../{documentReview => document_review}/editDocReview.py | 0 .../{documentReview => document_review}/getDocRevActivity.py | 0 .../{documentReview => document_review}/listDocRevComments.py | 0 .../{documentReview => document_review}/readDocReview.py | 0 .../{emIncident => external_manufacturing}/addEMIncident.py | 0 .../addEMIncidentComment.py | 0 .../{emIncident => external_manufacturing}/editEMIncident.py | 0 .../getEMIncidentHistory.py | 0 .../listEMIncidentComments.py | 0 .../{emIncident => external_manufacturing}/readEMIncident.py | 0 .../{master => master_data}/getCompanyMasterData.py | 0 .../{master => master_data}/getPartnerMasterData.py | 0 .../{master => master_data}/getProductMasterData.py | 0 .../{taskTemplate => task_template}/addSubTaskTemplate.py | 0 .../{taskTemplate => task_template}/addTaskTemplate.py | 0 .../{taskTemplate => task_template}/editSubTaskonTemplate.py | 0 .../{taskTemplate => task_template}/editTaskTemplate.py | 0 .../{taskTemplate => task_template}/listSubtaskForTemplate.py | 0 .../{taskTemplate => task_template}/readTemplateDetails.py | 0 .../{taskTemplate => task_template}/removeSubTaskFromTemplate.py | 0 40 files changed, 0 insertions(+), 0 deletions(-) rename GraphQL/program_samples/{change => change_request}/addChange.py (100%) rename GraphQL/program_samples/{change => change_request}/addChangeComment.py (100%) rename GraphQL/program_samples/{change => change_request}/edditChange.py (100%) rename GraphQL/program_samples/{change => change_request}/getChangeActivityHistory.py (100%) rename GraphQL/program_samples/{change => change_request}/listChangeComments.py (100%) rename GraphQL/program_samples/{change => change_request}/readChange.py (100%) rename GraphQL/program_samples/{ceIncident => compliance_exception}/addCEIncident.py (100%) rename GraphQL/program_samples/{ceIncident => compliance_exception}/addCEIncidentComment.py (100%) rename GraphQL/program_samples/{ceIncident => compliance_exception}/editCEIncident.py (100%) rename GraphQL/program_samples/{ceIncident => compliance_exception}/getCEIncidentHistory.py (100%) rename GraphQL/program_samples/{ceIncident => compliance_exception}/listCEIncidentComments.py (100%) rename GraphQL/program_samples/{ceIncident => compliance_exception}/readCEIncident.py (100%) rename GraphQL/program_samples/{dsIncident => direct_supplier}/addDSIncident.py (100%) rename GraphQL/program_samples/{dsIncident => direct_supplier}/addDSIncidentComment.py (100%) rename GraphQL/program_samples/{dsIncident => direct_supplier}/editDSIncident.py (100%) rename GraphQL/program_samples/{dsIncident => direct_supplier}/getActivityHistoryForDSIncidents.py (100%) rename GraphQL/program_samples/{dsIncident => direct_supplier}/listDSIncidentComments.py (100%) rename GraphQL/program_samples/{dsIncident => direct_supplier}/readDSIncident.py (100%) rename GraphQL/program_samples/{documentReview => document_review}/addDocReview.py (100%) rename GraphQL/program_samples/{documentReview => document_review}/addDocReviewComment.py (100%) rename GraphQL/program_samples/{documentReview => document_review}/editDocReview.py (100%) rename GraphQL/program_samples/{documentReview => document_review}/getDocRevActivity.py (100%) rename GraphQL/program_samples/{documentReview => document_review}/listDocRevComments.py (100%) rename GraphQL/program_samples/{documentReview => document_review}/readDocReview.py (100%) rename GraphQL/program_samples/{emIncident => external_manufacturing}/addEMIncident.py (100%) rename GraphQL/program_samples/{emIncident => external_manufacturing}/addEMIncidentComment.py (100%) rename GraphQL/program_samples/{emIncident => external_manufacturing}/editEMIncident.py (100%) rename GraphQL/program_samples/{emIncident => external_manufacturing}/getEMIncidentHistory.py (100%) rename GraphQL/program_samples/{emIncident => external_manufacturing}/listEMIncidentComments.py (100%) rename GraphQL/program_samples/{emIncident => external_manufacturing}/readEMIncident.py (100%) rename GraphQL/program_samples/{master => master_data}/getCompanyMasterData.py (100%) rename GraphQL/program_samples/{master => master_data}/getPartnerMasterData.py (100%) rename GraphQL/program_samples/{master => master_data}/getProductMasterData.py (100%) rename GraphQL/program_samples/{taskTemplate => task_template}/addSubTaskTemplate.py (100%) rename GraphQL/program_samples/{taskTemplate => task_template}/addTaskTemplate.py (100%) rename GraphQL/program_samples/{taskTemplate => task_template}/editSubTaskonTemplate.py (100%) rename GraphQL/program_samples/{taskTemplate => task_template}/editTaskTemplate.py (100%) rename GraphQL/program_samples/{taskTemplate => task_template}/listSubtaskForTemplate.py (100%) rename GraphQL/program_samples/{taskTemplate => task_template}/readTemplateDetails.py (100%) rename GraphQL/program_samples/{taskTemplate => task_template}/removeSubTaskFromTemplate.py (100%) diff --git a/GraphQL/program_samples/change/addChange.py b/GraphQL/program_samples/change_request/addChange.py similarity index 100% rename from GraphQL/program_samples/change/addChange.py rename to GraphQL/program_samples/change_request/addChange.py diff --git a/GraphQL/program_samples/change/addChangeComment.py b/GraphQL/program_samples/change_request/addChangeComment.py similarity index 100% rename from GraphQL/program_samples/change/addChangeComment.py rename to GraphQL/program_samples/change_request/addChangeComment.py diff --git a/GraphQL/program_samples/change/edditChange.py b/GraphQL/program_samples/change_request/edditChange.py similarity index 100% rename from GraphQL/program_samples/change/edditChange.py rename to GraphQL/program_samples/change_request/edditChange.py diff --git a/GraphQL/program_samples/change/getChangeActivityHistory.py b/GraphQL/program_samples/change_request/getChangeActivityHistory.py similarity index 100% rename from GraphQL/program_samples/change/getChangeActivityHistory.py rename to GraphQL/program_samples/change_request/getChangeActivityHistory.py diff --git a/GraphQL/program_samples/change/listChangeComments.py b/GraphQL/program_samples/change_request/listChangeComments.py similarity index 100% rename from GraphQL/program_samples/change/listChangeComments.py rename to GraphQL/program_samples/change_request/listChangeComments.py diff --git a/GraphQL/program_samples/change/readChange.py b/GraphQL/program_samples/change_request/readChange.py similarity index 100% rename from GraphQL/program_samples/change/readChange.py rename to GraphQL/program_samples/change_request/readChange.py diff --git a/GraphQL/program_samples/ceIncident/addCEIncident.py b/GraphQL/program_samples/compliance_exception/addCEIncident.py similarity index 100% rename from GraphQL/program_samples/ceIncident/addCEIncident.py rename to GraphQL/program_samples/compliance_exception/addCEIncident.py diff --git a/GraphQL/program_samples/ceIncident/addCEIncidentComment.py b/GraphQL/program_samples/compliance_exception/addCEIncidentComment.py similarity index 100% rename from GraphQL/program_samples/ceIncident/addCEIncidentComment.py rename to GraphQL/program_samples/compliance_exception/addCEIncidentComment.py diff --git a/GraphQL/program_samples/ceIncident/editCEIncident.py b/GraphQL/program_samples/compliance_exception/editCEIncident.py similarity index 100% rename from GraphQL/program_samples/ceIncident/editCEIncident.py rename to GraphQL/program_samples/compliance_exception/editCEIncident.py diff --git a/GraphQL/program_samples/ceIncident/getCEIncidentHistory.py b/GraphQL/program_samples/compliance_exception/getCEIncidentHistory.py similarity index 100% rename from GraphQL/program_samples/ceIncident/getCEIncidentHistory.py rename to GraphQL/program_samples/compliance_exception/getCEIncidentHistory.py diff --git a/GraphQL/program_samples/ceIncident/listCEIncidentComments.py b/GraphQL/program_samples/compliance_exception/listCEIncidentComments.py similarity index 100% rename from GraphQL/program_samples/ceIncident/listCEIncidentComments.py rename to GraphQL/program_samples/compliance_exception/listCEIncidentComments.py diff --git a/GraphQL/program_samples/ceIncident/readCEIncident.py b/GraphQL/program_samples/compliance_exception/readCEIncident.py similarity index 100% rename from GraphQL/program_samples/ceIncident/readCEIncident.py rename to GraphQL/program_samples/compliance_exception/readCEIncident.py diff --git a/GraphQL/program_samples/dsIncident/addDSIncident.py b/GraphQL/program_samples/direct_supplier/addDSIncident.py similarity index 100% rename from GraphQL/program_samples/dsIncident/addDSIncident.py rename to GraphQL/program_samples/direct_supplier/addDSIncident.py diff --git a/GraphQL/program_samples/dsIncident/addDSIncidentComment.py b/GraphQL/program_samples/direct_supplier/addDSIncidentComment.py similarity index 100% rename from GraphQL/program_samples/dsIncident/addDSIncidentComment.py rename to GraphQL/program_samples/direct_supplier/addDSIncidentComment.py diff --git a/GraphQL/program_samples/dsIncident/editDSIncident.py b/GraphQL/program_samples/direct_supplier/editDSIncident.py similarity index 100% rename from GraphQL/program_samples/dsIncident/editDSIncident.py rename to GraphQL/program_samples/direct_supplier/editDSIncident.py diff --git a/GraphQL/program_samples/dsIncident/getActivityHistoryForDSIncidents.py b/GraphQL/program_samples/direct_supplier/getActivityHistoryForDSIncidents.py similarity index 100% rename from GraphQL/program_samples/dsIncident/getActivityHistoryForDSIncidents.py rename to GraphQL/program_samples/direct_supplier/getActivityHistoryForDSIncidents.py diff --git a/GraphQL/program_samples/dsIncident/listDSIncidentComments.py b/GraphQL/program_samples/direct_supplier/listDSIncidentComments.py similarity index 100% rename from GraphQL/program_samples/dsIncident/listDSIncidentComments.py rename to GraphQL/program_samples/direct_supplier/listDSIncidentComments.py diff --git a/GraphQL/program_samples/dsIncident/readDSIncident.py b/GraphQL/program_samples/direct_supplier/readDSIncident.py similarity index 100% rename from GraphQL/program_samples/dsIncident/readDSIncident.py rename to GraphQL/program_samples/direct_supplier/readDSIncident.py diff --git a/GraphQL/program_samples/documentReview/addDocReview.py b/GraphQL/program_samples/document_review/addDocReview.py similarity index 100% rename from GraphQL/program_samples/documentReview/addDocReview.py rename to GraphQL/program_samples/document_review/addDocReview.py diff --git a/GraphQL/program_samples/documentReview/addDocReviewComment.py b/GraphQL/program_samples/document_review/addDocReviewComment.py similarity index 100% rename from GraphQL/program_samples/documentReview/addDocReviewComment.py rename to GraphQL/program_samples/document_review/addDocReviewComment.py diff --git a/GraphQL/program_samples/documentReview/editDocReview.py b/GraphQL/program_samples/document_review/editDocReview.py similarity index 100% rename from GraphQL/program_samples/documentReview/editDocReview.py rename to GraphQL/program_samples/document_review/editDocReview.py diff --git a/GraphQL/program_samples/documentReview/getDocRevActivity.py b/GraphQL/program_samples/document_review/getDocRevActivity.py similarity index 100% rename from GraphQL/program_samples/documentReview/getDocRevActivity.py rename to GraphQL/program_samples/document_review/getDocRevActivity.py diff --git a/GraphQL/program_samples/documentReview/listDocRevComments.py b/GraphQL/program_samples/document_review/listDocRevComments.py similarity index 100% rename from GraphQL/program_samples/documentReview/listDocRevComments.py rename to GraphQL/program_samples/document_review/listDocRevComments.py diff --git a/GraphQL/program_samples/documentReview/readDocReview.py b/GraphQL/program_samples/document_review/readDocReview.py similarity index 100% rename from GraphQL/program_samples/documentReview/readDocReview.py rename to GraphQL/program_samples/document_review/readDocReview.py diff --git a/GraphQL/program_samples/emIncident/addEMIncident.py b/GraphQL/program_samples/external_manufacturing/addEMIncident.py similarity index 100% rename from GraphQL/program_samples/emIncident/addEMIncident.py rename to GraphQL/program_samples/external_manufacturing/addEMIncident.py diff --git a/GraphQL/program_samples/emIncident/addEMIncidentComment.py b/GraphQL/program_samples/external_manufacturing/addEMIncidentComment.py similarity index 100% rename from GraphQL/program_samples/emIncident/addEMIncidentComment.py rename to GraphQL/program_samples/external_manufacturing/addEMIncidentComment.py diff --git a/GraphQL/program_samples/emIncident/editEMIncident.py b/GraphQL/program_samples/external_manufacturing/editEMIncident.py similarity index 100% rename from GraphQL/program_samples/emIncident/editEMIncident.py rename to GraphQL/program_samples/external_manufacturing/editEMIncident.py diff --git a/GraphQL/program_samples/emIncident/getEMIncidentHistory.py b/GraphQL/program_samples/external_manufacturing/getEMIncidentHistory.py similarity index 100% rename from GraphQL/program_samples/emIncident/getEMIncidentHistory.py rename to GraphQL/program_samples/external_manufacturing/getEMIncidentHistory.py diff --git a/GraphQL/program_samples/emIncident/listEMIncidentComments.py b/GraphQL/program_samples/external_manufacturing/listEMIncidentComments.py similarity index 100% rename from GraphQL/program_samples/emIncident/listEMIncidentComments.py rename to GraphQL/program_samples/external_manufacturing/listEMIncidentComments.py diff --git a/GraphQL/program_samples/emIncident/readEMIncident.py b/GraphQL/program_samples/external_manufacturing/readEMIncident.py similarity index 100% rename from GraphQL/program_samples/emIncident/readEMIncident.py rename to GraphQL/program_samples/external_manufacturing/readEMIncident.py diff --git a/GraphQL/program_samples/master/getCompanyMasterData.py b/GraphQL/program_samples/master_data/getCompanyMasterData.py similarity index 100% rename from GraphQL/program_samples/master/getCompanyMasterData.py rename to GraphQL/program_samples/master_data/getCompanyMasterData.py diff --git a/GraphQL/program_samples/master/getPartnerMasterData.py b/GraphQL/program_samples/master_data/getPartnerMasterData.py similarity index 100% rename from GraphQL/program_samples/master/getPartnerMasterData.py rename to GraphQL/program_samples/master_data/getPartnerMasterData.py diff --git a/GraphQL/program_samples/master/getProductMasterData.py b/GraphQL/program_samples/master_data/getProductMasterData.py similarity index 100% rename from GraphQL/program_samples/master/getProductMasterData.py rename to GraphQL/program_samples/master_data/getProductMasterData.py diff --git a/GraphQL/program_samples/taskTemplate/addSubTaskTemplate.py b/GraphQL/program_samples/task_template/addSubTaskTemplate.py similarity index 100% rename from GraphQL/program_samples/taskTemplate/addSubTaskTemplate.py rename to GraphQL/program_samples/task_template/addSubTaskTemplate.py diff --git a/GraphQL/program_samples/taskTemplate/addTaskTemplate.py b/GraphQL/program_samples/task_template/addTaskTemplate.py similarity index 100% rename from GraphQL/program_samples/taskTemplate/addTaskTemplate.py rename to GraphQL/program_samples/task_template/addTaskTemplate.py diff --git a/GraphQL/program_samples/taskTemplate/editSubTaskonTemplate.py b/GraphQL/program_samples/task_template/editSubTaskonTemplate.py similarity index 100% rename from GraphQL/program_samples/taskTemplate/editSubTaskonTemplate.py rename to GraphQL/program_samples/task_template/editSubTaskonTemplate.py diff --git a/GraphQL/program_samples/taskTemplate/editTaskTemplate.py b/GraphQL/program_samples/task_template/editTaskTemplate.py similarity index 100% rename from GraphQL/program_samples/taskTemplate/editTaskTemplate.py rename to GraphQL/program_samples/task_template/editTaskTemplate.py diff --git a/GraphQL/program_samples/taskTemplate/listSubtaskForTemplate.py b/GraphQL/program_samples/task_template/listSubtaskForTemplate.py similarity index 100% rename from GraphQL/program_samples/taskTemplate/listSubtaskForTemplate.py rename to GraphQL/program_samples/task_template/listSubtaskForTemplate.py diff --git a/GraphQL/program_samples/taskTemplate/readTemplateDetails.py b/GraphQL/program_samples/task_template/readTemplateDetails.py similarity index 100% rename from GraphQL/program_samples/taskTemplate/readTemplateDetails.py rename to GraphQL/program_samples/task_template/readTemplateDetails.py diff --git a/GraphQL/program_samples/taskTemplate/removeSubTaskFromTemplate.py b/GraphQL/program_samples/task_template/removeSubTaskFromTemplate.py similarity index 100% rename from GraphQL/program_samples/taskTemplate/removeSubTaskFromTemplate.py rename to GraphQL/program_samples/task_template/removeSubTaskFromTemplate.py From 9a06aa7bd1e0ed3c35b9f468c21e1c8dbebdf9b2 Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Fri, 11 Oct 2024 10:34:47 -0600 Subject: [PATCH 23/47] adding a simple readme --- GraphQL/readme.MD | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 GraphQL/readme.MD diff --git a/GraphQL/readme.MD b/GraphQL/readme.MD new file mode 100644 index 0000000..6b40480 --- /dev/null +++ b/GraphQL/readme.MD @@ -0,0 +1,5 @@ +# GraphQL Code Samples # +## Payload Samples ## +The payload samples contain the GraphQL text to be used in either a query tool or incorporated into software code. +## Program Samples ## +The program samples contain the minimum necessary code to send the request. This code is extensible to construct larger solutions. From d9387d8151cfee2d6f1b8fb53bbdd7f3c9efbbb4 Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Fri, 11 Oct 2024 12:59:41 -0600 Subject: [PATCH 24/47] reorganizing --- .../change_request}/ChangeRequest.MD | 0 ...ChangeRequestAllFieldsPayloadTemplate.json | 0 ...ChangeRequestMinFieldsPayloadTemplate.json | 0 .../addCommentForChangePayloadTemplate.json | 0 .../closeChangeRequestPayloadTemplate.json | 0 .../copyChangeRequestPayloadTemplate.json | 0 ...ChangeRequestBaseStatePayloadTemplate.json | 0 ...geRequestPartnerImpactPayloadTemplate.json | 0 ...itCommentTextForChangePayloadTemplate.json | 0 ...tChangeActivityHistoryPayloadTemplate.json | 0 .../listCommentsForChangePayloadTemplate.json | 0 .../readChangePayloadTemplate.json | 0 ...hmentFromchangeCommentPayloadTemplate.json | 0 .../reopenChangeRequestPayloadTemplate.json | 0 ...oggleUserFollowsChangePayloadTemplate.json | 0 .../addDirSupIncidentPayloadTemplate.json | 0 .../closeDirSupIncidentPayloadTemplate.json | 0 .../copyDirSupIncidentPayloadTemplate.json | 0 .../directSupplierIncident.MD | 0 ...editDirSupIncBaseStatePayloadTemplate.json | 0 ...editDirSupIncFinalRespPayloadTemplate.json | 0 .../editDirSupIncInitRespPayloadTemplate.json | 0 ...ditDirSupIncPartnerImpPayloadTemplate.json | 0 .../readDirSupIncidentPayloadTemplate.json | 0 .../reopenDirSupIncidentPayloadTemplate.json | 0 .../submitDirSupIncidentPayloadTemplate.json | 0 .../addExtMfgIncidentPayloadTemplate.json | 0 .../closeExtMfgIncidentPayloadTemplate.json | 0 .../copyExtMfgIncidentPayloadTemplate.json | 0 ...editExtMfgIncBaseStatePayloadTemplate.json | 0 .../editMfgIncFinalRespPayloadTemplate.json | 0 .../editMfgIncInitRespPayloadTemplate.json | 0 ...ditMfgIncPartnerImpactPayloadTemplate.json | 0 .../externalManufacturingIncident.MD | 0 .../readExtMfgIncidentPayloadTemplate.json | 0 .../reopenExtMfgIncidentPayloadTemplate.json | 0 ...bmitExtMfgIncToPartnerPayloadTemplate.json | 0 .../incident/addIncidentPayloadTemplate.json | 0 .../closeIncidentPayloadTemplate.json | 0 .../incident/copyIncidentPayloadTemplate.json | 0 .../incident/editIncidentPayloadTemplate.json | 0 .../json_only/incident/incident.MD | 0 .../incident/readIncidentPayloadTemplate.json | 0 .../reopenIncidentPayloadTemplate.json | 0 .../submitIncidentPayloadTemplate.json | 0 .../json_only/master_data}/masterData.MD | 0 .../queryCompanyMasterTemplate.json | 0 .../queryPartnerMasterTemplate.json | 0 .../queryProductMasterTemplate.json | 0 .../shared/addCommentPayloadTemplate.json | 0 ...tCommentForProcessRespPayloadTemplate.json | 0 .../getActivityHistoryPayloadTemplate.json | 0 .../shared/listCommentsPayloadTemplate.json | 0 .../json_only/shared/shared.MD | 0 ...ggleUserFollowsProcessPayloadTemplate.json | 0 .../task/addTaskPayloadTemplate.json | 0 .../task/addTaskSubTaskPayloadTemplate.json | 0 .../task/closeSubTaskPayloadTemplate.json | 0 .../task/closeTaskPayloadTemplate.json | 0 .../task/copyTaskPayloadTemplate.json | 0 .../task/editSubTaskPayloadTemplate.json | 0 .../task/editTaskPayloadTemplate.json | 0 .../listSubTaskForTaskPayloadTemplate.json | 0 .../task/readTaskPayloadTemplate.json | 0 .../removeSubTaskFromTaskPayloadTemplate.json | 0 .../task/reopenSubTaskPayloadTemplate.json | 0 .../task/reopenTaskPayloadTemplate.json | 0 ...submitSubTaskToPartnerPayloadTemplate.json | 0 .../json_only/task/task.MD | 0 .../addSubTaskToTemplatePayloadTemplate.json | 0 .../addTaskTemplatePayloadTemplate.json | 0 .../copyTaskTemplatePayloadTemplate.json | 0 .../editSubTaskOnTemplatePayloadTemplate.json | 0 .../editTaskTemplatePayloadTemplate.json | 0 ...listSubTaskForTemplatePayloadTemplate.json | 0 ...oveSubTaskfromTemplatePayloadTemplate.json | 0 .../json_only/task_template}/taskTemplate.MD | 0 .../{ => python}/change_request/addChange.py | 0 .../change_request/addChangeComment.py | 0 .../change_request/edditChange.py | 0 .../getChangeActivityHistory.py | 0 .../change_request/listChangeComments.py | 0 .../{ => python}/change_request/readChange.py | 0 .../compliance_exception/addCEIncident.py | 0 .../addCEIncidentComment.py | 0 .../compliance_exception/editCEIncident.py | 0 .../getCEIncidentHistory.py | 0 .../listCEIncidentComments.py | 0 .../compliance_exception/readCEIncident.py | 0 .../direct_supplier/addDSIncident.py | 0 .../direct_supplier/addDSIncidentComment.py | 0 .../direct_supplier/editDSIncident.py | 0 .../getActivityHistoryForDSIncidents.py | 0 .../direct_supplier/listDSIncidentComments.py | 0 .../direct_supplier/readDSIncident.py | 0 .../document_review/addDocReview.py | 0 .../document_review/addDocReviewComment.py | 0 .../document_review/editDocReview.py | 0 .../document_review/getDocRevActivity.py | 0 .../document_review/listDocRevComments.py | 0 .../document_review/readDocReview.py | 0 .../external_manufacturing/addEMIncident.py | 0 .../addEMIncidentComment.py | 0 .../external_manufacturing/editEMIncident.py | 0 .../getEMIncidentHistory.py | 0 .../listEMIncidentComments.py | 0 .../external_manufacturing/readEMIncident.py | 0 .../{ => python}/incident/addIncident.py | 0 .../incident/addIncidentComment.py | 0 .../{ => python}/incident/editIncident.py | 0 .../incident/getActivityHistoryForIncident.py | 0 .../incident/listIncidentComments.py | 0 .../{ => python}/incident/readIncident.py | 0 .../master_data/getCompanyMasterData.py | 0 .../master_data/getPartnerMasterData.py | 0 .../master_data/getProductMasterData.py | 0 .../{ => python}/task/addCommentForTask.py | 0 .../{ => python}/task/addSubTaskToTask.py | 0 .../{ => python}/task/addTask.py | 0 .../{ => python}/task/closeSubTask.py | 0 .../{ => python}/task/closeTask.py | 0 .../{ => python}/task/copyTask.py | 0 .../{ => python}/task/editCommentForTask.py | 0 .../{ => python}/task/editSubTaskOnTask.py | 0 .../{ => python}/task/editTask.py | 0 .../task/getActivityHistoryForTask.py | 0 .../{ => python}/task/listCommentForTask.py | 0 .../{ => python}/task/listSubtaskForTask.py | 0 .../{ => python}/task/readTaskDetails.py | 0 .../{ => python}/task/removeSubtask.py | 0 .../{ => python}/task/reopenSubtask.py | 0 .../{ => python}/task/reopenTask.py | 0 .../task_template/addSubTaskTemplate.py | 0 .../task_template/addTaskTemplate.py | 0 .../task_template/editSubTaskonTemplate.py | 0 .../task_template/editTaskTemplate.py | 0 .../task_template/listSubtaskForTemplate.py | 0 .../task_template/readTemplateDetails.py | 0 .../removeSubTaskFromTemplate.py | 0 .../insomnia}/TL_Insomnia_Collection.json | 0 .../insomnia}/TL_Insomnia_Environment.json | 0 .../postman}/TL_Postman Collection.json | 0 .../postman}/TL_Postman_Environment.json | 0 .../addIndSupIncMinFieldsPayloadTemplate.json | 16 -- .../addIndSupIncPayloadTemplate.json | 148 ------------------ .../closeIndSupIncPayloadTemplate.json | 24 --- .../copyIndSupIncPayloadTemplate.json | 19 --- .../editIndSupBaseStatePayloadTemplate.json | 14 -- ...editIndSupIncFinalRespPayloadTemplate.json | 17 -- .../editIndSupIncInitRespPayloadTemplate.json | 17 -- .../editIndSupIncPartnerPayloadTemplate.json | 64 -------- .../readIndSupIncPayloadTemplate.json | 10 -- .../reopenIndSupIncPayloadTemplate.json | 27 ---- ...submitIndSupIncPartnerPayloadTemplate.json | 13 -- .../addIntMfgIncFullPayloadTemplate.json | 106 ------------- .../addIntMfgIncMinFieldsPayloadTemplate.json | 16 -- .../closeIntMfgIncPayloadTemplate.json | 31 ---- .../copyIntMfgIncPayloadTemplate.json | 19 --- ...editIntMfgIncBaseStatePayloadTemplate.json | 14 -- ...editIntMfgIncFinalRespPayloadTemplate.json | 17 -- .../editIntMfgIncImpactPayloadTemplate.json | 45 ------ .../editIntMfgIncInitRespPayloadTemplate.json | 17 -- .../readIntMfgIncPayloadTemplate.json | 10 -- .../reopenIntMfgIncRespPayloadTemplate.json | 19 --- 164 files changed, 663 deletions(-) rename {payload_samples/json_only/changeRequest => AsyncAPI/json_only/change_request}/ChangeRequest.MD (100%) rename {payload_samples/json_only/changeRequest => AsyncAPI/json_only/change_request}/addChangeRequestAllFieldsPayloadTemplate.json (100%) rename {payload_samples/json_only/changeRequest => AsyncAPI/json_only/change_request}/addChangeRequestMinFieldsPayloadTemplate.json (100%) rename {payload_samples/json_only/changeRequest => AsyncAPI/json_only/change_request}/addCommentForChangePayloadTemplate.json (100%) rename {payload_samples/json_only/changeRequest => AsyncAPI/json_only/change_request}/closeChangeRequestPayloadTemplate.json (100%) rename {payload_samples/json_only/changeRequest => AsyncAPI/json_only/change_request}/copyChangeRequestPayloadTemplate.json (100%) rename {payload_samples/json_only/changeRequest => AsyncAPI/json_only/change_request}/editChangeRequestBaseStatePayloadTemplate.json (100%) rename {payload_samples/json_only/changeRequest => AsyncAPI/json_only/change_request}/editChangeRequestPartnerImpactPayloadTemplate.json (100%) rename {payload_samples/json_only/changeRequest => AsyncAPI/json_only/change_request}/editCommentTextForChangePayloadTemplate.json (100%) rename {payload_samples/json_only/changeRequest => AsyncAPI/json_only/change_request}/getChangeActivityHistoryPayloadTemplate.json (100%) rename {payload_samples/json_only/changeRequest => AsyncAPI/json_only/change_request}/listCommentsForChangePayloadTemplate.json (100%) rename {payload_samples/json_only/changeRequest => AsyncAPI/json_only/change_request}/readChangePayloadTemplate.json (100%) rename {payload_samples/json_only/changeRequest => AsyncAPI/json_only/change_request}/removeAttachmentFromchangeCommentPayloadTemplate.json (100%) rename {payload_samples/json_only/changeRequest => AsyncAPI/json_only/change_request}/reopenChangeRequestPayloadTemplate.json (100%) rename {payload_samples/json_only/changeRequest => AsyncAPI/json_only/change_request}/toggleUserFollowsChangePayloadTemplate.json (100%) rename {payload_samples/json_only/directSupplierIncident => AsyncAPI/json_only/direct_supplier}/addDirSupIncidentPayloadTemplate.json (100%) rename {payload_samples/json_only/directSupplierIncident => AsyncAPI/json_only/direct_supplier}/closeDirSupIncidentPayloadTemplate.json (100%) rename {payload_samples/json_only/directSupplierIncident => AsyncAPI/json_only/direct_supplier}/copyDirSupIncidentPayloadTemplate.json (100%) rename {payload_samples/json_only/directSupplierIncident => AsyncAPI/json_only/direct_supplier}/directSupplierIncident.MD (100%) rename {payload_samples/json_only/directSupplierIncident => AsyncAPI/json_only/direct_supplier}/editDirSupIncBaseStatePayloadTemplate.json (100%) rename {payload_samples/json_only/directSupplierIncident => AsyncAPI/json_only/direct_supplier}/editDirSupIncFinalRespPayloadTemplate.json (100%) rename {payload_samples/json_only/directSupplierIncident => AsyncAPI/json_only/direct_supplier}/editDirSupIncInitRespPayloadTemplate.json (100%) rename {payload_samples/json_only/directSupplierIncident => AsyncAPI/json_only/direct_supplier}/editDirSupIncPartnerImpPayloadTemplate.json (100%) rename {payload_samples/json_only/directSupplierIncident => AsyncAPI/json_only/direct_supplier}/readDirSupIncidentPayloadTemplate.json (100%) rename {payload_samples/json_only/directSupplierIncident => AsyncAPI/json_only/direct_supplier}/reopenDirSupIncidentPayloadTemplate.json (100%) rename {payload_samples/json_only/directSupplierIncident => AsyncAPI/json_only/direct_supplier}/submitDirSupIncidentPayloadTemplate.json (100%) rename {payload_samples/json_only/externalManufacturingIncident => AsyncAPI/json_only/external_manufacturing}/addExtMfgIncidentPayloadTemplate.json (100%) rename {payload_samples/json_only/externalManufacturingIncident => AsyncAPI/json_only/external_manufacturing}/closeExtMfgIncidentPayloadTemplate.json (100%) rename {payload_samples/json_only/externalManufacturingIncident => AsyncAPI/json_only/external_manufacturing}/copyExtMfgIncidentPayloadTemplate.json (100%) rename {payload_samples/json_only/externalManufacturingIncident => AsyncAPI/json_only/external_manufacturing}/editExtMfgIncBaseStatePayloadTemplate.json (100%) rename {payload_samples/json_only/externalManufacturingIncident => AsyncAPI/json_only/external_manufacturing}/editMfgIncFinalRespPayloadTemplate.json (100%) rename {payload_samples/json_only/externalManufacturingIncident => AsyncAPI/json_only/external_manufacturing}/editMfgIncInitRespPayloadTemplate.json (100%) rename {payload_samples/json_only/externalManufacturingIncident => AsyncAPI/json_only/external_manufacturing}/editMfgIncPartnerImpactPayloadTemplate.json (100%) rename {payload_samples/json_only/externalManufacturingIncident => AsyncAPI/json_only/external_manufacturing}/externalManufacturingIncident.MD (100%) rename {payload_samples/json_only/externalManufacturingIncident => AsyncAPI/json_only/external_manufacturing}/readExtMfgIncidentPayloadTemplate.json (100%) rename {payload_samples/json_only/externalManufacturingIncident => AsyncAPI/json_only/external_manufacturing}/reopenExtMfgIncidentPayloadTemplate.json (100%) rename {payload_samples/json_only/externalManufacturingIncident => AsyncAPI/json_only/external_manufacturing}/submitExtMfgIncToPartnerPayloadTemplate.json (100%) rename {payload_samples => AsyncAPI}/json_only/incident/addIncidentPayloadTemplate.json (100%) rename {payload_samples => AsyncAPI}/json_only/incident/closeIncidentPayloadTemplate.json (100%) rename {payload_samples => AsyncAPI}/json_only/incident/copyIncidentPayloadTemplate.json (100%) rename {payload_samples => AsyncAPI}/json_only/incident/editIncidentPayloadTemplate.json (100%) rename {payload_samples => AsyncAPI}/json_only/incident/incident.MD (100%) rename {payload_samples => AsyncAPI}/json_only/incident/readIncidentPayloadTemplate.json (100%) rename {payload_samples => AsyncAPI}/json_only/incident/reopenIncidentPayloadTemplate.json (100%) rename {payload_samples => AsyncAPI}/json_only/incident/submitIncidentPayloadTemplate.json (100%) rename {payload_samples/json_only/masterData => AsyncAPI/json_only/master_data}/masterData.MD (100%) rename {payload_samples/json_only/masterData => AsyncAPI/json_only/master_data}/queryCompanyMasterTemplate.json (100%) rename {payload_samples/json_only/masterData => AsyncAPI/json_only/master_data}/queryPartnerMasterTemplate.json (100%) rename {payload_samples/json_only/masterData => AsyncAPI/json_only/master_data}/queryProductMasterTemplate.json (100%) rename {payload_samples => AsyncAPI}/json_only/shared/addCommentPayloadTemplate.json (100%) rename {payload_samples => AsyncAPI}/json_only/shared/editCommentForProcessRespPayloadTemplate.json (100%) rename {payload_samples => AsyncAPI}/json_only/shared/getActivityHistoryPayloadTemplate.json (100%) rename {payload_samples => AsyncAPI}/json_only/shared/listCommentsPayloadTemplate.json (100%) rename {payload_samples => AsyncAPI}/json_only/shared/shared.MD (100%) rename {payload_samples => AsyncAPI}/json_only/shared/toggleUserFollowsProcessPayloadTemplate.json (100%) rename {payload_samples => AsyncAPI}/json_only/task/addTaskPayloadTemplate.json (100%) rename {payload_samples => AsyncAPI}/json_only/task/addTaskSubTaskPayloadTemplate.json (100%) rename {payload_samples => AsyncAPI}/json_only/task/closeSubTaskPayloadTemplate.json (100%) rename {payload_samples => AsyncAPI}/json_only/task/closeTaskPayloadTemplate.json (100%) rename {payload_samples => AsyncAPI}/json_only/task/copyTaskPayloadTemplate.json (100%) rename {payload_samples => AsyncAPI}/json_only/task/editSubTaskPayloadTemplate.json (100%) rename {payload_samples => AsyncAPI}/json_only/task/editTaskPayloadTemplate.json (100%) rename {payload_samples => AsyncAPI}/json_only/task/listSubTaskForTaskPayloadTemplate.json (100%) rename {payload_samples => AsyncAPI}/json_only/task/readTaskPayloadTemplate.json (100%) rename {payload_samples => AsyncAPI}/json_only/task/removeSubTaskFromTaskPayloadTemplate.json (100%) rename {payload_samples => AsyncAPI}/json_only/task/reopenSubTaskPayloadTemplate.json (100%) rename {payload_samples => AsyncAPI}/json_only/task/reopenTaskPayloadTemplate.json (100%) rename {payload_samples => AsyncAPI}/json_only/task/submitSubTaskToPartnerPayloadTemplate.json (100%) rename {payload_samples => AsyncAPI}/json_only/task/task.MD (100%) rename {payload_samples/json_only/taskTemplate => AsyncAPI/json_only/task_template}/addSubTaskToTemplatePayloadTemplate.json (100%) rename {payload_samples/json_only/taskTemplate => AsyncAPI/json_only/task_template}/addTaskTemplatePayloadTemplate.json (100%) rename {payload_samples/json_only/taskTemplate => AsyncAPI/json_only/task_template}/copyTaskTemplatePayloadTemplate.json (100%) rename {payload_samples/json_only/taskTemplate => AsyncAPI/json_only/task_template}/editSubTaskOnTemplatePayloadTemplate.json (100%) rename {payload_samples/json_only/taskTemplate => AsyncAPI/json_only/task_template}/editTaskTemplatePayloadTemplate.json (100%) rename {payload_samples/json_only/taskTemplate => AsyncAPI/json_only/task_template}/listSubTaskForTemplatePayloadTemplate.json (100%) rename {payload_samples/json_only/taskTemplate => AsyncAPI/json_only/task_template}/removeSubTaskfromTemplatePayloadTemplate.json (100%) rename {payload_samples/json_only/taskTemplate => AsyncAPI/json_only/task_template}/taskTemplate.MD (100%) rename GraphQL/program_samples/{ => python}/change_request/addChange.py (100%) rename GraphQL/program_samples/{ => python}/change_request/addChangeComment.py (100%) rename GraphQL/program_samples/{ => python}/change_request/edditChange.py (100%) rename GraphQL/program_samples/{ => python}/change_request/getChangeActivityHistory.py (100%) rename GraphQL/program_samples/{ => python}/change_request/listChangeComments.py (100%) rename GraphQL/program_samples/{ => python}/change_request/readChange.py (100%) rename GraphQL/program_samples/{ => python}/compliance_exception/addCEIncident.py (100%) rename GraphQL/program_samples/{ => python}/compliance_exception/addCEIncidentComment.py (100%) rename GraphQL/program_samples/{ => python}/compliance_exception/editCEIncident.py (100%) rename GraphQL/program_samples/{ => python}/compliance_exception/getCEIncidentHistory.py (100%) rename GraphQL/program_samples/{ => python}/compliance_exception/listCEIncidentComments.py (100%) rename GraphQL/program_samples/{ => python}/compliance_exception/readCEIncident.py (100%) rename GraphQL/program_samples/{ => python}/direct_supplier/addDSIncident.py (100%) rename GraphQL/program_samples/{ => python}/direct_supplier/addDSIncidentComment.py (100%) rename GraphQL/program_samples/{ => python}/direct_supplier/editDSIncident.py (100%) rename GraphQL/program_samples/{ => python}/direct_supplier/getActivityHistoryForDSIncidents.py (100%) rename GraphQL/program_samples/{ => python}/direct_supplier/listDSIncidentComments.py (100%) rename GraphQL/program_samples/{ => python}/direct_supplier/readDSIncident.py (100%) rename GraphQL/program_samples/{ => python}/document_review/addDocReview.py (100%) rename GraphQL/program_samples/{ => python}/document_review/addDocReviewComment.py (100%) rename GraphQL/program_samples/{ => python}/document_review/editDocReview.py (100%) rename GraphQL/program_samples/{ => python}/document_review/getDocRevActivity.py (100%) rename GraphQL/program_samples/{ => python}/document_review/listDocRevComments.py (100%) rename GraphQL/program_samples/{ => python}/document_review/readDocReview.py (100%) rename GraphQL/program_samples/{ => python}/external_manufacturing/addEMIncident.py (100%) rename GraphQL/program_samples/{ => python}/external_manufacturing/addEMIncidentComment.py (100%) rename GraphQL/program_samples/{ => python}/external_manufacturing/editEMIncident.py (100%) rename GraphQL/program_samples/{ => python}/external_manufacturing/getEMIncidentHistory.py (100%) rename GraphQL/program_samples/{ => python}/external_manufacturing/listEMIncidentComments.py (100%) rename GraphQL/program_samples/{ => python}/external_manufacturing/readEMIncident.py (100%) rename GraphQL/program_samples/{ => python}/incident/addIncident.py (100%) rename GraphQL/program_samples/{ => python}/incident/addIncidentComment.py (100%) rename GraphQL/program_samples/{ => python}/incident/editIncident.py (100%) rename GraphQL/program_samples/{ => python}/incident/getActivityHistoryForIncident.py (100%) rename GraphQL/program_samples/{ => python}/incident/listIncidentComments.py (100%) rename GraphQL/program_samples/{ => python}/incident/readIncident.py (100%) rename GraphQL/program_samples/{ => python}/master_data/getCompanyMasterData.py (100%) rename GraphQL/program_samples/{ => python}/master_data/getPartnerMasterData.py (100%) rename GraphQL/program_samples/{ => python}/master_data/getProductMasterData.py (100%) rename GraphQL/program_samples/{ => python}/task/addCommentForTask.py (100%) rename GraphQL/program_samples/{ => python}/task/addSubTaskToTask.py (100%) rename GraphQL/program_samples/{ => python}/task/addTask.py (100%) rename GraphQL/program_samples/{ => python}/task/closeSubTask.py (100%) rename GraphQL/program_samples/{ => python}/task/closeTask.py (100%) rename GraphQL/program_samples/{ => python}/task/copyTask.py (100%) rename GraphQL/program_samples/{ => python}/task/editCommentForTask.py (100%) rename GraphQL/program_samples/{ => python}/task/editSubTaskOnTask.py (100%) rename GraphQL/program_samples/{ => python}/task/editTask.py (100%) rename GraphQL/program_samples/{ => python}/task/getActivityHistoryForTask.py (100%) rename GraphQL/program_samples/{ => python}/task/listCommentForTask.py (100%) rename GraphQL/program_samples/{ => python}/task/listSubtaskForTask.py (100%) rename GraphQL/program_samples/{ => python}/task/readTaskDetails.py (100%) rename GraphQL/program_samples/{ => python}/task/removeSubtask.py (100%) rename GraphQL/program_samples/{ => python}/task/reopenSubtask.py (100%) rename GraphQL/program_samples/{ => python}/task/reopenTask.py (100%) rename GraphQL/program_samples/{ => python}/task_template/addSubTaskTemplate.py (100%) rename GraphQL/program_samples/{ => python}/task_template/addTaskTemplate.py (100%) rename GraphQL/program_samples/{ => python}/task_template/editSubTaskonTemplate.py (100%) rename GraphQL/program_samples/{ => python}/task_template/editTaskTemplate.py (100%) rename GraphQL/program_samples/{ => python}/task_template/listSubtaskForTemplate.py (100%) rename GraphQL/program_samples/{ => python}/task_template/readTemplateDetails.py (100%) rename GraphQL/program_samples/{ => python}/task_template/removeSubTaskFromTemplate.py (100%) rename {insomnia => collections/insomnia}/TL_Insomnia_Collection.json (100%) rename {insomnia => collections/insomnia}/TL_Insomnia_Environment.json (100%) rename {postman => collections/postman}/TL_Postman Collection.json (100%) rename {postman => collections/postman}/TL_Postman_Environment.json (100%) delete mode 100644 payload_samples/json_only/indirectSupplierIncident/addIndSupIncMinFieldsPayloadTemplate.json delete mode 100644 payload_samples/json_only/indirectSupplierIncident/addIndSupIncPayloadTemplate.json delete mode 100644 payload_samples/json_only/indirectSupplierIncident/closeIndSupIncPayloadTemplate.json delete mode 100644 payload_samples/json_only/indirectSupplierIncident/copyIndSupIncPayloadTemplate.json delete mode 100644 payload_samples/json_only/indirectSupplierIncident/editIndSupBaseStatePayloadTemplate.json delete mode 100644 payload_samples/json_only/indirectSupplierIncident/editIndSupIncFinalRespPayloadTemplate.json delete mode 100644 payload_samples/json_only/indirectSupplierIncident/editIndSupIncInitRespPayloadTemplate.json delete mode 100644 payload_samples/json_only/indirectSupplierIncident/editIndSupIncPartnerPayloadTemplate.json delete mode 100644 payload_samples/json_only/indirectSupplierIncident/readIndSupIncPayloadTemplate.json delete mode 100644 payload_samples/json_only/indirectSupplierIncident/reopenIndSupIncPayloadTemplate.json delete mode 100644 payload_samples/json_only/indirectSupplierIncident/submitIndSupIncPartnerPayloadTemplate.json delete mode 100644 payload_samples/json_only/internalManfucaturingIncident/addIntMfgIncFullPayloadTemplate.json delete mode 100644 payload_samples/json_only/internalManfucaturingIncident/addIntMfgIncMinFieldsPayloadTemplate.json delete mode 100644 payload_samples/json_only/internalManfucaturingIncident/closeIntMfgIncPayloadTemplate.json delete mode 100644 payload_samples/json_only/internalManfucaturingIncident/copyIntMfgIncPayloadTemplate.json delete mode 100644 payload_samples/json_only/internalManfucaturingIncident/editIntMfgIncBaseStatePayloadTemplate.json delete mode 100644 payload_samples/json_only/internalManfucaturingIncident/editIntMfgIncFinalRespPayloadTemplate.json delete mode 100644 payload_samples/json_only/internalManfucaturingIncident/editIntMfgIncImpactPayloadTemplate.json delete mode 100644 payload_samples/json_only/internalManfucaturingIncident/editIntMfgIncInitRespPayloadTemplate.json delete mode 100644 payload_samples/json_only/internalManfucaturingIncident/readIntMfgIncPayloadTemplate.json delete mode 100644 payload_samples/json_only/internalManfucaturingIncident/reopenIntMfgIncRespPayloadTemplate.json diff --git a/payload_samples/json_only/changeRequest/ChangeRequest.MD b/AsyncAPI/json_only/change_request/ChangeRequest.MD similarity index 100% rename from payload_samples/json_only/changeRequest/ChangeRequest.MD rename to AsyncAPI/json_only/change_request/ChangeRequest.MD diff --git a/payload_samples/json_only/changeRequest/addChangeRequestAllFieldsPayloadTemplate.json b/AsyncAPI/json_only/change_request/addChangeRequestAllFieldsPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/changeRequest/addChangeRequestAllFieldsPayloadTemplate.json rename to AsyncAPI/json_only/change_request/addChangeRequestAllFieldsPayloadTemplate.json diff --git a/payload_samples/json_only/changeRequest/addChangeRequestMinFieldsPayloadTemplate.json b/AsyncAPI/json_only/change_request/addChangeRequestMinFieldsPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/changeRequest/addChangeRequestMinFieldsPayloadTemplate.json rename to AsyncAPI/json_only/change_request/addChangeRequestMinFieldsPayloadTemplate.json diff --git a/payload_samples/json_only/changeRequest/addCommentForChangePayloadTemplate.json b/AsyncAPI/json_only/change_request/addCommentForChangePayloadTemplate.json similarity index 100% rename from payload_samples/json_only/changeRequest/addCommentForChangePayloadTemplate.json rename to AsyncAPI/json_only/change_request/addCommentForChangePayloadTemplate.json diff --git a/payload_samples/json_only/changeRequest/closeChangeRequestPayloadTemplate.json b/AsyncAPI/json_only/change_request/closeChangeRequestPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/changeRequest/closeChangeRequestPayloadTemplate.json rename to AsyncAPI/json_only/change_request/closeChangeRequestPayloadTemplate.json diff --git a/payload_samples/json_only/changeRequest/copyChangeRequestPayloadTemplate.json b/AsyncAPI/json_only/change_request/copyChangeRequestPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/changeRequest/copyChangeRequestPayloadTemplate.json rename to AsyncAPI/json_only/change_request/copyChangeRequestPayloadTemplate.json diff --git a/payload_samples/json_only/changeRequest/editChangeRequestBaseStatePayloadTemplate.json b/AsyncAPI/json_only/change_request/editChangeRequestBaseStatePayloadTemplate.json similarity index 100% rename from payload_samples/json_only/changeRequest/editChangeRequestBaseStatePayloadTemplate.json rename to AsyncAPI/json_only/change_request/editChangeRequestBaseStatePayloadTemplate.json diff --git a/payload_samples/json_only/changeRequest/editChangeRequestPartnerImpactPayloadTemplate.json b/AsyncAPI/json_only/change_request/editChangeRequestPartnerImpactPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/changeRequest/editChangeRequestPartnerImpactPayloadTemplate.json rename to AsyncAPI/json_only/change_request/editChangeRequestPartnerImpactPayloadTemplate.json diff --git a/payload_samples/json_only/changeRequest/editCommentTextForChangePayloadTemplate.json b/AsyncAPI/json_only/change_request/editCommentTextForChangePayloadTemplate.json similarity index 100% rename from payload_samples/json_only/changeRequest/editCommentTextForChangePayloadTemplate.json rename to AsyncAPI/json_only/change_request/editCommentTextForChangePayloadTemplate.json diff --git a/payload_samples/json_only/changeRequest/getChangeActivityHistoryPayloadTemplate.json b/AsyncAPI/json_only/change_request/getChangeActivityHistoryPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/changeRequest/getChangeActivityHistoryPayloadTemplate.json rename to AsyncAPI/json_only/change_request/getChangeActivityHistoryPayloadTemplate.json diff --git a/payload_samples/json_only/changeRequest/listCommentsForChangePayloadTemplate.json b/AsyncAPI/json_only/change_request/listCommentsForChangePayloadTemplate.json similarity index 100% rename from payload_samples/json_only/changeRequest/listCommentsForChangePayloadTemplate.json rename to AsyncAPI/json_only/change_request/listCommentsForChangePayloadTemplate.json diff --git a/payload_samples/json_only/changeRequest/readChangePayloadTemplate.json b/AsyncAPI/json_only/change_request/readChangePayloadTemplate.json similarity index 100% rename from payload_samples/json_only/changeRequest/readChangePayloadTemplate.json rename to AsyncAPI/json_only/change_request/readChangePayloadTemplate.json diff --git a/payload_samples/json_only/changeRequest/removeAttachmentFromchangeCommentPayloadTemplate.json b/AsyncAPI/json_only/change_request/removeAttachmentFromchangeCommentPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/changeRequest/removeAttachmentFromchangeCommentPayloadTemplate.json rename to AsyncAPI/json_only/change_request/removeAttachmentFromchangeCommentPayloadTemplate.json diff --git a/payload_samples/json_only/changeRequest/reopenChangeRequestPayloadTemplate.json b/AsyncAPI/json_only/change_request/reopenChangeRequestPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/changeRequest/reopenChangeRequestPayloadTemplate.json rename to AsyncAPI/json_only/change_request/reopenChangeRequestPayloadTemplate.json diff --git a/payload_samples/json_only/changeRequest/toggleUserFollowsChangePayloadTemplate.json b/AsyncAPI/json_only/change_request/toggleUserFollowsChangePayloadTemplate.json similarity index 100% rename from payload_samples/json_only/changeRequest/toggleUserFollowsChangePayloadTemplate.json rename to AsyncAPI/json_only/change_request/toggleUserFollowsChangePayloadTemplate.json diff --git a/payload_samples/json_only/directSupplierIncident/addDirSupIncidentPayloadTemplate.json b/AsyncAPI/json_only/direct_supplier/addDirSupIncidentPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/directSupplierIncident/addDirSupIncidentPayloadTemplate.json rename to AsyncAPI/json_only/direct_supplier/addDirSupIncidentPayloadTemplate.json diff --git a/payload_samples/json_only/directSupplierIncident/closeDirSupIncidentPayloadTemplate.json b/AsyncAPI/json_only/direct_supplier/closeDirSupIncidentPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/directSupplierIncident/closeDirSupIncidentPayloadTemplate.json rename to AsyncAPI/json_only/direct_supplier/closeDirSupIncidentPayloadTemplate.json diff --git a/payload_samples/json_only/directSupplierIncident/copyDirSupIncidentPayloadTemplate.json b/AsyncAPI/json_only/direct_supplier/copyDirSupIncidentPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/directSupplierIncident/copyDirSupIncidentPayloadTemplate.json rename to AsyncAPI/json_only/direct_supplier/copyDirSupIncidentPayloadTemplate.json diff --git a/payload_samples/json_only/directSupplierIncident/directSupplierIncident.MD b/AsyncAPI/json_only/direct_supplier/directSupplierIncident.MD similarity index 100% rename from payload_samples/json_only/directSupplierIncident/directSupplierIncident.MD rename to AsyncAPI/json_only/direct_supplier/directSupplierIncident.MD diff --git a/payload_samples/json_only/directSupplierIncident/editDirSupIncBaseStatePayloadTemplate.json b/AsyncAPI/json_only/direct_supplier/editDirSupIncBaseStatePayloadTemplate.json similarity index 100% rename from payload_samples/json_only/directSupplierIncident/editDirSupIncBaseStatePayloadTemplate.json rename to AsyncAPI/json_only/direct_supplier/editDirSupIncBaseStatePayloadTemplate.json diff --git a/payload_samples/json_only/directSupplierIncident/editDirSupIncFinalRespPayloadTemplate.json b/AsyncAPI/json_only/direct_supplier/editDirSupIncFinalRespPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/directSupplierIncident/editDirSupIncFinalRespPayloadTemplate.json rename to AsyncAPI/json_only/direct_supplier/editDirSupIncFinalRespPayloadTemplate.json diff --git a/payload_samples/json_only/directSupplierIncident/editDirSupIncInitRespPayloadTemplate.json b/AsyncAPI/json_only/direct_supplier/editDirSupIncInitRespPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/directSupplierIncident/editDirSupIncInitRespPayloadTemplate.json rename to AsyncAPI/json_only/direct_supplier/editDirSupIncInitRespPayloadTemplate.json diff --git a/payload_samples/json_only/directSupplierIncident/editDirSupIncPartnerImpPayloadTemplate.json b/AsyncAPI/json_only/direct_supplier/editDirSupIncPartnerImpPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/directSupplierIncident/editDirSupIncPartnerImpPayloadTemplate.json rename to AsyncAPI/json_only/direct_supplier/editDirSupIncPartnerImpPayloadTemplate.json diff --git a/payload_samples/json_only/directSupplierIncident/readDirSupIncidentPayloadTemplate.json b/AsyncAPI/json_only/direct_supplier/readDirSupIncidentPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/directSupplierIncident/readDirSupIncidentPayloadTemplate.json rename to AsyncAPI/json_only/direct_supplier/readDirSupIncidentPayloadTemplate.json diff --git a/payload_samples/json_only/directSupplierIncident/reopenDirSupIncidentPayloadTemplate.json b/AsyncAPI/json_only/direct_supplier/reopenDirSupIncidentPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/directSupplierIncident/reopenDirSupIncidentPayloadTemplate.json rename to AsyncAPI/json_only/direct_supplier/reopenDirSupIncidentPayloadTemplate.json diff --git a/payload_samples/json_only/directSupplierIncident/submitDirSupIncidentPayloadTemplate.json b/AsyncAPI/json_only/direct_supplier/submitDirSupIncidentPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/directSupplierIncident/submitDirSupIncidentPayloadTemplate.json rename to AsyncAPI/json_only/direct_supplier/submitDirSupIncidentPayloadTemplate.json diff --git a/payload_samples/json_only/externalManufacturingIncident/addExtMfgIncidentPayloadTemplate.json b/AsyncAPI/json_only/external_manufacturing/addExtMfgIncidentPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/externalManufacturingIncident/addExtMfgIncidentPayloadTemplate.json rename to AsyncAPI/json_only/external_manufacturing/addExtMfgIncidentPayloadTemplate.json diff --git a/payload_samples/json_only/externalManufacturingIncident/closeExtMfgIncidentPayloadTemplate.json b/AsyncAPI/json_only/external_manufacturing/closeExtMfgIncidentPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/externalManufacturingIncident/closeExtMfgIncidentPayloadTemplate.json rename to AsyncAPI/json_only/external_manufacturing/closeExtMfgIncidentPayloadTemplate.json diff --git a/payload_samples/json_only/externalManufacturingIncident/copyExtMfgIncidentPayloadTemplate.json b/AsyncAPI/json_only/external_manufacturing/copyExtMfgIncidentPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/externalManufacturingIncident/copyExtMfgIncidentPayloadTemplate.json rename to AsyncAPI/json_only/external_manufacturing/copyExtMfgIncidentPayloadTemplate.json diff --git a/payload_samples/json_only/externalManufacturingIncident/editExtMfgIncBaseStatePayloadTemplate.json b/AsyncAPI/json_only/external_manufacturing/editExtMfgIncBaseStatePayloadTemplate.json similarity index 100% rename from payload_samples/json_only/externalManufacturingIncident/editExtMfgIncBaseStatePayloadTemplate.json rename to AsyncAPI/json_only/external_manufacturing/editExtMfgIncBaseStatePayloadTemplate.json diff --git a/payload_samples/json_only/externalManufacturingIncident/editMfgIncFinalRespPayloadTemplate.json b/AsyncAPI/json_only/external_manufacturing/editMfgIncFinalRespPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/externalManufacturingIncident/editMfgIncFinalRespPayloadTemplate.json rename to AsyncAPI/json_only/external_manufacturing/editMfgIncFinalRespPayloadTemplate.json diff --git a/payload_samples/json_only/externalManufacturingIncident/editMfgIncInitRespPayloadTemplate.json b/AsyncAPI/json_only/external_manufacturing/editMfgIncInitRespPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/externalManufacturingIncident/editMfgIncInitRespPayloadTemplate.json rename to AsyncAPI/json_only/external_manufacturing/editMfgIncInitRespPayloadTemplate.json diff --git a/payload_samples/json_only/externalManufacturingIncident/editMfgIncPartnerImpactPayloadTemplate.json b/AsyncAPI/json_only/external_manufacturing/editMfgIncPartnerImpactPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/externalManufacturingIncident/editMfgIncPartnerImpactPayloadTemplate.json rename to AsyncAPI/json_only/external_manufacturing/editMfgIncPartnerImpactPayloadTemplate.json diff --git a/payload_samples/json_only/externalManufacturingIncident/externalManufacturingIncident.MD b/AsyncAPI/json_only/external_manufacturing/externalManufacturingIncident.MD similarity index 100% rename from payload_samples/json_only/externalManufacturingIncident/externalManufacturingIncident.MD rename to AsyncAPI/json_only/external_manufacturing/externalManufacturingIncident.MD diff --git a/payload_samples/json_only/externalManufacturingIncident/readExtMfgIncidentPayloadTemplate.json b/AsyncAPI/json_only/external_manufacturing/readExtMfgIncidentPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/externalManufacturingIncident/readExtMfgIncidentPayloadTemplate.json rename to AsyncAPI/json_only/external_manufacturing/readExtMfgIncidentPayloadTemplate.json diff --git a/payload_samples/json_only/externalManufacturingIncident/reopenExtMfgIncidentPayloadTemplate.json b/AsyncAPI/json_only/external_manufacturing/reopenExtMfgIncidentPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/externalManufacturingIncident/reopenExtMfgIncidentPayloadTemplate.json rename to AsyncAPI/json_only/external_manufacturing/reopenExtMfgIncidentPayloadTemplate.json diff --git a/payload_samples/json_only/externalManufacturingIncident/submitExtMfgIncToPartnerPayloadTemplate.json b/AsyncAPI/json_only/external_manufacturing/submitExtMfgIncToPartnerPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/externalManufacturingIncident/submitExtMfgIncToPartnerPayloadTemplate.json rename to AsyncAPI/json_only/external_manufacturing/submitExtMfgIncToPartnerPayloadTemplate.json diff --git a/payload_samples/json_only/incident/addIncidentPayloadTemplate.json b/AsyncAPI/json_only/incident/addIncidentPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/incident/addIncidentPayloadTemplate.json rename to AsyncAPI/json_only/incident/addIncidentPayloadTemplate.json diff --git a/payload_samples/json_only/incident/closeIncidentPayloadTemplate.json b/AsyncAPI/json_only/incident/closeIncidentPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/incident/closeIncidentPayloadTemplate.json rename to AsyncAPI/json_only/incident/closeIncidentPayloadTemplate.json diff --git a/payload_samples/json_only/incident/copyIncidentPayloadTemplate.json b/AsyncAPI/json_only/incident/copyIncidentPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/incident/copyIncidentPayloadTemplate.json rename to AsyncAPI/json_only/incident/copyIncidentPayloadTemplate.json diff --git a/payload_samples/json_only/incident/editIncidentPayloadTemplate.json b/AsyncAPI/json_only/incident/editIncidentPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/incident/editIncidentPayloadTemplate.json rename to AsyncAPI/json_only/incident/editIncidentPayloadTemplate.json diff --git a/payload_samples/json_only/incident/incident.MD b/AsyncAPI/json_only/incident/incident.MD similarity index 100% rename from payload_samples/json_only/incident/incident.MD rename to AsyncAPI/json_only/incident/incident.MD diff --git a/payload_samples/json_only/incident/readIncidentPayloadTemplate.json b/AsyncAPI/json_only/incident/readIncidentPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/incident/readIncidentPayloadTemplate.json rename to AsyncAPI/json_only/incident/readIncidentPayloadTemplate.json diff --git a/payload_samples/json_only/incident/reopenIncidentPayloadTemplate.json b/AsyncAPI/json_only/incident/reopenIncidentPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/incident/reopenIncidentPayloadTemplate.json rename to AsyncAPI/json_only/incident/reopenIncidentPayloadTemplate.json diff --git a/payload_samples/json_only/incident/submitIncidentPayloadTemplate.json b/AsyncAPI/json_only/incident/submitIncidentPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/incident/submitIncidentPayloadTemplate.json rename to AsyncAPI/json_only/incident/submitIncidentPayloadTemplate.json diff --git a/payload_samples/json_only/masterData/masterData.MD b/AsyncAPI/json_only/master_data/masterData.MD similarity index 100% rename from payload_samples/json_only/masterData/masterData.MD rename to AsyncAPI/json_only/master_data/masterData.MD diff --git a/payload_samples/json_only/masterData/queryCompanyMasterTemplate.json b/AsyncAPI/json_only/master_data/queryCompanyMasterTemplate.json similarity index 100% rename from payload_samples/json_only/masterData/queryCompanyMasterTemplate.json rename to AsyncAPI/json_only/master_data/queryCompanyMasterTemplate.json diff --git a/payload_samples/json_only/masterData/queryPartnerMasterTemplate.json b/AsyncAPI/json_only/master_data/queryPartnerMasterTemplate.json similarity index 100% rename from payload_samples/json_only/masterData/queryPartnerMasterTemplate.json rename to AsyncAPI/json_only/master_data/queryPartnerMasterTemplate.json diff --git a/payload_samples/json_only/masterData/queryProductMasterTemplate.json b/AsyncAPI/json_only/master_data/queryProductMasterTemplate.json similarity index 100% rename from payload_samples/json_only/masterData/queryProductMasterTemplate.json rename to AsyncAPI/json_only/master_data/queryProductMasterTemplate.json diff --git a/payload_samples/json_only/shared/addCommentPayloadTemplate.json b/AsyncAPI/json_only/shared/addCommentPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/shared/addCommentPayloadTemplate.json rename to AsyncAPI/json_only/shared/addCommentPayloadTemplate.json diff --git a/payload_samples/json_only/shared/editCommentForProcessRespPayloadTemplate.json b/AsyncAPI/json_only/shared/editCommentForProcessRespPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/shared/editCommentForProcessRespPayloadTemplate.json rename to AsyncAPI/json_only/shared/editCommentForProcessRespPayloadTemplate.json diff --git a/payload_samples/json_only/shared/getActivityHistoryPayloadTemplate.json b/AsyncAPI/json_only/shared/getActivityHistoryPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/shared/getActivityHistoryPayloadTemplate.json rename to AsyncAPI/json_only/shared/getActivityHistoryPayloadTemplate.json diff --git a/payload_samples/json_only/shared/listCommentsPayloadTemplate.json b/AsyncAPI/json_only/shared/listCommentsPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/shared/listCommentsPayloadTemplate.json rename to AsyncAPI/json_only/shared/listCommentsPayloadTemplate.json diff --git a/payload_samples/json_only/shared/shared.MD b/AsyncAPI/json_only/shared/shared.MD similarity index 100% rename from payload_samples/json_only/shared/shared.MD rename to AsyncAPI/json_only/shared/shared.MD diff --git a/payload_samples/json_only/shared/toggleUserFollowsProcessPayloadTemplate.json b/AsyncAPI/json_only/shared/toggleUserFollowsProcessPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/shared/toggleUserFollowsProcessPayloadTemplate.json rename to AsyncAPI/json_only/shared/toggleUserFollowsProcessPayloadTemplate.json diff --git a/payload_samples/json_only/task/addTaskPayloadTemplate.json b/AsyncAPI/json_only/task/addTaskPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/task/addTaskPayloadTemplate.json rename to AsyncAPI/json_only/task/addTaskPayloadTemplate.json diff --git a/payload_samples/json_only/task/addTaskSubTaskPayloadTemplate.json b/AsyncAPI/json_only/task/addTaskSubTaskPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/task/addTaskSubTaskPayloadTemplate.json rename to AsyncAPI/json_only/task/addTaskSubTaskPayloadTemplate.json diff --git a/payload_samples/json_only/task/closeSubTaskPayloadTemplate.json b/AsyncAPI/json_only/task/closeSubTaskPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/task/closeSubTaskPayloadTemplate.json rename to AsyncAPI/json_only/task/closeSubTaskPayloadTemplate.json diff --git a/payload_samples/json_only/task/closeTaskPayloadTemplate.json b/AsyncAPI/json_only/task/closeTaskPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/task/closeTaskPayloadTemplate.json rename to AsyncAPI/json_only/task/closeTaskPayloadTemplate.json diff --git a/payload_samples/json_only/task/copyTaskPayloadTemplate.json b/AsyncAPI/json_only/task/copyTaskPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/task/copyTaskPayloadTemplate.json rename to AsyncAPI/json_only/task/copyTaskPayloadTemplate.json diff --git a/payload_samples/json_only/task/editSubTaskPayloadTemplate.json b/AsyncAPI/json_only/task/editSubTaskPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/task/editSubTaskPayloadTemplate.json rename to AsyncAPI/json_only/task/editSubTaskPayloadTemplate.json diff --git a/payload_samples/json_only/task/editTaskPayloadTemplate.json b/AsyncAPI/json_only/task/editTaskPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/task/editTaskPayloadTemplate.json rename to AsyncAPI/json_only/task/editTaskPayloadTemplate.json diff --git a/payload_samples/json_only/task/listSubTaskForTaskPayloadTemplate.json b/AsyncAPI/json_only/task/listSubTaskForTaskPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/task/listSubTaskForTaskPayloadTemplate.json rename to AsyncAPI/json_only/task/listSubTaskForTaskPayloadTemplate.json diff --git a/payload_samples/json_only/task/readTaskPayloadTemplate.json b/AsyncAPI/json_only/task/readTaskPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/task/readTaskPayloadTemplate.json rename to AsyncAPI/json_only/task/readTaskPayloadTemplate.json diff --git a/payload_samples/json_only/task/removeSubTaskFromTaskPayloadTemplate.json b/AsyncAPI/json_only/task/removeSubTaskFromTaskPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/task/removeSubTaskFromTaskPayloadTemplate.json rename to AsyncAPI/json_only/task/removeSubTaskFromTaskPayloadTemplate.json diff --git a/payload_samples/json_only/task/reopenSubTaskPayloadTemplate.json b/AsyncAPI/json_only/task/reopenSubTaskPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/task/reopenSubTaskPayloadTemplate.json rename to AsyncAPI/json_only/task/reopenSubTaskPayloadTemplate.json diff --git a/payload_samples/json_only/task/reopenTaskPayloadTemplate.json b/AsyncAPI/json_only/task/reopenTaskPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/task/reopenTaskPayloadTemplate.json rename to AsyncAPI/json_only/task/reopenTaskPayloadTemplate.json diff --git a/payload_samples/json_only/task/submitSubTaskToPartnerPayloadTemplate.json b/AsyncAPI/json_only/task/submitSubTaskToPartnerPayloadTemplate.json similarity index 100% rename from payload_samples/json_only/task/submitSubTaskToPartnerPayloadTemplate.json rename to AsyncAPI/json_only/task/submitSubTaskToPartnerPayloadTemplate.json diff --git a/payload_samples/json_only/task/task.MD b/AsyncAPI/json_only/task/task.MD similarity index 100% rename from payload_samples/json_only/task/task.MD rename to AsyncAPI/json_only/task/task.MD diff --git a/payload_samples/json_only/taskTemplate/addSubTaskToTemplatePayloadTemplate.json b/AsyncAPI/json_only/task_template/addSubTaskToTemplatePayloadTemplate.json similarity index 100% rename from payload_samples/json_only/taskTemplate/addSubTaskToTemplatePayloadTemplate.json rename to AsyncAPI/json_only/task_template/addSubTaskToTemplatePayloadTemplate.json diff --git a/payload_samples/json_only/taskTemplate/addTaskTemplatePayloadTemplate.json b/AsyncAPI/json_only/task_template/addTaskTemplatePayloadTemplate.json similarity index 100% rename from payload_samples/json_only/taskTemplate/addTaskTemplatePayloadTemplate.json rename to AsyncAPI/json_only/task_template/addTaskTemplatePayloadTemplate.json diff --git a/payload_samples/json_only/taskTemplate/copyTaskTemplatePayloadTemplate.json b/AsyncAPI/json_only/task_template/copyTaskTemplatePayloadTemplate.json similarity index 100% rename from payload_samples/json_only/taskTemplate/copyTaskTemplatePayloadTemplate.json rename to AsyncAPI/json_only/task_template/copyTaskTemplatePayloadTemplate.json diff --git a/payload_samples/json_only/taskTemplate/editSubTaskOnTemplatePayloadTemplate.json b/AsyncAPI/json_only/task_template/editSubTaskOnTemplatePayloadTemplate.json similarity index 100% rename from payload_samples/json_only/taskTemplate/editSubTaskOnTemplatePayloadTemplate.json rename to AsyncAPI/json_only/task_template/editSubTaskOnTemplatePayloadTemplate.json diff --git a/payload_samples/json_only/taskTemplate/editTaskTemplatePayloadTemplate.json b/AsyncAPI/json_only/task_template/editTaskTemplatePayloadTemplate.json similarity index 100% rename from payload_samples/json_only/taskTemplate/editTaskTemplatePayloadTemplate.json rename to AsyncAPI/json_only/task_template/editTaskTemplatePayloadTemplate.json diff --git a/payload_samples/json_only/taskTemplate/listSubTaskForTemplatePayloadTemplate.json b/AsyncAPI/json_only/task_template/listSubTaskForTemplatePayloadTemplate.json similarity index 100% rename from payload_samples/json_only/taskTemplate/listSubTaskForTemplatePayloadTemplate.json rename to AsyncAPI/json_only/task_template/listSubTaskForTemplatePayloadTemplate.json diff --git a/payload_samples/json_only/taskTemplate/removeSubTaskfromTemplatePayloadTemplate.json b/AsyncAPI/json_only/task_template/removeSubTaskfromTemplatePayloadTemplate.json similarity index 100% rename from payload_samples/json_only/taskTemplate/removeSubTaskfromTemplatePayloadTemplate.json rename to AsyncAPI/json_only/task_template/removeSubTaskfromTemplatePayloadTemplate.json diff --git a/payload_samples/json_only/taskTemplate/taskTemplate.MD b/AsyncAPI/json_only/task_template/taskTemplate.MD similarity index 100% rename from payload_samples/json_only/taskTemplate/taskTemplate.MD rename to AsyncAPI/json_only/task_template/taskTemplate.MD diff --git a/GraphQL/program_samples/change_request/addChange.py b/GraphQL/program_samples/python/change_request/addChange.py similarity index 100% rename from GraphQL/program_samples/change_request/addChange.py rename to GraphQL/program_samples/python/change_request/addChange.py diff --git a/GraphQL/program_samples/change_request/addChangeComment.py b/GraphQL/program_samples/python/change_request/addChangeComment.py similarity index 100% rename from GraphQL/program_samples/change_request/addChangeComment.py rename to GraphQL/program_samples/python/change_request/addChangeComment.py diff --git a/GraphQL/program_samples/change_request/edditChange.py b/GraphQL/program_samples/python/change_request/edditChange.py similarity index 100% rename from GraphQL/program_samples/change_request/edditChange.py rename to GraphQL/program_samples/python/change_request/edditChange.py diff --git a/GraphQL/program_samples/change_request/getChangeActivityHistory.py b/GraphQL/program_samples/python/change_request/getChangeActivityHistory.py similarity index 100% rename from GraphQL/program_samples/change_request/getChangeActivityHistory.py rename to GraphQL/program_samples/python/change_request/getChangeActivityHistory.py diff --git a/GraphQL/program_samples/change_request/listChangeComments.py b/GraphQL/program_samples/python/change_request/listChangeComments.py similarity index 100% rename from GraphQL/program_samples/change_request/listChangeComments.py rename to GraphQL/program_samples/python/change_request/listChangeComments.py diff --git a/GraphQL/program_samples/change_request/readChange.py b/GraphQL/program_samples/python/change_request/readChange.py similarity index 100% rename from GraphQL/program_samples/change_request/readChange.py rename to GraphQL/program_samples/python/change_request/readChange.py diff --git a/GraphQL/program_samples/compliance_exception/addCEIncident.py b/GraphQL/program_samples/python/compliance_exception/addCEIncident.py similarity index 100% rename from GraphQL/program_samples/compliance_exception/addCEIncident.py rename to GraphQL/program_samples/python/compliance_exception/addCEIncident.py diff --git a/GraphQL/program_samples/compliance_exception/addCEIncidentComment.py b/GraphQL/program_samples/python/compliance_exception/addCEIncidentComment.py similarity index 100% rename from GraphQL/program_samples/compliance_exception/addCEIncidentComment.py rename to GraphQL/program_samples/python/compliance_exception/addCEIncidentComment.py diff --git a/GraphQL/program_samples/compliance_exception/editCEIncident.py b/GraphQL/program_samples/python/compliance_exception/editCEIncident.py similarity index 100% rename from GraphQL/program_samples/compliance_exception/editCEIncident.py rename to GraphQL/program_samples/python/compliance_exception/editCEIncident.py diff --git a/GraphQL/program_samples/compliance_exception/getCEIncidentHistory.py b/GraphQL/program_samples/python/compliance_exception/getCEIncidentHistory.py similarity index 100% rename from GraphQL/program_samples/compliance_exception/getCEIncidentHistory.py rename to GraphQL/program_samples/python/compliance_exception/getCEIncidentHistory.py diff --git a/GraphQL/program_samples/compliance_exception/listCEIncidentComments.py b/GraphQL/program_samples/python/compliance_exception/listCEIncidentComments.py similarity index 100% rename from GraphQL/program_samples/compliance_exception/listCEIncidentComments.py rename to GraphQL/program_samples/python/compliance_exception/listCEIncidentComments.py diff --git a/GraphQL/program_samples/compliance_exception/readCEIncident.py b/GraphQL/program_samples/python/compliance_exception/readCEIncident.py similarity index 100% rename from GraphQL/program_samples/compliance_exception/readCEIncident.py rename to GraphQL/program_samples/python/compliance_exception/readCEIncident.py diff --git a/GraphQL/program_samples/direct_supplier/addDSIncident.py b/GraphQL/program_samples/python/direct_supplier/addDSIncident.py similarity index 100% rename from GraphQL/program_samples/direct_supplier/addDSIncident.py rename to GraphQL/program_samples/python/direct_supplier/addDSIncident.py diff --git a/GraphQL/program_samples/direct_supplier/addDSIncidentComment.py b/GraphQL/program_samples/python/direct_supplier/addDSIncidentComment.py similarity index 100% rename from GraphQL/program_samples/direct_supplier/addDSIncidentComment.py rename to GraphQL/program_samples/python/direct_supplier/addDSIncidentComment.py diff --git a/GraphQL/program_samples/direct_supplier/editDSIncident.py b/GraphQL/program_samples/python/direct_supplier/editDSIncident.py similarity index 100% rename from GraphQL/program_samples/direct_supplier/editDSIncident.py rename to GraphQL/program_samples/python/direct_supplier/editDSIncident.py diff --git a/GraphQL/program_samples/direct_supplier/getActivityHistoryForDSIncidents.py b/GraphQL/program_samples/python/direct_supplier/getActivityHistoryForDSIncidents.py similarity index 100% rename from GraphQL/program_samples/direct_supplier/getActivityHistoryForDSIncidents.py rename to GraphQL/program_samples/python/direct_supplier/getActivityHistoryForDSIncidents.py diff --git a/GraphQL/program_samples/direct_supplier/listDSIncidentComments.py b/GraphQL/program_samples/python/direct_supplier/listDSIncidentComments.py similarity index 100% rename from GraphQL/program_samples/direct_supplier/listDSIncidentComments.py rename to GraphQL/program_samples/python/direct_supplier/listDSIncidentComments.py diff --git a/GraphQL/program_samples/direct_supplier/readDSIncident.py b/GraphQL/program_samples/python/direct_supplier/readDSIncident.py similarity index 100% rename from GraphQL/program_samples/direct_supplier/readDSIncident.py rename to GraphQL/program_samples/python/direct_supplier/readDSIncident.py diff --git a/GraphQL/program_samples/document_review/addDocReview.py b/GraphQL/program_samples/python/document_review/addDocReview.py similarity index 100% rename from GraphQL/program_samples/document_review/addDocReview.py rename to GraphQL/program_samples/python/document_review/addDocReview.py diff --git a/GraphQL/program_samples/document_review/addDocReviewComment.py b/GraphQL/program_samples/python/document_review/addDocReviewComment.py similarity index 100% rename from GraphQL/program_samples/document_review/addDocReviewComment.py rename to GraphQL/program_samples/python/document_review/addDocReviewComment.py diff --git a/GraphQL/program_samples/document_review/editDocReview.py b/GraphQL/program_samples/python/document_review/editDocReview.py similarity index 100% rename from GraphQL/program_samples/document_review/editDocReview.py rename to GraphQL/program_samples/python/document_review/editDocReview.py diff --git a/GraphQL/program_samples/document_review/getDocRevActivity.py b/GraphQL/program_samples/python/document_review/getDocRevActivity.py similarity index 100% rename from GraphQL/program_samples/document_review/getDocRevActivity.py rename to GraphQL/program_samples/python/document_review/getDocRevActivity.py diff --git a/GraphQL/program_samples/document_review/listDocRevComments.py b/GraphQL/program_samples/python/document_review/listDocRevComments.py similarity index 100% rename from GraphQL/program_samples/document_review/listDocRevComments.py rename to GraphQL/program_samples/python/document_review/listDocRevComments.py diff --git a/GraphQL/program_samples/document_review/readDocReview.py b/GraphQL/program_samples/python/document_review/readDocReview.py similarity index 100% rename from GraphQL/program_samples/document_review/readDocReview.py rename to GraphQL/program_samples/python/document_review/readDocReview.py diff --git a/GraphQL/program_samples/external_manufacturing/addEMIncident.py b/GraphQL/program_samples/python/external_manufacturing/addEMIncident.py similarity index 100% rename from GraphQL/program_samples/external_manufacturing/addEMIncident.py rename to GraphQL/program_samples/python/external_manufacturing/addEMIncident.py diff --git a/GraphQL/program_samples/external_manufacturing/addEMIncidentComment.py b/GraphQL/program_samples/python/external_manufacturing/addEMIncidentComment.py similarity index 100% rename from GraphQL/program_samples/external_manufacturing/addEMIncidentComment.py rename to GraphQL/program_samples/python/external_manufacturing/addEMIncidentComment.py diff --git a/GraphQL/program_samples/external_manufacturing/editEMIncident.py b/GraphQL/program_samples/python/external_manufacturing/editEMIncident.py similarity index 100% rename from GraphQL/program_samples/external_manufacturing/editEMIncident.py rename to GraphQL/program_samples/python/external_manufacturing/editEMIncident.py diff --git a/GraphQL/program_samples/external_manufacturing/getEMIncidentHistory.py b/GraphQL/program_samples/python/external_manufacturing/getEMIncidentHistory.py similarity index 100% rename from GraphQL/program_samples/external_manufacturing/getEMIncidentHistory.py rename to GraphQL/program_samples/python/external_manufacturing/getEMIncidentHistory.py diff --git a/GraphQL/program_samples/external_manufacturing/listEMIncidentComments.py b/GraphQL/program_samples/python/external_manufacturing/listEMIncidentComments.py similarity index 100% rename from GraphQL/program_samples/external_manufacturing/listEMIncidentComments.py rename to GraphQL/program_samples/python/external_manufacturing/listEMIncidentComments.py diff --git a/GraphQL/program_samples/external_manufacturing/readEMIncident.py b/GraphQL/program_samples/python/external_manufacturing/readEMIncident.py similarity index 100% rename from GraphQL/program_samples/external_manufacturing/readEMIncident.py rename to GraphQL/program_samples/python/external_manufacturing/readEMIncident.py diff --git a/GraphQL/program_samples/incident/addIncident.py b/GraphQL/program_samples/python/incident/addIncident.py similarity index 100% rename from GraphQL/program_samples/incident/addIncident.py rename to GraphQL/program_samples/python/incident/addIncident.py diff --git a/GraphQL/program_samples/incident/addIncidentComment.py b/GraphQL/program_samples/python/incident/addIncidentComment.py similarity index 100% rename from GraphQL/program_samples/incident/addIncidentComment.py rename to GraphQL/program_samples/python/incident/addIncidentComment.py diff --git a/GraphQL/program_samples/incident/editIncident.py b/GraphQL/program_samples/python/incident/editIncident.py similarity index 100% rename from GraphQL/program_samples/incident/editIncident.py rename to GraphQL/program_samples/python/incident/editIncident.py diff --git a/GraphQL/program_samples/incident/getActivityHistoryForIncident.py b/GraphQL/program_samples/python/incident/getActivityHistoryForIncident.py similarity index 100% rename from GraphQL/program_samples/incident/getActivityHistoryForIncident.py rename to GraphQL/program_samples/python/incident/getActivityHistoryForIncident.py diff --git a/GraphQL/program_samples/incident/listIncidentComments.py b/GraphQL/program_samples/python/incident/listIncidentComments.py similarity index 100% rename from GraphQL/program_samples/incident/listIncidentComments.py rename to GraphQL/program_samples/python/incident/listIncidentComments.py diff --git a/GraphQL/program_samples/incident/readIncident.py b/GraphQL/program_samples/python/incident/readIncident.py similarity index 100% rename from GraphQL/program_samples/incident/readIncident.py rename to GraphQL/program_samples/python/incident/readIncident.py diff --git a/GraphQL/program_samples/master_data/getCompanyMasterData.py b/GraphQL/program_samples/python/master_data/getCompanyMasterData.py similarity index 100% rename from GraphQL/program_samples/master_data/getCompanyMasterData.py rename to GraphQL/program_samples/python/master_data/getCompanyMasterData.py diff --git a/GraphQL/program_samples/master_data/getPartnerMasterData.py b/GraphQL/program_samples/python/master_data/getPartnerMasterData.py similarity index 100% rename from GraphQL/program_samples/master_data/getPartnerMasterData.py rename to GraphQL/program_samples/python/master_data/getPartnerMasterData.py diff --git a/GraphQL/program_samples/master_data/getProductMasterData.py b/GraphQL/program_samples/python/master_data/getProductMasterData.py similarity index 100% rename from GraphQL/program_samples/master_data/getProductMasterData.py rename to GraphQL/program_samples/python/master_data/getProductMasterData.py diff --git a/GraphQL/program_samples/task/addCommentForTask.py b/GraphQL/program_samples/python/task/addCommentForTask.py similarity index 100% rename from GraphQL/program_samples/task/addCommentForTask.py rename to GraphQL/program_samples/python/task/addCommentForTask.py diff --git a/GraphQL/program_samples/task/addSubTaskToTask.py b/GraphQL/program_samples/python/task/addSubTaskToTask.py similarity index 100% rename from GraphQL/program_samples/task/addSubTaskToTask.py rename to GraphQL/program_samples/python/task/addSubTaskToTask.py diff --git a/GraphQL/program_samples/task/addTask.py b/GraphQL/program_samples/python/task/addTask.py similarity index 100% rename from GraphQL/program_samples/task/addTask.py rename to GraphQL/program_samples/python/task/addTask.py diff --git a/GraphQL/program_samples/task/closeSubTask.py b/GraphQL/program_samples/python/task/closeSubTask.py similarity index 100% rename from GraphQL/program_samples/task/closeSubTask.py rename to GraphQL/program_samples/python/task/closeSubTask.py diff --git a/GraphQL/program_samples/task/closeTask.py b/GraphQL/program_samples/python/task/closeTask.py similarity index 100% rename from GraphQL/program_samples/task/closeTask.py rename to GraphQL/program_samples/python/task/closeTask.py diff --git a/GraphQL/program_samples/task/copyTask.py b/GraphQL/program_samples/python/task/copyTask.py similarity index 100% rename from GraphQL/program_samples/task/copyTask.py rename to GraphQL/program_samples/python/task/copyTask.py diff --git a/GraphQL/program_samples/task/editCommentForTask.py b/GraphQL/program_samples/python/task/editCommentForTask.py similarity index 100% rename from GraphQL/program_samples/task/editCommentForTask.py rename to GraphQL/program_samples/python/task/editCommentForTask.py diff --git a/GraphQL/program_samples/task/editSubTaskOnTask.py b/GraphQL/program_samples/python/task/editSubTaskOnTask.py similarity index 100% rename from GraphQL/program_samples/task/editSubTaskOnTask.py rename to GraphQL/program_samples/python/task/editSubTaskOnTask.py diff --git a/GraphQL/program_samples/task/editTask.py b/GraphQL/program_samples/python/task/editTask.py similarity index 100% rename from GraphQL/program_samples/task/editTask.py rename to GraphQL/program_samples/python/task/editTask.py diff --git a/GraphQL/program_samples/task/getActivityHistoryForTask.py b/GraphQL/program_samples/python/task/getActivityHistoryForTask.py similarity index 100% rename from GraphQL/program_samples/task/getActivityHistoryForTask.py rename to GraphQL/program_samples/python/task/getActivityHistoryForTask.py diff --git a/GraphQL/program_samples/task/listCommentForTask.py b/GraphQL/program_samples/python/task/listCommentForTask.py similarity index 100% rename from GraphQL/program_samples/task/listCommentForTask.py rename to GraphQL/program_samples/python/task/listCommentForTask.py diff --git a/GraphQL/program_samples/task/listSubtaskForTask.py b/GraphQL/program_samples/python/task/listSubtaskForTask.py similarity index 100% rename from GraphQL/program_samples/task/listSubtaskForTask.py rename to GraphQL/program_samples/python/task/listSubtaskForTask.py diff --git a/GraphQL/program_samples/task/readTaskDetails.py b/GraphQL/program_samples/python/task/readTaskDetails.py similarity index 100% rename from GraphQL/program_samples/task/readTaskDetails.py rename to GraphQL/program_samples/python/task/readTaskDetails.py diff --git a/GraphQL/program_samples/task/removeSubtask.py b/GraphQL/program_samples/python/task/removeSubtask.py similarity index 100% rename from GraphQL/program_samples/task/removeSubtask.py rename to GraphQL/program_samples/python/task/removeSubtask.py diff --git a/GraphQL/program_samples/task/reopenSubtask.py b/GraphQL/program_samples/python/task/reopenSubtask.py similarity index 100% rename from GraphQL/program_samples/task/reopenSubtask.py rename to GraphQL/program_samples/python/task/reopenSubtask.py diff --git a/GraphQL/program_samples/task/reopenTask.py b/GraphQL/program_samples/python/task/reopenTask.py similarity index 100% rename from GraphQL/program_samples/task/reopenTask.py rename to GraphQL/program_samples/python/task/reopenTask.py diff --git a/GraphQL/program_samples/task_template/addSubTaskTemplate.py b/GraphQL/program_samples/python/task_template/addSubTaskTemplate.py similarity index 100% rename from GraphQL/program_samples/task_template/addSubTaskTemplate.py rename to GraphQL/program_samples/python/task_template/addSubTaskTemplate.py diff --git a/GraphQL/program_samples/task_template/addTaskTemplate.py b/GraphQL/program_samples/python/task_template/addTaskTemplate.py similarity index 100% rename from GraphQL/program_samples/task_template/addTaskTemplate.py rename to GraphQL/program_samples/python/task_template/addTaskTemplate.py diff --git a/GraphQL/program_samples/task_template/editSubTaskonTemplate.py b/GraphQL/program_samples/python/task_template/editSubTaskonTemplate.py similarity index 100% rename from GraphQL/program_samples/task_template/editSubTaskonTemplate.py rename to GraphQL/program_samples/python/task_template/editSubTaskonTemplate.py diff --git a/GraphQL/program_samples/task_template/editTaskTemplate.py b/GraphQL/program_samples/python/task_template/editTaskTemplate.py similarity index 100% rename from GraphQL/program_samples/task_template/editTaskTemplate.py rename to GraphQL/program_samples/python/task_template/editTaskTemplate.py diff --git a/GraphQL/program_samples/task_template/listSubtaskForTemplate.py b/GraphQL/program_samples/python/task_template/listSubtaskForTemplate.py similarity index 100% rename from GraphQL/program_samples/task_template/listSubtaskForTemplate.py rename to GraphQL/program_samples/python/task_template/listSubtaskForTemplate.py diff --git a/GraphQL/program_samples/task_template/readTemplateDetails.py b/GraphQL/program_samples/python/task_template/readTemplateDetails.py similarity index 100% rename from GraphQL/program_samples/task_template/readTemplateDetails.py rename to GraphQL/program_samples/python/task_template/readTemplateDetails.py diff --git a/GraphQL/program_samples/task_template/removeSubTaskFromTemplate.py b/GraphQL/program_samples/python/task_template/removeSubTaskFromTemplate.py similarity index 100% rename from GraphQL/program_samples/task_template/removeSubTaskFromTemplate.py rename to GraphQL/program_samples/python/task_template/removeSubTaskFromTemplate.py diff --git a/insomnia/TL_Insomnia_Collection.json b/collections/insomnia/TL_Insomnia_Collection.json similarity index 100% rename from insomnia/TL_Insomnia_Collection.json rename to collections/insomnia/TL_Insomnia_Collection.json diff --git a/insomnia/TL_Insomnia_Environment.json b/collections/insomnia/TL_Insomnia_Environment.json similarity index 100% rename from insomnia/TL_Insomnia_Environment.json rename to collections/insomnia/TL_Insomnia_Environment.json diff --git a/postman/TL_Postman Collection.json b/collections/postman/TL_Postman Collection.json similarity index 100% rename from postman/TL_Postman Collection.json rename to collections/postman/TL_Postman Collection.json diff --git a/postman/TL_Postman_Environment.json b/collections/postman/TL_Postman_Environment.json similarity index 100% rename from postman/TL_Postman_Environment.json rename to collections/postman/TL_Postman_Environment.json diff --git a/payload_samples/json_only/indirectSupplierIncident/addIndSupIncMinFieldsPayloadTemplate.json b/payload_samples/json_only/indirectSupplierIncident/addIndSupIncMinFieldsPayloadTemplate.json deleted file mode 100644 index 38dd0be..0000000 --- a/payload_samples/json_only/indirectSupplierIncident/addIndSupIncMinFieldsPayloadTemplate.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "header": { - "headerVersion": 1, - "eventName": "agile-process-teams:add-indirect-supplier-incident:v3", - "ownerId": "YOUR_OWNER_ID", - "processNetworkId": "YOUR_PROCESS_NETWORK_ID", - "appName": "agile-process-teams", - "dataspace": "default" - }, - "payload": { - "aptBusinessObjectSummary": "Raw materials shortage at Location XYZ", - "indirectSupplierImpact": { - "businessPriority": "HIGH" - } - } -} diff --git a/payload_samples/json_only/indirectSupplierIncident/addIndSupIncPayloadTemplate.json b/payload_samples/json_only/indirectSupplierIncident/addIndSupIncPayloadTemplate.json deleted file mode 100644 index a3dac99..0000000 --- a/payload_samples/json_only/indirectSupplierIncident/addIndSupIncPayloadTemplate.json +++ /dev/null @@ -1,148 +0,0 @@ -{ - "header": { - "headerVersion": 1, - "eventName": "agile-process-teams:add-indirect-supplier-incident:v3", - "ownerId": "YOUR_OWNER_ID", - "processNetworkId": "YOUR_PROCESS_NETWORK_ID", - "appName": "agile-process-teams", - "dataspace": "default" - }, - "payload": { - "partnerCompany": { - "partnerId": "PARTNER_COMPANY_ID", - "toIdType": "companyMasterData" - }, - "partnerLocationId": "LOCATION_ID", - "indirectPartnerLocationId": "LOCATION_ID", - "aptBusinessObjectSummary": "Missing Shipment", - "aptBusinessObjectDescription": "Shipment XYZ missing at Location ABC", - "deviationType": "PLANNED", - "responsiblePartyAtCompany": "COMPANY_USER_ID", - "responsibleDepartmentAtCompany": "CUSTOMER_SERVICE", - "responsiblePartyAtPartner": "PARTNER_USER_ID", - "responsibleDepartmentAtPartner": "SUPPLY_CHAIN", - "currentlyAssignedCompanyUsers": [ - "COMPANY_USER_ID" - ], - "currentlyAssignedPartnerUsers": [ - "PARTNER_USER_ID", - "PARTNER_USER_ID" - ], - "serviceType": "FINISHED_GOODS", - "serviceSubtype": "DAMAGED_PRODUCT", - "serviceProblem": "COST_ESCALATION", - "isEscalated": false, - "originatingLocation": { - "originatingLocationId": "LOCATION_ID", - "toIdType": "partnerLocationMasterData" - }, - "resolutionDueDate": 1651133945000, - "createdByPartner": false, - "isSubmittedToPartner": true, - "referenceIdentifiers": { - "referenceTransactionType": "BILL_OF_LADING", - "value": "GTIN-1161187176294956" - }, - "indirectSupplierResponse": { - "initialResponseDueDate": 1641133945000, - "initialResponseInformation": "Initial Response Information", - "finalResponseDueDate": 1641133945000, - "finalResponseInformation": "Final Response Information", - "dateSamplesSentToCompany": 1641133945000, - "dateSamplesReceivedByCompany": 1641133945000, - "dateSamplesSentToPartner": 1641133945000, - "dateSamplesReceivedByPartner": 1641133945000, - "inventoryImpact": "Inventory Impact", - "inventoryAnalysisMethod": "Inventory Analysis Method", - "initialContainmentActions": "Final Containment Actions", - "recommendationFromOriginatingCompany": "Recommendation From Originating Company", - "immediateCorrectiveActions": "Immediate Corrective Actions", - "potentialRootCauses": [ - "DOCUMENTATION" - ], - "potentialRootCauseNotes": "Potential Root Cause Notes", - "finalPreventativeActions": "Final Preventative Actions", - "methodsToProvePreventativeActionsTaken": "Methods To Prove Preventative Actions Taken", - "replacementServices": [ - { - "availabilityDateForReplacements": 1641133945000, - "transactionIDsForReplacements": { - "referenceTransactionType": "INVOICE_NUMBER", - "value": "100" - } - } - ] - }, - "indirectSupplierImpact": { - "businessImpact": "Business Impact", - "businessPriority": "HIGH", - "impactedDepartments": [ - "CUSTOMER_SERVICE" - ], - "impactedServices": [ - "COMMERCIAL", - "GROUND_TRANSPORTATION" - ], - "highPriorityReasons": [ - "Reason1" - ], - "financialImpact": 1000000.00, - "dateSupplyImpacted": 1641133945000, - "originatingLocationInvestigationDueDate": 1641133945000, - "dateResourcesDeployed": 1641133945000, - "dateEscalationReportRequested": 1641133945000 - }, - "impactedLocations": { - "locationId": "LOCATION_ID", - "toIdType": "companyLocationMasterData", - "locationType": "INTERNAL", - "locationContact": "edavis" - }, - "potentiallyImpactedLocations": [ - { - "locationId": "LOCATION_ID", - "toIdType": "companyLocationMasterData", - "locationType": "INTERNAL", - "locationContact": "edavis" - } - ], - "aptEscalationReportBox": { - "addAttachment": [ - { - "fileSize": "5mb", - "fileName": "aptEscalationReportBox1", - "requestIdentifier": "REQUEST_IDENTIFIER_ID", - "visibilityType": "Public" - }, - { - "fileSize": "5mb", - "fileName": "aptEscalationReportBox2", - "requestIdentifier": "REQUEST_IDENTIFIER_ID", - "visibilityType": "Public" - } - ] - }, - "relatedProcesses": [ - { - "processId": "PROCESS_ID", - "processType": "incident" - } - ], - "aptCommentBox": [ - { - "aptComment": { - "commentText": "add DSI.", - "visibilityType": "Public" - }, - "addAttachment": [ - { - "fileSize": "5mb", - "fileName": "File1", - "requestIdentifier": "REQUEST_IDENTIFIER_ID", - "visibilityType": "Public" - } - ] - } - ] - } -} diff --git a/payload_samples/json_only/indirectSupplierIncident/closeIndSupIncPayloadTemplate.json b/payload_samples/json_only/indirectSupplierIncident/closeIndSupIncPayloadTemplate.json deleted file mode 100644 index 813589b..0000000 --- a/payload_samples/json_only/indirectSupplierIncident/closeIndSupIncPayloadTemplate.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "header": { - "headerVersion": 1, - "eventName": "agile-process-teams:close-indirect-supplier-incident:v2", - "ownerId": "YOUR_OWNER_ID", - "processNetworkId": "YOUR_PROCESS_NETWORK_ID", - "appName": "agile-process-teams", - "dataspace": "default" - }, - "payload": { - "id": "ITEM_ID", - "resolutionType": "RESOLVED", - "isReoccuring": true, - "impactedLocation": "LOCATION_ID", - "aptCommentBox": [ - { - "aptComment": { - "commentText": "Specs updated to correct version (v12.0). Were able to repackage with little loss", - "visibilityType": "Public" - } - } - ] - } -} diff --git a/payload_samples/json_only/indirectSupplierIncident/copyIndSupIncPayloadTemplate.json b/payload_samples/json_only/indirectSupplierIncident/copyIndSupIncPayloadTemplate.json deleted file mode 100644 index d1bdd71..0000000 --- a/payload_samples/json_only/indirectSupplierIncident/copyIndSupIncPayloadTemplate.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "header": { - "headerVersion": 1, - "eventName": "agile-process-teams:copy-indirect-supplier-incident:v2", - "ownerId": "YOUR_OWNER_ID", - "processNetworkId": "YOUR_PROCESS_NETWORK_ID", - "appName": "agile-process-teams", - "dataspace": "default" - }, - "payload": { - "id": "ITEM_ID", - "aptBusinessObjectSummary": "Packaging - quality issues", - "copyGeneralInfo": true, - "copyPartnerInfo": true, - "copyImpactInfo": false, - "copyReferenceIds": false, - "copyRelatedProceses": false - } -} diff --git a/payload_samples/json_only/indirectSupplierIncident/editIndSupBaseStatePayloadTemplate.json b/payload_samples/json_only/indirectSupplierIncident/editIndSupBaseStatePayloadTemplate.json deleted file mode 100644 index bbf9693..0000000 --- a/payload_samples/json_only/indirectSupplierIncident/editIndSupBaseStatePayloadTemplate.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "header": { - "headerVersion": 1, - "eventName": "agile-process-teams:edit-indirect-supplier-incident:v3", - "ownerId": "YOUR_OWNER_ID", - "processNetworkId": "YOUR_PROCESS_NETWORK_ID", - "appName": "agile-process-teams", - "dataspace": "default" - }, - "payload": { - "id": "ITEM_ID", - "newBaseState": "UnderInvestigation" - } -} diff --git a/payload_samples/json_only/indirectSupplierIncident/editIndSupIncFinalRespPayloadTemplate.json b/payload_samples/json_only/indirectSupplierIncident/editIndSupIncFinalRespPayloadTemplate.json deleted file mode 100644 index 632bb92..0000000 --- a/payload_samples/json_only/indirectSupplierIncident/editIndSupIncFinalRespPayloadTemplate.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "header": { - "headerVersion": 1, - "eventName": "agile-process-teams:edit-indirect-supplier-incident:v3", - "ownerId": "YOUR_OWNER_ID", - "processNetworkId": "YOUR_PROCESS_NETWORK_ID", - "appName": "agile-process-teams", - "dataspace": "default" - }, - "payload": { - "id": "ITEM_ID", - "indirectSupplierResponse": { - "finalResponseInformation": "Final response comment from supplier." - }, - "submitFinalResponse": true - } -} diff --git a/payload_samples/json_only/indirectSupplierIncident/editIndSupIncInitRespPayloadTemplate.json b/payload_samples/json_only/indirectSupplierIncident/editIndSupIncInitRespPayloadTemplate.json deleted file mode 100644 index 2bf1270..0000000 --- a/payload_samples/json_only/indirectSupplierIncident/editIndSupIncInitRespPayloadTemplate.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "header": { - "headerVersion": 1, - "eventName": "agile-process-teams:edit-indirect-supplier-incident:v3", - "ownerId": "YOUR_OWNER_ID", - "processNetworkId": "YOUR_PROCESS_NETWORK_ID", - "appName": "agile-process-teams", - "dataspace": "default" - }, - "payload": { - "id": "ITEM_ID", - "indirectSupplierResponse": { - "initialResponseInformation": "Initial response from supplier." - }, - "submitInitialResponse": true - } -} diff --git a/payload_samples/json_only/indirectSupplierIncident/editIndSupIncPartnerPayloadTemplate.json b/payload_samples/json_only/indirectSupplierIncident/editIndSupIncPartnerPayloadTemplate.json deleted file mode 100644 index 16f3e8e..0000000 --- a/payload_samples/json_only/indirectSupplierIncident/editIndSupIncPartnerPayloadTemplate.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "header": { - "headerVersion": 1, - "eventName": "agile-process-teams:edit-indirect-supplier-incident:v3", - "ownerId": "YOUR_OWNER_ID", - "processNetworkId": "YOUR_PROCESS_NETWORK_ID", - "appName": "agile-process-teams", - "dataspace": "default" - }, - "payload": { - "id": "ITEM_ID", - "partnerCompany": { - "partnerId": "PARTNER_COMPANY_ID", - "toIdType": "companyMasterData" - }, - "partnerLocationId": "LOCATION_ID", - "indirectPartnerLocationId": "LOCATION_ID", - "responsiblePartyAtPartner": "PARTNER_USER_ID", - "currentlyAssignedPartnerUsers": [ - "PARTNER_USER_ID" - ], - "indirectSupplierImpact": { - "businessImpact": "Business Impact", - "businessPriority": "HIGH", - "impactedDepartments": [ - "CUSTOMER_SERVICE" - ], - "highPriorityReasons": [ - "Reason1" - ], - "financialImpact": 164113394500, - "dateSupplyImpacted": 1641133945000, - "originatingLocationInvestigationDueDate": 1641133945000, - "dateResourcesDeployed": 1641133945000, - "dateEscalationReportRequested": 1641133945000 - }, - "impactedLocations": { - "locationId": "LOCATION_ID", - "toIdType": "companyLocationMasterData", - "locationType": "INTERNAL", - "locationContact": "edavis" - }, - "potentiallyImpactedLocations": [ - { - "locationId": "LOCATION_ID", - "toIdType": "companyLocationMasterData", - "locationType": "INTERNAL", - "locationContact": "edavis" - } - ], - "referenceIdentifiers": [ - { - "referenceTransactionType": "BILL OF LADING", - "value": "FZ-1896155146" - } - ], - "aptCommentBox": { - "aptComment": { - "commentText": "Re-assigning to Jen", - "visibilityType": "Internal" - } - } - } -} diff --git a/payload_samples/json_only/indirectSupplierIncident/readIndSupIncPayloadTemplate.json b/payload_samples/json_only/indirectSupplierIncident/readIndSupIncPayloadTemplate.json deleted file mode 100644 index 6a449db..0000000 --- a/payload_samples/json_only/indirectSupplierIncident/readIndSupIncPayloadTemplate.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "header": { - "headerVersion": 1, - "eventName": "agile-process-teams:read-indirectSupplierIncident:v4", - "ownerId": "YOUR_OWNER_ID", - "processNetworkId": "YOUR_PROCESS_NETWORK_ID", - "appName": "agile-process-teams", - "dataspace": "default" - }, - "payload": {"id": "INCIDENT_ID"} diff --git a/payload_samples/json_only/indirectSupplierIncident/reopenIndSupIncPayloadTemplate.json b/payload_samples/json_only/indirectSupplierIncident/reopenIndSupIncPayloadTemplate.json deleted file mode 100644 index cd76ebd..0000000 --- a/payload_samples/json_only/indirectSupplierIncident/reopenIndSupIncPayloadTemplate.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "header": { - "headerVersion": 1, - "eventName": "agile-process-teams:reopen-indirect-supplier-incident:v1", - "ownerId": "YOUR_OWNER_ID", - "processNetworkId": "YOUR_PROCESS_NETWORK_ID", - "appName": "agile-process-teams", - "dataspace": "default" - }, - "payload": { - "id":"ITEM_ID", - "aptCommentBox": { - "aptComment": { - "commentText": "Reopening incident. Closed in error; issue not fully resolved.", - "visibilityType": "Public" - }, - "addAttachment": [ - { - "fileName": "Smith_email_download(1).pdf", - "fileSize": "5mb", - "visibilityType": "InternalOnly", - "requestIdentifier": "ITEM_ID" - } - ] - } - } -} diff --git a/payload_samples/json_only/indirectSupplierIncident/submitIndSupIncPartnerPayloadTemplate.json b/payload_samples/json_only/indirectSupplierIncident/submitIndSupIncPartnerPayloadTemplate.json deleted file mode 100644 index 677befc..0000000 --- a/payload_samples/json_only/indirectSupplierIncident/submitIndSupIncPartnerPayloadTemplate.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "header": { - "headerVersion": 1, - "eventName": "agile-process-teams:submit-indirect-supplier-incident-to-partner:v1", - "ownerId": "YOUR_OWNER_ID", - "processNetworkId": "YOUR_PROCESS_NETWORK_ID", - "appName": "agile-process-teams", - "dataspace": "default" - }, - "payload": { - "id": "ITEM_ID" - } -} diff --git a/payload_samples/json_only/internalManfucaturingIncident/addIntMfgIncFullPayloadTemplate.json b/payload_samples/json_only/internalManfucaturingIncident/addIntMfgIncFullPayloadTemplate.json deleted file mode 100644 index a1a51f9..0000000 --- a/payload_samples/json_only/internalManfucaturingIncident/addIntMfgIncFullPayloadTemplate.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "header": { - "headerVersion": 1, - "eventName": "agile-process-teams:add-internal-manufacturing-incident:v3", - "ownerId": "YOUR_OWNER_ID", - "processNetworkId": "YOUR_PROCESS_NETWORK_ID", - "appName": "agile-process-teams", - "dataspace": "default" - }, - "payload": { - "aptBusinessObjectSummary": "Missing Shipment", - "aptBusinessObjectDescription": "Shipment XYZ missing at Location ABC", - "deviationType": "PLANNED", - "responsiblePartyAtCompany": "COMPANY_USER_ID", - "responsibleDepartmentAtCompany": "CUSTOMER_SERVICE", - "currentlyAssignedCompanyUsers": [ - "COMPANY_USER_ID" - ], - "materialType": "FINISHED_GOOD", - "materialSubtype": "CHEMICAL_API", - "materialProblem": "MATERIAL_SHORTAGE", - "originatingLocation": { - "originatingLocationId": "LOCATION_ID", - "toIdType": "companyLocationMasterData" - }, - "resolutionDueDate": 1651133945000, - "referenceIdentifiers": { - "referenceTransactionType": "BILL_OF_LADING", - "value": "GTIN-1161187176294956" - }, - "internalManufacturingMaterialInformation": { - "materialName": "Material Name", - "materialDescription": "Material Description", - "companyLotNumber": "cln161187176294679", - "defectiveQuantity": 1, - "defectiveUnitOfMeasure": "CENTILITER", - "defectiveItemInformation": "Defective Item Information", - "samplesAvailable": false - }, - "internalManufacturingResponse": { - "initialResponseDueDate": 1641133945000, - "initialResponseInformation": "Initial Response Information", - "finalResponseDueDate": 1641133945000, - "finalResponseInformation": "Final Response Information", - "inventoryImpact": "Inventory Impact", - "initialContainmentActions": "Final Containment Actions", - "immediateCorrectiveActions": "Immediate Corrective Actions", - "potentialRootCauses": [ - "INCORRECT ACTIONS TAKEN DURING PROCESSING" - ], - "potentialRootCauseNotes": "Potential Root Cause Notes", - "finalPreventativeActions": "Final Preventative Actions", - "replacementMaterials": [ - { - "availabilityDateForReplacements": 1641133945000, - "transactionIDsForReplacements": { - "referenceTransactionType": "INVOICE_NUMBER", - "value": "100" - } - } - ] - }, - "internalManufacturingImpact": { - "businessImpact": "Business Impact", - "businessPriority": "HIGH", - "highPriorityReasons": [ - "Reason1" - ], - "financialImpact": 164113394500, - "originatingLocationInvestigationDueDate": 1641133945000, - "dateResourcesDeployed": 1641133945000, - "dateEscalationReportRequested": 1641133945000 - }, - "impactedProducts": [ - "PRODUCT_ID" - ], - "impactedLocations": { - "locationId": "LOCATION_ID", - "toIdType": "companyLocationMasterData", - "locationType": "INTERNAL", - "locationContact": "edavis" - }, - "relatedProcesses": [ - { - "processId": "PROCESS_ID", - "processType": "incident" - } - ], - "aptCommentBox": [ - { - "aptComment": { - "commentText": "add DSI.", - "visibilityType": "Public" - }, - "addAttachment": [ - { - "fileSize": "5mb", - "fileName": "File1", - "requestIdentifier": "REQUEST_IDENTIFIER_ID", - "visibilityType": "Public" - } - ] - } - ] - } -} diff --git a/payload_samples/json_only/internalManfucaturingIncident/addIntMfgIncMinFieldsPayloadTemplate.json b/payload_samples/json_only/internalManfucaturingIncident/addIntMfgIncMinFieldsPayloadTemplate.json deleted file mode 100644 index 42e5b7e..0000000 --- a/payload_samples/json_only/internalManfucaturingIncident/addIntMfgIncMinFieldsPayloadTemplate.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "header": { - "headerVersion": 1, - "eventName": "agile-process-teams:add-internal-manufacturing-incident:v3", - "ownerId": "YOUR_OWNER_ID", - "processNetworkId": "YOUR_PROCESS_NETWORK_ID", - "appName": "agile-process-teams", - "dataspace": "default" - }, - "payload": { - "aptBusinessObjectSummary": "Raw materials shortage at Location XYZ", - "internalManufacturingImpact": { - "businessPriority": "HIGH" - } - } -} diff --git a/payload_samples/json_only/internalManfucaturingIncident/closeIntMfgIncPayloadTemplate.json b/payload_samples/json_only/internalManfucaturingIncident/closeIntMfgIncPayloadTemplate.json deleted file mode 100644 index 5c2cb2d..0000000 --- a/payload_samples/json_only/internalManfucaturingIncident/closeIntMfgIncPayloadTemplate.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "header": { - "headerVersion": 1, - "eventName": "agile-process-teams:close-internal-manufacturing-incident:v2", - "ownerId": "YOUR_OWNER_ID", - "processNetworkId": "YOUR_PROCESS_NETWORK_ID", - "appName": "agile-process-teams", - "dataspace": "default" - }, - "payload": { - "id": "ITEM_ID", - "resolutionType": "RESOLVED", - "isReoccuring": false, - "commentAndAttachments": [ - { - "aptComment": { - "commentText": "Investigation complete. Refer to root cause notes for additional information.", - "visibilityType": "Public" - }, - "addAttachment": [ - { - "fileName": "damaged_container.png", - "fileSize": "3mb", - "visibilityType": "Public", - "requestIdentifier": "REQUEST_IDENTIFIER_ID" - } - ] - } - ] - } -} diff --git a/payload_samples/json_only/internalManfucaturingIncident/copyIntMfgIncPayloadTemplate.json b/payload_samples/json_only/internalManfucaturingIncident/copyIntMfgIncPayloadTemplate.json deleted file mode 100644 index c302fe4..0000000 --- a/payload_samples/json_only/internalManfucaturingIncident/copyIntMfgIncPayloadTemplate.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "header": { - "headerVersion": 1, - "eventName": "agile-process-teams:copy-internal-manufacturing-incident:v1", - "ownerId": "YOUR_OWNER_ID", - "processNetworkId": "YOUR_PROCESS_NETWORK_ID", - "appName": "agile-process-teams", - "dataspace": "default" - }, - "payload": { - "id": "ITEM_ID", - "aptBusinessObjectSummary": "Container damaged in transit (second occurrence)", - "copyGeneralInfo": true, - "copymaterialInfo": true, - "copyImpactInfo": false, - "copyReferenceIds": true, - "copyRelatedProcesses": true - } -} diff --git a/payload_samples/json_only/internalManfucaturingIncident/editIntMfgIncBaseStatePayloadTemplate.json b/payload_samples/json_only/internalManfucaturingIncident/editIntMfgIncBaseStatePayloadTemplate.json deleted file mode 100644 index 83755f0..0000000 --- a/payload_samples/json_only/internalManfucaturingIncident/editIntMfgIncBaseStatePayloadTemplate.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "header": { - "headerVersion": 1, - "eventName": "agile-process-teams:edit-internal-manufacturing-incident:v3", - "ownerId": "YOUR_OWNER_ID", - "processNetworkId": "YOUR_PROCESS_NETWORK_ID", - "appName": "agile-process-teams", - "dataspace": "default" - }, - "payload": { - "id": "ITEM_ID", - "newBaseState": "UnderInvestigation" - } -} diff --git a/payload_samples/json_only/internalManfucaturingIncident/editIntMfgIncFinalRespPayloadTemplate.json b/payload_samples/json_only/internalManfucaturingIncident/editIntMfgIncFinalRespPayloadTemplate.json deleted file mode 100644 index a174e87..0000000 --- a/payload_samples/json_only/internalManfucaturingIncident/editIntMfgIncFinalRespPayloadTemplate.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "header": { - "headerVersion": 1, - "eventName": "agile-process-teams:edit-internal-manufacturing-incident:v3", - "ownerId": "YOUR_OWNER_ID", - "processNetworkId": "YOUR_PROCESS_NETWORK_ID", - "appName": "agile-process-teams", - "dataspace": "default" - }, - "payload": { - "id": "ITEM_ID", - "internalManufacturingResponse": { - "finalResponseInformation": "Final response comment from manufacturer." - }, - "submitFinalResponse": true - } -} diff --git a/payload_samples/json_only/internalManfucaturingIncident/editIntMfgIncImpactPayloadTemplate.json b/payload_samples/json_only/internalManfucaturingIncident/editIntMfgIncImpactPayloadTemplate.json deleted file mode 100644 index 35a9bd9..0000000 --- a/payload_samples/json_only/internalManfucaturingIncident/editIntMfgIncImpactPayloadTemplate.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "header": { - "headerVersion": 1, - "eventName": "agile-process-teams:edit-internal-manufacturing-incident:v3", - "ownerId": "YOUR_OWNER_ID", - "processNetworkId": "YOUR_PROCESS_NETWORK_ID", - "appName": "agile-process-teams", - "dataspace": "default" - }, - "payload": { - "id": "ITEM_ID", - "indirectSupplierImpact": { - "businessImpact": "Business Impact", - "businessPriority": "HIGH", - "highPriorityReasons": [ - "Reason1" - ], - "financialImpact": 100000.00, - "originatingLocationInvestigationDueDate": 1641133945000, - "dateResourcesDeployed": 1641133945000, - "dateEscalationReportRequested": 1641133945000 - }, - "impactedProducts": [ - "PRODUCT_ID" - ], - "impactedLocations": { - "locationId": "LOCATION_ID", - "toIdType": "companyLocationMasterData", - "locationType": "INTERNAL", - "locationContact": "edavis" - }, - "referenceIdentifiers": [ - { - "referenceTransactionType": "BILL OF LADING", - "value": "FZ-1896155146" - } - ], - "aptCommentBox": { - "aptComment": { - "commentText": "Re-assigning to Jen", - "visibilityType": "Internal" - } - } - } -} diff --git a/payload_samples/json_only/internalManfucaturingIncident/editIntMfgIncInitRespPayloadTemplate.json b/payload_samples/json_only/internalManfucaturingIncident/editIntMfgIncInitRespPayloadTemplate.json deleted file mode 100644 index f139118..0000000 --- a/payload_samples/json_only/internalManfucaturingIncident/editIntMfgIncInitRespPayloadTemplate.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "header": { - "headerVersion": 1, - "eventName": "agile-process-teams:edit-internal-manufacturing-incident:v3", - "ownerId": "YOUR_OWNER_ID", - "processNetworkId": "YOUR_PROCESS_NETWORK_ID", - "appName": "agile-process-teams", - "dataspace": "default" - }, - "payload": { - "id": "ITEM_ID", - "internalManufacturingResponse": { - "initialResponseInformation": "Initial response from supplier." - }, - "submitInitialResponse": true - } -} diff --git a/payload_samples/json_only/internalManfucaturingIncident/readIntMfgIncPayloadTemplate.json b/payload_samples/json_only/internalManfucaturingIncident/readIntMfgIncPayloadTemplate.json deleted file mode 100644 index f04a89d..0000000 --- a/payload_samples/json_only/internalManfucaturingIncident/readIntMfgIncPayloadTemplate.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "header": { - "headerVersion": 1, - "eventName": "agile-process-teams:read-internalManufacturingIncident:v4", - "ownerId": "YOUR_OWNER_ID", - "processNetworkId": "YOUR_PROCESS_NETWORK_ID", - "appName": "agile-process-teams", - "dataspace": "default" - }, - "payload": {"id": "INCIDENT_ID"} diff --git a/payload_samples/json_only/internalManfucaturingIncident/reopenIntMfgIncRespPayloadTemplate.json b/payload_samples/json_only/internalManfucaturingIncident/reopenIntMfgIncRespPayloadTemplate.json deleted file mode 100644 index fbbde94..0000000 --- a/payload_samples/json_only/internalManfucaturingIncident/reopenIntMfgIncRespPayloadTemplate.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "header": { - "headerVersion": 1, - "eventName": "agile-process-teams:reopen-internal-manufacturing-incident:v1", - "ownerId": "YOUR_OWNER_ID", - "processNetworkId": "YOUR_PROCESS_NETWORK_ID", - "appName": "agile-process-teams", - "dataspace": "default" - }, - "payload": { - "id": "ITEM_ID", - "aptCommentBox": { - "aptComment": { - "commentText": "Incident closed by mistake. Reopening to complete investigation.", - "visibilityType": "Public" - } - } - } -} From fdf4a4e66fc0b27dbd9fcfa6389328a335fd98b5 Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Fri, 11 Oct 2024 13:06:47 -0600 Subject: [PATCH 25/47] renaming for consistency and restructuring --- GraphQL/program_integration/readme.md | 0 README.MD | 2 +- .../json_payloads/change_request/ChangeRequest.md | 0 .../addChangeRequestAllFieldsPayloadTemplate.json | 0 .../addChangeRequestMinFieldsPayloadTemplate.json | 0 .../change_request/addCommentForChangePayloadTemplate.json | 0 .../change_request/closeChangeRequestPayloadTemplate.json | 0 .../change_request/copyChangeRequestPayloadTemplate.json | 0 .../editChangeRequestBaseStatePayloadTemplate.json | 0 .../editChangeRequestPartnerImpactPayloadTemplate.json | 0 .../editCommentTextForChangePayloadTemplate.json | 0 .../getChangeActivityHistoryPayloadTemplate.json | 0 .../change_request/listCommentsForChangePayloadTemplate.json | 0 .../change_request/readChangePayloadTemplate.json | 0 .../removeAttachmentFromchangeCommentPayloadTemplate.json | 0 .../change_request/reopenChangeRequestPayloadTemplate.json | 0 .../toggleUserFollowsChangePayloadTemplate.json | 0 .../direct_supplier/addDirSupIncidentPayloadTemplate.json | 0 .../direct_supplier/closeDirSupIncidentPayloadTemplate.json | 0 .../direct_supplier/copyDirSupIncidentPayloadTemplate.json | 0 .../json_payloads/direct_supplier/directSupplierIncident.md | 0 .../editDirSupIncBaseStatePayloadTemplate.json | 0 .../editDirSupIncFinalRespPayloadTemplate.json | 0 .../direct_supplier/editDirSupIncInitRespPayloadTemplate.json | 0 .../editDirSupIncPartnerImpPayloadTemplate.json | 0 .../direct_supplier/readDirSupIncidentPayloadTemplate.json | 0 .../direct_supplier/reopenDirSupIncidentPayloadTemplate.json | 0 .../direct_supplier/submitDirSupIncidentPayloadTemplate.json | 0 .../addExtMfgIncidentPayloadTemplate.json | 0 .../closeExtMfgIncidentPayloadTemplate.json | 0 .../copyExtMfgIncidentPayloadTemplate.json | 0 .../editExtMfgIncBaseStatePayloadTemplate.json | 0 .../editMfgIncFinalRespPayloadTemplate.json | 0 .../editMfgIncInitRespPayloadTemplate.json | 0 .../editMfgIncPartnerImpactPayloadTemplate.json | 0 .../external_manufacturing/externalManufacturingIncident.md | 0 .../readExtMfgIncidentPayloadTemplate.json | 0 .../reopenExtMfgIncidentPayloadTemplate.json | 0 .../submitExtMfgIncToPartnerPayloadTemplate.json | 0 .../json_payloads}/incident/addIncidentPayloadTemplate.json | 0 .../json_payloads}/incident/closeIncidentPayloadTemplate.json | 0 .../json_payloads}/incident/copyIncidentPayloadTemplate.json | 0 .../json_payloads}/incident/editIncidentPayloadTemplate.json | 0 .../json_payloads/incident/incident.md | 0 .../json_payloads}/incident/readIncidentPayloadTemplate.json | 0 .../incident/reopenIncidentPayloadTemplate.json | 0 .../incident/submitIncidentPayloadTemplate.json | 0 .../json_payloads/master_data/masterData.md | 0 .../master_data/queryCompanyMasterTemplate.json | 0 .../master_data/queryPartnerMasterTemplate.json | 0 .../master_data/queryProductMasterTemplate.json | 0 .../json_payloads}/shared/addCommentPayloadTemplate.json | 0 .../shared/editCommentForProcessRespPayloadTemplate.json | 0 .../shared/getActivityHistoryPayloadTemplate.json | 0 .../json_payloads}/shared/listCommentsPayloadTemplate.json | 0 .../shared.MD => asyncapi/json_payloads/shared/shared.md | 0 .../shared/toggleUserFollowsProcessPayloadTemplate.json | 0 .../json_payloads}/task/addTaskPayloadTemplate.json | 0 .../json_payloads}/task/addTaskSubTaskPayloadTemplate.json | 0 .../json_payloads}/task/closeSubTaskPayloadTemplate.json | 0 .../json_payloads}/task/closeTaskPayloadTemplate.json | 0 .../json_payloads}/task/copyTaskPayloadTemplate.json | 0 .../json_payloads}/task/editSubTaskPayloadTemplate.json | 0 .../json_payloads}/task/editTaskPayloadTemplate.json | 0 .../task/listSubTaskForTaskPayloadTemplate.json | 0 .../json_payloads}/task/readTaskPayloadTemplate.json | 0 .../task/removeSubTaskFromTaskPayloadTemplate.json | 0 .../json_payloads}/task/reopenSubTaskPayloadTemplate.json | 0 .../json_payloads}/task/reopenTaskPayloadTemplate.json | 0 .../task/submitSubTaskToPartnerPayloadTemplate.json | 0 .../task/task.MD => asyncapi/json_payloads/task/task.md | 0 .../task_template/addSubTaskToTemplatePayloadTemplate.json | 0 .../task_template/addTaskTemplatePayloadTemplate.json | 0 .../task_template/copyTaskTemplatePayloadTemplate.json | 0 .../task_template/editSubTaskOnTemplatePayloadTemplate.json | 0 .../task_template/editTaskTemplatePayloadTemplate.json | 0 .../task_template/listSubTaskForTemplatePayloadTemplate.json | 0 .../removeSubTaskfromTemplatePayloadTemplate.json | 0 .../json_payloads/task_template/taskTemplate.md | 0 authentication.md | 4 ++-- python/FormatRequests.MD | 4 ++-- python/MasterDataQuery.MD | 2 +- python/Quickstart.MD | 2 +- python/README.MD | 4 ++-- 84 files changed, 9 insertions(+), 9 deletions(-) create mode 100644 GraphQL/program_integration/readme.md rename AsyncAPI/json_only/change_request/ChangeRequest.MD => asyncapi/json_payloads/change_request/ChangeRequest.md (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/change_request/addChangeRequestAllFieldsPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/change_request/addChangeRequestMinFieldsPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/change_request/addCommentForChangePayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/change_request/closeChangeRequestPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/change_request/copyChangeRequestPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/change_request/editChangeRequestBaseStatePayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/change_request/editChangeRequestPartnerImpactPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/change_request/editCommentTextForChangePayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/change_request/getChangeActivityHistoryPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/change_request/listCommentsForChangePayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/change_request/readChangePayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/change_request/removeAttachmentFromchangeCommentPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/change_request/reopenChangeRequestPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/change_request/toggleUserFollowsChangePayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/direct_supplier/addDirSupIncidentPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/direct_supplier/closeDirSupIncidentPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/direct_supplier/copyDirSupIncidentPayloadTemplate.json (100%) rename AsyncAPI/json_only/direct_supplier/directSupplierIncident.MD => asyncapi/json_payloads/direct_supplier/directSupplierIncident.md (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/direct_supplier/editDirSupIncBaseStatePayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/direct_supplier/editDirSupIncFinalRespPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/direct_supplier/editDirSupIncInitRespPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/direct_supplier/editDirSupIncPartnerImpPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/direct_supplier/readDirSupIncidentPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/direct_supplier/reopenDirSupIncidentPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/direct_supplier/submitDirSupIncidentPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/external_manufacturing/addExtMfgIncidentPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/external_manufacturing/closeExtMfgIncidentPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/external_manufacturing/copyExtMfgIncidentPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/external_manufacturing/editExtMfgIncBaseStatePayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/external_manufacturing/editMfgIncFinalRespPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/external_manufacturing/editMfgIncInitRespPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/external_manufacturing/editMfgIncPartnerImpactPayloadTemplate.json (100%) rename AsyncAPI/json_only/external_manufacturing/externalManufacturingIncident.MD => asyncapi/json_payloads/external_manufacturing/externalManufacturingIncident.md (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/external_manufacturing/readExtMfgIncidentPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/external_manufacturing/reopenExtMfgIncidentPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/external_manufacturing/submitExtMfgIncToPartnerPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/incident/addIncidentPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/incident/closeIncidentPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/incident/copyIncidentPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/incident/editIncidentPayloadTemplate.json (100%) rename AsyncAPI/json_only/incident/incident.MD => asyncapi/json_payloads/incident/incident.md (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/incident/readIncidentPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/incident/reopenIncidentPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/incident/submitIncidentPayloadTemplate.json (100%) rename AsyncAPI/json_only/master_data/masterData.MD => asyncapi/json_payloads/master_data/masterData.md (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/master_data/queryCompanyMasterTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/master_data/queryPartnerMasterTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/master_data/queryProductMasterTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/shared/addCommentPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/shared/editCommentForProcessRespPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/shared/getActivityHistoryPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/shared/listCommentsPayloadTemplate.json (100%) rename AsyncAPI/json_only/shared/shared.MD => asyncapi/json_payloads/shared/shared.md (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/shared/toggleUserFollowsProcessPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/task/addTaskPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/task/addTaskSubTaskPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/task/closeSubTaskPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/task/closeTaskPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/task/copyTaskPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/task/editSubTaskPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/task/editTaskPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/task/listSubTaskForTaskPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/task/readTaskPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/task/removeSubTaskFromTaskPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/task/reopenSubTaskPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/task/reopenTaskPayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/task/submitSubTaskToPartnerPayloadTemplate.json (100%) rename AsyncAPI/json_only/task/task.MD => asyncapi/json_payloads/task/task.md (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/task_template/addSubTaskToTemplatePayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/task_template/addTaskTemplatePayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/task_template/copyTaskTemplatePayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/task_template/editSubTaskOnTemplatePayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/task_template/editTaskTemplatePayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/task_template/listSubTaskForTemplatePayloadTemplate.json (100%) rename {AsyncAPI/json_only => asyncapi/json_payloads}/task_template/removeSubTaskfromTemplatePayloadTemplate.json (100%) rename AsyncAPI/json_only/task_template/taskTemplate.MD => asyncapi/json_payloads/task_template/taskTemplate.md (100%) diff --git a/GraphQL/program_integration/readme.md b/GraphQL/program_integration/readme.md new file mode 100644 index 0000000..e69de29 diff --git a/README.MD b/README.MD index 55feb23..39b7cb8 100644 --- a/README.MD +++ b/README.MD @@ -24,7 +24,7 @@ Your company must have licenses for the Suppy Chain Work Management solution and ## Languages Samples focus on basic actions using the most common scripting languages. These samples are organized in folders by language. Folders are added as language samples become available. -- [Python](python/README.MD) +- [Python](python/README.md) ## Support diff --git a/AsyncAPI/json_only/change_request/ChangeRequest.MD b/asyncapi/json_payloads/change_request/ChangeRequest.md similarity index 100% rename from AsyncAPI/json_only/change_request/ChangeRequest.MD rename to asyncapi/json_payloads/change_request/ChangeRequest.md diff --git a/AsyncAPI/json_only/change_request/addChangeRequestAllFieldsPayloadTemplate.json b/asyncapi/json_payloads/change_request/addChangeRequestAllFieldsPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/change_request/addChangeRequestAllFieldsPayloadTemplate.json rename to asyncapi/json_payloads/change_request/addChangeRequestAllFieldsPayloadTemplate.json diff --git a/AsyncAPI/json_only/change_request/addChangeRequestMinFieldsPayloadTemplate.json b/asyncapi/json_payloads/change_request/addChangeRequestMinFieldsPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/change_request/addChangeRequestMinFieldsPayloadTemplate.json rename to asyncapi/json_payloads/change_request/addChangeRequestMinFieldsPayloadTemplate.json diff --git a/AsyncAPI/json_only/change_request/addCommentForChangePayloadTemplate.json b/asyncapi/json_payloads/change_request/addCommentForChangePayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/change_request/addCommentForChangePayloadTemplate.json rename to asyncapi/json_payloads/change_request/addCommentForChangePayloadTemplate.json diff --git a/AsyncAPI/json_only/change_request/closeChangeRequestPayloadTemplate.json b/asyncapi/json_payloads/change_request/closeChangeRequestPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/change_request/closeChangeRequestPayloadTemplate.json rename to asyncapi/json_payloads/change_request/closeChangeRequestPayloadTemplate.json diff --git a/AsyncAPI/json_only/change_request/copyChangeRequestPayloadTemplate.json b/asyncapi/json_payloads/change_request/copyChangeRequestPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/change_request/copyChangeRequestPayloadTemplate.json rename to asyncapi/json_payloads/change_request/copyChangeRequestPayloadTemplate.json diff --git a/AsyncAPI/json_only/change_request/editChangeRequestBaseStatePayloadTemplate.json b/asyncapi/json_payloads/change_request/editChangeRequestBaseStatePayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/change_request/editChangeRequestBaseStatePayloadTemplate.json rename to asyncapi/json_payloads/change_request/editChangeRequestBaseStatePayloadTemplate.json diff --git a/AsyncAPI/json_only/change_request/editChangeRequestPartnerImpactPayloadTemplate.json b/asyncapi/json_payloads/change_request/editChangeRequestPartnerImpactPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/change_request/editChangeRequestPartnerImpactPayloadTemplate.json rename to asyncapi/json_payloads/change_request/editChangeRequestPartnerImpactPayloadTemplate.json diff --git a/AsyncAPI/json_only/change_request/editCommentTextForChangePayloadTemplate.json b/asyncapi/json_payloads/change_request/editCommentTextForChangePayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/change_request/editCommentTextForChangePayloadTemplate.json rename to asyncapi/json_payloads/change_request/editCommentTextForChangePayloadTemplate.json diff --git a/AsyncAPI/json_only/change_request/getChangeActivityHistoryPayloadTemplate.json b/asyncapi/json_payloads/change_request/getChangeActivityHistoryPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/change_request/getChangeActivityHistoryPayloadTemplate.json rename to asyncapi/json_payloads/change_request/getChangeActivityHistoryPayloadTemplate.json diff --git a/AsyncAPI/json_only/change_request/listCommentsForChangePayloadTemplate.json b/asyncapi/json_payloads/change_request/listCommentsForChangePayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/change_request/listCommentsForChangePayloadTemplate.json rename to asyncapi/json_payloads/change_request/listCommentsForChangePayloadTemplate.json diff --git a/AsyncAPI/json_only/change_request/readChangePayloadTemplate.json b/asyncapi/json_payloads/change_request/readChangePayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/change_request/readChangePayloadTemplate.json rename to asyncapi/json_payloads/change_request/readChangePayloadTemplate.json diff --git a/AsyncAPI/json_only/change_request/removeAttachmentFromchangeCommentPayloadTemplate.json b/asyncapi/json_payloads/change_request/removeAttachmentFromchangeCommentPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/change_request/removeAttachmentFromchangeCommentPayloadTemplate.json rename to asyncapi/json_payloads/change_request/removeAttachmentFromchangeCommentPayloadTemplate.json diff --git a/AsyncAPI/json_only/change_request/reopenChangeRequestPayloadTemplate.json b/asyncapi/json_payloads/change_request/reopenChangeRequestPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/change_request/reopenChangeRequestPayloadTemplate.json rename to asyncapi/json_payloads/change_request/reopenChangeRequestPayloadTemplate.json diff --git a/AsyncAPI/json_only/change_request/toggleUserFollowsChangePayloadTemplate.json b/asyncapi/json_payloads/change_request/toggleUserFollowsChangePayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/change_request/toggleUserFollowsChangePayloadTemplate.json rename to asyncapi/json_payloads/change_request/toggleUserFollowsChangePayloadTemplate.json diff --git a/AsyncAPI/json_only/direct_supplier/addDirSupIncidentPayloadTemplate.json b/asyncapi/json_payloads/direct_supplier/addDirSupIncidentPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/direct_supplier/addDirSupIncidentPayloadTemplate.json rename to asyncapi/json_payloads/direct_supplier/addDirSupIncidentPayloadTemplate.json diff --git a/AsyncAPI/json_only/direct_supplier/closeDirSupIncidentPayloadTemplate.json b/asyncapi/json_payloads/direct_supplier/closeDirSupIncidentPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/direct_supplier/closeDirSupIncidentPayloadTemplate.json rename to asyncapi/json_payloads/direct_supplier/closeDirSupIncidentPayloadTemplate.json diff --git a/AsyncAPI/json_only/direct_supplier/copyDirSupIncidentPayloadTemplate.json b/asyncapi/json_payloads/direct_supplier/copyDirSupIncidentPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/direct_supplier/copyDirSupIncidentPayloadTemplate.json rename to asyncapi/json_payloads/direct_supplier/copyDirSupIncidentPayloadTemplate.json diff --git a/AsyncAPI/json_only/direct_supplier/directSupplierIncident.MD b/asyncapi/json_payloads/direct_supplier/directSupplierIncident.md similarity index 100% rename from AsyncAPI/json_only/direct_supplier/directSupplierIncident.MD rename to asyncapi/json_payloads/direct_supplier/directSupplierIncident.md diff --git a/AsyncAPI/json_only/direct_supplier/editDirSupIncBaseStatePayloadTemplate.json b/asyncapi/json_payloads/direct_supplier/editDirSupIncBaseStatePayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/direct_supplier/editDirSupIncBaseStatePayloadTemplate.json rename to asyncapi/json_payloads/direct_supplier/editDirSupIncBaseStatePayloadTemplate.json diff --git a/AsyncAPI/json_only/direct_supplier/editDirSupIncFinalRespPayloadTemplate.json b/asyncapi/json_payloads/direct_supplier/editDirSupIncFinalRespPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/direct_supplier/editDirSupIncFinalRespPayloadTemplate.json rename to asyncapi/json_payloads/direct_supplier/editDirSupIncFinalRespPayloadTemplate.json diff --git a/AsyncAPI/json_only/direct_supplier/editDirSupIncInitRespPayloadTemplate.json b/asyncapi/json_payloads/direct_supplier/editDirSupIncInitRespPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/direct_supplier/editDirSupIncInitRespPayloadTemplate.json rename to asyncapi/json_payloads/direct_supplier/editDirSupIncInitRespPayloadTemplate.json diff --git a/AsyncAPI/json_only/direct_supplier/editDirSupIncPartnerImpPayloadTemplate.json b/asyncapi/json_payloads/direct_supplier/editDirSupIncPartnerImpPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/direct_supplier/editDirSupIncPartnerImpPayloadTemplate.json rename to asyncapi/json_payloads/direct_supplier/editDirSupIncPartnerImpPayloadTemplate.json diff --git a/AsyncAPI/json_only/direct_supplier/readDirSupIncidentPayloadTemplate.json b/asyncapi/json_payloads/direct_supplier/readDirSupIncidentPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/direct_supplier/readDirSupIncidentPayloadTemplate.json rename to asyncapi/json_payloads/direct_supplier/readDirSupIncidentPayloadTemplate.json diff --git a/AsyncAPI/json_only/direct_supplier/reopenDirSupIncidentPayloadTemplate.json b/asyncapi/json_payloads/direct_supplier/reopenDirSupIncidentPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/direct_supplier/reopenDirSupIncidentPayloadTemplate.json rename to asyncapi/json_payloads/direct_supplier/reopenDirSupIncidentPayloadTemplate.json diff --git a/AsyncAPI/json_only/direct_supplier/submitDirSupIncidentPayloadTemplate.json b/asyncapi/json_payloads/direct_supplier/submitDirSupIncidentPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/direct_supplier/submitDirSupIncidentPayloadTemplate.json rename to asyncapi/json_payloads/direct_supplier/submitDirSupIncidentPayloadTemplate.json diff --git a/AsyncAPI/json_only/external_manufacturing/addExtMfgIncidentPayloadTemplate.json b/asyncapi/json_payloads/external_manufacturing/addExtMfgIncidentPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/external_manufacturing/addExtMfgIncidentPayloadTemplate.json rename to asyncapi/json_payloads/external_manufacturing/addExtMfgIncidentPayloadTemplate.json diff --git a/AsyncAPI/json_only/external_manufacturing/closeExtMfgIncidentPayloadTemplate.json b/asyncapi/json_payloads/external_manufacturing/closeExtMfgIncidentPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/external_manufacturing/closeExtMfgIncidentPayloadTemplate.json rename to asyncapi/json_payloads/external_manufacturing/closeExtMfgIncidentPayloadTemplate.json diff --git a/AsyncAPI/json_only/external_manufacturing/copyExtMfgIncidentPayloadTemplate.json b/asyncapi/json_payloads/external_manufacturing/copyExtMfgIncidentPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/external_manufacturing/copyExtMfgIncidentPayloadTemplate.json rename to asyncapi/json_payloads/external_manufacturing/copyExtMfgIncidentPayloadTemplate.json diff --git a/AsyncAPI/json_only/external_manufacturing/editExtMfgIncBaseStatePayloadTemplate.json b/asyncapi/json_payloads/external_manufacturing/editExtMfgIncBaseStatePayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/external_manufacturing/editExtMfgIncBaseStatePayloadTemplate.json rename to asyncapi/json_payloads/external_manufacturing/editExtMfgIncBaseStatePayloadTemplate.json diff --git a/AsyncAPI/json_only/external_manufacturing/editMfgIncFinalRespPayloadTemplate.json b/asyncapi/json_payloads/external_manufacturing/editMfgIncFinalRespPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/external_manufacturing/editMfgIncFinalRespPayloadTemplate.json rename to asyncapi/json_payloads/external_manufacturing/editMfgIncFinalRespPayloadTemplate.json diff --git a/AsyncAPI/json_only/external_manufacturing/editMfgIncInitRespPayloadTemplate.json b/asyncapi/json_payloads/external_manufacturing/editMfgIncInitRespPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/external_manufacturing/editMfgIncInitRespPayloadTemplate.json rename to asyncapi/json_payloads/external_manufacturing/editMfgIncInitRespPayloadTemplate.json diff --git a/AsyncAPI/json_only/external_manufacturing/editMfgIncPartnerImpactPayloadTemplate.json b/asyncapi/json_payloads/external_manufacturing/editMfgIncPartnerImpactPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/external_manufacturing/editMfgIncPartnerImpactPayloadTemplate.json rename to asyncapi/json_payloads/external_manufacturing/editMfgIncPartnerImpactPayloadTemplate.json diff --git a/AsyncAPI/json_only/external_manufacturing/externalManufacturingIncident.MD b/asyncapi/json_payloads/external_manufacturing/externalManufacturingIncident.md similarity index 100% rename from AsyncAPI/json_only/external_manufacturing/externalManufacturingIncident.MD rename to asyncapi/json_payloads/external_manufacturing/externalManufacturingIncident.md diff --git a/AsyncAPI/json_only/external_manufacturing/readExtMfgIncidentPayloadTemplate.json b/asyncapi/json_payloads/external_manufacturing/readExtMfgIncidentPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/external_manufacturing/readExtMfgIncidentPayloadTemplate.json rename to asyncapi/json_payloads/external_manufacturing/readExtMfgIncidentPayloadTemplate.json diff --git a/AsyncAPI/json_only/external_manufacturing/reopenExtMfgIncidentPayloadTemplate.json b/asyncapi/json_payloads/external_manufacturing/reopenExtMfgIncidentPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/external_manufacturing/reopenExtMfgIncidentPayloadTemplate.json rename to asyncapi/json_payloads/external_manufacturing/reopenExtMfgIncidentPayloadTemplate.json diff --git a/AsyncAPI/json_only/external_manufacturing/submitExtMfgIncToPartnerPayloadTemplate.json b/asyncapi/json_payloads/external_manufacturing/submitExtMfgIncToPartnerPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/external_manufacturing/submitExtMfgIncToPartnerPayloadTemplate.json rename to asyncapi/json_payloads/external_manufacturing/submitExtMfgIncToPartnerPayloadTemplate.json diff --git a/AsyncAPI/json_only/incident/addIncidentPayloadTemplate.json b/asyncapi/json_payloads/incident/addIncidentPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/incident/addIncidentPayloadTemplate.json rename to asyncapi/json_payloads/incident/addIncidentPayloadTemplate.json diff --git a/AsyncAPI/json_only/incident/closeIncidentPayloadTemplate.json b/asyncapi/json_payloads/incident/closeIncidentPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/incident/closeIncidentPayloadTemplate.json rename to asyncapi/json_payloads/incident/closeIncidentPayloadTemplate.json diff --git a/AsyncAPI/json_only/incident/copyIncidentPayloadTemplate.json b/asyncapi/json_payloads/incident/copyIncidentPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/incident/copyIncidentPayloadTemplate.json rename to asyncapi/json_payloads/incident/copyIncidentPayloadTemplate.json diff --git a/AsyncAPI/json_only/incident/editIncidentPayloadTemplate.json b/asyncapi/json_payloads/incident/editIncidentPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/incident/editIncidentPayloadTemplate.json rename to asyncapi/json_payloads/incident/editIncidentPayloadTemplate.json diff --git a/AsyncAPI/json_only/incident/incident.MD b/asyncapi/json_payloads/incident/incident.md similarity index 100% rename from AsyncAPI/json_only/incident/incident.MD rename to asyncapi/json_payloads/incident/incident.md diff --git a/AsyncAPI/json_only/incident/readIncidentPayloadTemplate.json b/asyncapi/json_payloads/incident/readIncidentPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/incident/readIncidentPayloadTemplate.json rename to asyncapi/json_payloads/incident/readIncidentPayloadTemplate.json diff --git a/AsyncAPI/json_only/incident/reopenIncidentPayloadTemplate.json b/asyncapi/json_payloads/incident/reopenIncidentPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/incident/reopenIncidentPayloadTemplate.json rename to asyncapi/json_payloads/incident/reopenIncidentPayloadTemplate.json diff --git a/AsyncAPI/json_only/incident/submitIncidentPayloadTemplate.json b/asyncapi/json_payloads/incident/submitIncidentPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/incident/submitIncidentPayloadTemplate.json rename to asyncapi/json_payloads/incident/submitIncidentPayloadTemplate.json diff --git a/AsyncAPI/json_only/master_data/masterData.MD b/asyncapi/json_payloads/master_data/masterData.md similarity index 100% rename from AsyncAPI/json_only/master_data/masterData.MD rename to asyncapi/json_payloads/master_data/masterData.md diff --git a/AsyncAPI/json_only/master_data/queryCompanyMasterTemplate.json b/asyncapi/json_payloads/master_data/queryCompanyMasterTemplate.json similarity index 100% rename from AsyncAPI/json_only/master_data/queryCompanyMasterTemplate.json rename to asyncapi/json_payloads/master_data/queryCompanyMasterTemplate.json diff --git a/AsyncAPI/json_only/master_data/queryPartnerMasterTemplate.json b/asyncapi/json_payloads/master_data/queryPartnerMasterTemplate.json similarity index 100% rename from AsyncAPI/json_only/master_data/queryPartnerMasterTemplate.json rename to asyncapi/json_payloads/master_data/queryPartnerMasterTemplate.json diff --git a/AsyncAPI/json_only/master_data/queryProductMasterTemplate.json b/asyncapi/json_payloads/master_data/queryProductMasterTemplate.json similarity index 100% rename from AsyncAPI/json_only/master_data/queryProductMasterTemplate.json rename to asyncapi/json_payloads/master_data/queryProductMasterTemplate.json diff --git a/AsyncAPI/json_only/shared/addCommentPayloadTemplate.json b/asyncapi/json_payloads/shared/addCommentPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/shared/addCommentPayloadTemplate.json rename to asyncapi/json_payloads/shared/addCommentPayloadTemplate.json diff --git a/AsyncAPI/json_only/shared/editCommentForProcessRespPayloadTemplate.json b/asyncapi/json_payloads/shared/editCommentForProcessRespPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/shared/editCommentForProcessRespPayloadTemplate.json rename to asyncapi/json_payloads/shared/editCommentForProcessRespPayloadTemplate.json diff --git a/AsyncAPI/json_only/shared/getActivityHistoryPayloadTemplate.json b/asyncapi/json_payloads/shared/getActivityHistoryPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/shared/getActivityHistoryPayloadTemplate.json rename to asyncapi/json_payloads/shared/getActivityHistoryPayloadTemplate.json diff --git a/AsyncAPI/json_only/shared/listCommentsPayloadTemplate.json b/asyncapi/json_payloads/shared/listCommentsPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/shared/listCommentsPayloadTemplate.json rename to asyncapi/json_payloads/shared/listCommentsPayloadTemplate.json diff --git a/AsyncAPI/json_only/shared/shared.MD b/asyncapi/json_payloads/shared/shared.md similarity index 100% rename from AsyncAPI/json_only/shared/shared.MD rename to asyncapi/json_payloads/shared/shared.md diff --git a/AsyncAPI/json_only/shared/toggleUserFollowsProcessPayloadTemplate.json b/asyncapi/json_payloads/shared/toggleUserFollowsProcessPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/shared/toggleUserFollowsProcessPayloadTemplate.json rename to asyncapi/json_payloads/shared/toggleUserFollowsProcessPayloadTemplate.json diff --git a/AsyncAPI/json_only/task/addTaskPayloadTemplate.json b/asyncapi/json_payloads/task/addTaskPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/task/addTaskPayloadTemplate.json rename to asyncapi/json_payloads/task/addTaskPayloadTemplate.json diff --git a/AsyncAPI/json_only/task/addTaskSubTaskPayloadTemplate.json b/asyncapi/json_payloads/task/addTaskSubTaskPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/task/addTaskSubTaskPayloadTemplate.json rename to asyncapi/json_payloads/task/addTaskSubTaskPayloadTemplate.json diff --git a/AsyncAPI/json_only/task/closeSubTaskPayloadTemplate.json b/asyncapi/json_payloads/task/closeSubTaskPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/task/closeSubTaskPayloadTemplate.json rename to asyncapi/json_payloads/task/closeSubTaskPayloadTemplate.json diff --git a/AsyncAPI/json_only/task/closeTaskPayloadTemplate.json b/asyncapi/json_payloads/task/closeTaskPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/task/closeTaskPayloadTemplate.json rename to asyncapi/json_payloads/task/closeTaskPayloadTemplate.json diff --git a/AsyncAPI/json_only/task/copyTaskPayloadTemplate.json b/asyncapi/json_payloads/task/copyTaskPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/task/copyTaskPayloadTemplate.json rename to asyncapi/json_payloads/task/copyTaskPayloadTemplate.json diff --git a/AsyncAPI/json_only/task/editSubTaskPayloadTemplate.json b/asyncapi/json_payloads/task/editSubTaskPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/task/editSubTaskPayloadTemplate.json rename to asyncapi/json_payloads/task/editSubTaskPayloadTemplate.json diff --git a/AsyncAPI/json_only/task/editTaskPayloadTemplate.json b/asyncapi/json_payloads/task/editTaskPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/task/editTaskPayloadTemplate.json rename to asyncapi/json_payloads/task/editTaskPayloadTemplate.json diff --git a/AsyncAPI/json_only/task/listSubTaskForTaskPayloadTemplate.json b/asyncapi/json_payloads/task/listSubTaskForTaskPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/task/listSubTaskForTaskPayloadTemplate.json rename to asyncapi/json_payloads/task/listSubTaskForTaskPayloadTemplate.json diff --git a/AsyncAPI/json_only/task/readTaskPayloadTemplate.json b/asyncapi/json_payloads/task/readTaskPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/task/readTaskPayloadTemplate.json rename to asyncapi/json_payloads/task/readTaskPayloadTemplate.json diff --git a/AsyncAPI/json_only/task/removeSubTaskFromTaskPayloadTemplate.json b/asyncapi/json_payloads/task/removeSubTaskFromTaskPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/task/removeSubTaskFromTaskPayloadTemplate.json rename to asyncapi/json_payloads/task/removeSubTaskFromTaskPayloadTemplate.json diff --git a/AsyncAPI/json_only/task/reopenSubTaskPayloadTemplate.json b/asyncapi/json_payloads/task/reopenSubTaskPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/task/reopenSubTaskPayloadTemplate.json rename to asyncapi/json_payloads/task/reopenSubTaskPayloadTemplate.json diff --git a/AsyncAPI/json_only/task/reopenTaskPayloadTemplate.json b/asyncapi/json_payloads/task/reopenTaskPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/task/reopenTaskPayloadTemplate.json rename to asyncapi/json_payloads/task/reopenTaskPayloadTemplate.json diff --git a/AsyncAPI/json_only/task/submitSubTaskToPartnerPayloadTemplate.json b/asyncapi/json_payloads/task/submitSubTaskToPartnerPayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/task/submitSubTaskToPartnerPayloadTemplate.json rename to asyncapi/json_payloads/task/submitSubTaskToPartnerPayloadTemplate.json diff --git a/AsyncAPI/json_only/task/task.MD b/asyncapi/json_payloads/task/task.md similarity index 100% rename from AsyncAPI/json_only/task/task.MD rename to asyncapi/json_payloads/task/task.md diff --git a/AsyncAPI/json_only/task_template/addSubTaskToTemplatePayloadTemplate.json b/asyncapi/json_payloads/task_template/addSubTaskToTemplatePayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/task_template/addSubTaskToTemplatePayloadTemplate.json rename to asyncapi/json_payloads/task_template/addSubTaskToTemplatePayloadTemplate.json diff --git a/AsyncAPI/json_only/task_template/addTaskTemplatePayloadTemplate.json b/asyncapi/json_payloads/task_template/addTaskTemplatePayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/task_template/addTaskTemplatePayloadTemplate.json rename to asyncapi/json_payloads/task_template/addTaskTemplatePayloadTemplate.json diff --git a/AsyncAPI/json_only/task_template/copyTaskTemplatePayloadTemplate.json b/asyncapi/json_payloads/task_template/copyTaskTemplatePayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/task_template/copyTaskTemplatePayloadTemplate.json rename to asyncapi/json_payloads/task_template/copyTaskTemplatePayloadTemplate.json diff --git a/AsyncAPI/json_only/task_template/editSubTaskOnTemplatePayloadTemplate.json b/asyncapi/json_payloads/task_template/editSubTaskOnTemplatePayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/task_template/editSubTaskOnTemplatePayloadTemplate.json rename to asyncapi/json_payloads/task_template/editSubTaskOnTemplatePayloadTemplate.json diff --git a/AsyncAPI/json_only/task_template/editTaskTemplatePayloadTemplate.json b/asyncapi/json_payloads/task_template/editTaskTemplatePayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/task_template/editTaskTemplatePayloadTemplate.json rename to asyncapi/json_payloads/task_template/editTaskTemplatePayloadTemplate.json diff --git a/AsyncAPI/json_only/task_template/listSubTaskForTemplatePayloadTemplate.json b/asyncapi/json_payloads/task_template/listSubTaskForTemplatePayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/task_template/listSubTaskForTemplatePayloadTemplate.json rename to asyncapi/json_payloads/task_template/listSubTaskForTemplatePayloadTemplate.json diff --git a/AsyncAPI/json_only/task_template/removeSubTaskfromTemplatePayloadTemplate.json b/asyncapi/json_payloads/task_template/removeSubTaskfromTemplatePayloadTemplate.json similarity index 100% rename from AsyncAPI/json_only/task_template/removeSubTaskfromTemplatePayloadTemplate.json rename to asyncapi/json_payloads/task_template/removeSubTaskfromTemplatePayloadTemplate.json diff --git a/AsyncAPI/json_only/task_template/taskTemplate.MD b/asyncapi/json_payloads/task_template/taskTemplate.md similarity index 100% rename from AsyncAPI/json_only/task_template/taskTemplate.MD rename to asyncapi/json_payloads/task_template/taskTemplate.md diff --git a/authentication.md b/authentication.md index 99ed771..eee9476 100644 --- a/authentication.md +++ b/authentication.md @@ -18,8 +18,8 @@ This process involves: 3. Using the directions below for your designated browser, generate the following values: - `_store_js_production_token`, a short lived token valid for one session -- `_store_js_production_processNetworkOwnerId`, passed in the [body header](python/FormatRequests.MD#header) -- `_store_js_production_processNetworkId`, passed in the [body header](python/FormatRequests.MD#header) +- `_store_js_production_processNetworkOwnerId`, passed in the [body header](python/FormatRequests.md#header) +- `_store_js_production_processNetworkId`, passed in the [body header](python/FormatRequests.md#header) ### Chrome diff --git a/python/FormatRequests.MD b/python/FormatRequests.MD index 528d19c..93ba383 100644 --- a/python/FormatRequests.MD +++ b/python/FormatRequests.MD @@ -22,7 +22,7 @@ The request body header identifies how APT processes your request. All items be | Name | Type | Description | Value | | -------------------- | ------- | ---------------------------------------------------------------------- | ------------------------------------------ | | `headerVersion` | integer | The version identifier for the request | `1` | -| `eventName` | string | The fully qualified name of the request event. | See [event name mapping](../EventNames.MD) | +| `eventName` | string | The fully qualified name of the request event. | See [event name mapping](../EventNames.md) | | `ownerID` | string | The Owner company associated with the request. | See [authentication](../authentication.md) | | `processNetworkId` | string | The network within the Owner company containing the process. | See [authentication](../authentication.md) | | `appName` | string | The application that owns the event. | `"agile-process-teams"` | @@ -55,4 +55,4 @@ An example of a complete payload body for adding a direct supplier incident: # Next Review [event name mapping](eventNames.json) for each event type. -Follow [the quickstart](Quickstart.MD) for an example using the APT-SCWM API. +Follow [the quickstart](Quickstart.md) for an example using the APT-SCWM API. diff --git a/python/MasterDataQuery.MD b/python/MasterDataQuery.MD index 84cbb24..4378783 100644 --- a/python/MasterDataQuery.MD +++ b/python/MasterDataQuery.MD @@ -3,7 +3,7 @@ The full master data records for a company and its internal locations include th Query master data using the same methods as the incident requests. -Refer to the [Quickstart](Quickstart.MD) walkthrough to prepare your scripting environment and variables. +Refer to the [Quickstart](Quickstart.md) walkthrough to prepare your scripting environment and variables. ## Partner Master Data **Type or copy the following into your Python terminal, replacing necessary values** diff --git a/python/Quickstart.MD b/python/Quickstart.MD index 0e9bdbf..fcc8094 100644 --- a/python/Quickstart.MD +++ b/python/Quickstart.MD @@ -345,4 +345,4 @@ You will need a mechanism to create or update your payload data whether it is st You will also need a method to retain the `id` number for each incident you wish to reference. ## Troubleshooting -Review the [troubleshooting primer](Troubleshooting.MD). +Review the [troubleshooting primer](Troubleshooting.md). diff --git a/python/README.MD b/python/README.MD index b345672..3ff4918 100644 --- a/python/README.MD +++ b/python/README.MD @@ -36,5 +36,5 @@ All requests have three main components: # Next 1. Review information on [authentication](../authentication.md). -2. Review [basic request formatting](FormatRequests.MD). -3. Follow the [quickstart](Quickstart.MD) for an example using the APT-SCWM API. +2. Review [basic request formatting](FormatRequests.md). +3. Follow the [quickstart](Quickstart.md) for an example using the APT-SCWM API. From 3f154fe48bad52043b80b1ad3f9149a05e9dfc1c Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Fri, 11 Oct 2024 13:15:24 -0600 Subject: [PATCH 26/47] reorganizing for simplicity --- EventNames.MD | 38 --------------------------- GraphQL/program_integration/readme.md | 1 + GraphQL/readme.MD | 2 ++ 3 files changed, 3 insertions(+), 38 deletions(-) delete mode 100644 EventNames.MD diff --git a/EventNames.MD b/EventNames.MD deleted file mode 100644 index c296066..0000000 --- a/EventNames.MD +++ /dev/null @@ -1,38 +0,0 @@ -# Event Names -## Direct Supplier Incident -**add**: `agile-process-teams:add-direct-supplier-incident:v3` -**edit**: `agile-process-teams:edit-direct-supplier-incident:v3` -**copy**: `agile-process-teams:copy-direct-supplier-incident:v2` -**close**: `agile-process-teams:close-direct-supplier-incident:v2` -**reopen**: `agile-process-teams:reopen-direct-supplier-incident:v1` -**submitPartner**: `agile-process-teams:submit-direct-supplier-incident-to-partner:v1` - -## Indirect Supplier Incident -**add**: `agile-process-teams:add-indirect-supplier-incident:v3` -**edit**: `agile-process-teams:edit-indirect-supplier-incident:v3` -**copy**: `agile-process-teams:copy-indirect-supplier-incident:v2` -**close**: `agile-process-teams:close-indirect-supplier-incident:v2` -**reopen**: `agile-process-teams:reopen-indirect-supplier-incident:v1` -**submitPartner**: `agile-process-teams:submit-indirect-supplier-incident-to-partner:v1` - -## External Manufacturing Incident -**add**: `agile-process-teams:add-external-manufacturing-incident:v3` -**edit**: `agile-process-teams:edit-external-manufacturing-incident:v3` -**copy**: `agile-process-teams:copy-external-manufacturing-incident:v1` -**close**: `agile-process-teams:close-external-manufacturing-incident:v2` -**reopen**: `agile-process-teams:reopen-external-manufacturing-incident:v1` -**submitPartner**: `agile-process-teams:submit-external-manufacturing-incident-to-partner:v1` - -## Internal Manufacturing Incident -**add**: `agile-process-teams:add-internal-manufacturing-incident:v3` -**edit**: `agile-process-teams:edit-internal-manufacturing-incident:v3` -**copy**: `agile-process-teams:copy-internal-manufacturing-incident:v1` -**close**: `agile-process-teams:close-internal-manufacturing-incident:v2` -**reopen**: `agile-process-teams:reopen-internal-manufacturing-incident:v1` - -## Shared Incident Operations -**add**: `agile-process-teams:add-comment-for-incident:v1` -**edit**: `agile-process-teams:edit-comment-for-incident:v1` -**list**: `agile-process-teams:list-comments-for-incident:v1` -**follow/unfollow**: `agile-process-teams:toggle-user-follows-incident:v1` -**getHistory**: `agile-process-teams:get-activity-history-for-incident:v1` diff --git a/GraphQL/program_integration/readme.md b/GraphQL/program_integration/readme.md index e69de29..eea2699 100644 --- a/GraphQL/program_integration/readme.md +++ b/GraphQL/program_integration/readme.md @@ -0,0 +1 @@ +# Incorporating GraphQL into your automation solutions # diff --git a/GraphQL/readme.MD b/GraphQL/readme.MD index 6b40480..ea0df28 100644 --- a/GraphQL/readme.MD +++ b/GraphQL/readme.MD @@ -3,3 +3,5 @@ The payload samples contain the GraphQL text to be used in either a query tool or incorporated into software code. ## Program Samples ## The program samples contain the minimum necessary code to send the request. This code is extensible to construct larger solutions. + +[Learn to use graphql in your solutions](../program_integration/readme.md) From 36e36be4255c20734295deece4e7a56d12b08e6b Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Fri, 11 Oct 2024 14:12:53 -0600 Subject: [PATCH 27/47] adding instructions --- GraphQL/program_integration/readme.md | 95 +++++++++++++++++++++++++++ GraphQL/readme.MD | 2 +- 2 files changed, 96 insertions(+), 1 deletion(-) diff --git a/GraphQL/program_integration/readme.md b/GraphQL/program_integration/readme.md index eea2699..8c41bfb 100644 --- a/GraphQL/program_integration/readme.md +++ b/GraphQL/program_integration/readme.md @@ -1 +1,96 @@ # Incorporating GraphQL into your automation solutions # +The GraphQL code samples provided contain the payloads necessary to make requests to the Opus platform. Incorporate the payload into the body of your request. The request text must be converted to a JSON string when copied from the sample files. For example: +### Original Query ### +Query: +``` +mutation AddIncident($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} +``` +Variables +``` +{ +"action": "Addincident", +"payload":{ + "aptBusinessObjectSummary": "Printing error", + "aptBusinessObjectDescription":"Label printing offset", + "businessPriority":"LOW", + "incidentType":"LABEL_COMPLIANCE_ERROR", + "resolutionDueDate":"1736613281000" // 11 Jan 2025 + } +} +``` +Once converted to JSON strings, +### Python ### +``` +import requests +import json + +url = "https://valvir-opus.tracelink.com/api/graphql" + +payload = "{\"query\":\"mutation AddIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\": \"Addincident\",\"payload\": {\"aptBusinessObjectSummary\":\"Printing error\",\"aptBusinessObjectDescription\": \"Label printing offset on package\",\"businessPriority\": \"LOW\",\"incidentType\":\"LABEL_COMPLIANCE_ERROR\",\"resolutionDueDate\": \"1736613281000\"}}}" +headers = { + 'Authorization': 'Basic YOUR_AUTH_TOKEN', + 'Content-Type': 'application/json', + 'Dataspace': 'default', + 'companyId': 'YOUR_COMPANY_ID', + 'processNetworkId': 'YOUR_NETWORK_ID' +} + +response = requests.request("POST", url, headers=headers, data=payload) + +print(response.text) + +``` +### Node.js ### +``` +var request = require('request'); +var options = { + 'method': 'POST', + 'url': 'https://valvir-opus.tracelink.com/api/graphql', + 'headers': { + 'Authorization': 'Basic YOUR_AUTH_TOKEN', + 'Content-Type': 'application/json', + 'Dataspace': 'default', + 'companyId': 'YOUR_COMPANY_ID', + 'processNetworkId': 'YOUR_NETWORK_ID' + }, + body: JSON.stringify({ + query: `mutation AddIncident($action: String!, $payload: JSON!) +{ + genericActionCall(action: $action, payload: $payload) + { + result + __typename + } +}`, + variables: + {"action": "Addincident", + "payload": + {"aptBusinessObjectSummary":"Printing error", + "aptBusinessObjectDescription": "Label printing offset on package", + "businessPriority": "LOW", + "incidentType":"LABEL_COMPLIANCE_ERROR", + "resolutionDueDate": "1736613281000"}} + }) +}; +request(options, function (error, response) { + if (error) throw new Error(error); + console.log(response.body); +}); +``` +In this example, Opus automatically assigns Business Object and Id values. The response will contain both values and be similar to the example below: +``` +{ + "data": { + "genericActionCall": { + "result": "{\"aptBusinessObjectId\":\"USPT-0000\",\"id\":\"aa0a00aa-0a00-0aaa-0a00-000000a000000\"}", + "__typename": "ReadResult" + } + } +} +``` +The ```id``` item allows subsequent calls to update, copy, close, and reopen this new record. diff --git a/GraphQL/readme.MD b/GraphQL/readme.MD index ea0df28..fe77aed 100644 --- a/GraphQL/readme.MD +++ b/GraphQL/readme.MD @@ -4,4 +4,4 @@ The payload samples contain the GraphQL text to be used in either a query tool o ## Program Samples ## The program samples contain the minimum necessary code to send the request. This code is extensible to construct larger solutions. -[Learn to use graphql in your solutions](../program_integration/readme.md) +[Learn to use graphql in your solutions](program_integration/readme.md) From e55a2aacbda45e6546fa29895e415fb21fec133f Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Fri, 11 Oct 2024 14:16:01 -0600 Subject: [PATCH 28/47] revising instructions --- GraphQL/program_integration/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GraphQL/program_integration/readme.md b/GraphQL/program_integration/readme.md index 8c41bfb..ef9589e 100644 --- a/GraphQL/program_integration/readme.md +++ b/GraphQL/program_integration/readme.md @@ -23,7 +23,7 @@ Variables } } ``` -Once converted to JSON strings, +Add your converted strings to a payload. Create a single object containing query and variables objects. ### Python ### ``` import requests From ac82d60beb0879b912e9278a44f990e1d699a73d Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Fri, 11 Oct 2024 14:19:48 -0600 Subject: [PATCH 29/47] revising instructions --- GraphQL/program_integration/readme.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/GraphQL/program_integration/readme.md b/GraphQL/program_integration/readme.md index ef9589e..b9c1164 100644 --- a/GraphQL/program_integration/readme.md +++ b/GraphQL/program_integration/readme.md @@ -1,5 +1,8 @@ # Incorporating GraphQL into your automation solutions # -The GraphQL code samples provided contain the payloads necessary to make requests to the Opus platform. Incorporate the payload into the body of your request. The request text must be converted to a JSON string when copied from the sample files. For example: +The GraphQL code samples provided contain the payloads necessary to make requests to the Opus platform. +Use your preferred programming language to construct the HTTP request for the desired action. Your ```Headers``` section contains the relevant authorization data for your environment. +Incorporate the payload into the body of your request. The request text must be converted to a JSON string for inclusion. +For example: ### Original Query ### Query: ``` @@ -43,7 +46,6 @@ headers = { response = requests.request("POST", url, headers=headers, data=payload) print(response.text) - ``` ### Node.js ### ``` From 2858f6821e4d87eda227d9e907defb2c72795dca Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Fri, 11 Oct 2024 14:21:58 -0600 Subject: [PATCH 30/47] revising for clarity --- GraphQL/program_integration/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GraphQL/program_integration/readme.md b/GraphQL/program_integration/readme.md index b9c1164..c57d6e8 100644 --- a/GraphQL/program_integration/readme.md +++ b/GraphQL/program_integration/readme.md @@ -95,4 +95,4 @@ In this example, Opus automatically assigns Business Object and Id values. The } } ``` -The ```id``` item allows subsequent calls to update, copy, close, and reopen this new record. +The ```id``` item allows subsequent calls to update, comment, copy, close, or reopen this new record. From 772e0b8775e8ed0adafd0f4b7fa405d2b47896b4 Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Fri, 11 Oct 2024 14:27:44 -0600 Subject: [PATCH 31/47] adding a node sample --- GraphQL/program_samples/node/addIncident.js | 34 +++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 GraphQL/program_samples/node/addIncident.js diff --git a/GraphQL/program_samples/node/addIncident.js b/GraphQL/program_samples/node/addIncident.js new file mode 100644 index 0000000..2f07984 --- /dev/null +++ b/GraphQL/program_samples/node/addIncident.js @@ -0,0 +1,34 @@ +var request = require('request'); +var options = { + 'method': 'POST', + 'url': 'https://valvir-opus.tracelink.com/api/graphql', + 'headers': { + 'Authorization': 'Basic YOUR_TOKEN', + 'Content-Type': 'application/json', + 'Dataspace': 'default', + 'companyId': 'YOUR_COMPANY_ID', + 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' + }, + body: JSON.stringify({ + query: `mutation AddIncident($action: String!, $payload: JSON!) +{ + genericActionCall(action: $action, payload: $payload) + { + result + __typename + } +}`, + variables: + {"action": "Addincident", + "payload": + {"aptBusinessObjectSummary":"Printing error", + "aptBusinessObjectDescription": "Label printing offset on package", + "businessPriority": "LOW", + "incidentType":"LABEL_COMPLIANCE_ERROR", + "resolutionDueDate": "1736613281000"}} + }) +}; +request(options, function (error, response) { + if (error) throw new Error(error); + console.log(response.body); +}); From 1812b9e2ba2aafa3bb6cc5e33619e6c4dd842ef2 Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Fri, 11 Oct 2024 15:10:10 -0600 Subject: [PATCH 32/47] adding blank program request files --- GraphQL/program_integration/node_blank.js | 28 +++++++++++++++++++++ GraphQL/program_integration/python_blank.py | 17 +++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 GraphQL/program_integration/node_blank.js create mode 100644 GraphQL/program_integration/python_blank.py diff --git a/GraphQL/program_integration/node_blank.js b/GraphQL/program_integration/node_blank.js new file mode 100644 index 0000000..904b937 --- /dev/null +++ b/GraphQL/program_integration/node_blank.js @@ -0,0 +1,28 @@ +var request = require('request'); +var options = { + 'method': 'POST', + 'url': 'https://valvir-opus.tracelink.com/api/graphql', + 'headers': { + 'Authorization': 'Basic YOUR_AUTH_TOKEN', + 'Content-Type': 'application/json', + 'Dataspace': 'default', + 'companyId': 'YOUR_COMPANY_ID', + 'processNetworkId': 'YOUR_NETWORK_ID' + }, + body: JSON.stringify({ + query: `mutation takeAction}}($action: String!, $payload: JSON!) +{ + genericActionCall(action: $action, payload: $payload) + { + result + __typename + } +}`, + variables: + {} + }) +}; +request(options, function (error, response) { + if (error) throw new Error(error); + console.log(response.body); +}); diff --git a/GraphQL/program_integration/python_blank.py b/GraphQL/program_integration/python_blank.py new file mode 100644 index 0000000..ea01967 --- /dev/null +++ b/GraphQL/program_integration/python_blank.py @@ -0,0 +1,17 @@ +import requests +import json + +url = "https://valvir-opus.tracelink.com/api/graphql" + +payload = "{\"query\":\"mutation takeAction($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{{}}}}" +headers = { + 'Authorization': 'Basic YOUR_AUTH_TOKEN', + 'Content-Type': 'application/json', + 'Dataspace': 'default', + 'companyId': 'YOUR_COMPANY_ID', + 'processNetworkId': 'YOUR_NETWORK_ID' +} + +response = requests.request("POST", url, headers=headers, data=payload) + +print(response.text) From 2bfa5a42cc881a358509ae0bafe150fef048d33f Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Fri, 1 Nov 2024 07:24:39 -0600 Subject: [PATCH 33/47] updating blank environment --- GraphQL/graphql | 6 ++++++ collections/insomnia/TL_Insomnia_Environment.json | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 GraphQL/graphql diff --git a/GraphQL/graphql b/GraphQL/graphql new file mode 100644 index 0000000..40ca9d2 --- /dev/null +++ b/GraphQL/graphql @@ -0,0 +1,6 @@ + mutation AddChangeComments($action: String!, $payload: JSON!) + {genericActionCall(action: $action, payload: $payload) + { + result + __typename} + } \ No newline at end of file diff --git a/collections/insomnia/TL_Insomnia_Environment.json b/collections/insomnia/TL_Insomnia_Environment.json index af34773..1ff60ec 100644 --- a/collections/insomnia/TL_Insomnia_Environment.json +++ b/collections/insomnia/TL_Insomnia_Environment.json @@ -1,6 +1,6 @@ { "val_server": "https://valvir-opus.tracelink.com", - "response_body": "[object Object]", + "response_body": "", "prod_server": "https://prod-opus.tracelink.com", "token": "", "apiKey": "", @@ -46,7 +46,7 @@ "regulatory_company_identifier": "", "regulatory_company_type": "GLN", "regulatory_item_code_value": "", - "regulatory_item_code_type": "", + "regulatory_item_code_type": "US_NDC532", "partner_regulatory_identifier": "", "partner_regulatory_identifier_type": "GCP", "subtask_template_id": "", From 42fc7fe9292b460d5c9dd56fcdb4489cf7a79428 Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Fri, 1 Nov 2024 08:30:09 -0600 Subject: [PATCH 34/47] updating collection with tested requests --- .../insomnia/TL_Insomnia_Collection.json | 4382 ++++++++++++++++- 1 file changed, 4381 insertions(+), 1 deletion(-) diff --git a/collections/insomnia/TL_Insomnia_Collection.json b/collections/insomnia/TL_Insomnia_Collection.json index 11f051e..845ed3d 100644 --- a/collections/insomnia/TL_Insomnia_Collection.json +++ b/collections/insomnia/TL_Insomnia_Collection.json @@ -1 +1,4381 @@ -{"_type":"export","__export_format":4,"__export_date":"2024-10-01T12:01:59.894Z","__export_source":"insomnia.desktop.app:v8.2.0","resources":[{"_id":"req_0d1e0a72859846afa2d38c6fbff59825","parentId":"fld_9d8b988c4f154bdba543c7b92eb0857b","modified":1727459869895,"created":1727459869895,"url":"{{prod}}/api/graphql","name":"Get SCWM schema","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query GetapiDocument($action: String!, $apiFileName: String!) {\\n\\tgenericActionCall(action: $action, payload: { apiFileName: $apiFileName }) {\\n\\t\\t... on ReadResult {\\n\\t\\t\\tresult\\n\\t\\t}\\n\\t}\\n}\\n# use the following code on your local device to generate the token\\n# hydra -ae prod token\",\"variables\":\"{\\n\\t\\\"action\\\": \\\"GetapiDocument\\\",\\n\\t\\\"apiFileName\\\": \\\"a0ce8683-b182-47f8-bc75-c83410fc1829\\\"\\n}\\n\\n\\n\\n\\n\\n\"}"},"parameters":[],"headers":[{"name":"Authorization","value":"bearer {{tde_bearer_token}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{tde_owner}}"},{"name":"processNetworkId","value":"{{tde_process_Network}}"}],"authentication":{},"metaSortKey":-1727459869895,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_9d8b988c4f154bdba543c7b92eb0857b","parentId":"fld_8af9e9e548594791b1a1493a43987f61","modified":1727459869883,"created":1727459869883,"name":"Parked","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1727459869883,"_type":"request_group"},{"_id":"fld_8af9e9e548594791b1a1493a43987f61","parentId":"wrk_b52c1911f5b744a99b0bee28f8b96bb0","modified":1727459869792,"created":1727459869792,"name":"GraphQL Requests","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1727459869792,"_type":"request_group"},{"_id":"wrk_b52c1911f5b744a99b0bee28f8b96bb0","parentId":null,"modified":1727459658254,"created":1727459658254,"name":"My Collection","description":"","scope":"collection","_type":"workspace"},{"_id":"req_8fdeb28af2a14eab9e95f86ea93d5850","parentId":"fld_9d8b988c4f154bdba543c7b92eb0857b","modified":1727459869894,"created":1727459869894,"url":"{{prod}}/api/graphql","name":"Get API doc","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query GetapiDocument($action: String!, $apiFileName: String!) {\\n\\tgenericActionCall(action: $action, payload: { apiFileName: $apiFileName }) {\\n\\t\\t... on ReadResult {\\n\\t\\t\\tresult\\n\\t\\t}\\n\\t}\\n}\",\"variables\":\"{\\n\\t\\\"action\\\": \\\"GetapiDocument\\\",\\n\\t\\\"apiFileName\\\": \\\"6edcc413-8c1d-49f8-a72f-e61f3fcc4872\\\"\\n}\\n\\n\\n\\n\\n\\n\"}"},"parameters":[],"headers":[{"name":"Authorization","value":"bearer {{tde_bearer_token}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{tde_owner}}"},{"name":"processNetworkId","value":"{{tde_process_Network}}"}],"authentication":{},"metaSortKey":-1727459869894,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_f4480f351ed04ab29fbeccb908e71382","parentId":"fld_9d8b988c4f154bdba543c7b92eb0857b","modified":1727459869892,"created":1727459869892,"url":"{{server}}/api/graphql","name":"Read Change Details","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n \"operationName\": \"ChangeScreen\",\n \"variables\": {\n \"type\": \"change\",\n \"id\": \"{{changeId}}\"\n },\n \"query\": \"query ChangeScreen($type: String!, $id: String!) {\\n ChangeScreen: genericGetObject(type: $type, id: $id) {\\n ... on ALL_RETURNS {\\n ... on Change {\\n id\\n currentBaseState\\n currentSubState\\n data {\\n aptBusinessObjectId\\n aptBusinessObjectSummary\\n aptBusinessObjectDescription\\n responsibleDepartmentAtCompany\\n responsibleDepartmentAtPartner\\n changeType\\n businessPriority\\n resolutionDueDate\\n changeConclusion {\\n dateClosed\\n finalRootCause\\n resolutionType\\n isReoccuring\\n closingStatement\\n __typename\\n }\\n referenceIdentifiers {\\n value\\n referenceTransactionType\\n __typename\\n }\\n dateSubmitted\\n createdByPartner\\n __typename\\n }\\n issueRelatedToImpactedProductDetail {\\n to {\\n ... on ProductMasterData {\\n id\\n data {\\n productItemInformation {\\n productName\\n packSize\\n strength\\n dosageForm\\n productLanguageCode\\n isLightSensitive\\n __typename\\n }\\n packagingInformation {\\n packagingCode {\\n packagingCodeType\\n packagingCodeValue\\n __typename\\n }\\n __typename\\n }\\n regulatoryItemCodes {\\n regulatoryItemCode {\\n regulatoryItemCodeType\\n regulatoryItemCodeValue\\n __typename\\n }\\n __typename\\n }\\n packagingInformationAndRegulatoryItemCodesDerivedField\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n impactedLots\\n __typename\\n }\\n aptBusinessObjectBelongsToProcessNetwork {\\n to {\\n ... on ProcessNetwork {\\n id\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectCompanyAssignedUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPartnerAssignedUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectCompanyOwnerUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPartnerOwnerUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectAssignedToCompanyPartnerMasterData {\\n to {\\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on PartnerMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPrimaryPartnerLocationMasterData {\\n to {\\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n\\nfragment userName on User {\\n id\\n data {\\n givenName\\n surname\\n __typename\\n }\\n __typename\\n}\\n\"\n}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869892,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_3916006561704422a923888081fe5365","parentId":"fld_9d8b988c4f154bdba543c7b92eb0857b","modified":1727459869891,"created":1727459869891,"url":"{{server}}/api/graphql","name":"ListObjectType","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query GetListByType($type: String!) {\\n listObjectType(type: $type){\\n ... on Deployment{\\n id\\n deploymentHasApplication{\\n to{\\n id\\n lastUpdatedDateTime\\n data{\\n name\\n applicationType\\n provider\\n }\\n }\\n }\\n }\\n }\\n}\",\"variables\":\"{\\\"type\\\":\\\"Deployment\\\",\\n\\\"id\\\":\\\"832c1ac6-3811-4ad5-98ea-796341d14d91\\\",\\n\\\"operationName\\\":\\\"GetAppListFromDeployment\\\"}\"}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869891,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_f1bf6457190542dc9289d1af807c9645","parentId":"fld_9d8b988c4f154bdba543c7b92eb0857b","modified":1727459869890,"created":1727459869890,"url":"{{server}}/api/graphql","name":"GetAppListFromDeployment","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query GetAppListFromDeployment($type: String!, $id: String!) {\\n genericGetObject(type: $type, id: $id){\\n ... on Deployment{\\n id\\n deploymentHasApplication{\\n to{\\n id\\n lastUpdatedDateTime\\n data{\\n name\\n applicationType\\n provider\\n }\\n }\\n }\\n }\\n }\\n}\",\"variables\":\"{\\\"type\\\":\\\"Deployment\\\",\\n\\\"id\\\":\\\"832c1ac6-3811-4ad5-98ea-796341d14d91\\\",\\n\\\"operationName\\\":\\\"GetAppListFromDeployment\\\"}\"}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869890,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_731cbae841ac46ffa0a1a891f5fcb822","parentId":"fld_9d8b988c4f154bdba543c7b92eb0857b","modified":1727459869889,"created":1727459869889,"url":"{{server}}/api/graphql","name":"Read Incident Details Copy","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query IncidentScreen($type: String!, $id: String!) \\n{IncidentScreenIncident: genericGetObject(type: $type, id: $id) {\\n ... on ALL_RETURNS {\\n ... on Incident{\\n id\\n data{\\n aptBusinessObjectDescription\\n aptBusinessObjectId\\n }\\n }\\n }\\n __typename\\n }\\n}\\n\",\"variables\":\"{\\n \\\"type\\\": \\\"Incident\\\",\\n \\\"id\\\": \\\"{{incidentId}}\\\"\\n }\"}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869889,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_3c8d545730da4932a55c06bb594d6f7c","parentId":"fld_9d8b988c4f154bdba543c7b92eb0857b","modified":1727459869888,"created":1727459869888,"url":"{{server}}/api/graphql","name":"Read Incident Details","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query IncidentScreen($type: String!, $id: String!) \\n{IncidentScreenIncident: genericGetObject(type: $type, id: $id) {\\n ... on ALL_RETURNS {\\n ... on Incident {\\n id\\n currentBaseState\\n currentSubState\\n data {\\n aptBusinessObjectId\\n aptBusinessObjectSummary\\n aptBusinessObjectDescription\\n responsibleDepartmentAtCompany\\n responsibleDepartmentAtPartner\\n incidentType\\n businessPriority\\n resolutionDueDate\\n incidentConclusion {\\n dateClosed\\n finalRootCause\\n resolutionType\\n isReoccuring\\n closingStatement\\n __typename\\n }\\n referenceIdentifiers {\\n value\\n referenceTransactionType\\n __typename\\n }\\n dateSubmitted\\n createdByPartner\\n __typename\\n }\\n issueRelatedToImpactedProductDetail {\\n to {\\n ... on ProductMasterData {\\n id\\n data {\\n productItemInformation {\\n productName\\n packSize\\n strength\\n dosageForm\\n productLanguageCode\\n isLightSensitive\\n __typename\\n }\\n packagingInformation {\\n packagingCode {\\n packagingCodeType\\n packagingCodeValue\\n __typename\\n }\\n __typename\\n }\\n regulatoryItemCodes {\\n regulatoryItemCode{\\n regulatoryItemCodeType\\n regulatoryItemCodeValue\\n __typename\\n }\\n __typename\\n }\\n packagingInformationAndRegulatoryItemCodesDerivedField\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n impactedLots\\n __typename\\n }\\n aptBusinessObjectBelongsToProcessNetwork {\\n to {\\n ... on ProcessNetwork {\\n id\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectCompanyAssignedUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPartnerAssignedUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectCompanyOwnerUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPartnerOwnerUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectAssignedToCompanyPartnerMasterData {\\n to {\\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on PartnerMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyMasterData{\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPrimaryPartnerLocationMasterData {\\n to {\\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\nfragment userName on User {\\n id\\n data {\\n givenName\\n surname\\n __typename\\n }\\n __typename\\n} \",\"variables\":\"{\\n \\\"type\\\": \\\"Incident\\\",\\n \\\"id\\\": \\\"{{incidentId}}\\\"\\n }\"}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869888,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_d7376c26e7c346c9bd2f494da147ccd1","parentId":"fld_9d8b988c4f154bdba543c7b92eb0857b","modified":1727459869886,"created":1727459869886,"url":"{{server}}/api/graphql","name":"sketch","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query GetDirectSupplierIncident($type: String!, $id: String!){DSIncidentScreenEscalationReport: genericActionCall( action: \\\"Listattachmentsforincident\\\" payload: {processId: $id, attachmentType: \\\"escalationReport\\\" } ) { result }\\n DSIncident: genericGetObject(type: $type, id: $id){\\n ... on ALL_RETURNS {\\n ... on DirectSupplierIncident {\\n id \\n currentBaseState \\n data {\\n aptBusinessObjectId \\n aptBusinessObjectSummary \\n aptBusinessObjectDescription \\n responsibleDepartmentAtCompany \\n responsibleDepartmentAtPartner \\n resolutionDueDate \\n directSupplierConclusion {\\n approver \\n closingStatement \\n dateClosed \\n finalRootCause \\n isReoccuring \\n resolutionType \\n } \\n referenceIdentifiers { \\n referenceTransactionType \\n value \\n } \\n isEscalated \\n deviationType \\n materialType \\n materialSubtype \\n materialProblem \\n dateSubmitted \\n createdByPartner \\n directSupplierResponse {\\n inventoryAnalysisMethod\\n potentialRootCauses\\n initialContainmentActions\\n replacementMaterials {\\n availabilityDateForReplacements \\n transactionIDsForReplacements {\\n referenceTransactionType \\n value \\n } \\n incidentReplacementProduct {\\n to {\\n ... on ProductMasterData {\\n id \\n data {\\n productCode \\n packagingInformationDerivedField \\n packagingInformationAndRegulatoryItemCodesDerivedField \\n } \\n } \\n } \\n } \\n } \\n dateInitialResponseReceived \\n recommendationFromOriginatingCompany \\n dateSamplesReceivedByCompany \\n dateSamplesReceivedByPartner \\n dateSamplesSentToPartner \\n finalResponseDueDate \\n initialResponseDueDate \\n dateSamplesSentToCompany \\n dateFinalResponseReceived \\n immediateCorrectiveActions \\n potentialRootCauseNotes \\n methodsToProvePreventativeActionsTaken \\n inventoryImpact \\n finalResponseInformation \\n initialResponseInformation \\n finalPreventativeActions \\n } \\n directSupplierMaterialInformation {\\n companyInternalMaterialInformation \\n materialName \\n companyLotNumber \\n defectiveUnitOfMeasure \\n samplesAvailable \\n defectiveQuantity \\n partnerLotNumber \\n partnerInternalMaterialInformation \\n materialDescription \\n defectiveItemInformation \\n } \\n directSupplierImpact {\\n originatingLocationInvestigationDueDate \\n impactedDepartments \\n highPriorityReason \\n dateResourcesDeployed \\n financialImpact \\n businessImpact \\n dateSupplyImpacted \\n dateEscalationReportRequested \\n businessPriority \\n } \\n } \\n aptBusinessObjectOriginatingLocationMasterData {\\n toIdType\\n to {\\n ... on PartnerLocationMasterData {\\n id \\n data {\\n businessMasterDataCommon {\\n businessName \\n } \\n } \\n } \\n ... on CompanyLocationMasterData {\\n id \\n data {\\n businessMasterDataCommon {\\n businessName \\n } \\n } \\n } \\n } \\n } \\n aptBusinessObjectImpactsLocationMasterData {\\n to {\\n ... on CompanyLocationMasterData {\\n id \\n data {\\n businessMasterDataCommon {\\n businessName \\n } \\n } \\n } \\n ... on PartnerLocationMasterData {\\n id \\n data {\\n businessMasterDataCommon {\\n businessName \\n } \\n } \\n } \\n } \\n locationContact \\n locationType \\n } \\n aptBusinessObjectPotentiallyImpactsLocationsMasterData {\\n to {\\n ... on CompanyLocationMasterData {\\n id \\n data {\\n businessMasterDataCommon {\\n businessName \\n } \\n } \\n } \\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName \\n } \\n } \\n } \\n } \\n data {\\n locationType \\n locationContact \\n } \\n } \\n aptBusinessObjectImpactsProduct {\\n to {\\n ... on ProductMasterData {\\n id \\n data {\\n packagingInformationAndRegulatoryItemCodesDerivedField \\n } \\n } \\n } \\n } \\n aptBusinessObjectPotentiallyImpactsProducts {\\n to {\\n ... on ProductMasterData {\\n id \\n data {\\n packagingInformationAndRegulatoryItemCodesDerivedField \\n } \\n } \\n } \\n } \\n aptBusinessObjectCompanyAssignedUser {\\n to {\\n ... on User {\\n ...userName \\n } \\n } \\n } \\n aptBusinessObjectPartnerAssignedUser {\\n to {\\n ... on User {\\n ...userName \\n } \\n } \\n } \\n aptBusinessObjectCompanyOwnerUser {\\n to {\\n ... on User {\\n ...userName \\n } \\n } \\n } \\n aptBusinessObjectPartnerOwnerUser {\\n to {\\n ... on User {\\n ...userName \\n } \\n } \\n } \\n aptBusinessObjectRelatesToAptBusinessObject {\\n to {\\n ... on Incident {\\n id \\n data {\\n aptBusinessObjectId \\n aptBusinessObjectSummary \\n } \\n } \\n ... on DirectSupplierIncident {\\n id \\n data {\\n aptBusinessObjectId \\n aptBusinessObjectSummary \\n } \\n } \\n ... on Task {\\n id \\n data {\\n aptBusinessObjectId \\n aptBusinessObjectSummary \\n } \\n } \\n ... on IndirectSupplierIncident {\\n id \\n data {\\n aptBusinessObjectId \\n aptBusinessObjectSummary \\n } \\n } \\n ... on ExternalManufacturingIncident {\\n id \\n data {\\n aptBusinessObjectId \\n aptBusinessObjectSummary \\n } \\n } \\n ... on InternalManufacturingIncident {\\n id \\n data {\\n aptBusinessObjectId \\n aptBusinessObjectSummary \\n } \\n } \\n ... on Change {\\n id \\n data {\\n aptBusinessObjectId \\n aptBusinessObjectSummary \\n } \\n } \\n ... on DocumentReview {\\n id \\n data {\\n aptBusinessObjectId \\n aptBusinessObjectSummary \\n } \\n } \\n ... on BatchRecordReview {\\n id \\n data {\\n aptBusinessObjectId \\n aptBusinessObjectSummary \\n } \\n } \\n ... on QualityDocumentReview {\\n id \\n data {\\n aptBusinessObjectId \\n aptBusinessObjectSummary \\n } \\n } \\n } \\n } \\n aptBusinessObjectAssignedToCompanyPartnerMasterData {\\n to {\\n ... on PartnerMasterData {\\n id \\n data {\\n businessMasterDataCommon {\\n businessName \\n } \\n } \\n } \\n } \\n } \\n aptBusinessObjectPrimaryPartnerLocationMasterData {\\n to {\\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName \\n } \\n } \\n } \\n } \\n } \\n } \\n } \\n } \\n} \\nfragment userName on User {\\n id \\n data {\\n givenName \\n surname \\n } \\n}\",\"variables\":\"{\\\"companyId\\\": \\\"911379c4-f29c-46cd-8c85-0026932791b9\\\",\\n\\\"processNetworkId\\\": \\\"2154f852-02eb-4725-b521-047df60bbbff\\\",\\n\\\"type\\\": \\\"directSupplierIncident\\\",\\n\\\"id\\\":\\\"7439e92a-eb07-402a-aa4b-e4e807c06cf8\\\"}\"}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869886,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_503975b29c3d40b6bd5906753488e311","parentId":"fld_9d8b988c4f154bdba543c7b92eb0857b","modified":1727459869885,"created":1727459869885,"url":"{{server}}/api/graphql","name":"data fetcher","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n \"operationName\": \"ExperienceManagerQueryOverlay\",\n \"variables\": {\n \"companyId\": \"911379c4-f29c-46cd-8c85-0026932791b9\",\n \"processNetworkId\": \"2154f852-02eb-4725-b521-047df60bbbff\",\n \"route\": \"/monitorchangerequestsforowner/view\"\n },\n \"query\": \"query ExperienceManagerQueryOverlay($companyId: String!, $processNetworkId: String!, $route: String!) {\\n genericActionCall(\\n action: \\\"Getscreenbyroute\\\"\\n payload: {companyId: $companyId, processNetworkId: $processNetworkId, route: $route}\\n ) {\\n result\\n __typename\\n }\\n}\\n\"\n}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"}],"authentication":{},"metaSortKey":-1727459869885,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_9ff7652e63644479bb55ed1928663fb6","parentId":"fld_9d8b988c4f154bdba543c7b92eb0857b","modified":1727459869884,"created":1727459869884,"url":"{{server}}/api/graphql","name":"{{server}}/api/graphql","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n \"operationName\": \"ExperienceManagerQueryOverlay\",\n \"variables\": {\n \"companyId\": \"911379c4-f29c-46cd-8c85-0026932791b9\",\n \"processNetworkId\": \"2154f852-02eb-4725-b521-047df60bbbff\",\n \"route\": \"/monitorchangerequestsforowner/view\"\n },\n \"query\": \"query ExperienceManagerQueryOverlay($companyId: String!, $processNetworkId: String!, $route: String!) {\\n genericActionCall(\\n action: \\\"Getscreenbyroute\\\"\\n payload: {companyId: $companyId, processNetworkId: $processNetworkId, route: $route}\\n ) {\\n result\\n __typename\\n }\\n}\\n\"\n}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"}],"authentication":{},"metaSortKey":-1727459869884,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_94469125e6bc476881e0a6fe390e2d02","parentId":"fld_ee75730bda544227ace07b4951d5ba0d","modified":1727713268108,"created":1727459869882,"url":"{{ _.val_server }}/api/graphql","name":"Get Partner Master Data","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query getQueryResults($regulatoryIdentifierValue: String!, $regulatoryIdentifierType: String!)\\n {\\n genericActionCall(\\n action: \\\"Getpartnerbyidentifier\\\",\\n payload:{\\n regulatoryIdentifierValue: $regulatoryIdentifierValue,\\n regulatoryIdentifierType: $regulatoryIdentifierType\\n }\\n )\\n{result}\\n}\",\"operationName\":\"getQueryResults\",\"variables\":{\"regulatoryIdentifierValue\":\"{{ _.partner_regulatory_identifier }}\",\"regulatoryIdentifierType\":\"{{ _.partner_regulatory_identifier_type }}\"}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869882,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_ee75730bda544227ace07b4951d5ba0d","parentId":"fld_8af9e9e548594791b1a1493a43987f61","modified":1727459869879,"created":1727459869879,"name":"Master Data","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1727459869879,"_type":"request_group"},{"_id":"req_8d06bf5383904616bbb329deb5efa83c","parentId":"fld_ee75730bda544227ace07b4951d5ba0d","modified":1727464655577,"created":1727459869881,"url":"{{ _.val_server }}/api/graphql","name":"Get Company Master Data","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query getQueryResults($regulatoryCompanyIdentifierValue: String!, $regulatoryCompanyIdentifierType: String!)\\n {\\n genericActionCall(\\n action: \\\"Getcompanybyidentifier\\\",\\n payload:{\\n regulatoryCompanyIdentifierValue: $regulatoryCompanyIdentifierValue,\\n regulatoryCompanyIdentifierType: $regulatoryCompanyIdentifierType\\n }\\n )\\n{result}\\n}\",\"operationName\":\"getQueryResults\",\"variables\":{\"regulatoryCompanyIdentifierValue\":\"{{regulatory_company_identifier}}\",\"regulatoryCompanyIdentifierType\":\"{{regulatory_company_type}}\"}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}","id":"pair_1361ec4f98d84f61ad33f81a5866030c"},{"name":"Content-Type","value":"application/json","id":"pair_78df16a45e8f4ac5b3984ec91a8d5c17"},{"name":"Dataspace","value":"default","id":"pair_ae895e76dbe44f5eb24c8b8a187b9249"},{"name":"companyId","value":"{{ownerId}}","id":"pair_a325dddc627d4e4e8dc0e5ddd4a4068e"},{"name":"processNetworkId","value":"{{processNetworkId}}","id":"pair_bd81e072f65a4fbf93fbfbaf48588c2d"}],"authentication":{},"metaSortKey":-1727459869881,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_1cd8f1133b5a46bb81368cfa97ce88ce","parentId":"fld_ee75730bda544227ace07b4951d5ba0d","modified":1727713323013,"created":1727459869880,"url":"{{ _.val_server }}/api/graphql","name":"Get Product Master Data","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query getProductMasterData($action: String!, $regulatoryItemCodeValue: String!, $regulatoryItemCodeType: String!)\\n{\\n genericActionCall(\\n action: $action,\\n payload:\\n {\\n regulatoryItemCodeValue: $regulatoryItemCodeValue,\\n regulatoryItemCodeType: $regulatoryItemCodeType\\n }\\n )\\n {\\n result\\n __typename\\n }\\n}\",\"operationName\":\"getProductMasterData\",\"variables\":{\"action\":\"Getproductbyitemcode\",\"regulatoryItemCodeValue\":\"{{ _.regulatory_item_code_value }}\",\"regulatoryItemCodeType\":\"{{_.regulatory_item_code_type}}\"}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869880,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_c4aa534f3534438a92a38be9a85f2c76","parentId":"fld_ab8ccc12747b4583b05e57ea470e539e","modified":1727711071316,"created":1727459869877,"url":"{{ _.val_server }}/api/graphql","name":"Read Template Details","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query ReadTemplateDetails($id: String!, $type: String!)\\n{\\n genericGetObject(type:$type, id: $id)\\n {\\n ... on ALL_RETURNS{\\n ... on TaskTemplate{\\n id\\n data{\\n templateName\\n aptBusinessObjectDescription\\n isTemplateModifiableByMember\\n isAddRemoveSubtaskAllowed\\n completionRequiredWithinDays\\n businessPriority\\n responsibleDepartmentAtCompany\\n }\\n taskTemplateContainsSubTask{\\n to{\\n subType\\n objectType\\n }\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n } \\n}\",\"operationName\":\"ReadTemplateDetails\",\"variables\":{\"type\":\"TaskTemplate\",\"id\":\"{{ _.task_template_id }}\"}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869877,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_ab8ccc12747b4583b05e57ea470e539e","parentId":"fld_8af9e9e548594791b1a1493a43987f61","modified":1727459869869,"created":1727459869869,"name":"Task Template","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1727459869869,"_type":"request_group"},{"_id":"req_888e5dd98301434684f50a45a218e1f6","parentId":"fld_ab8ccc12747b4583b05e57ea470e539e","modified":1727713392534,"created":1727459869876,"url":"{{ _.val_server }}/api/graphql","name":"Copy Task Template","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation CopyTaskTemplate($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"CopyTaskTemplate\",\"variables\":{\"action\":\"Copytasktemplate\",\"payload\":{\"id\":\"{{_.task_template_id}}\",\"templateName\":\"New template number 2\",\"copyGeneralInfo\":true,\"copySubTasks\":false}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869876,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_4d97ed9d1baf405d89effda5de893bdd","parentId":"fld_ab8ccc12747b4583b05e57ea470e539e","modified":1727713411309,"created":1727459869875,"url":"{{ _.val_server }}/api/graphql","name":"Remove SubTask from Template","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation RemoveSubTaskFromTemplate($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"RemoveSubTaskFromTemplate\",\"variables\":{\"action\":\"Removesubtaskfromtemplate\",\"payload\":{\"id\":\"{{_.subtask_template_id}}\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869875,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_c8ff561253fd4206be995b7123b899cf","parentId":"fld_ab8ccc12747b4583b05e57ea470e539e","modified":1727713461260,"created":1727459869874,"url":"{{ _.val_server }}/api/graphql","name":"List SubTask for Template","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query ListSubTaskForTemplate($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"ListSubTaskForTemplate\",\"variables\":{\"action\":\"Listsubtaskfortemplate\",\"payload\":{\"templateId\":\"{{ _.task_template_id }}\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869874,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_6add3134801146f39fcde05a91034cae","parentId":"fld_ab8ccc12747b4583b05e57ea470e539e","modified":1727713489562,"created":1727459869873,"url":"{{ _.val_server }}/api/graphql","name":"Edit Sub Task on Template","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation EditSubTaskOnTemplate($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"EditSubTaskOnTemplate\",\"variables\":{\"action\":\"Editsubtaskontemplate\",\"payload\":{\"id\":\"{{_.subtask_template_id}}\",\"subTaskName\":\"Modified template name 1\",\"businessPriority\":\"LOW\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869873,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_c95d02cd7c024eb2a819dc946c7bea03","parentId":"fld_ab8ccc12747b4583b05e57ea470e539e","modified":1727713521536,"created":1727459869872,"url":"{{ _.val_server }}/api/graphql","name":"Edit Task Template","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation EditTaskTemplate($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"EditTaskTemplate\",\"variables\":{\"action\":\"Edittasktemplate\",\"payload\":{\"id\":\"{{_.task_template_id}}\",\"aptBusinessObjectDescription\":\"Modified template via python using GraphQL\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869872,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_64542e8cc5c74752bc1c4efc2a3b089e","parentId":"fld_ab8ccc12747b4583b05e57ea470e539e","modified":1727713539668,"created":1727459869871,"url":"{{ _.val_server }}/api/graphql","name":"Add SubTask to Template","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation AddSubTaskToTemplate($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"AddSubTaskToTemplate\",\"variables\":{\"action\":\"Addsubtasktotemplate\",\"payload\":{\"templateId\":\"{{_.task_template_id}}\",\"subTaskName\":\"GQL Created Sub Task 2\",\"subTaskType\":\"Test subTask\",\"businessPriority\":\"LOW\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869871,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_04839e97ed34483aacd06aca3d44e5c4","parentId":"fld_ab8ccc12747b4583b05e57ea470e539e","modified":1727713555753,"created":1727459869870,"url":"{{ _.val_server }}/api/graphql","name":"Add Task Template","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation AddTaskTemplate($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Addtasktemplate\\\",\\n\\\"payload\\\":{\\n \\\"templateName\\\": \\\"GQL Postman Created Task Template 19 Apr test run\\\",\\n \\\"aptBusinessObjectDescription\\\": \\\"Template to demonstrate subTask creation via GraphQL API and Postman\\\",\\n \\\"isTemplateModifiableByMember\\\": true,\\n \\\"isAddRemoveSubtaskAllowed\\\": true,\\n \\\"completionRequiredWithinDays\\\": 14,\\n \\\"businessPriority\\\": \\\"LOW\\\"\\n}\\n}\"}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869870,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_6216dc3048ed4f62af14c65ec7e48af4","parentId":"fld_eae505dcaa5a4bb88db335e08fd14eff","modified":1727713891046,"created":1727459869868,"url":"{{ _.val_server }}/api/graphql","name":"Edit Subtask on Task","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation EditSubTaskOnTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"EditSubTaskOnTask\",\"variables\":{\"action\":\"Editsubtaskontask\",\"payload\":{\"id\":\"{{_.subtask_id}}\",\"subTaskType\":\"Postman second test modification\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869868,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_eae505dcaa5a4bb88db335e08fd14eff","parentId":"fld_8af9e9e548594791b1a1493a43987f61","modified":1727459869849,"created":1727459869849,"name":"Task","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1727459869849,"_type":"request_group"},{"_id":"req_ddcf889775b2429b8e02e07f8a09e7a9","parentId":"fld_eae505dcaa5a4bb88db335e08fd14eff","modified":1727713919147,"created":1727459869867,"url":"{{ _.val_server }}/api/graphql","name":"List SubTask for Task","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query ListSubTaskForTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"ListSubTaskForTask\",\"variables\":{\"action\":\"Listsubtaskfortask\",\"payload\":{\"taskId\":\"{{_.task_id}}\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869867,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_93ec3e1a6d9e413bb66ec63aebc02c9f","parentId":"fld_eae505dcaa5a4bb88db335e08fd14eff","modified":1727713998547,"created":1727459869866,"url":"{{ _.val_server }}/api/graphql","name":"Add SubTask to Task","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation AddSubTaskToTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"AddSubTaskToTask\",\"variables\":{\"action\":\"Addsubtasktotask\",\"payload\":{\"taskId\":\"{{_.task_id}}\",\"subTaskName\":\"Postman created using GraphQL\",\"subTaskType\":\"Postman test\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869866,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_5249e123f9954035ad5ca6b64ed580f5","parentId":"fld_eae505dcaa5a4bb88db335e08fd14eff","modified":1727714129752,"created":1727459869864,"url":"{{ _.val_server }}/api/graphql","name":"Reopen Task","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation ReopenTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"ReopenTask\",\"variables\":{\"action\":\"Reopentask\",\"payload\":{\"id\":\"{{_.task_id}}\",\"resolutionType\":\"CANCELLED\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869864,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_c55ff7c432f0471eb4a049c9a25b5dac","parentId":"fld_eae505dcaa5a4bb88db335e08fd14eff","modified":1727714169891,"created":1727459869863,"url":"{{ _.val_server }}/api/graphql","name":"List Comments For Task","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation ListCommentsForTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"ListCommentsForTask\",\"variables\":{\"action\":\"Listcommentsforprocess\",\"payload\":{\"processId\":\"{{ _.task_id }}\",\"processType\":\"task\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869863,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_ba5a37a46ab94660ab96be641f391ed5","parentId":"fld_eae505dcaa5a4bb88db335e08fd14eff","modified":1727714226720,"created":1727459869862,"url":"{{ _.val_server }}/api/graphql","name":"Edit Comment For Task","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation EditCommentForTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"EditCommentForTask\",\"variables\":{\"action\":\"Editcommentforprocess\",\"payload\":{\"id\":\"{{ _.task_comment_id }}\",\"processType\":\"task\",\"aptCommentBox\":{\"aptComment\":{\"commentText\":\"Modifying the comment programmatically using GraphQL via Python\",\"visibilityType\":\"Public\"}}}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869862,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_771e6ad5fa474bdcadbbc9f8726d13ab","parentId":"fld_eae505dcaa5a4bb88db335e08fd14eff","modified":1727714259399,"created":1727459869861,"url":"{{ _.val_server }}/api/graphql","name":"Add Comment For Task","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation AddCommentForTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"AddCommentForTask\",\"variables\":{\"action\":\"Addcommentforprocess\",\"payload\":{\"processId\":\"{{_.task_id}}\",\"processType\":\"task\",\"aptCommentBox\":{\"aptComment\":{\"commentText\":\"Adding a comment using GraphQL via Postman\",\"visibilityType\":\"Public\"}}}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869861,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_ab3a2fa6a9d54a1185befa5768239916","parentId":"fld_eae505dcaa5a4bb88db335e08fd14eff","modified":1727714282344,"created":1727459869859,"url":"{{ _.val_server }}/api/graphql","name":"Remove Subtask","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation RemoveSubTaskFromTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"RemoveSubTaskFromTask\",\"variables\":{\"action\":\"Removesubtaskfromtask\",\"payload\":{\"id\":\"{{_.subtask_id}}\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869859,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_5302cde5180e4b3a8c111d33d64e81aa","parentId":"fld_eae505dcaa5a4bb88db335e08fd14eff","modified":1727714303332,"created":1727459869858,"url":"{{ _.val_server }}/api/graphql","name":"Get Activity History for Task","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query GetActivityHistoryForTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"GetActivityHistoryForTask\",\"variables\":{\"action\":\"Getactivityhistoryforincident\",\"payload\":{\"processId\":\"{{ _.task_id }}\",\"processType\":\"task\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869858,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_d3997c202c544a50a01181460e4f8e2d","parentId":"fld_eae505dcaa5a4bb88db335e08fd14eff","modified":1727714343203,"created":1727459869857,"url":"{{ _.val_server }}/api/graphql","name":"Reopen Subtask","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation ReopenSubTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"ReopenSubTask\",\"variables\":{\"action\":\"Reopensubtask\",\"payload\":{\"id\":\"{{ _.val_server }}\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869857,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_688367f77017448fb2876b62c55d845d","parentId":"fld_eae505dcaa5a4bb88db335e08fd14eff","modified":1727714367925,"created":1727459869856,"url":"{{ _.val_server }}/api/graphql","name":"Close Subtask","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation CloseSubTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"CloseSubTask\",\"variables\":{\"action\":\"Closesubtask\",\"payload\":{\"id\":\"{{ _.subtask_id }}\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869856,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_015a833998c94783ad0c41da454de781","parentId":"fld_eae505dcaa5a4bb88db335e08fd14eff","modified":1727714393170,"created":1727459869855,"url":"{{ _.val_server }}/api/graphql","name":"Close Task","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation CloseTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"CloseTask\",\"variables\":{\"action\":\"Closetask\",\"payload\":{\"id\":\"{{ _.task_id }}\",\"taskResolutionType\":\"CANCELLED\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869855,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_3b161c0b6369418894b393a2771833de","parentId":"fld_eae505dcaa5a4bb88db335e08fd14eff","modified":1727714427265,"created":1727459869854,"url":"{{ _.val_server }}/api/graphql","name":"Copy Task","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation Copytask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"Copytask\",\"variables\":{\"action\":\"Copytask\",\"payload\":{\"id\":\"{{_.task_id}}\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869854,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_aad7233977db4988a9cf8cdf393f8c5a","parentId":"fld_eae505dcaa5a4bb88db335e08fd14eff","modified":1727714444911,"created":1727459869852,"url":"{{ _.val_server }}/api/graphql","name":"Read Task Details","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query ReadTaskDetails($id: String!, $type: String!)\\n{\\n genericGetObject(type:$type, id: $id)\\n {\\n ... on ALL_RETURNS{\\n ... on Task{\\n id\\n data{\\n templateName\\n aptBusinessObjectDescription\\n isAddRemoveSubtaskAllowed\\n businessPriority\\n responsibleDepartmentAtCompany\\n }\\n taskContainsSubTask{\\n to{\\n subType\\n objectType\\n }\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n } \\n}\",\"operationName\":\"ReadTaskDetails\",\"variables\":{\"type\":\"Task\",\"id\":\"{{_.task_id}}\"}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869852,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_7fcf4898f1634c9c88e9147b06cf2f53","parentId":"fld_eae505dcaa5a4bb88db335e08fd14eff","modified":1727714487830,"created":1727459869851,"url":"{{ _.val_server }}/api/graphql","name":"Edit Task","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation EditTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"EditTask\",\"variables\":{\"action\":\"Edittask\",\"payload\":{\"id\":\"{{_.task_id}}\",\"aptBusinessObjectDescription\":\"Modifying the description using Python and GraphQL\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869851,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_1fd4ee3390da4d6e90ea911121203872","parentId":"fld_eae505dcaa5a4bb88db335e08fd14eff","modified":1727714509119,"created":1727459869850,"url":"{{ _.val_server }}/api/graphql","name":"Add Task","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation AddTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"AddTask\",\"variables\":{\"action\":\"Addtask\",\"payload\":{\"templateId\":\"{{_.task_template_id}}\",\"aptBusinessObjectSummary\":\"GraphQL test run 18 Apr 24\",\"aptBusinessObjectDescription\":\"Tasks for recurring purchase orders\",\"businessPriority\":\"LOW\",\"completionDueDate\":\"1737834411000\",\"isVisible\":true,\"isAtRisk\":false}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869850,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_d08f604c9fd64988b14101559841070b","parentId":"fld_ef1e9de5b6334a46acf6c8f0f1d82539","modified":1727715091697,"created":1727459869848,"url":"{{ _.val_server }}/api/graphql","name":"Read Document Review","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query readDocumentReview($id: String!, $type: String!)\\n{\\n genericGetObject(type: $type, id: $id)\\n {\\n ... on ALL_RETURNS{\\n ... on DocumentReview {\\n id\\n currentBaseState\\n currentSubState\\n data {\\n aptBusinessObjectId\\n aptBusinessObjectSummary\\n aptBusinessObjectDescription\\n responsibleDepartmentAtCompany\\n responsibleDepartmentAtPartner\\n businessPriority\\n createdByPartner\\n productId\\n aptBusinessObjectImpactsLocationMasterData{\\n locationType\\n locationContact\\n partnerLocationId\\n }\\n __typename\\n }\\n aptBusinessObjectContainsComment{\\n to {\\n ... on AptComment{\\n id\\n data{\\n commentText\\n visibilityType\\n }\\n }\\n }\\n }\\n aptBusinessObjectContainsAttachment{\\n to {\\n ... on AptAttachment{\\n data{\\n fileName\\n fileSize\\n visibilityType\\n fileS3Location\\n }\\n }\\n }\\n }\\n __typename\\n }\\n __typename\\n }\\n } \\n}\",\"operationName\":\"readDocumentReview\",\"variables\":{\"type\":\"DocumentReview\",\"id\":\"{{ _.document_review_id }}\"}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869848,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_ef1e9de5b6334a46acf6c8f0f1d82539","parentId":"fld_8af9e9e548594791b1a1493a43987f61","modified":1727459869840,"created":1727459869840,"name":"Document Review Process","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1727459869840,"_type":"request_group"},{"_id":"req_f468f52337a443f9b90393f16c788d01","parentId":"fld_ef1e9de5b6334a46acf6c8f0f1d82539","modified":1727715601341,"created":1727459869846,"url":"{{ _.val_server }}/api/graphql","name":"Get Activity History for Document Review","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query GetActivityHistoryForDocumentReview($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"GetActivityHistoryForDocumentReview\",\"variables\":{\"action\":\"Getactivityhistoryforincident\",\"payload\":{\"processId\":\"{{_.document_review_id}}\",\"processType\":\"documentReview\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869846,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_b48972ce55c74ad6bb6dbdf1ad647874","parentId":"fld_ef1e9de5b6334a46acf6c8f0f1d82539","modified":1727715661480,"created":1727459869845,"url":"{{ _.val_server }}/api/graphql","name":"List Document Review Comments","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query ListDocumentReviewComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"ListDocumentReviewComments\",\"variables\":{\"action\":\"Listcommentsfordocumentreview\",\"payload\":{\"id\":\"{{_.document_review_id}}\",\"processType\":\"documentReview\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869845,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_72c3f328c55a487382d310a8df55ccc3","parentId":"fld_ef1e9de5b6334a46acf6c8f0f1d82539","modified":1727715708465,"created":1727459869844,"url":"{{ _.val_server }}/api/graphql","name":"Add Document Review Comment","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation AddChangeComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"AddChangeComments\",\"variables\":{\"action\":\"Addcommentfordocumentreview\",\"payload\":{\"processId\":\"{{_.document_review_id}}\",\"processType\":\"documentReview\",\"aptCommentBox\":{\"aptComment\":{\"commentText\":\"Adding a test comment to Document Review using Postman and GraphQL.\",\"visibilityType\":\"Public\"}}}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869844,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_c6d95851f2ca4aa9a3d5b5b625f44f76","parentId":"fld_ef1e9de5b6334a46acf6c8f0f1d82539","modified":1727715726927,"created":1727459869842,"url":"{{ _.val_server }}/api/graphql","name":"Edit Document Review","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation EditDocumentReview($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"EditDocumentReview\",\"variables\":{\"action\":\"Editdocumentreview\",\"payload\":{\"id\":\"{{_.document_review_id}}\",\"aptBusinessObjectSummary\":\"GraphQL test run 18 Apr 24\",\"aptBusinessObjectDescription\":\"Using graphql in postman to edit document review incident\",\"businessPriority\":\"LOW\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869842,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_c2e26b3c01c74439b973f1ac1aca2f94","parentId":"fld_ef1e9de5b6334a46acf6c8f0f1d82539","modified":1727715763510,"created":1727459869841,"url":"{{ _.val_server }}/api/graphql","name":"Add Document Review","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation AddDocumentReview($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"AddDocumentReview\",\"variables\":{}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869841,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_63f6e469afdd46ef9ec21c95bf6b944a","parentId":"fld_7167e7b4021e487ab3a66a38fae619e2","modified":1727711523147,"created":1727459869839,"url":"{{ _.val_server }}/api/graphql","name":"Read Change","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query readChange($type: String!, $id: String!)\\n{\\n genericGetObject(type: $type, id: $id)\\n {\\n ... on ALL_RETURNS{\\n ... on Change {\\n id\\n currentBaseState\\n currentSubState\\n data {\\n aptBusinessObjectId\\n aptBusinessObjectSummary\\n aptBusinessObjectDescription\\n responsibleDepartmentAtCompany\\n responsibleDepartmentAtPartner\\n businessPriority\\n changeType\\n implementationDueDate\\n implementationTeam\\n subjectMatterExperts{\\n subjectMatterExpertName\\n subjectMatterExpertEmail\\n }\\n changeImpact{\\n changeReferenceIdentifiers{\\n referenceTransactionType\\n value\\n }\\n riskType\\n implementationNeededByDate\\n businessScopeImpact\\n otherBusinessScopeImpact\\n reasonForChange\\n reasonForChangeNotes\\n potentialRisks\\n evaluationsOfChange\\n }\\n createdByPartner\\n productId\\n aptBusinessObjectImpactsLocationMasterData{\\n locationType\\n locationContact\\n partnerLocationId\\n }\\n __typename\\n }\\n aptBusinessObjectContainsComment{\\n to {\\n ... on AptComment{\\n id\\n data{\\n commentText\\n visibilityType\\n }\\n }\\n }\\n }\\n aptBusinessObjectContainsAttachment{\\n to {\\n ... on AptAttachment{\\n data{\\n fileName\\n fileSize\\n visibilityType\\n fileS3Location\\n }\\n }\\n }\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n } \\n}\\n\",\"operationName\":\"readChange\",\"variables\":{\"type\":\"Change\",\"id\":\"{{ _.change_id }}\"}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{ _.basicKey }}","id":"pair_4ff7266b304f4851b27ef584d1aa41f0","disabled":true},{"name":"Content-Type","value":"application/json","id":"pair_5ee14fc6966e4b31b6e19e8be701ccdd"},{"name":"Dataspace","value":"default","id":"pair_ac4bed725bbf4a46b934188aed237bba"},{"name":"companyId","value":"{{ _.ownerId }}","id":"pair_e78e74f23b0444d0bab7c8c1f57c7716"},{"name":"processNetworkId","value":"{{ _.processNetworkId }}","id":"pair_7c3cceba236d44b98c81c574d959fcf0"},{"id":"pair_5509874a5a0945d9ae30877562832872","name":"Authorization","value":"Bearer {{ _.token }}","description":"","disabled":false}],"authentication":{},"metaSortKey":-1727459869839,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_7167e7b4021e487ab3a66a38fae619e2","parentId":"fld_8af9e9e548594791b1a1493a43987f61","modified":1727459869833,"created":1727459869833,"name":"Change","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1727459869833,"_type":"request_group"},{"_id":"req_f88d25fcf2d647f4b1e6d8546c43224c","parentId":"fld_7167e7b4021e487ab3a66a38fae619e2","modified":1727715792975,"created":1727459869838,"url":"{{ _.val_server }}/api/graphql","name":"GetActivityHistoryForChange","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query GetActivityHistoryForIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"GetActivityHistoryForIncident\",\"variables\":{\"action\":\"Getactivityhistoryforincident\",\"payload\":{\"processId\":\"{{_.change_id}}\",\"processType\":\"change\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869838,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_39203293490b406d8ee5e7fd48d8e900","parentId":"fld_7167e7b4021e487ab3a66a38fae619e2","modified":1727712823861,"created":1727459869837,"url":"{{ _.val_server }}/api/graphql","name":"ListChangeComments","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query ListChangeComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n } \\n}\",\"operationName\":\"ListChangeComments\",\"variables\":{\"action\":\"Listcommentsforchange\",\"payload\":{\"id\":\"{{ _.change_id }}\",\"processType\":\"change\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869837,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_81c92f5c13b24aa28817f6631493a774","parentId":"fld_7167e7b4021e487ab3a66a38fae619e2","modified":1727715853189,"created":1727459869836,"url":"{{ _.val_server }}/api/graphql","name":"AddChangeComment","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation AddChangeComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"AddChangeComments\",\"variables\":{\"action\":\"Addcommentforchange\",\"payload\":{\"processId\":\"{{_.change_id}}\",\"processType\":\"change\",\"aptCommentBox\":{\"aptComment\":{\"commentText\":\"Adding a test comment using Postman and GraphQL.\",\"visibilityType\":\"Public\"}}}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869836,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_1a0147c8b8ca4d20a42a2e99c01820aa","parentId":"fld_7167e7b4021e487ab3a66a38fae619e2","modified":1727715872778,"created":1727459869835,"url":"{{ _.val_server }}/api/graphql","name":"EditChange","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation Editchange($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"Editchange\",\"variables\":{\"action\":\"Editchange\",\"payload\":{\"id\":\"{{_.change_id}}\",\"aptBusinessObjectSummary\":\"GraphQL test run 18 Apr 24\",\"aptBusinessObjectDescription\":\"Using graphql in postman to edit.\",\"businessPriority\":\"LOW\",\"responsiblePartyAtParner\":{}}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869835,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_99de7bb7e9be4baeb9a7488ca93a5856","parentId":"fld_7167e7b4021e487ab3a66a38fae619e2","modified":1727715882273,"created":1727459869834,"url":"{{ _.val_server }}/api/graphql","name":"AddChange","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation AddChange($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Addchange\\\",\\n\\\"payload\\\":{\\n \\\"aptBusinessObjectSummary\\\": \\\"GraphQL using postman demo\\\",\\n \\\"aptBusinessObjectDescription\\\":\\\"Test case entering a change request using postman and graphQL\\\",\\n \\\"isVisible\\\": false,\\n \\\"businessPriority\\\": \\\"MEDIUM\\\"\\n }\\n}\"}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869834,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_48e7c95357c44368802fd633cfb8aa30","parentId":"fld_2591fdc643d544508aaa65c7fc7c7268","modified":1727712957028,"created":1727459869832,"url":"{{ _.val_server }}/api/graphql","name":"GetActivityHistoryForCEIncident","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query GetActivityHistoryForIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"GetActivityHistoryForIncident\",\"variables\":{\"action\":\"Getactivityhistoryforincident\",\"payload\":{\"processId\":\"{{ _.compliance_exception_incident_id }}\",\"processType\":\"complianceException\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869832,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_2591fdc643d544508aaa65c7fc7c7268","parentId":"fld_8af9e9e548594791b1a1493a43987f61","modified":1727459869823,"created":1727459869823,"name":"Compliance Exception Incident","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1727459869823,"_type":"request_group"},{"_id":"req_0b765dd9744643dc8a94fa216c3a2447","parentId":"fld_2591fdc643d544508aaa65c7fc7c7268","modified":1727716013154,"created":1727459869830,"url":"{{ _.val_server }}/api/graphql","name":"ListCEIncidentComments","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query ListIncidentComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"ListIncidentComments\",\"variables\":{\"action\":\"Listcommentsforincident\",\"payload\":{\"id\":\"{{_.compliance_exception_incident_id}}\",\"processType\":\"complianceException\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869830,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_ada9f29e69f144e09c35a4bfa636f777","parentId":"fld_2591fdc643d544508aaa65c7fc7c7268","modified":1727716153861,"created":1727459869829,"url":"{{ _.val_server }}/api/graphql","name":"AddCEIncidentComment","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation AddIncidentComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"AddIncidentComments\",\"variables\":{\"action\":\"Addcommentforincident\",\"payload\":{\"processId\":\"{{_.compliance_exception_incident_id}}\",\"processType\":\"complianceException\",\"aptCommentBox\":{\"aptComment\":{\"commentText\":\"Adding a test comment programmatically.\",\"visibilityType\":\"Public\"}}}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869829,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_669fe50225e84cfd9a1487445ceec791","parentId":"fld_2591fdc643d544508aaa65c7fc7c7268","modified":1727716059543,"created":1727459869827,"url":"{{ _.val_server }}/api/graphql","name":"ReadCEIncident","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query readIncident($type: String!, $id: String!)\\n{\\n genericGetObject(type:$type, id: $id)\\n {\\n ... on ALL_RETURNS {\\n ... on ComplianceException {\\n id\\n currentBaseState\\n currentSubState\\n data {\\n aptBusinessObjectId\\n aptBusinessObjectSummary\\n aptBusinessObjectDescription\\n responsibleDepartmentAtCompany\\n responsibleDepartmentAtPartner\\n resolutionDueDate\\n businessPriority\\n referenceIdentifiers {\\n value\\n referenceTransactionType\\n __typename\\n }\\n dateSubmitted\\n createdByPartner\\n __typename\\n }\\n aptBusinessObjectBelongsToProcessNetwork {\\n to {\\n ... on ProcessNetwork {\\n id\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectAssignedToCompanyPartnerMasterData {\\n to {\\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on PartnerMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyMasterData{\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n\\n __typename\\n }\\n __typename\\n }\\n __typename\\n } \\n}\\n\",\"operationName\":\"readIncident\",\"variables\":{\"type\":\"ComplianceException\",\"id\":\"{{_.compliance_exception_incident_id}}\"}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869827,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_57750edbf4064297b660c0ddb96f410d","parentId":"fld_2591fdc643d544508aaa65c7fc7c7268","modified":1727716093623,"created":1727459869826,"url":"{{ _.val_server }}/api/graphql","name":"EditCEIncident","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation EditIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"EditIncident\",\"variables\":{\"action\":\"Editcomplianceexception\",\"payload\":{\"id\":\"{{_.compliance_exception_incident_id}}\",\"aptBusinessObjectDescription\":\"Editing an compliance exception programmatically using graphQL for a demo.\",\"businessPriority\":\"LOW\",\"responsiblePartyAtParner\":{}}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869826,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_90cffc3e229444a9aaf5760ecdc1c1de","parentId":"fld_2591fdc643d544508aaa65c7fc7c7268","modified":1727716135127,"created":1727459869824,"url":"{{ _.val_server }}/api/graphql","name":"AddCEIncident","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation AddComplianceException($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"AddComplianceException\",\"variables\":{}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869824,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_6011d96f010a4bbf9c6ed310664143d3","parentId":"fld_ca2271413c4947b8b4c33ecfa6d7aa78","modified":1727716253102,"created":1727459869822,"url":"{{ _.val_server }}/api/graphql","name":"GetActivityHistoryForXMfgIncident","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query GetActivityHistoryForIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"GetActivityHistoryForIncident\",\"variables\":{\"action\":\"Getactivityhistoryforincident\",\"payload\":{\"processId\":\"{{_.external_manufacturing_incident_id}}\",\"processType\":\"externalManufacturingIncident\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869822,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_ca2271413c4947b8b4c33ecfa6d7aa78","parentId":"fld_8af9e9e548594791b1a1493a43987f61","modified":1727459869815,"created":1727459869815,"name":"External Manufacturing Incident","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1727459869815,"_type":"request_group"},{"_id":"req_d726daf377d24a8dacbf4d015f6d3426","parentId":"fld_ca2271413c4947b8b4c33ecfa6d7aa78","modified":1727716290272,"created":1727459869821,"url":"{{ _.val_server }}/api/graphql","name":"ListXMfgIncidentComments","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query ListIncidentComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"ListIncidentComments\",\"variables\":{\"action\":\"Listcommentsforincident\",\"payload\":{\"id\":\"{{_.external_manufacturing_incident_id}}\",\"processType\":\"externalManufacturingIncident\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869821,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_70a9f4b451be461998836b68b9172740","parentId":"fld_ca2271413c4947b8b4c33ecfa6d7aa78","modified":1727716351654,"created":1727459869820,"url":"{{ _.val_server }}/api/graphql","name":"AddXMfgIncidentComment","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation AddIncidentComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"AddIncidentComments\",\"variables\":{\"action\":\"Addcommentforincident\",\"payload\":{\"processId\":\"{{_.external_manufacturing_incident_id}}\",\"processType\":\"externalManufacturingIncident\",\"aptCommentBox\":{\"aptComment\":{\"commentText\":\"Adding a test comment using Postman and GraphQL.\",\"visibilityType\":\"Public\"}}}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869820,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_46e7e52e6f264f7c81e2d31c346cbc50","parentId":"fld_ca2271413c4947b8b4c33ecfa6d7aa78","modified":1727716373736,"created":1727459869819,"url":"{{ _.val_server }}/api/graphql","name":"ReadXMfgIncident","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query readIncident($type: String!, $id: String!)\\n{\\n genericGetObject(type:$type, id: $id)\\n {\\n ... on ALL_RETURNS {\\n ... on ExternalManufacturingIncident {\\n id\\n currentBaseState\\n currentSubState\\n data {\\n aptBusinessObjectId\\n aptBusinessObjectSummary\\n aptBusinessObjectDescription\\n responsibleDepartmentAtCompany\\n responsibleDepartmentAtPartner\\n incidentType\\n resolutionDueDate\\n externalManufacturingImpact{\\n businessImpact\\n businessPriority\\n }\\n referenceIdentifiers {\\n value\\n referenceTransactionType\\n __typename\\n }\\n dateSubmitted\\n createdByPartner\\n __typename\\n }\\n aptBusinessObjectBelongsToProcessNetwork {\\n to {\\n ... on ProcessNetwork {\\n id\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectCompanyAssignedUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPartnerAssignedUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectCompanyOwnerUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPartnerOwnerUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectAssignedToCompanyPartnerMasterData {\\n to {\\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on PartnerMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyMasterData{\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPrimaryPartnerLocationMasterData {\\n to {\\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n } \\n}\\nfragment userName on User {\\n id\\n data {\\n givenName\\n surname\\n __typename\\n }\\n __typename\\n} \",\"operationName\":\"readIncident\",\"variables\":{\"type\":\"ExternalManufacturingIncident\",\"id\":\"{{_.external_manufacturing_incident_id}}\"}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869819,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_5047930933d048e197c7abb975eea778","parentId":"fld_ca2271413c4947b8b4c33ecfa6d7aa78","modified":1727716413767,"created":1727459869818,"url":"{{ _.val_server }}/api/graphql","name":"EditXMfgIncident","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation EditIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"EditIncident\",\"variables\":{\"action\":\"Editexternalmanufacturingincident\",\"payload\":{\"id\":\"{{_.external_manufacturing_incident_id}}\",\"aptBusinessObjectDescription\":\"Editing an external manufacturing incident programmatically using graphQL for a demo.\",\"businessPriority\":\"LOW\",\"responsiblePartyAtParner\":{}}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869818,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_4ddc5c49d58040f5852eca7e489ad431","parentId":"fld_ca2271413c4947b8b4c33ecfa6d7aa78","modified":1727716426323,"created":1727459869816,"url":"{{ _.val_server }}/api/graphql","name":"AddXMfgIncident","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation AddIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"AddIncident\",\"variables\":{}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869816,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_dd4c71aad7e844278b9ebd09cf39610d","parentId":"fld_5b22652bbb974c7ea3317fda537198a8","modified":1727716447492,"created":1727459869814,"url":"{{ _.val_server }}/api/graphql","name":"GetActivityHistoryForDsIncident","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query GetActivityHistoryForIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"GetActivityHistoryForIncident\",\"variables\":{\"action\":\"Getactivityhistoryforincident\",\"payload\":{\"processId\":\"{{_.direct_supplier_incident_id}}\",\"processType\":\"directSupplierIncident\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869814,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_5b22652bbb974c7ea3317fda537198a8","parentId":"fld_8af9e9e548594791b1a1493a43987f61","modified":1727459869805,"created":1727459869805,"name":"Direct Supplier Incident","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1727459869805,"_type":"request_group"},{"_id":"req_f11dcc4f903145f0bb931e8de16bfeb8","parentId":"fld_5b22652bbb974c7ea3317fda537198a8","modified":1727716470825,"created":1727459869812,"url":"{{ _.val_server }}/api/graphql","name":"ListDsIncidentComments","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query ListIncidentComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"ListIncidentComments\",\"variables\":{\"action\":\"Listcommentsforincident\",\"payload\":{\"id\":\"{{_.direct_supplier_incident_id}}\",\"processType\":\"directSupplierIncident\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869812,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_450bf413916e41cfae52caf5566cfcdb","parentId":"fld_5b22652bbb974c7ea3317fda537198a8","modified":1727716616123,"created":1727459869811,"url":"{{ _.val_server }}/api/graphql","name":"AddDsIncidentComment","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation AddIncidentComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"AddIncidentComments\",\"variables\":{\"action\":\"Addcommentforincident\",\"payload\":{\"processId\":\"{{_.direct_supplier_incident_id}}\",\"processType\":\"directSupplierIncident\",\"aptCommentBox\":{\"aptComment\":{\"commentText\":\"Adding another test comment programmatically.\",\"visibilityType\":\"Public\"}}}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869811,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_4be1097621644bd7ba5e01c9f7929733","parentId":"fld_5b22652bbb974c7ea3317fda537198a8","modified":1727716532015,"created":1727459869809,"url":"{{ _.val_server }}/api/graphql","name":"ReadDsIncident","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query readIncident($type: String!, $id: String!)\\n{\\n genericGetObject(type:$type, id: $id)\\n {\\n ... on ALL_RETURNS {\\n ... on DirectSupplierIncident {\\n id\\n currentBaseState\\n currentSubState\\n data {\\n aptBusinessObjectId\\n aptBusinessObjectSummary\\n aptBusinessObjectDescription\\n responsibleDepartmentAtCompany\\n responsibleDepartmentAtPartner\\n incidentType\\n resolutionDueDate\\n directSupplierImpact{\\n businessPriority\\n }\\n referenceIdentifiers {\\n value\\n referenceTransactionType\\n __typename\\n }\\n dateSubmitted\\n createdByPartner\\n __typename\\n }\\n aptBusinessObjectBelongsToProcessNetwork {\\n to {\\n ... on ProcessNetwork {\\n id\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectCompanyAssignedUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPartnerAssignedUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectCompanyOwnerUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPartnerOwnerUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectAssignedToCompanyPartnerMasterData {\\n to {\\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on PartnerMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyMasterData{\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPrimaryPartnerLocationMasterData {\\n to {\\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n } \\n}\\nfragment userName on User {\\n id\\n data {\\n givenName\\n surname\\n __typename\\n }\\n __typename\\n} \",\"operationName\":\"readIncident\",\"variables\":{\"type\":\"DirectSupplierIncident\",\"id\":\"{{_.direct_supplier_incident_id}}\"}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869809,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_5ea05207dc334200a37067cb767febd9","parentId":"fld_5b22652bbb974c7ea3317fda537198a8","modified":1727716565576,"created":1727459869807,"url":"{{ _.val_server }}/api/graphql","name":"EditDsIncident","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation EditIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"EditIncident\",\"variables\":{\"action\":\"Editdirectsupplierincident\",\"payload\":{\"id\":\"{{_.direct_supplier_incident_id}}\",\"aptBusinessObjectDescription\":\"Editing an incident programmatically using graphQL for a demo3.\",\"businessPriority\":\"LOW\",\"responsiblePartyAtParner\":{}}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869807,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_3dbf7f27ac654a6b9b6fc86299b78acf","parentId":"fld_5b22652bbb974c7ea3317fda537198a8","modified":1727716574754,"created":1727459869806,"url":"{{ _.val_server }}/api/graphql","name":"AddDsIncident","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation AddIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Adddirectsupplierincident\\\",\\n\\\"payload\\\":{\\n \\\"aptBusinessObjectSummary\\\": \\\"GraphQL Python DS Incident test run 4/18/24\\\",\\n \\\"aptBusinessObjectDescription\\\":\\\"Adding an incident programmatically using graphQL via Python.\\\",\\n \\\"directSupplierImpact\\\":{\\n \\\"businessPriority\\\":\\\"MEDIUM\\\"\\n },\\n \\\"resolutionDueDate\\\":1736613281000 // 11 Jan 2025\\n }\\n}\"}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869806,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_a5d1337ffac14b298f27f46ff766ea5c","parentId":"fld_0fb74605085e45b09701ac108d13c381","modified":1727716653015,"created":1727459869804,"url":"{{ _.val_server }}/api/graphql","name":"GetActivityHistoryForIncident","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query GetActivityHistoryForIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"GetActivityHistoryForIncident\",\"variables\":{\"action\":\"Getactivityhistoryforincident\",\"payload\":{\"processId\":\"{{_.incident_id}}\",\"processType\":\"incident\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869804,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_0fb74605085e45b09701ac108d13c381","parentId":"fld_8af9e9e548594791b1a1493a43987f61","modified":1727459869793,"created":1727459869793,"name":"incident","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1727459869793,"_type":"request_group"},{"_id":"req_28bd86d076594d49b9c3c9f48be3e95e","parentId":"fld_0fb74605085e45b09701ac108d13c381","modified":1727716671665,"created":1727459869803,"url":"{{ _.val_server }}/api/graphql","name":"ListIncidentComments","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query ListIncidentComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"ListIncidentComments\",\"variables\":{\"action\":\"Listcommentsforincident\",\"payload\":{\"id\":\"{{_.incident_id}}\",\"processType\":\"incident\"}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869803,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_0f6aaef03f1a405fafcaf3c8fc956963","parentId":"fld_0fb74605085e45b09701ac108d13c381","modified":1727716714921,"created":1727459869802,"url":"{{ _.val_server }}/api/graphql","name":"AddIncidentComment","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation AddIncidentComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"AddIncidentComments\",\"variables\":{\"action\":\"Addcommentforincident\",\"payload\":{\"processId\":\"{{_.incident_id}}\",\"processType\":\"incident\",\"aptCommentBox\":{\"aptComment\":{\"commentText\":\"Adding a test comment using Postman and GraphQL.\",\"visibilityType\":\"Public\"}}}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869802,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_ce5c4dae2fac41c29bf4754b397f3b59","parentId":"fld_0fb74605085e45b09701ac108d13c381","modified":1727716748159,"created":1727459869799,"url":"{{ _.val_server }}/api/graphql","name":"ReadIncident","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query readIncident($type: String!, $id: String!)\\n{\\n genericGetObject(type:$type, id: $id)\\n {\\n ... on ALL_RETURNS {\\n ... on Incident {\\n id\\n currentBaseState\\n currentSubState\\n data {\\n aptBusinessObjectId\\n aptBusinessObjectSummary\\n aptBusinessObjectDescription\\n responsibleDepartmentAtCompany\\n responsibleDepartmentAtPartner\\n incidentType\\n businessPriority\\n resolutionDueDate\\n incidentConclusion {\\n dateClosed\\n finalRootCause\\n resolutionType\\n isReoccuring\\n closingStatement\\n __typename\\n }\\n referenceIdentifiers {\\n value\\n referenceTransactionType\\n __typename\\n }\\n dateSubmitted\\n createdByPartner\\n __typename\\n }\\n aptBusinessObjectContainsComment{\\n to {\\n ... on AptComment{\\n id\\n data{\\n commentText\\n visibilityType\\n }\\n }\\n }\\n }\\n issueRelatedToImpactedProductDetail {\\n to {\\n ... on ProductMasterData {\\n id\\n data {\\n productItemInformation {\\n productName\\n packSize\\n strength\\n dosageForm\\n productLanguageCode\\n isLightSensitive\\n __typename\\n }\\n packagingInformation {\\n packagingCode {\\n packagingCodeType\\n packagingCodeValue\\n __typename\\n }\\n __typename\\n }\\n regulatoryItemCodes {\\n regulatoryItemCode{\\n regulatoryItemCodeType\\n regulatoryItemCodeValue\\n __typename\\n }\\n __typename\\n }\\n packagingInformationAndRegulatoryItemCodesDerivedField\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n impactedLots\\n __typename\\n }\\n aptBusinessObjectBelongsToProcessNetwork {\\n to {\\n ... on ProcessNetwork {\\n id\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectCompanyAssignedUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPartnerAssignedUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectCompanyOwnerUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPartnerOwnerUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectAssignedToCompanyPartnerMasterData {\\n to {\\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on PartnerMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyMasterData{\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPrimaryPartnerLocationMasterData {\\n to {\\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n } \\n}\\nfragment userName on User {\\n id\\n data {\\n givenName\\n surname\\n __typename\\n }\\n __typename\\n} \",\"operationName\":\"readIncident\",\"variables\":{\"type\":\"Incident\",\"id\":\"{{_.incident_id}}\"}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869799,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_33da399fd6f8448f94aad1b475e4e9f0","parentId":"fld_0fb74605085e45b09701ac108d13c381","modified":1727716770051,"created":1727459869797,"url":"{{ _.val_server }}/api/graphql","name":"EditIncident","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation EditIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"EditIncident\",\"variables\":{\"action\":\"Editincident\",\"payload\":{\"id\":\"{{_.incident_id}}\",\"aptBusinessObjectDescription\":\"Editing an incident programmatically using graphQL for a demo.\",\"businessPriority\":\"LOW\",\"responsiblePartyAtParner\":{}}}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869797,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_29cbd1de9b2a44488f10bdcbb68bcb06","parentId":"fld_0fb74605085e45b09701ac108d13c381","modified":1727716788337,"created":1727459869794,"url":"{{ _.val_server }}/api/graphql","name":"AddIncident","description":"","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"mutation AddIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"operationName\":\"AddIncident\",\"variables\":{}}"},"parameters":[],"headers":[{"name":"Authorization","value":"Basic {{basicKey}}"},{"name":"Content-Type","value":"application/json"},{"name":"Dataspace","value":"default"},{"name":"companyId","value":"{{ownerId}}"},{"name":"processNetworkId","value":"{{processNetworkId}}"}],"authentication":{},"metaSortKey":-1727459869794,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"env_a7a80b22acff65a0208fb353faa6d81fa0c1fec6","parentId":"wrk_b52c1911f5b744a99b0bee28f8b96bb0","modified":1727462344816,"created":1727459658257,"name":"Base Environment","data":{},"dataPropertyOrder":{},"color":null,"isPrivate":false,"metaSortKey":1727459658257,"_type":"environment"},{"_id":"jar_a7a80b22acff65a0208fb353faa6d81fa0c1fec6","parentId":"wrk_b52c1911f5b744a99b0bee28f8b96bb0","modified":1727783967671,"created":1727459658259,"name":"Default Jar","cookies":[{"key":"AWSALB","value":"RCHW9DG2rXAA4fkSHbbgmkkM0RkeAfBbvc4BMoMY8uX0UNleG5BY3t3QNUTivb7TRw7QiVETahZ4/mDLfa5ErvzG0vSnvlj1W+OLwwDpg1FgDXbJFyBaNF8L9WYv","expires":"2024-10-08T11:59:27.000Z","domain":"valvir-opus.tracelink.com","path":"/","hostOnly":true,"creation":"2024-09-30T12:57:49.787Z","lastAccessed":"2024-10-01T11:59:27.670Z","id":"8603489038417773"},{"key":"AWSALBCORS","value":"RCHW9DG2rXAA4fkSHbbgmkkM0RkeAfBbvc4BMoMY8uX0UNleG5BY3t3QNUTivb7TRw7QiVETahZ4/mDLfa5ErvzG0vSnvlj1W+OLwwDpg1FgDXbJFyBaNF8L9WYv","expires":"2024-10-08T11:59:27.000Z","domain":"valvir-opus.tracelink.com","path":"/","secure":true,"hostOnly":true,"creation":"2024-09-30T12:57:49.787Z","lastAccessed":"2024-10-01T11:59:27.670Z","sameSite":"none","id":"6465392713812943"}],"_type":"cookie_jar"}]} \ No newline at end of file +{ + "_type": "export", + "__export_format": 4, + "__export_date": "2024-11-01T14:07:44.775Z", + "__export_source": "insomnia.desktop.app:v8.2.0", + "resources": [ + { + "_id": "req_f6bfba61797c470095c5f4597d763d12", + "parentId": "fld_4678300409c74185aedb36908db22e32", + "modified": 1730465014572, + "created": 1730465014572, + "url": "{{val_server}}/api/events", + "name": "Generate API Key/Secret", + "description": "", + "method": "POST", + "body": { + "mimeType": "", + "text": "{\n \"payload\": {\n \"description\": \"uspt1\"\n },\n \"header\": {\n \"dataspace\": \"default\",\n \"appName\": \"user-admin\",\n \"headerVersion\": 1,\n \"eventName\": \"authorization-manager:generate-apiKeyCredentials:v1\",\n \"ownerId\": \"00000000-0000-0000-0000-000000000000\"\n }\n}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Bearer {{token}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014572, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_4678300409c74185aedb36908db22e32", + "parentId": "fld_939d6c0c84d841e08a401ab64e686cbe", + "modified": 1730465014571, + "created": 1730465014571, + "name": "Utility", + "description": "", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1730465014571, + "_type": "request_group" + }, + { + "_id": "fld_939d6c0c84d841e08a401ab64e686cbe", + "parentId": "wrk_23dbdcfdc2b346e6a7e2efa3df639244", + "modified": 1730465014461, + "created": 1730465014461, + "name": "TraceLink Opus Platform APIs", + "description": "Communicate with the Opus platform using a set of parameterized requests designed to help you create, edit, view, and submit different types of incidents and business requests.", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1730465014461, + "_type": "request_group" + }, + { + "_id": "wrk_23dbdcfdc2b346e6a7e2efa3df639244", + "parentId": null, + "modified": 1730469765328, + "created": 1730469765328, + "name": "TraceLink Insomnia collection", + "description": "", + "scope": "collection", + "_type": "workspace" + }, + { + "_id": "req_74a5f7cefcf14cc0a126ec3154dbfe06", + "parentId": "fld_54caaaf7d8e1449886bb6e6fdef2274c", + "modified": 1730465014570, + "created": 1730465014570, + "url": "{{val_server}}/api/graphql", + "name": "Read Template Details", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"query ReadTemplateDetails($id: String!, $type: String!)\\n{\\n genericGetObject(type:$type, id: $id)\\n {\\n ... on ALL_RETURNS{\\n ... on TaskTemplate{\\n id\\n data{\\n templateName\\n aptBusinessObjectDescription\\n isTemplateModifiableByMember\\n isAddRemoveSubtaskAllowed\\n completionRequiredWithinDays\\n businessPriority\\n responsibleDepartmentAtCompany\\n }\\n taskTemplateContainsSubTask{\\n to{\\n subType\\n objectType\\n }\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n } \\n}\",\"variables\":\"{\\n \\\"type\\\":\\\"TaskTemplate\\\",\\n \\\"id\\\":\\\"{{task_template_id}}\\\"\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014570, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_54caaaf7d8e1449886bb6e6fdef2274c", + "parentId": "fld_939d6c0c84d841e08a401ab64e686cbe", + "modified": 1730465014562, + "created": 1730465014562, + "name": "Task Template Management", + "description": "Add, edit, and copy task templates and manage the associated template sub-tasks.", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1730465014562, + "_type": "request_group" + }, + { + "_id": "req_091179cd648d49e1ab963df1121b0873", + "parentId": "fld_54caaaf7d8e1449886bb6e6fdef2274c", + "modified": 1730465014569, + "created": 1730465014569, + "url": "{{val_server}}/api/graphql", + "name": "Copy Task Template", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation CopyTaskTemplate($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Copytasktemplate\\\",\\n\\\"payload\\\":{\\n \\\"id\\\":\\\"{{task_template_id}}\\\",\\n \\\"templateName\\\":\\\"New template number 2\\\",\\n \\\"copyGeneralInfo\\\": true,\\n \\\"copySubTasks\\\": false\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014569, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_16839c186caa4b5b989f7c28f0d944b6", + "parentId": "fld_54caaaf7d8e1449886bb6e6fdef2274c", + "modified": 1730465014568, + "created": 1730465014568, + "url": "{{val_server}}/api/graphql", + "name": "Remove SubTask from Template", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation RemoveSubTaskFromTemplate($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Removesubtaskfromtemplate\\\",\\n\\\"payload\\\":{\\n \\\"id\\\":\\\"{{subtask_template_id}}\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014568, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_78aaa6a4e4ba4d33a2778c0d38e30f74", + "parentId": "fld_54caaaf7d8e1449886bb6e6fdef2274c", + "modified": 1730465014567, + "created": 1730465014567, + "url": "{{val_server}}/api/graphql", + "name": "List SubTask for Template", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"query ListSubTaskForTemplate($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Listsubtaskfortemplate\\\",\\n\\\"payload\\\":{\\n \\\"templateId\\\":\\\"{{task_template_id}}\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014567, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_0444f96a8e5146f79b064b36e9345466", + "parentId": "fld_54caaaf7d8e1449886bb6e6fdef2274c", + "modified": 1730465014566, + "created": 1730465014566, + "url": "{{val_server}}/api/graphql", + "name": "Edit Sub Task on Template", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation EditSubTaskOnTemplate($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Editsubtaskontemplate\\\",\\n\\\"payload\\\":{\\n \\\"id\\\":\\\"{{subtask_template_id}}\\\",\\n \\\"subTaskName\\\":\\\"Modified template name 1\\\",\\n \\\"businessPriority\\\":\\\"LOW\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014566, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_44470a0f674c4108b1c427de31f2c883", + "parentId": "fld_54caaaf7d8e1449886bb6e6fdef2274c", + "modified": 1730465014565, + "created": 1730465014565, + "url": "{{val_server}}/api/graphql", + "name": "Edit Task Template", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation EditTaskTemplate($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Edittasktemplate\\\",\\n\\\"payload\\\":{\\n \\\"id\\\":\\\"{{task_template_id}}\\\",\\n \\\"aptBusinessObjectDescription\\\":\\\"Modified template via Postman using GraphQL\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014565, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_f08f7115824e465b84c3977a7fbf46e0", + "parentId": "fld_54caaaf7d8e1449886bb6e6fdef2274c", + "modified": 1730465014564, + "created": 1730465014564, + "url": "{{val_server}}/api/graphql", + "name": "Add SubTask to Template", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation AddSubTaskToTemplate($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Addsubtasktotemplate\\\",\\n\\\"payload\\\":{\\n \\\"templateId\\\":\\\"{{task_template_id}}\\\",\\n \\\"subTaskName\\\": \\\"GQL Created Sub Task 2\\\",\\n \\\"subTaskType\\\": \\\"Test subTask\\\",\\n \\\"businessPriority\\\": \\\"LOW\\\"\\n}\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014564, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_decd67113cdb4125895a3462d77910e4", + "parentId": "fld_54caaaf7d8e1449886bb6e6fdef2274c", + "modified": 1730465014563, + "created": 1730465014563, + "url": "{{val_server}}/api/graphql", + "name": "Add Task Template", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation AddTaskTemplate($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Addtasktemplate\\\",\\n\\\"payload\\\":{\\n \\\"templateName\\\": \\\"Customer Service Task Template\\\",\\n \\\"aptBusinessObjectDescription\\\": \\\"Template for customer service tasks\\\",\\n \\\"isTemplateModifiableByMember\\\": false,\\n \\\"isAddRemoveSubtaskAllowed\\\": true,\\n \\\"completionRequiredWithinDays\\\": 7,\\n \\\"businessPriority\\\": \\\"LOW\\\",\\n \\\"responsibleDepartmentAtCompany\\\":\\\"CUSTOMER_SERVICE\\\"\\n}\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014563, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_352feb2c98514f2eb49a891696c060e3", + "parentId": "fld_db99956bbb7a4e15967969d7ae39ec96", + "modified": 1730465014561, + "created": 1730465014561, + "url": "{{val_server}}/api/graphql", + "name": "Submit a task to partner", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation SubmitTaskToPartner($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Submitsubtasktopartner\\\",\\n\\\"payload\\\":{\\n \\\"id\\\":\\\"{{subtask_id}}\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014561, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_db99956bbb7a4e15967969d7ae39ec96", + "parentId": "fld_939d6c0c84d841e08a401ab64e686cbe", + "modified": 1730465014540, + "created": 1730465014540, + "name": "Task Management", + "description": "Add, edit, and copy task templates and manage the associated template sub-tasks.", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1730465014540, + "_type": "request_group" + }, + { + "_id": "req_71d6e427c6d941fdbdb3ed4d497a3dd5", + "parentId": "fld_db99956bbb7a4e15967969d7ae39ec96", + "modified": 1730465014559, + "created": 1730465014559, + "url": "{{val_server}}/api/graphql", + "name": "Toggle User follows task", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation ToggleFollowTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Toggleuserfollowstask\\\",\\n\\\"payload\\\":{\\n \\\"id\\\":\\\"{{task_id}}\\\",\\n \\\"processType\\\":\\\"task\\\",\\n \\\"follow\\\": true\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014559, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_cfebde55c832474b8e841ff0872f442f", + "parentId": "fld_db99956bbb7a4e15967969d7ae39ec96", + "modified": 1730465014558, + "created": 1730465014558, + "url": "{{val_server}}/api/graphql", + "name": "Edit Subtask on Task", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation EditSubTaskOnTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Editsubtaskontask\\\",\\n\\\"payload\\\":{\\n \\\"id\\\":\\\"{{subtask_id}}\\\",\\n \\\"newBaseState\\\": \\\"InProgress\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014558, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_4428d2311077464bba5acbe2ec7ab2da", + "parentId": "fld_db99956bbb7a4e15967969d7ae39ec96", + "modified": 1730465014557, + "created": 1730465014557, + "url": "{{val_server}}/api/graphql", + "name": "List SubTask for Task", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"query ListSubTaskForTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Listsubtaskfortask\\\",\\n\\\"payload\\\":{\\n \\\"taskId\\\":\\\"{{task_id}}\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014557, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_692c9693254243e58bfca52cf915d1da", + "parentId": "fld_db99956bbb7a4e15967969d7ae39ec96", + "modified": 1730465014555, + "created": 1730465014555, + "url": "{{val_server}}/api/graphql", + "name": "Add SubTask to Task", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation AddSubTaskToTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Addsubtasktotask\\\",\\n\\\"payload\\\":{\\n \\\"taskId\\\":\\\"{{task_id}}\\\",\\n \\\"subTaskName\\\": \\\"Sub-Task 1234\\\",\\n \\\"subTaskType\\\": \\\"Sub-Task type ABC\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014555, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_ac13a13660254f37977165ce6cffb82c", + "parentId": "fld_db99956bbb7a4e15967969d7ae39ec96", + "modified": 1730465014554, + "created": 1730465014554, + "url": "{{val_server}}/api/graphql", + "name": "Reopen Task", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation CloseTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Reopentask\\\",\\n\\\"payload\\\":{\\n \\\"id\\\":\\\"{{task_id}}\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014554, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_2daa874ea437497595e26f46561614b2", + "parentId": "fld_db99956bbb7a4e15967969d7ae39ec96", + "modified": 1730465014553, + "created": 1730465014553, + "url": "{{val_server}}/api/graphql", + "name": "List Comments For Task", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation ListCommentForTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Listcommentsforprocess\\\",\\n\\\"payload\\\":{\\n \\\"processId\\\":\\\"{{task_id}}\\\",\\n \\\"processType\\\": \\\"task\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014553, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_5893889be0524d91bce2454ce4cc5a55", + "parentId": "fld_db99956bbb7a4e15967969d7ae39ec96", + "modified": 1730465014552, + "created": 1730465014552, + "url": "{{val_server}}/api/graphql", + "name": "Edit Comment For Task", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation EditCommentForTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Editcommentforprocess\\\",\\n\\\"payload\\\":{\\n \\\"id\\\":\\\"{{task_comment_id}}\\\",\\n \\\"processType\\\": \\\"task\\\",\\n \\\"aptCommentBox\\\":{\\n \\\"aptComment\\\":{\\n \\\"commentText\\\": \\\"Incorrect order uploaded\\\",\\n \\\"visibilityType\\\": \\\"Public\\\"\\n }\\n }\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014552, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_244995fae8d545738fa8a97ee184db86", + "parentId": "fld_db99956bbb7a4e15967969d7ae39ec96", + "modified": 1730465014551, + "created": 1730465014551, + "url": "{{val_server}}/api/graphql", + "name": "Add Comment For Task", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation AddCommentForTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Addcommentforprocess\\\",\\n\\\"payload\\\":{\\n \\\"processId\\\":\\\"{{task_id}}\\\",\\n \\\"processType\\\": \\\"task\\\",\\n \\\"aptCommentBox\\\":{\\n \\\"aptComment\\\":{\\n \\\"commentText\\\": \\\"Attaching latest order documentation per Jen's request\\\",\\n \\\"visibilityType\\\": \\\"Public\\\"\\n }\\n }\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014551, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_72fa5dea73fb4637a2c9f685102cb2d7", + "parentId": "fld_db99956bbb7a4e15967969d7ae39ec96", + "modified": 1730465014550, + "created": 1730465014550, + "url": "{{val_server}}/api/graphql", + "name": "Remove Subtask", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation RemoveSubTaskFromTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Removesubtaskfromtask\\\",\\n\\\"payload\\\":{\\n \\\"id\\\":\\\"{{subtask_id}}\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014550, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_d71bcb095d1f4fbe88c27ff2808249d3", + "parentId": "fld_db99956bbb7a4e15967969d7ae39ec96", + "modified": 1730465014549, + "created": 1730465014549, + "url": "{{val_server}}/api/graphql", + "name": "Get Activity History for Task", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"query GetActivityHistoryForTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Getactivityhistoryforincident\\\",\\n\\\"payload\\\":{\\n \\\"processId\\\":\\\"{{task_id}}\\\",\\n \\\"processType\\\":\\\"task\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014549, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_096add34a6c84dceb83a5f536ccaa804", + "parentId": "fld_db99956bbb7a4e15967969d7ae39ec96", + "modified": 1730465014548, + "created": 1730465014548, + "url": "{{val_server}}/api/graphql", + "name": "Reopen Subtask", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation ReopenSubTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Reopensubtask\\\",\\n\\\"payload\\\":{\\n \\\"id\\\":\\\"{{subtask_id}}\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014548, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_3b74205640044691adf76a6e9cd70c2c", + "parentId": "fld_db99956bbb7a4e15967969d7ae39ec96", + "modified": 1730465014547, + "created": 1730465014547, + "url": "{{val_server}}/api/graphql", + "name": "Close Subtask", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation CloseSubTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Closesubtask\\\",\\n\\\"payload\\\":{\\n \\\"id\\\":\\\"{{subtask_id}}\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014547, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_5076a2252e104c138f4709742e8722e8", + "parentId": "fld_db99956bbb7a4e15967969d7ae39ec96", + "modified": 1730465014546, + "created": 1730465014546, + "url": "{{val_server}}/api/graphql", + "name": "Close Task", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation CloseTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Closetask\\\",\\n\\\"payload\\\":{\\n \\\"id\\\":\\\"{{task_id}}\\\",\\n \\\"taskResolutionType\\\":\\\"CANCELLED\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014546, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_008c95571b0e46e8b085d5c0e9a78bff", + "parentId": "fld_db99956bbb7a4e15967969d7ae39ec96", + "modified": 1730465014545, + "created": 1730465014545, + "url": "{{val_server}}/api/graphql", + "name": "Copy Task", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation Copytask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Copytask\\\",\\n\\\"payload\\\":{\\n \\\"id\\\":\\\"{{task_id}}\\\",\\n \\\"aptBusinessObjectSummary\\\": \\\"Copy of Task 1234\\\",\\n \\\"copyGeneralInfo\\\": true,\\n \\\"copySubTasks\\\": true,\\n \\\"copyRelatedProcesses\\\": true\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014545, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_26f887f1e4fe438597b1874e3f0b4943", + "parentId": "fld_db99956bbb7a4e15967969d7ae39ec96", + "modified": 1730465914978, + "created": 1730465014544, + "url": "{{ _.val_server }}/api/graphql", + "name": "Read Task Details", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"query ReadTaskDetails($id: String!, $type: String!)\\n{\\n genericGetObject(type:$type, id: $id)\\n {\\n ... on ALL_RETURNS{\\n ... on Task{\\n id\\n data{\\n templateName\\n aptBusinessObjectDescription\\n isAddRemoveSubtaskAllowed\\n businessPriority\\n responsibleDepartmentAtCompany\\n }\\n taskContainsSubTask{\\n to{\\n subType\\n objectType\\n }\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n } \\n}\",\"variables\":\"{\\n \\\"type\\\":\\\"Task\\\",\\n \\\"id\\\":\\\"{{task_id}}\\\"\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014544, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_91e9a0c010824852869d14cf0273aa6d", + "parentId": "fld_db99956bbb7a4e15967969d7ae39ec96", + "modified": 1730465014543, + "created": 1730465014543, + "url": "{{val_server}}/api/graphql", + "name": "Edit Task", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation EditTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Edittask\\\",\\n\\\"payload\\\":{\\n \\\"id\\\":\\\"{{task_id}}\\\",\\n \\\"newBaseState\\\":\\\"InProgress\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014543, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_3527492dfde84cc3b62da2687576f73f", + "parentId": "fld_db99956bbb7a4e15967969d7ae39ec96", + "modified": 1730465014541, + "created": 1730465014541, + "url": "{{val_server}}/api/graphql", + "name": "Add Task", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation AddTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Addtask\\\",\\n\\\"payload\\\":{\\n \\\"templateId\\\": \\\"{{task_template_id}}\\\",\\n \\\"aptBusinessObjectSummary\\\": \\\"Quarterly Purchase Order Tasks\\\",\\n \\\"aptBusinessObjectDescription\\\": \\\"Tasks for recurring purchase orders\\\",\\n \\\"businessPriority\\\": \\\"HIGH\\\",\\n \\\"completionDueDate\\\": \\\"1737834411000\\\", \\n \\\"isVisible\\\": true,\\n \\\"isAtRisk\\\": false\\n \\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014541, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_a1f3372c17a9422c94457189b7a614e1", + "parentId": "fld_f32352280a084a55ae1d41ba9d5c0740", + "modified": 1730465014539, + "created": 1730465014539, + "url": "{{val_server}}/api/graphql", + "name": "Get Product Master Data", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"query getProductMasterData($action: String!, $regulatoryItemCodeValue: String!, $regulatoryItemCodeType: String!)\\n{\\n genericActionCall(\\n action: $action,\\n payload:\\n {\\n regulatoryItemCodeValue: $regulatoryItemCodeValue,\\n regulatoryItemCodeType: $regulatoryItemCodeType\\n }\\n )\\n {\\n result\\n __typename\\n }\\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Getproductbyitemcode\\\", \\n\\\"regulatoryItemCodeValue\\\":\\\"{{regulatory_item_code_value}}\\\",\\n\\\"regulatoryItemCodeType\\\": \\\"{{regulatory_item_code_type}}\\\"\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014539, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_f32352280a084a55ae1d41ba9d5c0740", + "parentId": "fld_939d6c0c84d841e08a401ab64e686cbe", + "modified": 1730465014536, + "created": 1730465014536, + "name": "Master Data Queries", + "description": "The Master Data Manager app allows customers to manage their Company, Company Location, Partner, Partner Location and Product information. This Master Data is used by all sorts of applications provided by TraceLink on TTS (SOM, SNM, Government Reporting) and Opus (APT, Government Reporting, etc).", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1730465014536, + "_type": "request_group" + }, + { + "_id": "req_d5adaaf97e684535b35b534856bbdad2", + "parentId": "fld_f32352280a084a55ae1d41ba9d5c0740", + "modified": 1730465014538, + "created": 1730465014538, + "url": "{{val_server}}/api/graphql", + "name": "Get Partner Master Data", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"query getQueryResults($regulatoryIdentifierValue: String!, $regulatoryIdentifierType: String!)\\n {\\n genericActionCall(\\n action: \\\"Getpartnerbyidentifier\\\",\\n payload:{\\n regulatoryIdentifierValue: $regulatoryIdentifierValue,\\n regulatoryIdentifierType: $regulatoryIdentifierType\\n }\\n )\\n{result}\\n}\",\"variables\":\"{\\n \\\"regulatoryIdentifierValue\\\": \\\"{{partner_regulatory_identifier}}\\\",\\n \\\"regulatoryIdentifierType\\\": \\\"{{partner_regulatory_identifier_type}}\\\"\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014538, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_927e5927d8e4486bb31a23e983d96a0b", + "parentId": "fld_f32352280a084a55ae1d41ba9d5c0740", + "modified": 1730465014537, + "created": 1730465014537, + "url": "{{val_server}}/api/graphql", + "name": "Get Company Master Data", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"query getQueryResults($regulatoryCompanyIdentifierValue: String!, $regulatoryCompanyIdentifierType: String!)\\n {\\n genericActionCall(\\n action: \\\"Getcompanybyidentifier\\\",\\n payload:{\\n regulatoryCompanyIdentifierValue: $regulatoryCompanyIdentifierValue,\\n regulatoryCompanyIdentifierType: $regulatoryCompanyIdentifierType\\n }\\n )\\n{result}\\n}\",\"variables\":\"{\\n \\\"regulatoryCompanyIdentifierValue\\\": \\\"{{regulatory_company_identifier}}\\\",\\n \\\"regulatoryCompanyIdentifierType\\\": \\\"{{regulatory_company_type}}\\\"\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014537, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_82fe274941f842fb9be09f4f33fd052e", + "parentId": "fld_987de088208045458c4dc78617011e21", + "modified": 1730465014535, + "created": 1730465014535, + "url": "{{val_server}}/api/graphql", + "name": "Submit an Incident to partner", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation SubmitIncidentToPartner($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Submitincidenttopartner\\\",\\n\\\"payload\\\":{\\n \\\"id\\\":\\\"{{incident_id}}\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014535, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_987de088208045458c4dc78617011e21", + "parentId": "fld_939d6c0c84d841e08a401ab64e686cbe", + "modified": 1730465014522, + "created": 1730465014522, + "name": "Incident Management", + "description": "Incident process APIs enable Suppliers, Manufacturers, CMOs, CPOs, 3PLs, and Repackagers to manage, track, and close a variety of issues and disruptions that occur throughout the supply chain.", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1730465014522, + "_type": "request_group" + }, + { + "_id": "req_8f8a0441c234429699576801875b6da7", + "parentId": "fld_987de088208045458c4dc78617011e21", + "modified": 1730465014534, + "created": 1730465014534, + "url": "{{val_server}}/api/graphql", + "name": "Reopen an incident", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation ReopenIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n \\\"action\\\": \\\"Reopenincident\\\",\\n \\\"payload\\\": {\\n \\\"aptCommentBox\\\": {\\n \\\"aptComment\\\": {\\n \\\"commentText\\\": \\\"Reopening for audit purposes.\\\",\\n \\\"visibilityType\\\": \\\"Public\\\"\\n }\\n },\\n \\\"id\\\": \\\"{{incident_id}}\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014534, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_1e09eaf092984a31b1ae0bb80f5eed8c", + "parentId": "fld_987de088208045458c4dc78617011e21", + "modified": 1730465014533, + "created": 1730465014533, + "url": "{{val_server}}/api/graphql", + "name": "Close an incident", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation CloseIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n \\\"action\\\": \\\"Closeincident\\\",\\n \\\"payload\\\": {\\n \\\"aptCommentBox\\\": {\\n \\\"aptComment\\\": {\\n \\\"commentText\\\": \\\"Issue created by clerical error.\\\",\\n \\\"visibilityType\\\": \\\"Public\\\"\\n }\\n },\\n \\\"id\\\": \\\"{{incident_id}}\\\",\\n \\\"resolutionType\\\": \\\"NOT_AN_ISSUE\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014533, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_45ae4b8a64984fd0bf38b63f06a6490c", + "parentId": "fld_987de088208045458c4dc78617011e21", + "modified": 1730465014532, + "created": 1730465014532, + "url": "{{val_server}}/api/graphql", + "name": "Toggle User follows incident", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation ToggleFollowIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Toggleuserfollowsincident\\\",\\n\\\"payload\\\":{\\n \\\"id\\\":\\\"{{incident_id}}\\\",\\n \\\"processType\\\":\\\"incident\\\",\\n \\\"follow\\\": true\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014532, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_3ed071ca8b26432faa1114b5e5ff083c", + "parentId": "fld_987de088208045458c4dc78617011e21", + "modified": 1730465014531, + "created": 1730465014531, + "url": "{{val_server}}/api/graphql", + "name": "Copy an incident", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation CopyIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n \\\"action\\\":\\\"Copyincident\\\",\\n \\\"payload\\\":{\\n \\\"aptBusinessObjectSummary\\\": \\\"Copy without generalInfo\\\",\\n \\\"copyGeneralInfo\\\": false,\\n \\\"copyImpactInfo\\\": true,\\n \\\"copyPartnerInfo\\\": false,\\n \\\"copyReferenceIds\\\": false,\\n \\\"copyRelatedProcesses\\\": true,\\n \\\"createdByPartner\\\":false,\\n \\\"id\\\": \\\"{{incident_id}}\\\",\\n \\\"isVisible\\\": true\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014531, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_5d275bcb0f2a4dacb51b430ef6c0f686", + "parentId": "fld_987de088208045458c4dc78617011e21", + "modified": 1730465014530, + "created": 1730465014530, + "url": "{{val_server}}/api/graphql", + "name": "Get activity history for an incident", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"query GetActivityHistoryForIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Getactivityhistoryforincident\\\",\\n\\\"payload\\\":{\\n \\\"processId\\\":\\\"{{incident_id}}\\\",\\n \\\"processType\\\":\\\"incident\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014530, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_b9359b0868e2402ab31aa7fd659dbf8e", + "parentId": "fld_987de088208045458c4dc78617011e21", + "modified": 1730465014529, + "created": 1730465014529, + "url": "{{val_server}}/api/graphql", + "name": "List comments for an incident", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"query ListIncidentComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Listcommentsforincident\\\",\\n\\\"payload\\\":{\\n \\\"id\\\":\\\"{{incident_id}}\\\",\\n \\\"processType\\\":\\\"incident\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014529, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_d58e61b1a99847789f4300ca95aa627c", + "parentId": "fld_987de088208045458c4dc78617011e21", + "modified": 1730465014527, + "created": 1730465014527, + "url": "{{val_server}}/api/graphql", + "name": "Add comments to an incident", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation AddIncidentComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Addcommentforincident\\\",\\n\\\"payload\\\":{\\n \\\"processId\\\":\\\"{{incident_id}}\\\",\\n \\\"processType\\\":\\\"incident\\\",\\n \\\"aptCommentBox\\\":{\\n \\\"aptComment\\\":{\\n \\\"commentText\\\": \\\"Assigning investigation official.\\\",\\n \\\"visibilityType\\\": \\\"Public\\\"\\n }\\n }\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014527, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_0d205d02f3e045deafc466304885021c", + "parentId": "fld_987de088208045458c4dc78617011e21", + "modified": 1730465014526, + "created": 1730465014526, + "url": "{{val_server}}/api/graphql", + "name": "Read incident details", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"query readIncident($type: String!, $id: String!)\\n{\\n genericGetObject(type:$type, id: $id)\\n {\\n ... on ALL_RETURNS {\\n ... on Incident {\\n id\\n currentBaseState\\n currentSubState\\n data {\\n aptBusinessObjectId\\n aptBusinessObjectSummary\\n aptBusinessObjectDescription\\n responsibleDepartmentAtCompany\\n responsibleDepartmentAtPartner\\n incidentType\\n businessPriority\\n resolutionDueDate\\n incidentConclusion {\\n dateClosed\\n finalRootCause\\n resolutionType\\n isReoccuring\\n closingStatement\\n __typename\\n }\\n referenceIdentifiers {\\n value\\n referenceTransactionType\\n __typename\\n }\\n dateSubmitted\\n createdByPartner\\n __typename\\n }\\n aptBusinessObjectContainsComment{\\n to {\\n ... on AptComment{\\n id\\n data{\\n commentText\\n visibilityType\\n }\\n }\\n }\\n }\\n issueRelatedToImpactedProductDetail {\\n to {\\n ... on ProductMasterData {\\n id\\n data {\\n productItemInformation {\\n productName\\n packSize\\n strength\\n dosageForm\\n productLanguageCode\\n isLightSensitive\\n __typename\\n }\\n packagingInformation {\\n packagingCode {\\n packagingCodeType\\n packagingCodeValue\\n __typename\\n }\\n __typename\\n }\\n regulatoryItemCodes {\\n regulatoryItemCode{\\n regulatoryItemCodeType\\n regulatoryItemCodeValue\\n __typename\\n }\\n __typename\\n }\\n packagingInformationAndRegulatoryItemCodesDerivedField\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n impactedLots\\n __typename\\n }\\n aptBusinessObjectBelongsToProcessNetwork {\\n to {\\n ... on ProcessNetwork {\\n id\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectCompanyAssignedUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPartnerAssignedUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectCompanyOwnerUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPartnerOwnerUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectAssignedToCompanyPartnerMasterData {\\n to {\\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on PartnerMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyMasterData{\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPrimaryPartnerLocationMasterData {\\n to {\\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n } \\n}\\nfragment userName on User {\\n id\\n data {\\n givenName\\n surname\\n __typename\\n }\\n __typename\\n} \",\"variables\":\"{\\n \\\"type\\\":\\\"Incident\\\",\\n \\\"id\\\":\\\"{{incident_id}}\\\"\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014526, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_26a32298d9bf42ac91fd6f1c191f6665", + "parentId": "fld_987de088208045458c4dc78617011e21", + "modified": 1730465014525, + "created": 1730465014525, + "url": "{{val_server}}/api/graphql", + "name": "Edit an incident", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation EditIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Editincident\\\",\\n\\\"payload\\\":{\\n \\\"id\\\":\\\"{{incident_id}}\\\",\\n \\\"businessPriority\\\":\\\"MEDIUM\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014525, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_29e6ec7dac7a4f35a2d76c8897501e26", + "parentId": "fld_987de088208045458c4dc78617011e21", + "modified": 1730465014524, + "created": 1730465014524, + "url": "{{val_server}}/api/graphql", + "name": "Edit a comment for an incident", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation EditIncidentComment($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n \\\"action\\\": \\\"Editcommentforincident\\\",\\n \\\"payload\\\": {\\n \\\"id\\\": \\\"{{incident_comment_id}}\\\",\\n \\\"processType\\\": \\\"incident\\\",\\n \\\"aptCommentBox\\\": {\\n \\\"aptComment\\\": {\\n \\\"commentText\\\": \\\"Uploading corrected documentation.\\\",\\n \\\"visibilityType\\\": \\\"Public\\\"\\n }\\n }\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014524, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_716e6f50222c485e9ae3f70a291a6f55", + "parentId": "fld_987de088208045458c4dc78617011e21", + "modified": 1730465014523, + "created": 1730465014523, + "url": "{{val_server}}/api/graphql", + "name": "Create a new incident", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation AddIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Addincident\\\",\\n\\\"payload\\\":{\\n \\\"aptBusinessObjectSummary\\\": \\\"ABC Pharma | ACME Inc | INC-2023-01 | No EPCIS Data for 1 package\\\",\\n \\\"aptBusinessObjectDescription\\\":\\\"Shipment quarantined due to T1 reflecting incomplete data|SO 3027209239\\\",\\n \\\"businessPriority\\\":\\\"HIGH\\\",\\n \\\"incidentCategory\\\":\\\"Aggregate Shipment Error\\\",\\n \\\"resolutionDueDate\\\":\\\"1736613281000\\\", // 11 Jan 2025\\n \\\"responsiblePartyAtParner\\\":{}\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014523, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_9da07b14798e4787892be5f735714c52", + "parentId": "fld_c9e5c20b434a4d90879c66e35e683735", + "modified": 1730465014521, + "created": 1730465014521, + "url": "{{val_server}}/api/graphql", + "name": "Submit an External Manufacturing Incident to partner", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation SubmitXMFGIncidentToPartner($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n }\\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Submitexternalmanufacturingincidenttopartner\\\",\\n\\\"payload\\\":{\\n \\\"id\\\":\\\"{{external_manufacturing_incident_id}}\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014521, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_c9e5c20b434a4d90879c66e35e683735", + "parentId": "fld_939d6c0c84d841e08a401ab64e686cbe", + "modified": 1730465014508, + "created": 1730465014508, + "name": "External Manufacturing Incident", + "description": "Add, update, and resolve external manufacturing incidents (i.e. incidents involving providers of contract manufacturing and packaging services for APIs, bulk, and finished goods).", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1730465014508, + "_type": "request_group" + }, + { + "_id": "req_d8d31d01a1a2476cb94a94dcf8edbbc5", + "parentId": "fld_c9e5c20b434a4d90879c66e35e683735", + "modified": 1730465014520, + "created": 1730465014520, + "url": "{{val_server}}/api/graphql", + "name": "Get activity history for an External Manufacturing Incident", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"query GetActivityHistoryForXMFGIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Getactivityhistoryforincident\\\",\\n\\\"payload\\\":{\\n \\\"processId\\\":\\\"{{external_manufacturing_incident_id}}\\\",\\n \\\"processType\\\":\\\"externalManufacturingIncident\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014520, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_421ea5f6ff364e8fa17854fdffaff649", + "parentId": "fld_c9e5c20b434a4d90879c66e35e683735", + "modified": 1730465014519, + "created": 1730465014519, + "url": "{{val_server}}/api/graphql", + "name": "List comments for an External Manufacturing Incident", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"query ListXMFGIncidentComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Listcommentsforincident\\\",\\n\\\"payload\\\":{\\n \\\"id\\\":\\\"{{external_manufacturing_incident_id}}\\\",\\n \\\"processType\\\":\\\"externalManufacturingIncident\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014519, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_337e6e0f0c6b48a7b79def77d3e6120a", + "parentId": "fld_c9e5c20b434a4d90879c66e35e683735", + "modified": 1730465014518, + "created": 1730465014518, + "url": "{{val_server}}/api/graphql", + "name": "Add a comment to an External Manufacturing Incident", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation AddXMFGIncidentComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Addcommentforincident\\\",\\n\\\"payload\\\":{\\n \\\"processId\\\":\\\"{{external_manufacturing_incident_id}}\\\",\\n \\\"processType\\\":\\\"externalManufacturingIncident\\\",\\n \\\"aptCommentBox\\\":{\\n \\\"aptComment\\\":{\\n \\\"commentText\\\": \\\"No explanation for shortage from raw material supplier. Researching feasibility of alternate suppliers\\\",\\n \\\"visibilityType\\\": \\\"Public\\\"\\n }\\n }\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014518, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_d0166bc72ffd4ad1ac1fb65813369d82", + "parentId": "fld_c9e5c20b434a4d90879c66e35e683735", + "modified": 1730465014516, + "created": 1730465014517, + "url": "{{val_server}}/api/graphql", + "name": "Read details of an External Manufacturing Incident", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"query readXMFGIncident($type: String!, $id: String!)\\n{\\n genericGetObject(type:$type, id: $id)\\n {\\n ... on ALL_RETURNS {\\n ... on ExternalManufacturingIncident {\\n id\\n currentBaseState\\n currentSubState\\n data {\\n aptBusinessObjectId\\n aptBusinessObjectSummary\\n aptBusinessObjectDescription\\n responsibleDepartmentAtCompany\\n responsibleDepartmentAtPartner\\n incidentType\\n resolutionDueDate\\n externalManufacturingImpact{\\n businessImpact\\n businessPriority\\n }\\n referenceIdentifiers {\\n value\\n referenceTransactionType\\n __typename\\n }\\n dateSubmitted\\n createdByPartner\\n __typename\\n }\\n aptBusinessObjectBelongsToProcessNetwork {\\n to {\\n ... on ProcessNetwork {\\n id\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectCompanyAssignedUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPartnerAssignedUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectCompanyOwnerUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPartnerOwnerUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectAssignedToCompanyPartnerMasterData {\\n to {\\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on PartnerMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyMasterData{\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPrimaryPartnerLocationMasterData {\\n to {\\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n } \\n}\\nfragment userName on User {\\n id\\n data {\\n givenName\\n surname\\n __typename\\n }\\n __typename\\n} \",\"variables\":\"{\\n \\\"type\\\":\\\"ExternalManufacturingIncident\\\",\\n \\\"id\\\":\\\"{{external_manufacturing_incident_id}}\\\"\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014517, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_d26d99e00d984b5fa300426ab2273667", + "parentId": "fld_c9e5c20b434a4d90879c66e35e683735", + "modified": 1730465014515, + "created": 1730465014515, + "url": "{{val_server}}/api/graphql", + "name": "Copy an External Manufacturing Incident", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation CopyXMFGIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n \\\"action\\\": \\\"Copyexternalmanufacturingincident\\\",\\n \\\"payload\\\": {\\n \\\"id\\\": \\\"{{external_manufacturing_incident_id}}\\\",\\n \\\"createdByPartner\\\": false,\\n \\\"aptBusinessObjectSummary\\\": \\\"Tracking replacement order\\\",\\n \\\"copyGeneralInfo\\\": true,\\n \\\"copyPartnerInfo\\\": true,\\n \\\"copyMaterialInfo\\\": true,\\n \\\"copyImpactInfo\\\": false,\\n \\\"copyReferenceIds\\\": true,\\n \\\"copyRelatedProcesses\\\": false\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014515, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_5b2a48c16682462ca7517a15c955bc90", + "parentId": "fld_c9e5c20b434a4d90879c66e35e683735", + "modified": 1730465014515, + "created": 1730465014515, + "url": "{{val_server}}/api/graphql", + "name": "Reopen an External Manufacturing Incident", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation ReopenXMFGIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n \\\"action\\\": \\\"Reopenexternalmanufacturingincident\\\",\\n \\\"payload\\\": {\\n \\\"id\\\": \\\"{{external_manufacturing_incident_id}}\\\",\\n \\\"aptCommentBox\\\": {\\n \\\"aptComment\\\": {\\n \\\"commentText\\\": \\\"ABCD-1234 closed prematurely - reopening to finalize record.\\\",\\n \\\"visibilityType\\\": \\\"Public\\\"\\n }\\n }\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014515, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_9072a24cf48f4170aa3a72a97aba676e", + "parentId": "fld_c9e5c20b434a4d90879c66e35e683735", + "modified": 1730465014514, + "created": 1730465014514, + "url": "{{val_server}}/api/graphql", + "name": "Close an External Manufacturing Incident", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation CloseXMFGIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n \\\"action\\\": \\\"Closeexternalmanufacturingincident\\\",\\n \\\"payload\\\": {\\n \\\"id\\\": \\\"{{external_manufacturing_incident_id}}\\\",\\n \\\"resolutionType\\\":\\\"DUPLICATE\\\",\\n \\\"aptCommentBox\\\": {\\n \\\"aptComment\\\": {\\n \\\"commentText\\\": \\\"Issue already identified in incident ABCD-2345\\\",\\n \\\"visibilityType\\\": \\\"Public\\\"\\n }\\n }\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014514, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_1660eaea2db744f28bae5ca710f2e8f2", + "parentId": "fld_c9e5c20b434a4d90879c66e35e683735", + "modified": 1730465014512, + "created": 1730465014512, + "url": "{{val_server}}/api/graphql", + "name": "Edit Comment on an External Manufacturing Incident", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation EditXMFGIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n \\\"action\\\": \\\"Editexternalmanufacturingincident\\\",\\n \\\"payload\\\": {\\n \\\"id\\\": \\\"{{external_manufacturing_incident_id}}\\\",\\n \\\"externalManufacturingResponse\\\": {\\n \\\"initialResponseInformation\\\": \\\"Assigning onsite investigator.\\\",\\n \\\"submitInitialResponse\\\": true\\n }\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014512, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_f716b24c2dfe4e1b813d8d7bced20cee", + "parentId": "fld_c9e5c20b434a4d90879c66e35e683735", + "modified": 1730465014511, + "created": 1730465014511, + "url": "{{val_server}}/api/graphql", + "name": "Edit an External Manufacturing Incident", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation EditXMFGIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n \\\"action\\\": \\\"Editexternalmanufacturingincident\\\",\\n \\\"payload\\\": {\\n \\\"id\\\": \\\"{{external_manufacturing_incident_id}}\\\",\\n \\\"externalManufacturingResponse\\\": {\\n \\\"initialResponseInformation\\\": \\\"Assigning onsite investigator.\\\",\\n \\\"submitInitialResponse\\\": true\\n }\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014511, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_edd697b6c58d49ef8f243cd2a86c0bf0", + "parentId": "fld_c9e5c20b434a4d90879c66e35e683735", + "modified": 1730465014510, + "created": 1730465014510, + "url": "{{val_server}}/api/graphql", + "name": "Create a new External Manufacturing Incident", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation AddXMFGIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n \\\"action\\\": \\\"Addexternalmanufacturingincident\\\",\\n \\\"payload\\\": {\\n \\\"aptBusinessObjectSummary\\\": \\\"Raw materials shortage at Location XYZ\\\",\\n \\\"aptBusinessObjectDescription\\\": \\\"Supplier is experiencing a shortage.\\\",\\n \\\"externalManufacturingImpact\\\": {\\n \\\"businessPriority\\\": \\\"HIGH\\\"\\n },\\n \\\"resolutionDueDate\\\": 1736613281000 // 11 Jan 2025\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014510, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_bff2133f77e64637af0ebb1e51deaef0", + "parentId": "fld_f6c8f615a52147c6970d37ce93751bbf", + "modified": 1730465014507, + "created": 1730465014507, + "url": "{{val_server}}/api/graphql", + "name": "Toggle User follows review", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation ToggleFollowReview($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Toggleuserfollowsdocumentreview\\\",\\n\\\"payload\\\":{\\n \\\"id\\\":\\\"{{document_review_id}}\\\",\\n \\\"processType\\\":\\\"documentReview\\\",\\n \\\"follow\\\": true\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014507, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_f6c8f615a52147c6970d37ce93751bbf", + "parentId": "fld_939d6c0c84d841e08a401ab64e686cbe", + "modified": 1730465014497, + "created": 1730465014497, + "name": "Document Review Process", + "description": "Document review process APIs enable supplier relationship managers, quality compliance managers, and manufacturing plant managers at companies that own or link to Agile Process Teams to manage, track, and complete document reviews.", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1730465014497, + "_type": "request_group" + }, + { + "_id": "req_81f0740f9d8a4a9fa36659560ea8b6c6", + "parentId": "fld_f6c8f615a52147c6970d37ce93751bbf", + "modified": 1730465014506, + "created": 1730465014506, + "url": "{{val_server}}/api/graphql", + "name": "Read Document Review", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"query readDocumentReview($id: String!, $type: String!)\\n{\\n genericGetObject(type: $type, id: $id)\\n {\\n ... on ALL_RETURNS{\\n ... on DocumentReview {\\n id\\n currentBaseState\\n currentSubState\\n data {\\n aptBusinessObjectId\\n aptBusinessObjectSummary\\n aptBusinessObjectDescription\\n responsibleDepartmentAtCompany\\n responsibleDepartmentAtPartner\\n businessPriority\\n createdByPartner\\n productId\\n aptBusinessObjectImpactsLocationMasterData{\\n locationType\\n locationContact\\n partnerLocationId\\n }\\n __typename\\n }\\n aptBusinessObjectContainsComment{\\n to {\\n ... on AptComment{\\n id\\n data{\\n commentText\\n visibilityType\\n }\\n }\\n }\\n }\\n aptBusinessObjectContainsAttachment{\\n to {\\n ... on AptAttachment{\\n data{\\n fileName\\n fileSize\\n visibilityType\\n fileS3Location\\n }\\n }\\n }\\n }\\n __typename\\n }\\n __typename\\n }\\n } \\n}\",\"variables\":\"{\\n \\\"type\\\":\\\"DocumentReview\\\",\\n \\\"id\\\":\\\"{{document_review_id}}\\\"\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014506, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_78193da54d4e4a358f8dfc5d9e73b9de", + "parentId": "fld_f6c8f615a52147c6970d37ce93751bbf", + "modified": 1730465014505, + "created": 1730465014505, + "url": "{{val_server}}/api/graphql", + "name": "Get Activity History for Document Review", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"query GetActivityHistoryForDocumentReview($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Getactivityhistoryforincident\\\",\\n\\\"payload\\\":{\\n \\\"processId\\\":\\\"{{document_review_id}}\\\",\\n \\\"processType\\\":\\\"documentReview\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014505, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_af6c6d0742a1473ebced955de197ac52", + "parentId": "fld_f6c8f615a52147c6970d37ce93751bbf", + "modified": 1730465014503, + "created": 1730465014503, + "url": "{{val_server}}/api/graphql", + "name": "List Document Review Comments", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"query ListDocumentReviewComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Listcommentsfordocumentreview\\\",\\n\\\"payload\\\":{\\n \\\"id\\\":\\\"{{document_review_id}}\\\",\\n \\\"processType\\\":\\\"documentReview\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014503, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_7fe5a73d73c24e64a0ff718733398429", + "parentId": "fld_f6c8f615a52147c6970d37ce93751bbf", + "modified": 1730465014502, + "created": 1730465014502, + "url": "{{val_server}}/api/graphql", + "name": "Add Document Review Comment", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation AddChangeComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Addcommentfordocumentreview\\\",\\n\\\"payload\\\":{\\n \\\"processId\\\":\\\"{{document_review_id}}\\\",\\n \\\"processType\\\":\\\"documentReview\\\",\\n \\\"aptCommentBox\\\":{\\n \\\"aptComment\\\":{\\n \\\"commentText\\\": \\\"Attaching purchase order documentation per request\\\",\\n \\\"visibilityType\\\": \\\"Public\\\"\\n }\\n }\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014502, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_69c7674751994424bf3ef907a7f8651a", + "parentId": "fld_f6c8f615a52147c6970d37ce93751bbf", + "modified": 1730465014501, + "created": 1730465014501, + "url": "{{val_server}}/api/graphql", + "name": "Edit Document Review Comment", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation EditDocumentReview($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n \\\"action\\\": \\\"Editcommentfordocumentreview\\\",\\n \\\"payload\\\": {\\n \\\"id\\\": \\\"{{document_review_comment_id}}\\\",\\n \\\"processType\\\":\\\"documentReview\\\",\\n \\\"aptCommentBox\\\": {\\n \\\"aptComment\\\": {\\n \\\"commentText\\\": \\\"Attaching purchase order with updated cost estimate\\\",\\n \\\"visibilityType\\\": \\\"Public\\\"\\n }\\n }\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014501, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_dccc66ee9ee84b6383550a87d2e79e3a", + "parentId": "fld_f6c8f615a52147c6970d37ce93751bbf", + "modified": 1730465014500, + "created": 1730465014500, + "url": "{{val_server}}/api/graphql", + "name": "Reopen Document Review", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation ReopenDocumentReview($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Reopendocumentreview\\\",\\n\\\"payload\\\":{\\n \\\"id\\\":\\\"{{document_review_id}}\\\",\\n \\\"aptCommentBox\\\":{\\n \\\"aptComment\\\":{\\n \\\"commentText\\\": \\\"Reopening document review for audit trail\\\",\\n \\\"visibilityType\\\": \\\"Public\\\"\\n }\\n }\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014500, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_fc2757dacd764777848734d286840ede", + "parentId": "fld_f6c8f615a52147c6970d37ce93751bbf", + "modified": 1730465014499, + "created": 1730465014499, + "url": "{{val_server}}/api/graphql", + "name": "Close Document Review", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation CloseDocumentReview($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Closedocumentreview\\\",\\n\\\"payload\\\":{\\n \\\"id\\\":\\\"{{document_review_id}}\\\",\\n \\\"reviewResolutionType\\\":\\\"NOT_APPLICABLE\\\",\\n \\\"aptCommentBox\\\":{\\n \\\"aptComment\\\":{\\n \\\"commentText\\\": \\\"approval not required for this review\\\",\\n \\\"visibilityType\\\": \\\"Public\\\"\\n }\\n }\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014499, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_6eb9bad2d73747ec9c839795b2acab00", + "parentId": "fld_f6c8f615a52147c6970d37ce93751bbf", + "modified": 1730465014498, + "created": 1730465014498, + "url": "{{val_server}}/api/graphql", + "name": "Edit Document Review", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation EditDocumentReview($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Editdocumentreview\\\",\\n\\\"payload\\\":{\\n \\\"id\\\":\\\"{{document_review_id}}\\\",\\n \\\"aptCommentBox\\\":{\\n \\\"aptComment\\\":{\\n \\\"commentText\\\": \\\"Re-assigning to Jen\\\",\\n \\\"visibilityType\\\": \\\"InternalOnly\\\"\\n }\\n }\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014498, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_49c976a4323547b38edf56c483432449", + "parentId": "fld_f6c8f615a52147c6970d37ce93751bbf", + "modified": 1730465014497, + "created": 1730465014497, + "url": "{{val_server}}/api/graphql", + "name": "Add Document Review", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation AddDocumentReview($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Adddocumentreview\\\",\\n\\\"payload\\\":{\\n \\\"aptBusinessObjectSummary\\\":\\\"PN3161193783831918\\\",\\n \\\"aptBusinessObjectDescription\\\":\\\"APT-INCSummary161193783832157\\\",\\n \\\"businessPriority\\\":\\\"MEDIUM\\\",\\n \\\"approvalDueDate\\\": \\\"1736613281000\\\" // 11 Jan 2025\\n}\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014497, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_d64878fa9f3d4a19aee8d44cc04a33a0", + "parentId": "fld_ffd118a6cfe3472e8d274aa6eb2a8cb8", + "modified": 1730465014496, + "created": 1730465014496, + "url": "{{val_server}}/api/graphql", + "name": "Get the activity history for a Direct Supplier Incident", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"query GetActivityHistoryForDSIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Getactivityhistoryforincident\\\",\\n\\\"payload\\\":{\\n \\\"processId\\\":\\\"{{direct_supplier_incident_id}}\\\",\\n \\\"processType\\\":\\\"directSupplierIncident\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014496, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_ffd118a6cfe3472e8d274aa6eb2a8cb8", + "parentId": "fld_939d6c0c84d841e08a401ab64e686cbe", + "modified": 1730465014484, + "created": 1730465014484, + "name": "Direct Supplier Incident", + "description": "Add, update, and resolve direct supply incidents (i.e. incidents involving providers of raw materials, components, and services related to manufacturing of products).", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1730465014484, + "_type": "request_group" + }, + { + "_id": "req_df74712b7ed6487c87c062cb75df14ca", + "parentId": "fld_ffd118a6cfe3472e8d274aa6eb2a8cb8", + "modified": 1730465014495, + "created": 1730465014495, + "url": "{{val_server}}/api/graphql", + "name": "Submit a Direct Supplier Incident to partner", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation SubmitDSIncidentToPartner($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Submitdirectsupplierincidenttopartner\\\",\\n\\\"payload\\\":{\\n \\\"id\\\":\\\"{{direct_supplier_incident_id}}\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014495, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_9882569058624dfa9c40f72272829e72", + "parentId": "fld_ffd118a6cfe3472e8d274aa6eb2a8cb8", + "modified": 1730465014493, + "created": 1730465014493, + "url": "{{val_server}}/api/graphql", + "name": "List comments for a Direct Supplier Incident", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"query ListDSIncidentComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Listcommentsforincident\\\",\\n\\\"payload\\\":{\\n \\\"id\\\":\\\"{{direct_supplier_incident_id}}\\\",\\n \\\"processType\\\":\\\"directSupplierIncident\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014493, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_ccc2335ce9804834866f916dfdfc6124", + "parentId": "fld_ffd118a6cfe3472e8d274aa6eb2a8cb8", + "modified": 1730465014492, + "created": 1730465014492, + "url": "{{val_server}}/api/graphql", + "name": "Add a comment to a Direct Supplier Incident", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation AddDSIncidentComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Addcommentforincident\\\",\\n\\\"payload\\\":{\\n \\\"processId\\\":\\\"{{direct_supplier_incident_id}}\\\",\\n \\\"processType\\\":\\\"directSupplierIncident\\\",\\n \\\"aptCommentBox\\\":{\\n \\\"aptComment\\\":{\\n \\\"commentText\\\": \\\"Assigning investigator on location.\\\",\\n \\\"visibilityType\\\": \\\"Public\\\"\\n }\\n }\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014492, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_a1bf388de4904b6380546321c0fb31d9", + "parentId": "fld_ffd118a6cfe3472e8d274aa6eb2a8cb8", + "modified": 1730465014491, + "created": 1730465014491, + "url": "{{val_server}}/api/graphql", + "name": "Copy a Direct Supplier Incident", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation CopyIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n }\\n}\",\"variables\":\"{\\n \\\"action\\\": \\\"Copydirectsupplierincident\\\",\\n \\\"payload\\\": {\\n \\\"id\\\": \\\"{{direct_supplier_incident_id}}\\\",\\n \\\"createdByPartner\\\": false,\\n \\\"aptBusinessObjectSummary\\\": \\\"Raw materials issue\\\",\\n \\\"copyGeneralInfo\\\": true,\\n \\\"copyPartnerInfo\\\": false,\\n \\\"copyMaterialInfo\\\": true,\\n \\\"copyImpactInfo\\\": false,\\n \\\"copyReferenceIds\\\": false,\\n \\\"copyRelatedProcesses\\\": true\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "ownerId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": { + "type": "basic", + "disabled": false + }, + "metaSortKey": -1730465014491, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_ab27bcc4a34542e0a18b6d6332387076", + "parentId": "fld_ffd118a6cfe3472e8d274aa6eb2a8cb8", + "modified": 1730465014490, + "created": 1730465014490, + "url": "{{val_server}}/api/graphql", + "name": "Reopen a Direct Supplier Incident", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation CloseIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n \\\"action\\\": \\\"Reopendirectsupplierincident\\\",\\n \\\"payload\\\": {\\n \\\"aptCommentBox\\\": {\\n \\\"aptComment\\\": {\\n \\\"commentText\\\": \\\"Reopening incident to expand the investigation.\\\",\\n \\\"visibilityType\\\": \\\"Public\\\"\\n }\\n },\\n \\\"id\\\": \\\"{{direct_supplier_incident_id}}\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014490, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_40f75a55eb7d421390ca5af4d07c9023", + "parentId": "fld_ffd118a6cfe3472e8d274aa6eb2a8cb8", + "modified": 1730465014489, + "created": 1730465014489, + "url": "{{val_server}}/api/graphql", + "name": "Close a Direct Supplier Incident", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation CloseIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n \\\"action\\\": \\\"Closedirectsupplierincident\\\",\\n \\\"payload\\\": {\\n \\\"aptCommentBox\\\": {\\n \\\"aptComment\\\": {\\n \\\"commentText\\\": \\\"Closing incident, materials arrived in a separate shipment.\\\",\\n \\\"visibilityType\\\": \\\"Public\\\"\\n }\\n },\\n \\\"id\\\": \\\"{{direct_supplier_incident_id}}\\\",\\n \\\"resolutionType\\\": \\\"NOT_AN_ISSUE\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014489, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_477bf4128a87401bb6ad039ef172d53c", + "parentId": "fld_ffd118a6cfe3472e8d274aa6eb2a8cb8", + "modified": 1730465014487, + "created": 1730465014487, + "url": "{{val_server}}/api/graphql", + "name": "Read the details of a Direct Supplier Incident", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"query readDSIncident($type: String!, $id: String!)\\n{\\n genericGetObject(type:$type, id: $id)\\n {\\n ... on ALL_RETURNS {\\n ... on DirectSupplierIncident {\\n id\\n currentBaseState\\n currentSubState\\n data {\\n aptBusinessObjectId\\n aptBusinessObjectSummary\\n aptBusinessObjectDescription\\n responsibleDepartmentAtCompany\\n responsibleDepartmentAtPartner\\n incidentType\\n resolutionDueDate\\n directSupplierImpact{\\n businessPriority\\n }\\n referenceIdentifiers {\\n value\\n referenceTransactionType\\n __typename\\n }\\n dateSubmitted\\n createdByPartner\\n __typename\\n }\\n aptBusinessObjectBelongsToProcessNetwork {\\n to {\\n ... on ProcessNetwork {\\n id\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectCompanyAssignedUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPartnerAssignedUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectCompanyOwnerUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPartnerOwnerUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectAssignedToCompanyPartnerMasterData {\\n to {\\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on PartnerMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyMasterData{\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPrimaryPartnerLocationMasterData {\\n to {\\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n } \\n}\\nfragment userName on User {\\n id\\n data {\\n givenName\\n surname\\n __typename\\n }\\n __typename\\n} \",\"variables\":\"{\\n \\\"type\\\":\\\"DirectSupplierIncident\\\",\\n \\\"id\\\":\\\"{{direct_supplier_incident_id}}\\\"\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014487, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_430b5a3e0f314c46b1c415e05b04b444", + "parentId": "fld_ffd118a6cfe3472e8d274aa6eb2a8cb8", + "modified": 1730465014486, + "created": 1730465014486, + "url": "{{val_server}}/api/graphql", + "name": "Edit an existing Direct Supplier Incident", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation EditDSIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Editdirectsupplierincident\\\",\\n\\\"payload\\\":{\\n \\\"id\\\":\\\"{{direct_supplier_incident_id}}\\\",\\n \\\"directSupplierResponse\\\":{\\n \\\"initialResponseInformation\\\":\\\"Investigating issue. Reviewing records at location.\\\"\\n },\\n \\\"submitInitialResponse\\\": false\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014486, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_87145fdea52c4a30852b78f2b49965b8", + "parentId": "fld_ffd118a6cfe3472e8d274aa6eb2a8cb8", + "modified": 1730465014485, + "created": 1730465014485, + "url": "{{val_server}}/api/graphql", + "name": "Create a new Direct Supplier Incident", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation AddDSIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Adddirectsupplierincident\\\",\\n\\\"payload\\\":{\\n \\\"aptBusinessObjectSummary\\\": \\\"Raw materials shortage at Location XYZ\\\",\\n \\\"directSupplierImpact\\\":{\\n \\\"businessPriority\\\":\\\"MEDIUM\\\"\\n },\\n \\\"resolutionDueDate\\\":1736613281000 // 11 Jan 2025\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014485, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_d603c7da8269429bb7673de39ffcbe95", + "parentId": "fld_45787f7a22a0419a878a382ff61b1882", + "modified": 1730465014483, + "created": 1730465014483, + "url": "{{val_server}}/api/graphql", + "name": "Get activity history for an existing Compliance Exception Incident", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"query GetActivityHistoryForCEIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Getactivityhistoryforincident\\\",\\n\\\"payload\\\":{\\n \\\"processId\\\":\\\"{{compliance_exception_incident_id}}\\\",\\n \\\"processType\\\":\\\"complianceException\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014483, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_45787f7a22a0419a878a382ff61b1882", + "parentId": "fld_939d6c0c84d841e08a401ab64e686cbe", + "modified": 1730465014477, + "created": 1730465014477, + "name": "Compliance Exception Incident", + "description": "Add, update, and resolve supply chain compliance exception incidents on the Owner's network.", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1730465014477, + "_type": "request_group" + }, + { + "_id": "req_a7361b39cd884c45af45443c280ca9b4", + "parentId": "fld_45787f7a22a0419a878a382ff61b1882", + "modified": 1730465014482, + "created": 1730465014482, + "url": "{{val_server}}/api/graphql", + "name": "List comments for an existing Compliance Exception Incident", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"query ListCEIncidentComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Listcommentsforincident\\\",\\n\\\"payload\\\":{\\n \\\"id\\\":\\\"{{compliance_exception_incident_id}}\\\",\\n \\\"processType\\\":\\\"complianceException\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014482, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_5442c8d20b184aec9a6e6d59ecc29b67", + "parentId": "fld_45787f7a22a0419a878a382ff61b1882", + "modified": 1730465014481, + "created": 1730465014481, + "url": "{{val_server}}/api/graphql", + "name": "Add comments to an existing Compliance Exception Incident", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation AddCEIncidentComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Addcommentforincident\\\",\\n\\\"payload\\\":{\\n \\\"processId\\\":\\\"{{compliance_exception_incident_id}}\\\",\\n \\\"processType\\\":\\\"complianceException\\\",\\n \\\"aptCommentBox\\\":{\\n \\\"aptComment\\\":{\\n \\\"commentText\\\": \\\"Adding a test comment using Postman and GraphQL.\\\",\\n \\\"visibilityType\\\": \\\"Public\\\"\\n }\\n }\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014481, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_ca4c2574890c4cec905cab07f67dab80", + "parentId": "fld_45787f7a22a0419a878a382ff61b1882", + "modified": 1730465014480, + "created": 1730465014480, + "url": "{{val_server}}/api/graphql", + "name": "Read the details of a Compliance Exception Incident", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"query readCEIncident($type: String!, $id: String!)\\n{\\n genericGetObject(type:$type, id: $id)\\n {\\n ... on ALL_RETURNS {\\n ... on ComplianceException {\\n id\\n currentBaseState\\n currentSubState\\n data {\\n aptBusinessObjectId\\n aptBusinessObjectSummary\\n aptBusinessObjectDescription\\n responsibleDepartmentAtCompany\\n responsibleDepartmentAtPartner\\n resolutionDueDate\\n businessPriority\\n referenceIdentifiers {\\n value\\n referenceTransactionType\\n __typename\\n }\\n dateSubmitted\\n createdByPartner\\n __typename\\n }\\n aptBusinessObjectBelongsToProcessNetwork {\\n to {\\n ... on ProcessNetwork {\\n id\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectAssignedToCompanyPartnerMasterData {\\n to {\\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on PartnerMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyMasterData{\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n\\n __typename\\n }\\n __typename\\n }\\n __typename\\n } \\n}\\n\",\"variables\":\"{\\n \\\"type\\\":\\\"ComplianceException\\\",\\n \\\"id\\\":\\\"{{compliance_exception_incident_id}}\\\"\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014480, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_491f914f95724886b37818dbd14eace3", + "parentId": "fld_45787f7a22a0419a878a382ff61b1882", + "modified": 1730465014479, + "created": 1730465014479, + "url": "{{val_server}}/api/graphql", + "name": "Edit an existing Compliance Exception Incident", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation EditComplianceException($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Editcomplianceexception\\\",\\n\\\"payload\\\":{\\n \\\"id\\\":\\\"{{compliance_exception_incident_id}}\\\",\\n \\\"aptBusinessObjectDescription\\\":\\\"Editing an compliance exception programmatically using graphQL via Postman\\\",\\n \\\"businessPriority\\\":\\\"LOW\\\",\\n \\\"responsiblePartyAtParner\\\":{}\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014479, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_e2bd2ffeaa4f4712913528a3f3f4bc1d", + "parentId": "fld_45787f7a22a0419a878a382ff61b1882", + "modified": 1730465014478, + "created": 1730465014478, + "url": "{{val_server}}/api/graphql", + "name": "Create a new Compliance Exception Incident", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation AddComplianceException($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Addcomplianceexception\\\",\\n\\\"payload\\\":{\\n \\\"aptBusinessObjectSummary\\\": \\\"Kendall Pharma | ACME Inc | INC-2023-01 | No EPCIS Data for 1 package\\\",\\n \\\"aptBusinessObjectDescription\\\":\\\"Shipment quarantined due to T1 reflecting incomplete data|SO 3027209239|PO 5201019344|Transaminase enzyme, CDX-017 (ACS-4007466). EPCIS shows 48 pallets and receiving called out 50 received.\\\",\\n \\\"businessPriority\\\":\\\"HIGH\\\",\\n \\\"createdByPartner\\\": false,\\n \\\"resolutionDueDateISO\\\": \\\"2025-04-15T01:30:00.000-05:00\\\"\\n //,\\\"resolutionDueDate\\\":\\\"1736613281000\\\" // 11 Jan 2025\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014478, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_23f0c169f84840799f5de6f279f9f2eb", + "parentId": "fld_b2926a66ee224bbd968b8012bc42b710", + "modified": 1730465014475, + "created": 1730465014475, + "url": "{{val_server}}/api/graphql", + "name": "Read the details of a change request", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"query readChange($type: String!, $id: String!)\\n{\\n genericGetObject(type:$type, id: $id)\\n {\\n ... on ALL_RETURNS{\\n ... on Change {\\n id\\n currentBaseState\\n currentSubState\\n data {\\n aptBusinessObjectId\\n aptBusinessObjectSummary\\n aptBusinessObjectDescription\\n responsibleDepartmentAtCompany\\n responsibleDepartmentAtPartner\\n businessPriority\\n changeType\\n implementationDueDate\\n implementationTeam\\n subjectMatterExperts{\\n subjectMatterExpertName\\n subjectMatterExpertEmail\\n }\\n changeImpact{\\n changeReferenceIdentifiers{\\n referenceTransactionType\\n value\\n }\\n riskType\\n implementationNeededByDate\\n businessScopeImpact\\n otherBusinessScopeImpact\\n reasonForChange\\n reasonForChangeNotes\\n potentialRisks\\n evaluationsOfChange\\n }\\n createdByPartner\\n productId\\n aptBusinessObjectImpactsLocationMasterData{\\n locationType\\n locationContact\\n partnerLocationId\\n }\\n __typename\\n }\\n aptBusinessObjectContainsComment{\\n to {\\n ... on AptComment{\\n id\\n data{\\n commentText\\n visibilityType\\n }\\n }\\n }\\n }\\n aptBusinessObjectContainsAttachment{\\n to {\\n ... on AptAttachment{\\n data{\\n fileName\\n fileSize\\n visibilityType\\n fileS3Location\\n }\\n }\\n }\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n } \\n}\\n\",\"variables\":\"{\\n \\\"type\\\": \\\"Change\\\",\\n \\\"id\\\":\\\"{{change_id}}\\\"\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014475, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "fld_b2926a66ee224bbd968b8012bc42b710", + "parentId": "fld_939d6c0c84d841e08a401ab64e686cbe", + "modified": 1730465014463, + "created": 1730465014463, + "name": "Change Request Management", + "description": "Add, evaluate, and implement process change requests with their internal locations and external Partners on the network.", + "environment": {}, + "environmentPropertyOrder": null, + "metaSortKey": -1730465014463, + "_type": "request_group" + }, + { + "_id": "req_ef3b61e723924272821fe4fbf1c238a0", + "parentId": "fld_b2926a66ee224bbd968b8012bc42b710", + "modified": 1730465014474, + "created": 1730465014474, + "url": "{{val_server}}/api/graphql", + "name": "Toggle User follows change", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation ToggleFollowChange($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Toggleuserfollowschange\\\",\\n\\\"payload\\\":{\\n \\\"id\\\":\\\"{{change_id}}\\\",\\n \\\"processType\\\":\\\"change\\\",\\n \\\"follow\\\": true\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014474, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_06dab7eafbad467ca1bd7d1951afd4be", + "parentId": "fld_b2926a66ee224bbd968b8012bc42b710", + "modified": 1730465014473, + "created": 1730465014473, + "url": "{{val_server}}/api/graphql", + "name": "Get activity history for a change request", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"query GetActivityHistoryForIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Getactivityhistoryforincident\\\",\\n\\\"payload\\\":{\\n \\\"processId\\\":\\\"{{change_id}}\\\",\\n \\\"processType\\\":\\\"change\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014473, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_2a6229180a5f46ecb1a4cc55f9d518b0", + "parentId": "fld_b2926a66ee224bbd968b8012bc42b710", + "modified": 1730465014472, + "created": 1730465014472, + "url": "{{val_server}}/api/graphql", + "name": "List comments for a change request", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"query ListChangeComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Listcommentsforchange\\\",\\n\\\"payload\\\":{\\n \\\"id\\\":\\\"{{change_id}}\\\",\\n \\\"processType\\\":\\\"change\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014472, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_fae3f3de66f749278c4a64b28addaf24", + "parentId": "fld_b2926a66ee224bbd968b8012bc42b710", + "modified": 1730465014470, + "created": 1730465014470, + "url": "{{val_server}}/api/graphql", + "name": "Add a comment to a change request", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation AddChangeComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Addcommentforchange\\\",\\n\\\"payload\\\":{\\n \\\"processId\\\":\\\"{{change_id}}\\\",\\n \\\"processType\\\":\\\"change\\\",\\n \\\"aptCommentBox\\\":{\\n \\\"aptComment\\\":{\\n \\\"commentText\\\": \\\"Uploading new specification documents.\\\",\\n \\\"visibilityType\\\": \\\"Public\\\"\\n }\\n }\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014470, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_f358bf8e020846a7831b786c9e73de13", + "parentId": "fld_b2926a66ee224bbd968b8012bc42b710", + "modified": 1730465014469, + "created": 1730465014469, + "url": "{{val_server}}/api/graphql", + "name": "Copy a change request", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation Copychange($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n \\\"action\\\":\\\"Copychange\\\",\\n \\\"payload\\\":{\\n \\\"aptBusinessObjectSummary\\\": \\\"Make a copy of a change\\\",\\n \\\"copyGeneralInfo\\\": true,\\n \\\"copyImpactInfo\\\": true,\\n \\\"copyPartnerInfo\\\": false,\\n \\\"copyReferenceIds\\\": false,\\n \\\"copyRelatedProcesses\\\": true,\\n \\\"createdByPartner\\\":false,\\n \\\"id\\\": \\\"{{change_id}}\\\",\\n \\\"isVisible\\\": true\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014470, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_eeb859852f534c62964776aae3d42291", + "parentId": "fld_b2926a66ee224bbd968b8012bc42b710", + "modified": 1730465014469, + "created": 1730465014469, + "url": "{{val_server}}/api/graphql", + "name": "Reopen a change request", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation Reopenchange($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n \\\"action\\\": \\\"Reopenchange\\\",\\n \\\"payload\\\": {\\n \\\"aptCommentBox\\\": {\\n \\\"aptComment\\\": {\\n \\\"commentText\\\": \\\"Change has caused unexpected issues, reopening issue to investigate.\\\",\\n \\\"visibilityType\\\": \\\"Public\\\"\\n }\\n },\\n \\\"id\\\": \\\"{{change_id}}\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014469, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_a5329144d1fc44079ddef70d3f358ca9", + "parentId": "fld_b2926a66ee224bbd968b8012bc42b710", + "modified": 1730465014467, + "created": 1730465014467, + "url": "{{val_server}}/api/graphql", + "name": "Close a change request", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation Closechange($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n \\\"action\\\": \\\"Closechange\\\",\\n \\\"payload\\\": {\\n \\\"aptCommentBox\\\": {\\n \\\"aptComment\\\": {\\n \\\"commentText\\\": \\\"Closing Request 001. Requested changes approved and complete.\\\",\\n \\\"visibilityType\\\": \\\"Public\\\"\\n }\\n },\\n \\\"id\\\": \\\"{{change_id}}\\\",\\n \\\"changeResolutionType\\\": \\\"NOT_APPLICABLE\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014467, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_f3d07b095eb14049a6bb5849c4990801", + "parentId": "fld_b2926a66ee224bbd968b8012bc42b710", + "modified": 1730465014466, + "created": 1730465014466, + "url": "{{val_server}}/api/graphql", + "name": "Edit a change request comment", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation Editchange($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n \\\"action\\\": \\\"Editcommentforchange\\\",\\n \\\"payload\\\": {\\n \\\"id\\\": \\\"{{change_comment_id}}\\\",\\n \\\"processType\\\": \\\"Change\\\",\\n \\\"aptCommentBox\\\": {\\n \\\"aptComment\\\": {\\n \\\"commentText\\\": \\\"Attaching updated scanner Purchase Order per request.\\\",\\n \\\"visibilityType\\\": \\\"Public\\\"\\n }\\n }\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014466, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_ab5a7518b7a04291b8d2a1c12bfca3db", + "parentId": "fld_b2926a66ee224bbd968b8012bc42b710", + "modified": 1730465014465, + "created": 1730465014465, + "url": "{{val_server}}/api/graphql", + "name": "Edit a change request", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation Editchange($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Editchange\\\",\\n\\\"payload\\\":{\\n \\\"id\\\":\\\"{{change_id}}\\\",\\n \\\"isVisible\\\":true,\\n \\\"aptBusinessObjectDescription\\\":\\\"Replace existing scanners at warehouses company wide with upgraded model\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014465, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "req_43d0ca5e69104b1bb967ad6b2b981d84", + "parentId": "fld_b2926a66ee224bbd968b8012bc42b710", + "modified": 1730465014464, + "created": 1730465014464, + "url": "{{val_server}}/api/graphql", + "name": "Create a new change request", + "description": "", + "method": "POST", + "body": { + "mimeType": "application/graphql", + "text": "{\"query\":\"mutation AddChange($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":\"{\\n\\\"action\\\": \\\"Addchange\\\",\\n\\\"payload\\\":{\\n \\\"aptBusinessObjectSummary\\\": \\\"Scanner Upgrade\\\",\\n \\\"aptBusinessObjectDescription\\\":\\\"Replace existing scanners at Warehouse B with upgraded model\\\",\\n \\\"isVisible\\\": false,\\n \\\"businessPriority\\\": \\\"MEDIUM\\\"\\n }\\n}\"}" + }, + "parameters": [], + "headers": [ + { + "name": "Authorization", + "value": "Basic {{basicKey}}" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "Dataspace", + "value": "default" + }, + { + "name": "companyId", + "value": "{{ownerId}}" + }, + { + "name": "processNetworkId", + "value": "{{processNetworkId}}" + } + ], + "authentication": {}, + "metaSortKey": -1730465014464, + "isPrivate": false, + "settingStoreCookies": true, + "settingSendCookies": true, + "settingDisableRenderRequestBody": false, + "settingEncodeUrl": true, + "settingRebuildPath": true, + "settingFollowRedirects": "global", + "_type": "request" + }, + { + "_id": "env_4c0e538ab46b43c9b46145f8ffa95ece", + "parentId": "wrk_23dbdcfdc2b346e6a7e2efa3df639244", + "modified": 1730469944612, + "created": 1730464983493, + "name": "Base Environment", + "data": {}, + "dataPropertyOrder": {}, + "color": null, + "isPrivate": false, + "metaSortKey": 1730464983493, + "_type": "environment" + }, + { + "_id": "jar_f0ba57f6e51a4f0187625b010f425b52", + "parentId": "wrk_23dbdcfdc2b346e6a7e2efa3df639244", + "modified": 1730469899170, + "created": 1730464983495, + "name": "Default Jar", + "cookies": [], + "_type": "cookie_jar" + } + ] +} From 9dde6620c67629c9469ce545ad5fc887301e0657 Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Fri, 8 Nov 2024 13:06:57 -0700 Subject: [PATCH 35/47] updating for incident type and formatting --- README.MD | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) diff --git a/README.MD b/README.MD index 39b7cb8..bc1d83c 100644 --- a/README.MD +++ b/README.MD @@ -1,39 +1,35 @@ -# TraceLink Opus Platform Code Samples +# TraceLink Opus Platform Code Samples # -## Communicating with Agile Process Teams using code +## Communicating with Agile Process Teams using code ## -This repository provides developers with code samples for interacting with the Agile Process Teams (APT) app. +This repository provides developers with code samples for interacting with the Agile Process Teams (APT) app. -APT is a multienterprise work management app that allows Owners to collaborate with cross-enterprise -and cross-functional trade partners throughout the supply chain by digitally executing, managing, and tracking shared -business processes, which increases speed and improves the effectiveness of the supply chain. Agile Process Teams allows -companies to create multiple networks that use the following processes for this digital collaboration: +APT is a multienterprise work management app that allows Owners to collaborate with cross-enterprise and cross-functional trade partners throughout the supply chain by digitally executing, managing, and tracking shared business processes, which increases speed and improves the effectiveness of the supply chain. Agile Process Teams allows companies to create multiple networks that use the following processes for this digital collaboration: -- Incidents: Direct Supplier, Indirect Supplier -- Incidents: External Manufacturing, Internal Manufacturing - Change Requests +- Document Review +- Incidents including Compliance Exception, Direct Supplier, External Manufacturing - Tasks -Currently, our API only supports incident management. Additional functionality will be added to this repository as it becomes -available. +Additional functionality will be added to this repository as it becomes available. -## Prerequisites +## Prerequisites ## -Your company must have licenses for the Suppy Chain Work Management solution and APT app. +Your company must have licenses for the Suppy Chain Work Management solution and APT app. -## Languages +## Languages ## Samples focus on basic actions using the most common scripting languages. These samples are organized in folders by language. Folders are added as language samples become available. - [Python](python/README.md) -## Support +## Support ## -If you find a bug or have feature request related to the code in this repository you can open a GitHub [issue](https://github.com/tracelink/code-samples/issues). +If you find a bug or have feature request related to the code in this repository you can open a GitHub [issue](https://github.com/tracelink/code-samples/issues). If you are having a technical issue with the API that requires troubleshooting, please [open a support ticket](https://www.tracelink.com/support). -## License +## License ## [MIT License](https://github.com/tracelink/code-samples/blob/4264373bdd1b093344538053709cfa538f36af47/LICENSE) -Copyright (c) 2022 TraceLink \ No newline at end of file +Copyright (c) 2022 TraceLink From b81a957874c5fc3f563e743315a9cae05aa39d39 Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Fri, 8 Nov 2024 14:44:10 -0700 Subject: [PATCH 36/47] updating content and formats --- GraphQL/program_integration/readme.md | 101 +----------------- GraphQL/program_samples/node/addIncident.js | 34 ------ .../python/change_request/addChange.py | 26 ----- .../python/change_request/addChangeComment.py | 25 ----- .../python/change_request/edditChange.py | 25 ----- .../getChangeActivityHistory.py | 23 ---- .../change_request/listChangeComments.py | 23 ---- .../python/change_request/readChange.py | 26 ----- .../compliance_exception/addCEIncident.py | 25 ----- .../addCEIncidentComment.py | 25 ----- .../compliance_exception/editCEIncident.py | 25 ----- .../getCEIncidentHistory.py | 23 ---- .../listCEIncidentComments.py | 23 ---- .../compliance_exception/readCEIncident.py | 25 ----- .../python/direct_supplier/addDSIncident.py | 25 ----- .../direct_supplier/addDSIncidentComment.py | 25 ----- .../python/direct_supplier/editDSIncident.py | 25 ----- .../getActivityHistoryForDSIncidents.py | 25 ----- .../direct_supplier/listDSIncidentComments.py | 30 ------ .../python/direct_supplier/readDSIncident.py | 26 ----- .../python/document_review/addDocReview.py | 25 ----- .../document_review/addDocReviewComment.py | 25 ----- .../python/document_review/editDocReview.py | 25 ----- .../document_review/getDocRevActivity.py | 25 ----- .../document_review/listDocRevComments.py | 25 ----- .../python/document_review/readDocReview.py | 25 ----- .../external_manufacturing/addEMIncident.py | 25 ----- .../addEMIncidentComment.py | 25 ----- .../external_manufacturing/editEMIncident.py | 25 ----- .../getEMIncidentHistory.py | 25 ----- .../listEMIncidentComments.py | 25 ----- .../external_manufacturing/readEMIncident.py | 25 ----- .../python/incident/addIncident.py | 25 ----- .../python/incident/addIncidentComment.py | 25 ----- .../python/incident/editIncident.py | 25 ----- .../incident/getActivityHistoryForIncident.py | 25 ----- .../python/incident/listIncidentComments.py | 25 ----- .../python/incident/readIncident.py | 25 ----- .../master_data/getCompanyMasterData.py | 25 ----- .../master_data/getPartnerMasterData.py | 25 ----- .../master_data/getProductMasterData.py | 25 ----- .../python/task/addCommentForTask.py | 25 ----- .../python/task/addSubTaskToTask.py | 25 ----- .../program_samples/python/task/addTask.py | 24 ----- .../python/task/closeSubTask.py | 25 ----- .../program_samples/python/task/closeTask.py | 25 ----- .../program_samples/python/task/copyTask.py | 25 ----- .../python/task/editCommentForTask.py | 25 ----- .../python/task/editSubTaskOnTask.py | 25 ----- .../program_samples/python/task/editTask.py | 24 ----- .../python/task/getActivityHistoryForTask.py | 25 ----- .../python/task/listCommentForTask.py | 24 ----- .../python/task/listSubtaskForTask.py | 25 ----- .../python/task/readTaskDetails.py | 24 ----- .../python/task/removeSubtask.py | 25 ----- .../python/task/reopenSubtask.py | 25 ----- .../program_samples/python/task/reopenTask.py | 25 ----- .../task_template/addSubTaskTemplate.py | 25 ----- .../python/task_template/addTaskTemplate.py | 25 ----- .../task_template/editSubTaskonTemplate.py | 25 ----- .../python/task_template/editTaskTemplate.py | 26 ----- .../task_template/listSubtaskForTemplate.py | 24 ----- .../task_template/readTemplateDetails.py | 25 ----- .../removeSubTaskFromTemplate.py | 25 ----- GraphQL/readme.MD | 9 +- README.MD | 5 +- 66 files changed, 12 insertions(+), 1683 deletions(-) delete mode 100644 GraphQL/program_samples/node/addIncident.js delete mode 100644 GraphQL/program_samples/python/change_request/addChange.py delete mode 100644 GraphQL/program_samples/python/change_request/addChangeComment.py delete mode 100644 GraphQL/program_samples/python/change_request/edditChange.py delete mode 100644 GraphQL/program_samples/python/change_request/getChangeActivityHistory.py delete mode 100644 GraphQL/program_samples/python/change_request/listChangeComments.py delete mode 100644 GraphQL/program_samples/python/change_request/readChange.py delete mode 100644 GraphQL/program_samples/python/compliance_exception/addCEIncident.py delete mode 100644 GraphQL/program_samples/python/compliance_exception/addCEIncidentComment.py delete mode 100644 GraphQL/program_samples/python/compliance_exception/editCEIncident.py delete mode 100644 GraphQL/program_samples/python/compliance_exception/getCEIncidentHistory.py delete mode 100644 GraphQL/program_samples/python/compliance_exception/listCEIncidentComments.py delete mode 100644 GraphQL/program_samples/python/compliance_exception/readCEIncident.py delete mode 100644 GraphQL/program_samples/python/direct_supplier/addDSIncident.py delete mode 100644 GraphQL/program_samples/python/direct_supplier/addDSIncidentComment.py delete mode 100644 GraphQL/program_samples/python/direct_supplier/editDSIncident.py delete mode 100644 GraphQL/program_samples/python/direct_supplier/getActivityHistoryForDSIncidents.py delete mode 100644 GraphQL/program_samples/python/direct_supplier/listDSIncidentComments.py delete mode 100644 GraphQL/program_samples/python/direct_supplier/readDSIncident.py delete mode 100644 GraphQL/program_samples/python/document_review/addDocReview.py delete mode 100644 GraphQL/program_samples/python/document_review/addDocReviewComment.py delete mode 100644 GraphQL/program_samples/python/document_review/editDocReview.py delete mode 100644 GraphQL/program_samples/python/document_review/getDocRevActivity.py delete mode 100644 GraphQL/program_samples/python/document_review/listDocRevComments.py delete mode 100644 GraphQL/program_samples/python/document_review/readDocReview.py delete mode 100644 GraphQL/program_samples/python/external_manufacturing/addEMIncident.py delete mode 100644 GraphQL/program_samples/python/external_manufacturing/addEMIncidentComment.py delete mode 100644 GraphQL/program_samples/python/external_manufacturing/editEMIncident.py delete mode 100644 GraphQL/program_samples/python/external_manufacturing/getEMIncidentHistory.py delete mode 100644 GraphQL/program_samples/python/external_manufacturing/listEMIncidentComments.py delete mode 100644 GraphQL/program_samples/python/external_manufacturing/readEMIncident.py delete mode 100644 GraphQL/program_samples/python/incident/addIncident.py delete mode 100644 GraphQL/program_samples/python/incident/addIncidentComment.py delete mode 100644 GraphQL/program_samples/python/incident/editIncident.py delete mode 100644 GraphQL/program_samples/python/incident/getActivityHistoryForIncident.py delete mode 100644 GraphQL/program_samples/python/incident/listIncidentComments.py delete mode 100644 GraphQL/program_samples/python/incident/readIncident.py delete mode 100644 GraphQL/program_samples/python/master_data/getCompanyMasterData.py delete mode 100644 GraphQL/program_samples/python/master_data/getPartnerMasterData.py delete mode 100644 GraphQL/program_samples/python/master_data/getProductMasterData.py delete mode 100644 GraphQL/program_samples/python/task/addCommentForTask.py delete mode 100644 GraphQL/program_samples/python/task/addSubTaskToTask.py delete mode 100644 GraphQL/program_samples/python/task/addTask.py delete mode 100644 GraphQL/program_samples/python/task/closeSubTask.py delete mode 100644 GraphQL/program_samples/python/task/closeTask.py delete mode 100644 GraphQL/program_samples/python/task/copyTask.py delete mode 100644 GraphQL/program_samples/python/task/editCommentForTask.py delete mode 100644 GraphQL/program_samples/python/task/editSubTaskOnTask.py delete mode 100644 GraphQL/program_samples/python/task/editTask.py delete mode 100644 GraphQL/program_samples/python/task/getActivityHistoryForTask.py delete mode 100644 GraphQL/program_samples/python/task/listCommentForTask.py delete mode 100644 GraphQL/program_samples/python/task/listSubtaskForTask.py delete mode 100644 GraphQL/program_samples/python/task/readTaskDetails.py delete mode 100644 GraphQL/program_samples/python/task/removeSubtask.py delete mode 100644 GraphQL/program_samples/python/task/reopenSubtask.py delete mode 100644 GraphQL/program_samples/python/task/reopenTask.py delete mode 100644 GraphQL/program_samples/python/task_template/addSubTaskTemplate.py delete mode 100644 GraphQL/program_samples/python/task_template/addTaskTemplate.py delete mode 100644 GraphQL/program_samples/python/task_template/editSubTaskonTemplate.py delete mode 100644 GraphQL/program_samples/python/task_template/editTaskTemplate.py delete mode 100644 GraphQL/program_samples/python/task_template/listSubtaskForTemplate.py delete mode 100644 GraphQL/program_samples/python/task_template/readTemplateDetails.py delete mode 100644 GraphQL/program_samples/python/task_template/removeSubTaskFromTemplate.py diff --git a/GraphQL/program_integration/readme.md b/GraphQL/program_integration/readme.md index c57d6e8..fcb1a12 100644 --- a/GraphQL/program_integration/readme.md +++ b/GraphQL/program_integration/readme.md @@ -1,98 +1,5 @@ -# Incorporating GraphQL into your automation solutions # -The GraphQL code samples provided contain the payloads necessary to make requests to the Opus platform. -Use your preferred programming language to construct the HTTP request for the desired action. Your ```Headers``` section contains the relevant authorization data for your environment. -Incorporate the payload into the body of your request. The request text must be converted to a JSON string for inclusion. -For example: -### Original Query ### -Query: -``` -mutation AddIncident($action: String!, $payload: JSON!) { - genericActionCall(action: $action, payload: $payload) { - result - __typename - } -} -``` -Variables -``` -{ -"action": "Addincident", -"payload":{ - "aptBusinessObjectSummary": "Printing error", - "aptBusinessObjectDescription":"Label printing offset", - "businessPriority":"LOW", - "incidentType":"LABEL_COMPLIANCE_ERROR", - "resolutionDueDate":"1736613281000" // 11 Jan 2025 - } -} -``` -Add your converted strings to a payload. Create a single object containing query and variables objects. -### Python ### -``` -import requests -import json +# Program Integration # +Review API format-specific discussions to leverage the API format of your choice in your integrations. -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"mutation AddIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\": \"Addincident\",\"payload\": {\"aptBusinessObjectSummary\":\"Printing error\",\"aptBusinessObjectDescription\": \"Label printing offset on package\",\"businessPriority\": \"LOW\",\"incidentType\":\"LABEL_COMPLIANCE_ERROR\",\"resolutionDueDate\": \"1736613281000\"}}}" -headers = { - 'Authorization': 'Basic YOUR_AUTH_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -print(response.text) -``` -### Node.js ### -``` -var request = require('request'); -var options = { - 'method': 'POST', - 'url': 'https://valvir-opus.tracelink.com/api/graphql', - 'headers': { - 'Authorization': 'Basic YOUR_AUTH_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_NETWORK_ID' - }, - body: JSON.stringify({ - query: `mutation AddIncident($action: String!, $payload: JSON!) -{ - genericActionCall(action: $action, payload: $payload) - { - result - __typename - } -}`, - variables: - {"action": "Addincident", - "payload": - {"aptBusinessObjectSummary":"Printing error", - "aptBusinessObjectDescription": "Label printing offset on package", - "businessPriority": "LOW", - "incidentType":"LABEL_COMPLIANCE_ERROR", - "resolutionDueDate": "1736613281000"}} - }) -}; -request(options, function (error, response) { - if (error) throw new Error(error); - console.log(response.body); -}); -``` -In this example, Opus automatically assigns Business Object and Id values. The response will contain both values and be similar to the example below: -``` -{ - "data": { - "genericActionCall": { - "result": "{\"aptBusinessObjectId\":\"USPT-0000\",\"id\":\"aa0a00aa-0a00-0aaa-0a00-000000a000000\"}", - "__typename": "ReadResult" - } - } -} -``` -The ```id``` item allows subsequent calls to update, comment, copy, close, or reopen this new record. +[Use GraphQL in your solutions](program_integration/GraphQL_Requests.md) +[Create requests using AsyncAPI](program_integration/AsyncAPI_Requests.md) diff --git a/GraphQL/program_samples/node/addIncident.js b/GraphQL/program_samples/node/addIncident.js deleted file mode 100644 index 2f07984..0000000 --- a/GraphQL/program_samples/node/addIncident.js +++ /dev/null @@ -1,34 +0,0 @@ -var request = require('request'); -var options = { - 'method': 'POST', - 'url': 'https://valvir-opus.tracelink.com/api/graphql', - 'headers': { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' - }, - body: JSON.stringify({ - query: `mutation AddIncident($action: String!, $payload: JSON!) -{ - genericActionCall(action: $action, payload: $payload) - { - result - __typename - } -}`, - variables: - {"action": "Addincident", - "payload": - {"aptBusinessObjectSummary":"Printing error", - "aptBusinessObjectDescription": "Label printing offset on package", - "businessPriority": "LOW", - "incidentType":"LABEL_COMPLIANCE_ERROR", - "resolutionDueDate": "1736613281000"}} - }) -}; -request(options, function (error, response) { - if (error) throw new Error(error); - console.log(response.body); -}); diff --git a/GraphQL/program_samples/python/change_request/addChange.py b/GraphQL/program_samples/python/change_request/addChange.py deleted file mode 100644 index 5c00924..0000000 --- a/GraphQL/program_samples/python/change_request/addChange.py +++ /dev/null @@ -1,26 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"mutation AddChange($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\":\"Addchange\",\"payload\":{\"aptBusinessObjectSummary\":\"GraphQL using python demo\",\"aptBusinessObjectDescription\":\"Test case entering a change request using postman and graphQL\",\"isVisible\":false,\"businessPriority\":\"LOW\"}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/change_request/addChangeComment.py b/GraphQL/program_samples/python/change_request/addChangeComment.py deleted file mode 100644 index c2b4ddb..0000000 --- a/GraphQL/program_samples/python/change_request/addChangeComment.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"mutation AddChangeComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\": \"Addcommentforchange\",\"payload\":{\"processId\":\"YOUR_ID\",\"processType\":\"complianceException\",\"aptCommentBox\":{\"aptComment\":{\"commentText\": \"Adding a test comment using GraphQL via Python command line.\",\"visibilityType\": \"Public\"}}}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/change_request/edditChange.py b/GraphQL/program_samples/python/change_request/edditChange.py deleted file mode 100644 index 70545ae..0000000 --- a/GraphQL/program_samples/python/change_request/edditChange.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"mutation Editchange($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\": \"Editchange\",\"payload\":{\"id\":\"YOUR_ID\",\"aptBusinessObjectDescription\":\"Editing a compliance exception programmatically using graphQL and Python.\",\"businessPriority\":\"LOW\",\"responsiblePartyAtParner\":{}}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/change_request/getChangeActivityHistory.py b/GraphQL/program_samples/python/change_request/getChangeActivityHistory.py deleted file mode 100644 index ff8bebb..0000000 --- a/GraphQL/program_samples/python/change_request/getChangeActivityHistory.py +++ /dev/null @@ -1,23 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"query GetActivityHistoryForIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\":\"Getactivityhistoryforincident\",\"payload\":{\"processId\":\"YOUR_ID\",\"processType\":\"change\"}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -raw_json = json.loads(response.text) # load the text result to into json -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# print(response.text) -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/change_request/listChangeComments.py b/GraphQL/program_samples/python/change_request/listChangeComments.py deleted file mode 100644 index 799fc5b..0000000 --- a/GraphQL/program_samples/python/change_request/listChangeComments.py +++ /dev/null @@ -1,23 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"query ListChangeComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n } \\n}\",\"variables\":{\"action\":\"Listcommentsforchange\",\"payload\":{\"id\":\"YOUR_ID\",\"processType\":\"change\"}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -raw_json = json.loads(response.text) # load the text result to into json -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# print(response.text) -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/change_request/readChange.py b/GraphQL/program_samples/python/change_request/readChange.py deleted file mode 100644 index 7f925f4..0000000 --- a/GraphQL/program_samples/python/change_request/readChange.py +++ /dev/null @@ -1,26 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"query readChange($type: String!, $id: String!)\\n{\\n genericGetObject(type:$type, id: $id)\\n {\\n ... on ALL_RETURNS{\\n ... on Change {\\n id\\n currentBaseState\\n currentSubState\\n data {\\n aptBusinessObjectId\\n aptBusinessObjectSummary\\n aptBusinessObjectDescription\\n responsibleDepartmentAtCompany\\n responsibleDepartmentAtPartner\\n businessPriority\\n changeType\\n implementationDueDate\\n implementationTeam\\n subjectMatterExperts{\\n subjectMatterExpertName\\n subjectMatterExpertEmail\\n }\\n changeImpact{\\n changeReferenceIdentifiers{\\n referenceTransactionType\\n value\\n }\\n riskType\\n implementationNeededByDate\\n businessScopeImpact\\n otherBusinessScopeImpact\\n reasonForChange\\n reasonForChangeNotes\\n potentialRisks\\n evaluationsOfChange\\n }\\n createdByPartner\\n productId\\n aptBusinessObjectImpactsLocationMasterData{\\n locationType\\n locationContact\\n partnerLocationId\\n }\\n __typename\\n }\\n aptBusinessObjectContainsComment{\\n to {\\n ... on AptComment{\\n id\\n data{\\n commentText\\n visibilityType\\n }\\n }\\n }\\n }\\n aptBusinessObjectContainsAttachment{\\n to {\\n ... on AptAttachment{\\n data{\\n fileName\\n fileSize\\n visibilityType\\n fileS3Location\\n }\\n }\\n }\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n } \\n}\\n\",\"variables\":{\"type\":\"Change\",\"id\":\"YOUR_ID\"}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -print(response.text) - -raw_json = json.loads(response.text) # load the text result to into json - -# schema_json = raw_json.get('data').get('genericActionCall') # drill into object -schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -# api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(schema_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/compliance_exception/addCEIncident.py b/GraphQL/program_samples/python/compliance_exception/addCEIncident.py deleted file mode 100644 index 7e56fb4..0000000 --- a/GraphQL/program_samples/python/compliance_exception/addCEIncident.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"mutation AddComplianceException($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\": \"Addcomplianceexception\",\"payload\":{\"aptBusinessObjectSummary\": \"GraphQL flow test run 1\",\"aptBusinessObjectDescription\":\"Adding a compliance exception incident programmatically from postman using graphQL walkthrough demo.\",\"businessPriority\":\"MEDIUM\",\"resolutionDueDate\":\"1736613281000\"}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/compliance_exception/addCEIncidentComment.py b/GraphQL/program_samples/python/compliance_exception/addCEIncidentComment.py deleted file mode 100644 index fea2cfb..0000000 --- a/GraphQL/program_samples/python/compliance_exception/addCEIncidentComment.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"mutation AddIncidentComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\": \"Addcommentforincident\",\"payload\":{\"processId\":\"YOUR_ID\",\"processType\":\"complianceException\",\"aptCommentBox\":{\"aptComment\":{\"commentText\": \"Adding a test comment using GraphQL via Python command line.\",\"visibilityType\": \"Public\"}}}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/compliance_exception/editCEIncident.py b/GraphQL/program_samples/python/compliance_exception/editCEIncident.py deleted file mode 100644 index b7c671b..0000000 --- a/GraphQL/program_samples/python/compliance_exception/editCEIncident.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"mutation EditIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\": \"Editcomplianceexception\",\"payload\":{\"id\":\"YOUR_ID\",\"aptBusinessObjectDescription\":\"Editing an compliance exception programmatically using graphQL via Python.\",\"businessPriority\":\"LOW\",\"responsiblePartyAtParner\":{}}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/compliance_exception/getCEIncidentHistory.py b/GraphQL/program_samples/python/compliance_exception/getCEIncidentHistory.py deleted file mode 100644 index 2eaf6ec..0000000 --- a/GraphQL/program_samples/python/compliance_exception/getCEIncidentHistory.py +++ /dev/null @@ -1,23 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"query GetActivityHistoryForIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\":\"Getactivityhistoryforincident\",\"payload\":{\"processId\":\"YOUR_ID\",\"processType\":\"complianceException\"}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -raw_json = json.loads(response.text) # load the text result to into json -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# print(response.text) -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/compliance_exception/listCEIncidentComments.py b/GraphQL/program_samples/python/compliance_exception/listCEIncidentComments.py deleted file mode 100644 index 85d2692..0000000 --- a/GraphQL/program_samples/python/compliance_exception/listCEIncidentComments.py +++ /dev/null @@ -1,23 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"query ListIncidentComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\":\"Listcommentsforincident\",\"payload\":{\"id\":\"YOUR_ID\",\"processType\":\"complianceException\"}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -raw_json = json.loads(response.text) # load the text result to into json -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# print(response.text) -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/compliance_exception/readCEIncident.py b/GraphQL/program_samples/python/compliance_exception/readCEIncident.py deleted file mode 100644 index 4a3a168..0000000 --- a/GraphQL/program_samples/python/compliance_exception/readCEIncident.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"query readIncident($type: String!, $id: String!)\\n{\\n genericGetObject(type:$type, id: $id)\\n {\\n ... on ALL_RETURNS {\\n ... on ComplianceException {\\n id\\n currentBaseState\\n currentSubState\\n data {\\n aptBusinessObjectId\\n aptBusinessObjectSummary\\n aptBusinessObjectDescription\\n responsibleDepartmentAtCompany\\n responsibleDepartmentAtPartner\\n resolutionDueDate\\n businessPriority\\n referenceIdentifiers {\\n value\\n referenceTransactionType\\n __typename\\n }\\n dateSubmitted\\n createdByPartner\\n __typename\\n }\\n aptBusinessObjectBelongsToProcessNetwork {\\n to {\\n ... on ProcessNetwork {\\n id\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectAssignedToCompanyPartnerMasterData {\\n to {\\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on PartnerMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyMasterData{\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n\\n __typename\\n }\\n __typename\\n }\\n __typename\\n } \\n}\\n\",\"variables\":{\"type\":\"ComplianceException\",\"id\":\"YOUR_ID\"}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -# schema_json = raw_json.get('data').get('genericActionCall') # drill into object -schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -# api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(schema_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/direct_supplier/addDSIncident.py b/GraphQL/program_samples/python/direct_supplier/addDSIncident.py deleted file mode 100644 index 4ccd937..0000000 --- a/GraphQL/program_samples/python/direct_supplier/addDSIncident.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"mutation AddIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\": \"Adddirectsupplierincident\",\"payload\":{\"aptBusinessObjectSummary\": \"GraphQL Python DS Incident test run 1\",\"aptBusinessObjectDescription\":\"Adding an incident programmatically using graphQL via Python.\",\"directSupplierImpact\":{\"businessPriority\":\"MEDIUM\"},\"resolutionDueDate\":1736613281000}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/direct_supplier/addDSIncidentComment.py b/GraphQL/program_samples/python/direct_supplier/addDSIncidentComment.py deleted file mode 100644 index d85f252..0000000 --- a/GraphQL/program_samples/python/direct_supplier/addDSIncidentComment.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"mutation AddIncidentComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\": \"Addcommentforincident\",\"payload\":{\"processId\":\"YOUR_ID\",\"processType\":\"directSupplierIncident\",\"aptCommentBox\":{\"aptComment\":{\"commentText\": \"Adding a test comment using GraphQL via Python command line.\",\"visibilityType\": \"Public\"}}}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/direct_supplier/editDSIncident.py b/GraphQL/program_samples/python/direct_supplier/editDSIncident.py deleted file mode 100644 index 303268f..0000000 --- a/GraphQL/program_samples/python/direct_supplier/editDSIncident.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"mutation EditIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\": \"Editdirectsupplierincident\",\"payload\":{\"id\":\"YOUR_ID\",\"aptBusinessObjectDescription\":\"Editing an incident programmatically using graphQL via Python command line.\",\"businessPriority\":\"LOW\",\"responsiblePartyAtParner\":{}}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/direct_supplier/getActivityHistoryForDSIncidents.py b/GraphQL/program_samples/python/direct_supplier/getActivityHistoryForDSIncidents.py deleted file mode 100644 index 412db4e..0000000 --- a/GraphQL/program_samples/python/direct_supplier/getActivityHistoryForDSIncidents.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"query GetActivityHistoryForIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\":\"Getactivityhistoryforincident\",\"payload\":{\"processId\":\"YOUR_ID\",\"processType\":\"directSupplierIncident\"}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/direct_supplier/listDSIncidentComments.py b/GraphQL/program_samples/python/direct_supplier/listDSIncidentComments.py deleted file mode 100644 index 71d29cc..0000000 --- a/GraphQL/program_samples/python/direct_supplier/listDSIncidentComments.py +++ /dev/null @@ -1,30 +0,0 @@ -import requests -import json -import sys - -url = "https://valvir-opus.tracelink.com/api/graphql" - -#id = sys.argv[1] -#print("Passing in id {0}".format(id)) - -payload = "{\"query\":\"query ListIncidentComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\":\"Listcommentsforincident\",\"payload\":{\"id\":\"YOUR_ID\",\"processType\":\"directSupplierIncident\"}}}" - -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/direct_supplier/readDSIncident.py b/GraphQL/program_samples/python/direct_supplier/readDSIncident.py deleted file mode 100644 index e3dcca5..0000000 --- a/GraphQL/program_samples/python/direct_supplier/readDSIncident.py +++ /dev/null @@ -1,26 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"query readIncident($type: String!, $id: String!)\\n{\\n genericGetObject(type:$type, id: $id)\\n {\\n ... on ALL_RETURNS {\\n ... on DirectSupplierIncident {\\n id\\n currentBaseState\\n currentSubState\\n data {\\n aptBusinessObjectId\\n aptBusinessObjectSummary\\n aptBusinessObjectDescription\\n responsibleDepartmentAtCompany\\n responsibleDepartmentAtPartner\\n incidentType\\n resolutionDueDate\\n directSupplierImpact{\\n businessPriority\\n }\\n referenceIdentifiers {\\n value\\n referenceTransactionType\\n __typename\\n }\\n dateSubmitted\\n createdByPartner\\n __typename\\n }\\n aptBusinessObjectBelongsToProcessNetwork {\\n to {\\n ... on ProcessNetwork {\\n id\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectCompanyAssignedUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPartnerAssignedUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectCompanyOwnerUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPartnerOwnerUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectAssignedToCompanyPartnerMasterData {\\n to {\\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on PartnerMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyMasterData{\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPrimaryPartnerLocationMasterData {\\n to {\\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n } \\n}\\nfragment userName on User {\\n id\\n data {\\n givenName\\n surname\\n __typename\\n }\\n __typename\\n} \",\"variables\":{\"type\":\"DirectSupplierIncident\",\"id\":\"YOUR_ID\"}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# adding some parsing to beautify the results -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -# schema_json = raw_json.get('data').get('genericActionCall') # drill into object -schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -# api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(schema_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/document_review/addDocReview.py b/GraphQL/program_samples/python/document_review/addDocReview.py deleted file mode 100644 index fe40622..0000000 --- a/GraphQL/program_samples/python/document_review/addDocReview.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"mutation AddDocumentReview($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\": \"Adddocumentreview\",\"payload\":{\"aptBusinessObjectSummary\":\"New Document Review using graphQL and postman\",\"aptBusinessObjectDescription\":\"Adding a document review using Python and graphQL\",\"businessPriority\":\"LOW\",\"approvalDueDate\": \"1736613281000\"}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/document_review/addDocReviewComment.py b/GraphQL/program_samples/python/document_review/addDocReviewComment.py deleted file mode 100644 index 3ca6ea1..0000000 --- a/GraphQL/program_samples/python/document_review/addDocReviewComment.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"mutation AddChangeComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\":\"Addcommentfordocumentreview\",\"payload\":{\"processId\":\"YOUR_ID\",\"processType\":\"documentReview\",\"aptCommentBox\":{\"aptComment\":{\"commentText\":\"Adding a test comment to Document Review using GraphQL via Python command line.\",\"visibilityType\":\"Public\"}}}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/document_review/editDocReview.py b/GraphQL/program_samples/python/document_review/editDocReview.py deleted file mode 100644 index 1c348d8..0000000 --- a/GraphQL/program_samples/python/document_review/editDocReview.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"mutation EditDocumentReview($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\": \"Editdocumentreview\",\"payload\":{\"id\":\"YOUR_ID\",\"aptBusinessObjectDescription\":\"Using graphql and Python to edit document review incident\",\"businessPriority\":\"LOW\"}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/document_review/getDocRevActivity.py b/GraphQL/program_samples/python/document_review/getDocRevActivity.py deleted file mode 100644 index 4d8d625..0000000 --- a/GraphQL/program_samples/python/document_review/getDocRevActivity.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"query GetActivityHistoryForDocumentReview($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\":\"Getactivityhistoryforincident\",\"payload\":{\"processId\":\"YOUR_ID\",\"processType\":\"documentReview\"}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/document_review/listDocRevComments.py b/GraphQL/program_samples/python/document_review/listDocRevComments.py deleted file mode 100644 index 50a0805..0000000 --- a/GraphQL/program_samples/python/document_review/listDocRevComments.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"query ListDocumentReviewComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\":\"Listcommentsfordocumentreview\",\"payload\":{\"id\":\"YOUR_ID\",\"processType\":\"documentReview\"}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/document_review/readDocReview.py b/GraphQL/program_samples/python/document_review/readDocReview.py deleted file mode 100644 index 8f62bbf..0000000 --- a/GraphQL/program_samples/python/document_review/readDocReview.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"query readDocumentReview($id: String!, $type: String!)\\n{\\n genericGetObject(type: $type, id: $id)\\n {\\n ... on ALL_RETURNS{\\n ... on DocumentReview {\\n id\\n currentBaseState\\n currentSubState\\n data {\\n aptBusinessObjectId\\n aptBusinessObjectSummary\\n aptBusinessObjectDescription\\n responsibleDepartmentAtCompany\\n responsibleDepartmentAtPartner\\n businessPriority\\n createdByPartner\\n productId\\n aptBusinessObjectImpactsLocationMasterData{\\n locationType\\n locationContact\\n partnerLocationId\\n }\\n __typename\\n }\\n aptBusinessObjectContainsComment{\\n to {\\n ... on AptComment{\\n id\\n data{\\n commentText\\n visibilityType\\n }\\n }\\n }\\n }\\n aptBusinessObjectContainsAttachment{\\n to {\\n ... on AptAttachment{\\n data{\\n fileName\\n fileSize\\n visibilityType\\n fileS3Location\\n }\\n }\\n }\\n }\\n __typename\\n }\\n __typename\\n }\\n } \\n}\",\"variables\":{\"type\":\"DocumentReview\",\"id\":\"YOUR_ID\"}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -# schema_json = raw_json.get('data').get('genericActionCall') # drill into object -schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -# api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(schema_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/external_manufacturing/addEMIncident.py b/GraphQL/program_samples/python/external_manufacturing/addEMIncident.py deleted file mode 100644 index e3ee736..0000000 --- a/GraphQL/program_samples/python/external_manufacturing/addEMIncident.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"mutation AddIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\": \"Addexternalmanufacturingincident\",\"payload\":{\"aptBusinessObjectSummary\": \"GraphQL Python test run\",\"aptBusinessObjectDescription\":\"Adding an incident programmatically from postman using graphQL walkthrough demo.\",\"externalManufacturingImpact\":{\"businessPriority\":\"MEDIUM\"},\"resolutionDueDate\":1736613281000}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/external_manufacturing/addEMIncidentComment.py b/GraphQL/program_samples/python/external_manufacturing/addEMIncidentComment.py deleted file mode 100644 index 2ca453f..0000000 --- a/GraphQL/program_samples/python/external_manufacturing/addEMIncidentComment.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"mutation AddIncidentComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\":\"Addcommentforincident\",\"payload\":{\"processId\":\"YOUR_ID\",\"processType\":\"externalManufacturingIncident\",\"aptCommentBox\":{\"aptComment\":{\"commentText\":\"Adding a test comment using GraphQL via Python.\",\"visibilityType\":\"Public\"}}}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/external_manufacturing/editEMIncident.py b/GraphQL/program_samples/python/external_manufacturing/editEMIncident.py deleted file mode 100644 index 2c8ba2e..0000000 --- a/GraphQL/program_samples/python/external_manufacturing/editEMIncident.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"mutation EditIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\": \"Editexternalmanufacturingincident\",\"payload\":{\"id\":\"YOUR_ID\",\"aptBusinessObjectDescription\":\"Editing an external manufacturing incident programmatically using graphQL and Python.\",\"businessPriority\":\"MEDIUM\",\"responsiblePartyAtParner\":{}}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/external_manufacturing/getEMIncidentHistory.py b/GraphQL/program_samples/python/external_manufacturing/getEMIncidentHistory.py deleted file mode 100644 index a28a427..0000000 --- a/GraphQL/program_samples/python/external_manufacturing/getEMIncidentHistory.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"query GetActivityHistoryForIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\":\"Getactivityhistoryforincident\",\"payload\":{\"processId\":\"YOUR_ID\",\"processType\":\"externalManufacturingIncident\"}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/external_manufacturing/listEMIncidentComments.py b/GraphQL/program_samples/python/external_manufacturing/listEMIncidentComments.py deleted file mode 100644 index 557bf24..0000000 --- a/GraphQL/program_samples/python/external_manufacturing/listEMIncidentComments.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"query ListIncidentComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\":\"Listcommentsforincident\",\"payload\":{\"id\":\"YOUR_ID\",\"processType\":\"externalManufacturingIncident\"}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/external_manufacturing/readEMIncident.py b/GraphQL/program_samples/python/external_manufacturing/readEMIncident.py deleted file mode 100644 index 3c1877d..0000000 --- a/GraphQL/program_samples/python/external_manufacturing/readEMIncident.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"query readIncident($type: String!, $id: String!)\\n{\\n genericGetObject(type:$type, id: $id)\\n {\\n ... on ALL_RETURNS {\\n ... on ExternalManufacturingIncident {\\n id\\n currentBaseState\\n currentSubState\\n data {\\n aptBusinessObjectId\\n aptBusinessObjectSummary\\n aptBusinessObjectDescription\\n responsibleDepartmentAtCompany\\n responsibleDepartmentAtPartner\\n incidentType\\n resolutionDueDate\\n externalManufacturingImpact{\\n businessImpact\\n businessPriority\\n }\\n referenceIdentifiers {\\n value\\n referenceTransactionType\\n __typename\\n }\\n dateSubmitted\\n createdByPartner\\n __typename\\n }\\n aptBusinessObjectBelongsToProcessNetwork {\\n to {\\n ... on ProcessNetwork {\\n id\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectCompanyAssignedUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPartnerAssignedUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectCompanyOwnerUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPartnerOwnerUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectAssignedToCompanyPartnerMasterData {\\n to {\\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on PartnerMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyMasterData{\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPrimaryPartnerLocationMasterData {\\n to {\\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n } \\n}\\nfragment userName on User {\\n id\\n data {\\n givenName\\n surname\\n __typename\\n }\\n __typename\\n} \",\"variables\":{\"type\":\"ExternalManufacturingIncident\",\"id\":\"YOUR_ID\"}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -# schema_json = raw_json.get('data').get('genericActionCall') # drill into object -schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -# api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(schema_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/incident/addIncident.py b/GraphQL/program_samples/python/incident/addIncident.py deleted file mode 100644 index dc73b8f..0000000 --- a/GraphQL/program_samples/python/incident/addIncident.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"mutation AddIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\": \"Addincident\",\"payload\":{\"aptBusinessObjectSummary\": \"GraphQL Python3 test run 1\",\"aptBusinessObjectDescription\":\"Adding an incident programmatically from postman using graphQL walkthrough demo.\",\"businessPriority\":\"MEDIUM\",\"incidentType\":\"LABEL_COMPLIANCE_ERROR\",\"resolutionDueDate\":\"1736613281000\",\"responsiblePartyAtParner\":{}}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/incident/addIncidentComment.py b/GraphQL/program_samples/python/incident/addIncidentComment.py deleted file mode 100644 index 73566ec..0000000 --- a/GraphQL/program_samples/python/incident/addIncidentComment.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"mutation AddIncidentComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\": \"Addcommentforincident\",\"payload\":{\"processId\":\"YOUR_ID\",\"processType\":\"incident\",\"aptCommentBox\":{\"aptComment\":{\"commentText\": \"Adding a test comment using GraphQL via Python.\",\"visibilityType\": \"Public\"}}}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/incident/editIncident.py b/GraphQL/program_samples/python/incident/editIncident.py deleted file mode 100644 index 9bfc0a6..0000000 --- a/GraphQL/program_samples/python/incident/editIncident.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"mutation EditIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\": \"Editincident\",\"payload\":{\"id\":\"YOUR_ID\",\"aptBusinessObjectSummary\": \"GraphQL Python test edit 1\",\"aptBusinessObjectDescription\":\"Editing an incident programmatically using graphQL for a demo.\",\"businessPriority\":\"LOW\",\"responsiblePartyAtParner\":{}}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/incident/getActivityHistoryForIncident.py b/GraphQL/program_samples/python/incident/getActivityHistoryForIncident.py deleted file mode 100644 index f3013fd..0000000 --- a/GraphQL/program_samples/python/incident/getActivityHistoryForIncident.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"query GetActivityHistoryForIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\":\"Getactivityhistoryforincident\",\"payload\":{\"processId\":\"YOUR_ID\",\"processType\":\"incident\"}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/incident/listIncidentComments.py b/GraphQL/program_samples/python/incident/listIncidentComments.py deleted file mode 100644 index a62a37f..0000000 --- a/GraphQL/program_samples/python/incident/listIncidentComments.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"query ListIncidentComments($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\":\"Listcommentsforincident\",\"payload\":{\"id\":\"YOUR_ID\",\"processType\":\"incident\"}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/incident/readIncident.py b/GraphQL/program_samples/python/incident/readIncident.py deleted file mode 100644 index cdcb700..0000000 --- a/GraphQL/program_samples/python/incident/readIncident.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"query readIncident($type: String!, $id: String!)\\n{\\n genericGetObject(type:$type, id: $id)\\n {\\n ... on ALL_RETURNS {\\n ... on Incident {\\n id\\n currentBaseState\\n currentSubState\\n data {\\n aptBusinessObjectId\\n aptBusinessObjectSummary\\n aptBusinessObjectDescription\\n responsibleDepartmentAtCompany\\n responsibleDepartmentAtPartner\\n incidentType\\n businessPriority\\n resolutionDueDate\\n incidentConclusion {\\n dateClosed\\n finalRootCause\\n resolutionType\\n isReoccuring\\n closingStatement\\n __typename\\n }\\n referenceIdentifiers {\\n value\\n referenceTransactionType\\n __typename\\n }\\n dateSubmitted\\n createdByPartner\\n __typename\\n }\\n aptBusinessObjectContainsComment{\\n to {\\n ... on AptComment{\\n id\\n data{\\n commentText\\n visibilityType\\n }\\n }\\n }\\n }\\n issueRelatedToImpactedProductDetail {\\n to {\\n ... on ProductMasterData {\\n id\\n data {\\n productItemInformation {\\n productName\\n packSize\\n strength\\n dosageForm\\n productLanguageCode\\n isLightSensitive\\n __typename\\n }\\n packagingInformation {\\n packagingCode {\\n packagingCodeType\\n packagingCodeValue\\n __typename\\n }\\n __typename\\n }\\n regulatoryItemCodes {\\n regulatoryItemCode{\\n regulatoryItemCodeType\\n regulatoryItemCodeValue\\n __typename\\n }\\n __typename\\n }\\n packagingInformationAndRegulatoryItemCodesDerivedField\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n impactedLots\\n __typename\\n }\\n aptBusinessObjectBelongsToProcessNetwork {\\n to {\\n ... on ProcessNetwork {\\n id\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectCompanyAssignedUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPartnerAssignedUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectCompanyOwnerUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPartnerOwnerUser {\\n to {\\n ... on User {\\n ...userName\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectAssignedToCompanyPartnerMasterData {\\n to {\\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on PartnerMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on CompanyMasterData{\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n aptBusinessObjectPrimaryPartnerLocationMasterData {\\n to {\\n ... on PartnerLocationMasterData {\\n id\\n data {\\n businessMasterDataCommon {\\n businessName\\n businessAddress {\\n address1\\n address2\\n city\\n district\\n village\\n houseNumber\\n township\\n state\\n postalCode\\n country\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n } \\n}\\nfragment userName on User {\\n id\\n data {\\n givenName\\n surname\\n __typename\\n }\\n __typename\\n} \",\"variables\":{\"type\":\"Incident\",\"id\":\"YOUR_ID\"}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -# schema_json = raw_json.get('data').get('genericActionCall') # drill into object -schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -# api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(schema_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/master_data/getCompanyMasterData.py b/GraphQL/program_samples/python/master_data/getCompanyMasterData.py deleted file mode 100644 index 9805fd6..0000000 --- a/GraphQL/program_samples/python/master_data/getCompanyMasterData.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"query getQueryResults($regulatoryCompanyIdentifierValue: String!, $regulatoryCompanyIdentifierType: String!)\\n {\\n genericActionCall(\\n action: \\\"Getcompanybyidentifier\\\",\\n payload:{\\n regulatoryCompanyIdentifierValue: $regulatoryCompanyIdentifierValue,\\n regulatoryCompanyIdentifierType: $regulatoryCompanyIdentifierType\\n }\\n )\\n{result}\\n}\",\"variables\":{\"regulatoryCompanyIdentifierValue\":\"YOUR_COMPANY_ID\",\"regulatoryCompanyIdentifierType\":\"GLN\"}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/master_data/getPartnerMasterData.py b/GraphQL/program_samples/python/master_data/getPartnerMasterData.py deleted file mode 100644 index bebdf7b..0000000 --- a/GraphQL/program_samples/python/master_data/getPartnerMasterData.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"query getQueryResults($regulatoryCompanyIdentifierValue: String!, $regulatoryCompanyIdentifierType: String!)\\n {\\n genericActionCall(\\n action: \\\"Getcompanybyidentifier\\\",\\n payload:{\\n regulatoryCompanyIdentifierValue: $regulatoryCompanyIdentifierValue,\\n regulatoryCompanyIdentifierType: $regulatoryCompanyIdentifierType\\n }\\n )\\n{result}\\n}\",\"variables\":{\"regulatoryCompanyIdentifierValue\":\"PARTNER_COMPANY_ID\",\"regulatoryCompanyIdentifierType\":\"GLN\"}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/master_data/getProductMasterData.py b/GraphQL/program_samples/python/master_data/getProductMasterData.py deleted file mode 100644 index e2ad606..0000000 --- a/GraphQL/program_samples/python/master_data/getProductMasterData.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"query getProductMasterData($action: String!, $regulatoryItemCodeValue: String!, $regulatoryItemCodeType: String!)\\n{\\n genericActionCall(\\n action: $action,\\n payload:\\n {\\n regulatoryItemCodeValue: $regulatoryItemCodeValue,\\n regulatoryItemCodeType: $regulatoryItemCodeType\\n }\\n )\\n {\\n result\\n __typename\\n }\\n}\",\"variables\":{\"action\":\"Getproductbyitemcode\",\"regulatoryItemCodeValue\":\"YOUR_PRODUCT_ID\",\"regulatoryItemCodeType\":\"ITEM_CODE_TYPE\"}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/task/addCommentForTask.py b/GraphQL/program_samples/python/task/addCommentForTask.py deleted file mode 100644 index 034cc51..0000000 --- a/GraphQL/program_samples/python/task/addCommentForTask.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"mutation AddCommentForTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\":\"Addcommentforprocess\",\"payload\":{\"processId\":\"YOUR_ID\",\"processType\":\"task\",\"aptCommentBox\":{\"aptComment\":{\"commentText\":\"Adding a comment using GraphQL via Python\",\"visibilityType\":\"Public\"}}}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/task/addSubTaskToTask.py b/GraphQL/program_samples/python/task/addSubTaskToTask.py deleted file mode 100644 index 45534a0..0000000 --- a/GraphQL/program_samples/python/task/addSubTaskToTask.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"mutation AddSubTaskToTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\":\"Addsubtasktotask\",\"payload\":{\"taskId\":\"YOUR_ID\",\"subTaskName\":\"Python created using GraphQL\",\"subTaskType\":\"Python test\"}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/task/addTask.py b/GraphQL/program_samples/python/task/addTask.py deleted file mode 100644 index 7af3d43..0000000 --- a/GraphQL/program_samples/python/task/addTask.py +++ /dev/null @@ -1,24 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"mutation AddTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\":\"Addtask\",\"payload\":{\"templateId\":\"YOUR_ID\",\"aptBusinessObjectSummary\":\"GraphQL Python created task\",\"aptBusinessObjectDescription\":\"Tasks for recurring purchase orders\",\"businessPriority\":\"LOW\",\"completionDueDate\":\"1737834411000\",\"isVisible\":true,\"isAtRisk\":false}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' - } - -response = requests.request("POST", url, headers=headers, data=payload) - -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/task/closeSubTask.py b/GraphQL/program_samples/python/task/closeSubTask.py deleted file mode 100644 index ff8d01d..0000000 --- a/GraphQL/program_samples/python/task/closeSubTask.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"mutation CloseSubTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\":\"Closesubtask\",\"payload\":{\"id\":\"YOUR_ID\"}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/task/closeTask.py b/GraphQL/program_samples/python/task/closeTask.py deleted file mode 100644 index 9cb789a..0000000 --- a/GraphQL/program_samples/python/task/closeTask.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"mutation CloseTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\":\"Closetask\",\"payload\":{\"id\":\"YOUR_ID\",\"taskResolutionType\":\"CANCELLED\"}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/task/copyTask.py b/GraphQL/program_samples/python/task/copyTask.py deleted file mode 100644 index 275d120..0000000 --- a/GraphQL/program_samples/python/task/copyTask.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"mutation CopyTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\":\"Copytask\",\"payload\":{\"id\":\"YOUR_ID\",\"aptBusinessObjectSummary\":\"Copy of Task via python and GraphQL\",\"copyGeneralInfo\":true,\"copySubTasks\":true,\"copyRelatedProcesses\":true}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/task/editCommentForTask.py b/GraphQL/program_samples/python/task/editCommentForTask.py deleted file mode 100644 index a3672de..0000000 --- a/GraphQL/program_samples/python/task/editCommentForTask.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"mutation EditCommentForTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\":\"Editcommentforprocess\",\"payload\":{\"id\":\"YOUR_ID\",\"processType\":\"task\",\"aptCommentBox\":{\"aptComment\":{\"commentText\":\"Modifying the comment programmatically using GraphQL via Python\",\"visibilityType\":\"Public\"}}}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/task/editSubTaskOnTask.py b/GraphQL/program_samples/python/task/editSubTaskOnTask.py deleted file mode 100644 index 12ab175..0000000 --- a/GraphQL/program_samples/python/task/editSubTaskOnTask.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"mutation EditSubTaskOnTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\":\"Editsubtaskontask\",\"payload\":{\"id\":\"YOUR_ID\",\"subTaskType\":\"Python test modification\"}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/task/editTask.py b/GraphQL/program_samples/python/task/editTask.py deleted file mode 100644 index 4bc4984..0000000 --- a/GraphQL/program_samples/python/task/editTask.py +++ /dev/null @@ -1,24 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"mutation EditTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\":\"Edittask\",\"payload\":{\"id\":\"YOUR_ID\",\"aptBusinessObjectDescription\":\"Modifying the description using Python and GraphQL\"}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' - } - -response = requests.request("POST", url, headers=headers, data=payload) - -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/task/getActivityHistoryForTask.py b/GraphQL/program_samples/python/task/getActivityHistoryForTask.py deleted file mode 100644 index 3e26a39..0000000 --- a/GraphQL/program_samples/python/task/getActivityHistoryForTask.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"query GetActivityHistoryForTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\":\"Getactivityhistoryforincident\",\"payload\":{\"processId\":\"YOUR_ID\",\"processType\":\"task\"}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/task/listCommentForTask.py b/GraphQL/program_samples/python/task/listCommentForTask.py deleted file mode 100644 index d69a8be..0000000 --- a/GraphQL/program_samples/python/task/listCommentForTask.py +++ /dev/null @@ -1,24 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"mutation ListCommentForTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\":\"Listcommentsforprocess\",\"payload\":{\"processId\":\"YOUR_ID\",\"processType\":\"task\"}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/task/listSubtaskForTask.py b/GraphQL/program_samples/python/task/listSubtaskForTask.py deleted file mode 100644 index d5c8e7c..0000000 --- a/GraphQL/program_samples/python/task/listSubtaskForTask.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"query ListSubTaskForTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\":\"Listsubtaskfortask\",\"payload\":{\"taskId\":\"YOUR_ID\"}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/task/readTaskDetails.py b/GraphQL/program_samples/python/task/readTaskDetails.py deleted file mode 100644 index 51cc9d2..0000000 --- a/GraphQL/program_samples/python/task/readTaskDetails.py +++ /dev/null @@ -1,24 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"query ReadTaskDetails($id: String!, $type: String!)\\n{\\n genericGetObject(type:$type, id: $id)\\n {\\n ... on ALL_RETURNS{\\n ... on Task{\\n id\\n data{\\n templateName\\n aptBusinessObjectDescription\\n isAddRemoveSubtaskAllowed\\n businessPriority\\n responsibleDepartmentAtCompany\\n }\\n taskContainsSubTask{\\n to{\\n subType\\n objectType\\n }\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n } \\n}\",\"variables\":{\"type\":\"Task\",\"id\":\"YOUR_ID\"}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -raw_json = json.loads(response.text) # load the text result to into json - -# schema_json = raw_json.get('data').get('genericActionCall') # drill into object -schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -# api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(schema_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/task/removeSubtask.py b/GraphQL/program_samples/python/task/removeSubtask.py deleted file mode 100644 index ccf3b8b..0000000 --- a/GraphQL/program_samples/python/task/removeSubtask.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"mutation RemoveSubTaskFromTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\":\"Removesubtaskfromtask\",\"payload\":{\"id\":\"YOUR_ID\"}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/task/reopenSubtask.py b/GraphQL/program_samples/python/task/reopenSubtask.py deleted file mode 100644 index 168efb4..0000000 --- a/GraphQL/program_samples/python/task/reopenSubtask.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"mutation ReopenSubTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\":\"Reopensubtask\",\"payload\":{\"id\":\"YOUR_ID\"}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/task/reopenTask.py b/GraphQL/program_samples/python/task/reopenTask.py deleted file mode 100644 index da1f11f..0000000 --- a/GraphQL/program_samples/python/task/reopenTask.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"mutation ReopenTask($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\":\"Reopentask\",\"payload\":{\"id\":\"YOUR_ID\"}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/task_template/addSubTaskTemplate.py b/GraphQL/program_samples/python/task_template/addSubTaskTemplate.py deleted file mode 100644 index b6a8f8d..0000000 --- a/GraphQL/program_samples/python/task_template/addSubTaskTemplate.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"mutation AddSubTaskTemplate($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\": \"Addsubtasktotemplate\",\"payload\":{\"templateId\":\"YOUR_ID\",\"subTaskName\": \"GQL Created Sub Task 3\",\"subTaskType\": \"Test subTask\",\"businessPriority\": \"LOW\"}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/task_template/addTaskTemplate.py b/GraphQL/program_samples/python/task_template/addTaskTemplate.py deleted file mode 100644 index a9b01c1..0000000 --- a/GraphQL/program_samples/python/task_template/addTaskTemplate.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"mutation AddTaskTemplate($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\":\"Addtasktemplate\",\"payload\":{\"templateName\":\"GQL Python Created Task Template 1\",\"aptBusinessObjectDescription\":\"Template to demonstrate creation via GraphQL API and Python\",\"isTemplateModifiableByMember\":true,\"isAddRemoveSubtaskAllowed\":true,\"completionRequiredWithinDays\":14,\"businessPriority\":\"LOW\"}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/task_template/editSubTaskonTemplate.py b/GraphQL/program_samples/python/task_template/editSubTaskonTemplate.py deleted file mode 100644 index dd403d4..0000000 --- a/GraphQL/program_samples/python/task_template/editSubTaskonTemplate.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"mutation EditSubTaskOnTemplate($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\":\"Editsubtaskontemplate\",\"payload\":{\"id\":\"YOUR_ID\",\"subTaskName\":\"Modified template name 2\",\"businessPriority\":\"LOW\"}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' - } - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/task_template/editTaskTemplate.py b/GraphQL/program_samples/python/task_template/editTaskTemplate.py deleted file mode 100644 index d9af7d3..0000000 --- a/GraphQL/program_samples/python/task_template/editTaskTemplate.py +++ /dev/null @@ -1,26 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"mutation EditTaskTemplate($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\":\"Edittasktemplate\",\"payload\":{\"id\":\"YOUR_ID\",\"aptBusinessObjectDescription\":\"Modified template via python using GraphQL\"}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' - } - -response = requests.request("POST", url, headers=headers, data=payload) - -print(response.text) - -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/task_template/listSubtaskForTemplate.py b/GraphQL/program_samples/python/task_template/listSubtaskForTemplate.py deleted file mode 100644 index 760680b..0000000 --- a/GraphQL/program_samples/python/task_template/listSubtaskForTemplate.py +++ /dev/null @@ -1,24 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"query ListSubTaskForTemplate($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\":\"Listsubtaskfortemplate\",\"payload\":{\"templateId\":\"YOUR_ID\"}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/task_template/readTemplateDetails.py b/GraphQL/program_samples/python/task_template/readTemplateDetails.py deleted file mode 100644 index 5460e16..0000000 --- a/GraphQL/program_samples/python/task_template/readTemplateDetails.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"query ReadTemplateDetails($id: String!, $type: String!)\\n{\\n genericGetObject(type:$type, id: $id)\\n {\\n ... on ALL_RETURNS{\\n ... on TaskTemplate{\\n id\\n data{\\n templateName\\n aptBusinessObjectDescription\\n isTemplateModifiableByMember\\n isAddRemoveSubtaskAllowed\\n completionRequiredWithinDays\\n businessPriority\\n responsibleDepartmentAtCompany\\n }\\n taskTemplateContainsSubTask{\\n to{\\n subType\\n objectType\\n }\\n }\\n __typename\\n }\\n __typename\\n }\\n __typename\\n } \\n}\",\"variables\":{\"type\":\"TaskTemplate\",\"id\":\"YOUR_ID\"}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -# schema_json = raw_json.get('data').get('genericActionCall') # drill into object -schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -# api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(schema_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/program_samples/python/task_template/removeSubTaskFromTemplate.py b/GraphQL/program_samples/python/task_template/removeSubTaskFromTemplate.py deleted file mode 100644 index 20cff86..0000000 --- a/GraphQL/program_samples/python/task_template/removeSubTaskFromTemplate.py +++ /dev/null @@ -1,25 +0,0 @@ -import requests -import json - -url = "https://valvir-opus.tracelink.com/api/graphql" - -payload = "{\"query\":\"mutation RemoveSubTaskFromTemplate($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\":\"Removesubtaskfromtemplate\",\"payload\":{\"id\":\"YOUR_ID\"}}}" -headers = { - 'Authorization': 'Basic YOUR_TOKEN', - 'Content-Type': 'application/json', - 'Dataspace': 'default', - 'companyId': 'YOUR_COMPANY_ID', - 'processNetworkId': 'YOUR_PROCESS_NETWORK_ID' -} - -response = requests.request("POST", url, headers=headers, data=payload) - -# print(response.text) -raw_json = json.loads(response.text) # load the text result to into json - -schema_json = raw_json.get('data').get('genericActionCall') # drill into object -# schema_json = raw_json.get('data').get('genericGetObject') # use this for getObjectCalls -api_json = json.loads(schema_json.get('result')) # load the result object to json - -# for genericGetObject, use schema_json. for genericActionCall, use api_json. -print(json.dumps(api_json, indent=4, sort_keys=False)) # 'pretty print' the result diff --git a/GraphQL/readme.MD b/GraphQL/readme.MD index fe77aed..85bc7a7 100644 --- a/GraphQL/readme.MD +++ b/GraphQL/readme.MD @@ -1,7 +1,8 @@ # GraphQL Code Samples # ## Payload Samples ## -The payload samples contain the GraphQL text to be used in either a query tool or incorporated into software code. -## Program Samples ## -The program samples contain the minimum necessary code to send the request. This code is extensible to construct larger solutions. +Contains the GraphQL code to be used in either a query tool or incorporated into program code. +## Program Integration ## +Contains a discussion and the minimum necessary code to construct a request. This code is extensible to construct larger solutions. -[Learn to use graphql in your solutions](program_integration/readme.md) +[Use GraphQL in your solutions](program_integration/GraphQL_Requests.md) +[Create requests using AsyncAPI](program_integration/AsyncAPI_Requests.md) diff --git a/README.MD b/README.MD index bc1d83c..858e69f 100644 --- a/README.MD +++ b/README.MD @@ -18,9 +18,10 @@ Additional functionality will be added to this repository as it becomes availabl Your company must have licenses for the Suppy Chain Work Management solution and APT app. ## Languages ## -Samples focus on basic actions using the most common scripting languages. These samples are organized in folders by language. Folders are added as language samples become available. +Opus is capable of communicating in a language-agnostic manner. Users can use any programming or scripting language capable of sending and receiving HTTPS requests. Opus accepts AsyncAPI or GraphQL formats. -- [Python](python/README.md) +[Use GraphQL in your automation solutions](GraphQL/program_integration/readme.md) +[Create requests using AsyncAPI]() ## Support ## From a6fe04a0e15c86062841d71d1153d2504d561235 Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Fri, 8 Nov 2024 14:50:09 -0700 Subject: [PATCH 37/47] realigning file for accuracy --- GraphQL/program_integration/readme.md | 2 +- README.MD | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/GraphQL/program_integration/readme.md b/GraphQL/program_integration/readme.md index fcb1a12..e288608 100644 --- a/GraphQL/program_integration/readme.md +++ b/GraphQL/program_integration/readme.md @@ -2,4 +2,4 @@ Review API format-specific discussions to leverage the API format of your choice in your integrations. [Use GraphQL in your solutions](program_integration/GraphQL_Requests.md) -[Create requests using AsyncAPI](program_integration/AsyncAPI_Requests.md) +[Create requests using AsyncAPI](asyncapi/AsyncAPI_Requests.md) diff --git a/README.MD b/README.MD index 858e69f..e99a116 100644 --- a/README.MD +++ b/README.MD @@ -21,7 +21,7 @@ Your company must have licenses for the Suppy Chain Work Management solution and Opus is capable of communicating in a language-agnostic manner. Users can use any programming or scripting language capable of sending and receiving HTTPS requests. Opus accepts AsyncAPI or GraphQL formats. [Use GraphQL in your automation solutions](GraphQL/program_integration/readme.md) -[Create requests using AsyncAPI]() +[Create requests using AsyncAPI](asyncapi/AsyncAPI_Requests.md) ## Support ## From fe8edc8f2b5efe9eea6dac12003704595cdcb7d7 Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Fri, 8 Nov 2024 15:07:52 -0700 Subject: [PATCH 38/47] adding new instructions --- .../program_integration/GraphQL_Requests.md | 98 +++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 GraphQL/program_integration/GraphQL_Requests.md diff --git a/GraphQL/program_integration/GraphQL_Requests.md b/GraphQL/program_integration/GraphQL_Requests.md new file mode 100644 index 0000000..c57d6e8 --- /dev/null +++ b/GraphQL/program_integration/GraphQL_Requests.md @@ -0,0 +1,98 @@ +# Incorporating GraphQL into your automation solutions # +The GraphQL code samples provided contain the payloads necessary to make requests to the Opus platform. +Use your preferred programming language to construct the HTTP request for the desired action. Your ```Headers``` section contains the relevant authorization data for your environment. +Incorporate the payload into the body of your request. The request text must be converted to a JSON string for inclusion. +For example: +### Original Query ### +Query: +``` +mutation AddIncident($action: String!, $payload: JSON!) { + genericActionCall(action: $action, payload: $payload) { + result + __typename + } +} +``` +Variables +``` +{ +"action": "Addincident", +"payload":{ + "aptBusinessObjectSummary": "Printing error", + "aptBusinessObjectDescription":"Label printing offset", + "businessPriority":"LOW", + "incidentType":"LABEL_COMPLIANCE_ERROR", + "resolutionDueDate":"1736613281000" // 11 Jan 2025 + } +} +``` +Add your converted strings to a payload. Create a single object containing query and variables objects. +### Python ### +``` +import requests +import json + +url = "https://valvir-opus.tracelink.com/api/graphql" + +payload = "{\"query\":\"mutation AddIncident($action: String!, $payload: JSON!)\\n{\\n genericActionCall(action: $action, payload: $payload)\\n {\\n result\\n __typename\\n } \\n}\",\"variables\":{\"action\": \"Addincident\",\"payload\": {\"aptBusinessObjectSummary\":\"Printing error\",\"aptBusinessObjectDescription\": \"Label printing offset on package\",\"businessPriority\": \"LOW\",\"incidentType\":\"LABEL_COMPLIANCE_ERROR\",\"resolutionDueDate\": \"1736613281000\"}}}" +headers = { + 'Authorization': 'Basic YOUR_AUTH_TOKEN', + 'Content-Type': 'application/json', + 'Dataspace': 'default', + 'companyId': 'YOUR_COMPANY_ID', + 'processNetworkId': 'YOUR_NETWORK_ID' +} + +response = requests.request("POST", url, headers=headers, data=payload) + +print(response.text) +``` +### Node.js ### +``` +var request = require('request'); +var options = { + 'method': 'POST', + 'url': 'https://valvir-opus.tracelink.com/api/graphql', + 'headers': { + 'Authorization': 'Basic YOUR_AUTH_TOKEN', + 'Content-Type': 'application/json', + 'Dataspace': 'default', + 'companyId': 'YOUR_COMPANY_ID', + 'processNetworkId': 'YOUR_NETWORK_ID' + }, + body: JSON.stringify({ + query: `mutation AddIncident($action: String!, $payload: JSON!) +{ + genericActionCall(action: $action, payload: $payload) + { + result + __typename + } +}`, + variables: + {"action": "Addincident", + "payload": + {"aptBusinessObjectSummary":"Printing error", + "aptBusinessObjectDescription": "Label printing offset on package", + "businessPriority": "LOW", + "incidentType":"LABEL_COMPLIANCE_ERROR", + "resolutionDueDate": "1736613281000"}} + }) +}; +request(options, function (error, response) { + if (error) throw new Error(error); + console.log(response.body); +}); +``` +In this example, Opus automatically assigns Business Object and Id values. The response will contain both values and be similar to the example below: +``` +{ + "data": { + "genericActionCall": { + "result": "{\"aptBusinessObjectId\":\"USPT-0000\",\"id\":\"aa0a00aa-0a00-0aaa-0a00-000000a000000\"}", + "__typename": "ReadResult" + } + } +} +``` +The ```id``` item allows subsequent calls to update, comment, copy, close, or reopen this new record. From 8e31d6cc41c9a5f70a256899dc7e9ae833175166 Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Fri, 8 Nov 2024 15:08:40 -0700 Subject: [PATCH 39/47] adding new instructions --- asyncapi/AsyncAPI_Requests.md | 58 +++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 asyncapi/AsyncAPI_Requests.md diff --git a/asyncapi/AsyncAPI_Requests.md b/asyncapi/AsyncAPI_Requests.md new file mode 100644 index 0000000..93ba383 --- /dev/null +++ b/asyncapi/AsyncAPI_Requests.md @@ -0,0 +1,58 @@ +# Formatting API Requests + +## HTTP Request URL + +Your administrator can provide the URL you will use for submitting requests. +These requests will use the **POST** verb. + +## Request Header + +To authenticate with the APT application, include the following in the header of your HTTP request: +A **Token** that is your authorization to make requests. +A **Content Type** that identifies the format of the data passed. In this case it will be *application/json*. + +## Payload + +This is the data submitted to the application for processing, which contains a header and body. + +### Header + +The request body header identifies how APT processes your request. All items below are required: + +| Name | Type | Description | Value | +| -------------------- | ------- | ---------------------------------------------------------------------- | ------------------------------------------ | +| `headerVersion` | integer | The version identifier for the request | `1` | +| `eventName` | string | The fully qualified name of the request event. | See [event name mapping](../EventNames.md) | +| `ownerID` | string | The Owner company associated with the request. | See [authentication](../authentication.md) | +| `processNetworkId` | string | The network within the Owner company containing the process. | See [authentication](../authentication.md) | +| `appName` | string | The application that owns the event. | `"agile-process-teams"` | +| `dataspace` | string | The dataspace inside within the environment where the request is made. | `"default"` | + +### Body +A properly constructed JSON object is required as the payload. You can dynamically create the JSON object at runtime or create a file with the appropriate values to import as needed. + +The body parameters change depending on the `eventName` value passed in the body header. Please reference [API documentation](https://opus.tracelink.com/documentation/2021.1/en-US/apt/Content/topics/api/landing_incident_apis.htm?tocpath=Set%20up%20APIs%7CIncident%20process%20APIs%7C_____0) for more information on each event type. The [samples folder](../payload_samples) contains example payload bodies for each event type. + +An example of a complete payload body for adding a direct supplier incident: +``` +{ + "header": { + "headerVersion": 1, + "eventName": "agile-process-teams:add-direct-supplier-incident:v3", + "ownerId": "YOUR_OWNER_ID", + "processNetworkId": "YOUR_PROCESS_NETWORK_ID", + "appName": "agile-process-teams", + "dataspace": "default" + }, + "payload": { + "aptBusinessObjectSummary": "Product from manufacturer does not meet specifications.", + "directSupplierImpact": { + "businessPriority": "HIGH" + } + } +} +``` + +# Next +Review [event name mapping](eventNames.json) for each event type. +Follow [the quickstart](Quickstart.md) for an example using the APT-SCWM API. From 21c0dbfdeacf79ca460d3810873dd8842300bc90 Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Fri, 8 Nov 2024 15:21:34 -0700 Subject: [PATCH 40/47] restructuring --- python/FormatRequests.MD => FormatRequests.md | 0 GraphQL/{program_integration => }/GraphQL_Requests.md | 0 GraphQL/readme.MD | 4 ++-- python/License.txt => License.txt | 0 python/MasterDataQuery.MD => MasterDataQuery.md | 0 README.MD | 2 +- python/Quickstart.MD => asyncapi/Quickstart.md | 0 {python => asyncapi}/eventNames.json | 0 .../program_integration => program_integration}/node_blank.js | 0 .../python_blank.py | 0 .../program_integration => program_integration}/readme.md | 2 +- 11 files changed, 4 insertions(+), 4 deletions(-) rename python/FormatRequests.MD => FormatRequests.md (100%) rename GraphQL/{program_integration => }/GraphQL_Requests.md (100%) rename python/License.txt => License.txt (100%) rename python/MasterDataQuery.MD => MasterDataQuery.md (100%) rename python/Quickstart.MD => asyncapi/Quickstart.md (100%) rename {python => asyncapi}/eventNames.json (100%) rename {GraphQL/program_integration => program_integration}/node_blank.js (100%) rename {GraphQL/program_integration => program_integration}/python_blank.py (100%) rename {GraphQL/program_integration => program_integration}/readme.md (72%) diff --git a/python/FormatRequests.MD b/FormatRequests.md similarity index 100% rename from python/FormatRequests.MD rename to FormatRequests.md diff --git a/GraphQL/program_integration/GraphQL_Requests.md b/GraphQL/GraphQL_Requests.md similarity index 100% rename from GraphQL/program_integration/GraphQL_Requests.md rename to GraphQL/GraphQL_Requests.md diff --git a/GraphQL/readme.MD b/GraphQL/readme.MD index 85bc7a7..735aa4e 100644 --- a/GraphQL/readme.MD +++ b/GraphQL/readme.MD @@ -4,5 +4,5 @@ Contains the GraphQL code to be used in either a query tool or incorporated into ## Program Integration ## Contains a discussion and the minimum necessary code to construct a request. This code is extensible to construct larger solutions. -[Use GraphQL in your solutions](program_integration/GraphQL_Requests.md) -[Create requests using AsyncAPI](program_integration/AsyncAPI_Requests.md) +[Use GraphQL in your solutions](GraphQL_Requests.md) +[Create requests using AsyncAPI](asyncapi/AsyncAPI_Requests.md) diff --git a/python/License.txt b/License.txt similarity index 100% rename from python/License.txt rename to License.txt diff --git a/python/MasterDataQuery.MD b/MasterDataQuery.md similarity index 100% rename from python/MasterDataQuery.MD rename to MasterDataQuery.md diff --git a/README.MD b/README.MD index e99a116..b0dfcd5 100644 --- a/README.MD +++ b/README.MD @@ -20,7 +20,7 @@ Your company must have licenses for the Suppy Chain Work Management solution and ## Languages ## Opus is capable of communicating in a language-agnostic manner. Users can use any programming or scripting language capable of sending and receiving HTTPS requests. Opus accepts AsyncAPI or GraphQL formats. -[Use GraphQL in your automation solutions](GraphQL/program_integration/readme.md) +[Use GraphQL in your automation solutions](graphl/GraphQL_Requests.md) [Create requests using AsyncAPI](asyncapi/AsyncAPI_Requests.md) ## Support ## diff --git a/python/Quickstart.MD b/asyncapi/Quickstart.md similarity index 100% rename from python/Quickstart.MD rename to asyncapi/Quickstart.md diff --git a/python/eventNames.json b/asyncapi/eventNames.json similarity index 100% rename from python/eventNames.json rename to asyncapi/eventNames.json diff --git a/GraphQL/program_integration/node_blank.js b/program_integration/node_blank.js similarity index 100% rename from GraphQL/program_integration/node_blank.js rename to program_integration/node_blank.js diff --git a/GraphQL/program_integration/python_blank.py b/program_integration/python_blank.py similarity index 100% rename from GraphQL/program_integration/python_blank.py rename to program_integration/python_blank.py diff --git a/GraphQL/program_integration/readme.md b/program_integration/readme.md similarity index 72% rename from GraphQL/program_integration/readme.md rename to program_integration/readme.md index e288608..fbb2176 100644 --- a/GraphQL/program_integration/readme.md +++ b/program_integration/readme.md @@ -1,5 +1,5 @@ # Program Integration # Review API format-specific discussions to leverage the API format of your choice in your integrations. -[Use GraphQL in your solutions](program_integration/GraphQL_Requests.md) +[Use GraphQL in your solutions](graphql/GraphQL_Requests.md) [Create requests using AsyncAPI](asyncapi/AsyncAPI_Requests.md) From 12fe5447b955f30a36170f0ef7499bcd36e3db1c Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Fri, 8 Nov 2024 15:25:21 -0700 Subject: [PATCH 41/47] fixing typo --- README.MD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.MD b/README.MD index b0dfcd5..ef78c7e 100644 --- a/README.MD +++ b/README.MD @@ -20,7 +20,7 @@ Your company must have licenses for the Suppy Chain Work Management solution and ## Languages ## Opus is capable of communicating in a language-agnostic manner. Users can use any programming or scripting language capable of sending and receiving HTTPS requests. Opus accepts AsyncAPI or GraphQL formats. -[Use GraphQL in your automation solutions](graphl/GraphQL_Requests.md) +[Use GraphQL in your automation solutions](graphql/GraphQL_Requests.md) [Create requests using AsyncAPI](asyncapi/AsyncAPI_Requests.md) ## Support ## From 10326490dc0d93a91f85c72851c69f12c6bfbc59 Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Fri, 8 Nov 2024 15:27:24 -0700 Subject: [PATCH 42/47] fixing typo --- README.MD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.MD b/README.MD index ef78c7e..6aa286c 100644 --- a/README.MD +++ b/README.MD @@ -20,7 +20,7 @@ Your company must have licenses for the Suppy Chain Work Management solution and ## Languages ## Opus is capable of communicating in a language-agnostic manner. Users can use any programming or scripting language capable of sending and receiving HTTPS requests. Opus accepts AsyncAPI or GraphQL formats. -[Use GraphQL in your automation solutions](graphql/GraphQL_Requests.md) +[Use GraphQL in your automation solutions](GraphQL/GraphQL_Requests.md) [Create requests using AsyncAPI](asyncapi/AsyncAPI_Requests.md) ## Support ## From ff35d8f000ee4007c794acec5299f61aa93c715a Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Fri, 8 Nov 2024 15:30:36 -0700 Subject: [PATCH 43/47] fixing link --- GraphQL/readme.MD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GraphQL/readme.MD b/GraphQL/readme.MD index 735aa4e..eedcefc 100644 --- a/GraphQL/readme.MD +++ b/GraphQL/readme.MD @@ -5,4 +5,4 @@ Contains the GraphQL code to be used in either a query tool or incorporated into Contains a discussion and the minimum necessary code to construct a request. This code is extensible to construct larger solutions. [Use GraphQL in your solutions](GraphQL_Requests.md) -[Create requests using AsyncAPI](asyncapi/AsyncAPI_Requests.md) +[Create requests using AsyncAPI](../asyncapi/AsyncAPI_Requests.md) From 2d02b0fb1ff28feef90df9fb8d6d21c44c8efed1 Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Fri, 8 Nov 2024 15:33:28 -0700 Subject: [PATCH 44/47] fixing link --- program_integration/readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/program_integration/readme.md b/program_integration/readme.md index fbb2176..49bc295 100644 --- a/program_integration/readme.md +++ b/program_integration/readme.md @@ -1,5 +1,5 @@ # Program Integration # Review API format-specific discussions to leverage the API format of your choice in your integrations. -[Use GraphQL in your solutions](graphql/GraphQL_Requests.md) -[Create requests using AsyncAPI](asyncapi/AsyncAPI_Requests.md) +[Use GraphQL in your solutions](../GraphQL/GraphQL_Requests.md) +[Create requests using AsyncAPI](../asyncapi/AsyncAPI_Requests.md) From 243b916ee70caca14daec34343316ce98d5c4ef2 Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Thu, 14 Nov 2024 08:36:37 -0700 Subject: [PATCH 45/47] initial commit of new readme --- collections/readme.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 collections/readme.md diff --git a/collections/readme.md b/collections/readme.md new file mode 100644 index 0000000..e69de29 From 6aabe754c771880cc786af5948048990e0791499 Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Thu, 14 Nov 2024 11:25:08 -0700 Subject: [PATCH 46/47] updating for new project structure --- .../Troubleshooting.MD => Troubleshooting.md | 4 +- ...ection.json => TL_Postman_Collection.json} | 0 collections/readme.md | 10 ++ python/.gitignore | 6 - python/README.MD | 40 ----- python/requirements.txt | 1 - python/sample.py | 52 ------- python/utils.py | 137 ------------------ 8 files changed, 12 insertions(+), 238 deletions(-) rename python/Troubleshooting.MD => Troubleshooting.md (95%) rename collections/postman/{TL_Postman Collection.json => TL_Postman_Collection.json} (100%) delete mode 100644 python/.gitignore delete mode 100644 python/README.MD delete mode 100644 python/requirements.txt delete mode 100644 python/sample.py delete mode 100644 python/utils.py diff --git a/python/Troubleshooting.MD b/Troubleshooting.md similarity index 95% rename from python/Troubleshooting.MD rename to Troubleshooting.md index 2e8d0f7..ea36a52 100644 --- a/python/Troubleshooting.MD +++ b/Troubleshooting.md @@ -1,4 +1,4 @@ -# Troubleshooting Errors +# Troubleshooting Errors # The APT-SCWM API responds to each request with a status code and text describing the result of the request. @@ -51,4 +51,4 @@ Response message { "payload" : null } ``` -The **errMsg** reveals the validation of the payload object failed. In this case, the application determined the payload is missing `aptBusinessObjectSummary`, but it is required. +The **errMsg** reveals the validation of the payload object failed. In this case, the application determined the payload is missing `aptBusinessObjectSummary`, but it is required. diff --git a/collections/postman/TL_Postman Collection.json b/collections/postman/TL_Postman_Collection.json similarity index 100% rename from collections/postman/TL_Postman Collection.json rename to collections/postman/TL_Postman_Collection.json diff --git a/collections/readme.md b/collections/readme.md index e69de29..0cffe9a 100644 --- a/collections/readme.md +++ b/collections/readme.md @@ -0,0 +1,10 @@ +# API Collections # +Import these collections into your product of choice and start making calls right away. +## Postman ## +[TraceLink Postman collection](postman/TL_Postman_Collection.json). + +[TraceLink Postman environment](postman/TL_Postman_Environment.json) +## Insomnia ## +[TraceLink Insomnia Collection](TL_Insomnia_Collection.json) + +[TraceLink Insomnia environment](TL_Insomnia_Environment.json) diff --git a/python/.gitignore b/python/.gitignore deleted file mode 100644 index 49d9391..0000000 --- a/python/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -*.pyc -<<<<<<< HEAD -.idea/vcs.xml -======= -.idea/ ->>>>>>> 5e475191608c3846bbc9f412c8942b8c6e31ae2d diff --git a/python/README.MD b/python/README.MD deleted file mode 100644 index 3ff4918..0000000 --- a/python/README.MD +++ /dev/null @@ -1,40 +0,0 @@ -# Python - -This repository provides developers with python code samples for interacting with TraceLink's Agile Process Teams (APT) app. - -## Installation - -NEEDS UPDATING - -## Usage - -This code was tested using python 3.10.0. - -**The *requests* and *json* modules are required for use.** -Use the **utils.py** file for the following actions: - -- Add your token to the HTTP request header -- Process the request payload from a JSON object or file -- Create the payload body -- Display the completed payload for accuracy prior to submitting -- Submit your request to APT - - -## Requests - -All requests have three main components: - -- **Request URL** - - {{protocol}}://{{server}}/api/events -- **Request header** - - Authenticates to APT using a token and content type -- **Payload header** - - Properly routes the request -- **Payload** - - Provides the details of the request - -# Next - -1. Review information on [authentication](../authentication.md). -2. Review [basic request formatting](FormatRequests.md). -3. Follow the [quickstart](Quickstart.md) for an example using the APT-SCWM API. diff --git a/python/requirements.txt b/python/requirements.txt deleted file mode 100644 index b81f2c0..0000000 --- a/python/requirements.txt +++ /dev/null @@ -1 +0,0 @@ -requests~=2.28.1 \ No newline at end of file diff --git a/python/sample.py b/python/sample.py deleted file mode 100644 index 8d90ef7..0000000 --- a/python/sample.py +++ /dev/null @@ -1,52 +0,0 @@ -"""A sample module to serve as a template for creating and sending APT requests. - - Many endpoint variables will be in CamelCase, which strictly speaking, is not proper Python. - This is to help keep consistent with the API documentation rather than making perfectly formatted Python code. - - Basic process flow: - 1. Provide a token - 2. Create a header for the main request (APT requests have a request header and a payload header) - 3. Create your request payload. This will change for each of the different requests. - 4. Post your request using the above items. -""" - -# Imports -import utils -# the utils.py file handles processing imported data and formatting the request -# end Imports - -# Variables -# payload file created by copying from the API documentation -file_name = "c:/samples/addIncident.json" # you must supply this file -# authentication token -token = "SomeTokenYouGotFromSomewhere" -# end Variables - - -if __name__ == "__main__": - # the statements below can be made on their own from your own processes rather than using this function. - # the steps below when replaced with live data would create a single Direct Supplier incident - token = "NotARealToken" # admittedly redundant since we declared it earlier - file = "c:/temp/samples/addIncident.json" # again, we already declared this - - event_data = {"eventName": "agile-process-teams:add-direct-supplier-incident:v2", - "ownerId": "{your owner id}", - "processNetworkId": "{your process network id}"} - # data that is specific to the company and request being made - - request_header = utils.create_headers(token) - # create our headers using whatever bearer token we have, this supports reuse if making multiple requests - - payload_data = utils.read_payload_file(file) - # the JSON formatted file containing the specific values needed for our request - # this allows us to use a variety of different files and keep a consistent call to build the request body - - # request_body = incident.create_payload(payload_data) - request_body = utils.create_payload(event_data, payload_data) - # appends the payload data we just generated to the appropriate request header for the desired event - - utils.mock_request(request_header, request_body) - # purely a test function to use as a feedback mechanism during onboarding - - result = utils.post_request(request_header, request_body) - # POSTs the request to APT and returns a response object diff --git a/python/utils.py b/python/utils.py deleted file mode 100644 index b2e9408..0000000 --- a/python/utils.py +++ /dev/null @@ -1,137 +0,0 @@ -# This utils file is meant as a primer only. There is no error handling built in - -import requests -import json - -# establish some variables -# This is a placeholder for event data, it can be used to hold data as needed or (more likely) built during runtime. -# Be careful with the eventName. It should change depending on the category of request. -event_data = { - "eventName": "agile-process-teams:add-direct-supplier-incident:v2", - "ownerId": "{your ownerId}", - "processNetworkId": "{your processNetworkId}" -} - -# we expect this to remain static -request_url = "URL provided by your administrator" - - -def read_payload_file(filename): - """ - Opens a JSON formatted file and attempts to create a JSON payload object to submit to the specified module. - - :param filename: Path to a file containing the JSON formatted payload data. - :return: Reformatted payload data ready to be appended to a request body. - """ - try: - with open(filename, 'r') as file_in: - data = file_in.read() - j_object = json.loads(data) - my_payload = j_object.get("payload") # we're parsing inside the 'payload' node to just get the payload data - return my_payload - except Exception as e: - print(e) - - -def accept_json_payload(payload_in): - """ - Receives the already-formatted JSON string portion of the payload and prepares it for submission. - - :param payload_in: string - Formatted JSON string with payload data. - :return: Reformatted payload data ready to be appended to a request body. - """ - try: - # check to see if the payload is a valid JSON string, the application will reject bad data - data = json.loads(payload_in) - payload = data.get("payload") - return payload - except ValueError as v: - print("JSON formatted string not found: {}. Please check formatting and resubmit".format(v)) - except Exception as e: - print("Unexpected exception: {}.".format(e)) - - -def create_headers(method, token): - """ - Takes a token and returns a formatted request header (excluding the URL) - :param method: string - Basic or Bearer - :param token: string - Authentication token formatted as a string. - :return: Dictionary object containing the Authorization and Content Type - """ - headers = {"Authorization": "{0} {1}".format(method, token), "Content-Type": "application/json"} - return headers - - -def create_payload(event_in, payload_in): - """ - Takes a JSON payload object in and combines it with the appropriate header for the request. - - The API documentation outlines the available fields and data types for each request. - - The request body payload section can be generated dynamically or written to a file and parsed by the utils.read_json_file() function. - - :param event_in: string: A JSON object with the event name, owner id, process network id (to create request body header) - :param payload_in: string: Should be a properly formatted JSON object prescribed by the API documents - :return: A completed request body - """ - payload = json.dumps( - { - "header": { - "headerVersion": 1, - "eventName": event_in.get('eventName'), - "ownerId": event_in.get('ownerId'), - "processNetworkId": event_in.get('processNetworkId'), - "appName": "agile-process-teams", - "dataspace": "default" - }, - "payload": payload_in - } - ) - return payload - - -def mock_request(header, data): - """ - Test function to allow the user to compare their generated request body without sending it to APT. - - This is a learning tool only intended to allow the user to verify the data they generate against the official - Agile Process Teams API documentation to verify they have constructed a properly formatted payload. - - This function DOES NOT communicate with APT to verify required data or correct id numbers. - - :param header: dict - Header with token and content type - :param data: str - JSON string with the completed request body - :return: Outputs a 'pretty print' of the JSON request body for comparison to the API documentation - """ - - # reloading in the parsed data to do a JSON pretty print - request_body = json.loads(data) - print("HTML request header:") - print(header) - print("Body of event request:") - print(json.dumps(request_body, indent=4, sort_keys=True)) - return - - -def post_request(header, data): - """ - Takes a request URL, headers, and payload and submits the request to Opus APT - - :param header: dict: - Provide a token as a string to the create_headers function. - The output is your request header. - :param data: string: - The payload required for the endpoint to be used. - Each module will produce its own payload that can be passed as the data parameter. - :return: Response object with status code and message - """ - # we expect the URL to remain static for APT, so we'll just keep it in here as a variable - url = request_url - - # actually sending the request - response = requests.request("POST", url, headers=header, data=data) - - # process the response and inform the user - print("Response status code: {0}".format(response.status_code)) - print("Response message {0}".format(response.text)) - return response From a2b080a1fdc5c91b40d76d40618662fbf9264821 Mon Sep 17 00:00:00 2001 From: Robert Bills Date: Mon, 18 Nov 2024 10:57:41 -0700 Subject: [PATCH 47/47] fixing punctuation --- collections/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collections/readme.md b/collections/readme.md index 0cffe9a..ed1a73b 100644 --- a/collections/readme.md +++ b/collections/readme.md @@ -1,7 +1,7 @@ # API Collections # Import these collections into your product of choice and start making calls right away. ## Postman ## -[TraceLink Postman collection](postman/TL_Postman_Collection.json). +[TraceLink Postman collection](postman/TL_Postman_Collection.json) [TraceLink Postman environment](postman/TL_Postman_Environment.json) ## Insomnia ##