{"info":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","description":"<html><head></head><body><p>Welcome to the official API documentation for the <a href=\"https://www.mypackbrain.com\">MYPACKBRAIN</a> platform.</p>\n<h2 id=\"authentication\">Authentication</h2>\n<p>The MYPACKBRAIN API uses API keys to authenticate requests. Authentication to the API is performed via HTTP headers (<code>api-key: Basic {{api-key}}</code>).</p>\n<p>Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.</p>\n<p>All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"12986985","collectionId":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","publishedId":"2s83zcSSXp","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"4d008c"},"publishDate":"2022-11-08T13:12:02.000Z"},"item":[{"name":"Files","item":[{"name":"List all files","id":"90522bfe-8000-442b-ac15-535d2e13d6db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mypackbrain.com/v1/files?search=*&$count=true&$skip=0&$top=10","description":"<p>Returns a list of the files that your account has access to. The files are returned sorted by creation date, with the most recently created files appearing first.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["files"],"host":["https://api.mypackbrain.com/v1"],"query":[{"description":{"content":"<p>Required. The text to search for. To match any term, use *. </p>\n","type":"text/plain"},"key":"search","value":"*"},{"description":{"content":"<p>Optional. Valid values are \"true\" or \"false\". Defaults to \"false\". Specifies whether to fetch the total count of results.</p>\n","type":"text/plain"},"key":"$count","value":"true"},{"description":{"content":"<p>Optional. The number of search results to skip. </p>\n","type":"text/plain"},"key":"$skip","value":"0"},{"description":{"content":"<p>Optional. The number of search results to retrieve. This defaults to 50.</p>\n","type":"text/plain"},"key":"$top","value":"10"}],"variable":[]}},"response":[{"id":"28f1f52f-2fb2-4884-932f-35f8f63f98de","name":"Success","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files?search=*&$count=true&$skip=0&$top=5","host":["https://api.mypackbrain.com/v1"],"path":["files"],"query":[{"key":"search","value":"*"},{"key":"$count","value":"true"},{"key":"$skip","value":"0"},{"key":"$top","value":"5"}]}},"code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"id\": \"a7ea56ee-6b5f-4409-81f2-ec7176388521\",\n            \"versionId\": \"f36271fe-4b83-45bd-95b5-20a54584620c\",\n            \"name\": \"Yogurt Bottle - Vanilla\",\n            \"created\": \"2022-02-19T18:08:24.253\",\n            \"fileUrl\": \"https://files.mypackbrain.com/60b8d319-2f8f-44a9-b295-6c85af450540-tenant-data/f36271fe-4b83-45bd-95b5-20a54584620c/original.pdf?st=2022-03-22T05%3A49%3A09Z&se=2022-03-22T06%3A39%3A09Z&sr=b&sp=r&sig=GLqbiDwYweXW4y2NczDxmWDzrJCc89oFfgBMTieGPww%3D\",\n            \"thumbnailUrl\": \"https://files.mypackbrain.com/60b8d319-2f8f-44a9-b295-6c85af450540-tenant-data/f36271fe-4b83-45bd-95b5-20a54584620c/small.png?st=2022-03-22T05%3A49%3A09Z&se=2022-03-22T06%3A39%3A09Z&sr=b&sp=r&sig=GLqbiDwYweXW4y2NczDxmWDzrJCc89oFfgBMTieGPww%3D\"\n        },\n        {\n            \"id\": \"e719350e-2a86-4c55-b6f0-44701d796a5b\",\n            \"versionId\": \"c8d15e22-1403-40d8-99ca-dfdd27f15d46\",\n            \"name\": \"Yogurt Bottle - Banana\",\n            \"created\": \"2021-01-12T12:08:24.001\",\n            \"fileUrl\": \"https://files.mypackbrain.com/60b8d319-2f8f-44a9-b295-6c85af450540-tenant-data/c8d15e22-1403-40d8-99ca-dfdd27f15d46/original.pdf?st=2022-03-22T05%3A49%3A09Z&se=2022-03-22T06%3A39%3A09Z&sr=b&sp=r&sig=GLqbiDwYweXW4y2NczDxmWDzrJCc89oFfgBMTieGPww%3D\",\n            \"thumbnailUrl\": \"https://files.mypackbrain.com/60b8d319-2f8f-44a9-b295-6c85af450540-tenant-data/c8d15e22-1403-40d8-99ca-dfdd27f15d46/small.png?st=2022-03-22T05%3A49%3A09Z&se=2022-03-22T06%3A39%3A09Z&sr=b&sp=r&sig=GLqbiDwYweXW4y2NczDxmWDzrJCc89oFfgBMTieGPww%3D\"\n        },\n        {\n            \"id\": \"a2f6ac55-41f9-4c45-818f-5f3f2430c7bb\",\n            \"versionId\": \"39d33a10-4e1a-4137-9fb5-fabc3d926af0\",\n            \"name\": \"Yogurt Bottle - Orange\",\n            \"created\": \"2023-03-13T13:13:24.130\",\n            \"fileUrl\": \"https://files.mypackbrain.com/60b8d319-2f8f-44a9-b295-6c85af450540-tenant-data/39d33a10-4e1a-4137-9fb5-fabc3d926af0/original.pdf?st=2022-03-22T05%3A49%3A09Z&se=2022-03-22T06%3A39%3A09Z&sr=b&sp=r&sig=GLqbiDwYweXW4y2NczDxmWDzrJCc89oFfgBMTieGPww%3D\",\n            \"thumbnailUrl\": \"https://files.mypackbrain.com/60b8d319-2f8f-44a9-b295-6c85af450540-tenant-data/39d33a10-4e1a-4137-9fb5-fabc3d926af0/small.png?st=2022-03-22T05%3A49%3A09Z&se=2022-03-22T06%3A39%3A09Z&sr=b&sp=r&sig=GLqbiDwYweXW4y2NczDxmWDzrJCc89oFfgBMTieGPww%3D\"\n        },\n        {\n            \"id\": \"8ef19b07-e7e9-44a9-9748-d5937136ffdc\",\n            \"versionId\": \"40d8f8d9-9fb8-417f-ae6c-e02d40017b76\",\n            \"name\": \"Yogurt Bottle - Cherry\",\n            \"created\": \"2022-07-01T13:13:24.230\",\n            \"fileUrl\": \"https://files.mypackbrain.com/60b8d319-2f8f-44a9-b295-6c85af450540-tenant-data/40d8f8d9-9fb8-417f-ae6c-e02d40017b76/original.pdf?st=2022-03-22T05%3A49%3A09Z&se=2022-03-22T06%3A39%3A09Z&sr=b&sp=r&sig=GLqbiDwYweXW4y2NczDxmWDzrJCc89oFfgBMTieGPww%3D\",\n            \"thumbnailUrl\": \"https://files.mypackbrain.com/60b8d319-2f8f-44a9-b295-6c85af450540-tenant-data/40d8f8d9-9fb8-417f-ae6c-e02d40017b76/small.png?st=2022-03-22T05%3A49%3A09Z&se=2022-03-22T06%3A39%3A09Z&sr=b&sp=r&sig=GLqbiDwYweXW4y2NczDxmWDzrJCc89oFfgBMTieGPww%3D\"\n        },\n        {\n            \"id\": \"0538d12a-5f85-4cf5-a29b-1557cd5ba95d\",\n            \"versionId\": \"6c9a2fcd-bd01-430d-a0d8-9adb6a3ecd66\",\n            \"name\": \"Yogurt Bottle - Strawberry\",\n            \"created\": \"2017-04-14T13:13:24.786\",\n            \"fileUrl\": \"https://files.mypackbrain.com/60b8d319-2f8f-44a9-b295-6c85af450540-tenant-data/6c9a2fcd-bd01-430d-a0d8-9adb6a3ecd66/original.pdf?st=2022-03-22T05%3A49%3A09Z&se=2022-03-22T06%3A39%3A09Z&sr=b&sp=r&sig=GLqbiDwYweXW4y2NczDxmWDzrJCc89oFfgBMTieGPww%3D\",\n            \"thumbnailUrl\": \"https://files.mypackbrain.com/60b8d319-2f8f-44a9-b295-6c85af450540-tenant-data/6c9a2fcd-bd01-430d-a0d8-9adb6a3ecd66/small.png?st=2022-03-22T05%3A49%3A09Z&se=2022-03-22T06%3A39%3A09Z&sr=b&sp=r&sig=GLqbiDwYweXW4y2NczDxmWDzrJCc89oFfgBMTieGPww%3D\"\n        }\n    ],\n    \"@count\": 202,\n    \"@nextLink\": \"https://api.mypackbrain.com/v1/files?search=*&$top=5&$skip=5&$count=true\",\n    \"@prevLink\": \"https://api.mypackbrain.com/v1/files?search=*&$top=5&$count=true\"\n}"},{"id":"a4c88287-5aa6-4255-8f89-287b2f478a60","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files?search=*&$count=true&$skip=0&$top=5","host":["https://api.mypackbrain.com/v1"],"path":["files"],"query":[{"key":"search","value":"*"},{"key":"$count","value":"true"},{"key":"$skip","value":"0"},{"key":"$top","value":"5"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"User is not authenticated\"\n}"},{"id":"abd37c35-d7db-4df3-a319-46875a540368","name":"Forbidden","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files?search=*&$count=true&$skip=0&$top=5","host":["https://api.mypackbrain.com/v1"],"path":["files"],"query":[{"key":"search","value":"*"},{"key":"$count","value":"true"},{"key":"$skip","value":"0"},{"key":"$top","value":"5"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"},{"id":"e3c59170-5280-4ec1-9c03-201daac45dfe","name":"Internal Server Error","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files?search=*&$count=true&$skip=0&$top=5","host":["https://api.mypackbrain.com/v1"],"path":["files"],"query":[{"key":"search","value":"*"},{"key":"$count","value":"true"},{"key":"$skip","value":"0"},{"key":"$top","value":"5"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom error message\"\n}"}],"_postman_id":"90522bfe-8000-442b-ac15-535d2e13d6db"},{"name":"Get file details (latest version)","id":"77a16ad0-a8b3-4761-a8c8-e666feed6290","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mypackbrain.com/v1/files/:fileId","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["files",":fileId"],"host":["https://api.mypackbrain.com/v1"],"query":[],"variable":[{"description":{"content":"<p>Required. ID of the file to retrieve.</p>\n","type":"text/plain"},"type":"any","value":null,"key":"fileId"}]}},"response":[{"id":"8fcf5644-14b4-4df3-a9ae-099b5e23643c","name":"Success","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"7d847b84-61ad-4499-8a7d-0cfee9991ae4\",\n    \"name\": \"Yogurt Bottle - Vanilla\",\n    \"description\": \"Example description\",\n    \"created\": \"2022-11-25T15:36:15.783\",\n    \"metadata\": {\n        \"colorProfile\": \"False\",\n        \"colorSpace\": \"None\",\n        \"format\": \"Pdf\",\n        \"depth\": \"32\",\n        \"height\": \"841.88976\",\n        \"width\": \"595.27559\",\n        \"requestId\": \"cc0d57ff-f403-441a-87c4-77fa22114fbb\",\n        \"variantId\": \"504a2d53-5509-9a5b-bc5d-c66f569fb0aa\",\n        \"designId\": \"692a1f0e-23b4-60bb-9539-e9342bbc1f5d\"\n    },\n    \"properties\": [\n        {\n            \"propertyName\": \"Assigned\",\n            \"propertyValue\": \"yes\"\n        },\n        {\n            \"propertyName\": \"Collection\",\n            \"propertyValue\": \"First Element\"\n        }\n    ],\n    \"tags\": [\n        \"exampleTag\"\n    ],\n    \"fileUrl\": \"https://files.mypackbrain.com/60b8d319-2f8f-44a9-b295-6c85af450540-tenant-data/f36271fe-4b83-45bd-95b5-20a54584620c/original.pdf?st=2022-03-22T05%3A49%3A09Z&se=2022-03-22T06%3A39%3A09Z&sr=b&sp=r&sig=GLqbiDwYweXW4y2NczDxmWDzrJCc89oFfgBMTieGPww%3D\",\n    \"thumbnailUrl\": \"https://files.mypackbrain.com/60b8d319-2f8f-44a9-b295-6c85af450540-tenant-data/f36271fe-4b83-45bd-95b5-20a54584620c/small.png?st=2022-03-22T05%3A49%3A09Z&se=2022-03-22T06%3A39%3A09Z&sr=b&sp=r&sig=GLqbiDwYweXW4y2NczDxmWDzrJCc89oFfgBMTieGPww%3D\"\n}"},{"id":"7d7080a1-03ee-443f-a0b9-d618a383ff72","name":"Not Found","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Resource \\\"Element\\\" with id \\\"7d847b84-61ad-4499-8a7d-0cfee9991ae4\\\" does not exist\"\n}"},{"id":"0b6f5ef3-c038-4546-9701-ff74af824938","name":"Unprocessable Entity","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"},{"id":"a4319dea-1ed4-4c41-aa13-33e023af0c24","name":"Forbidden","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"},{"id":"d8eb1a9f-c331-42ce-8642-14e405616099","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"User is not authenticated\"\n}"},{"id":"44f1f514-12d5-4eba-8ee6-9f8995068902","name":"Internal Server Error","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom error message\"\n}"}],"_postman_id":"77a16ad0-a8b3-4761-a8c8-e666feed6290"},{"name":"Get file details (specific version)","id":"6d2a6f63-ce7c-4a58-908c-0e0250581621","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mypackbrain.com/v1/files/:fileId/:versionId","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["files",":fileId",":versionId"],"host":["https://api.mypackbrain.com/v1"],"query":[],"variable":[{"description":{"content":"<p>Required. ID of the file to retrieve.</p>\n","type":"text/plain"},"type":"any","value":null,"key":"fileId"},{"description":{"content":"<p>Required. ID of the file's version to retrieve.</p>\n","type":"text/plain"},"type":"any","value":null,"key":"versionId"}]}},"response":[{"id":"2e2fc4da-98e4-48e6-9541-fbaa14616e62","name":"Success","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/:versionId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId",":versionId"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"},{"key":"versionId","value":"f36271fe-4b83-45bd-95b5-20a54584620c"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"7d847b84-61ad-4499-8a7d-0cfee9991ae4\",\n    \"name\": \"Yogurt Bottle - Vanilla\",\n    \"description\": \"Example description\",\n    \"created\": \"2022-11-25T15:36:15.783\",\n    \"metadata\": {\n        \"colorProfile\": \"False\",\n        \"colorSpace\": \"None\",\n        \"format\": \"Pdf\",\n        \"depth\": \"32\",\n        \"height\": \"841.88976\",\n        \"width\": \"595.27559\",\n        \"requestId\": \"cc0d57ff-f403-441a-87c4-77fa22114fbb\",\n        \"variantId\": \"504a2d53-5509-9a5b-bc5d-c66f569fb0aa\",\n        \"designId\": \"692a1f0e-23b4-60bb-9539-e9342bbc1f5d\"\n    },\n    \"properties\": [\n        {\n            \"propertyName\": \"Assigned\",\n            \"propertyValue\": \"yes\"\n        },\n        {\n            \"propertyName\": \"Collection\",\n            \"propertyValue\": \"First Element\"\n        }\n    ],\n    \"tags\": [\n        \"exampleTag\"\n    ],\n    \"fileUrl\": \"https://files.mypackbrain.com/60b8d319-2f8f-44a9-b295-6c85af450540-tenant-data/f36271fe-4b83-45bd-95b5-20a54584620c/original.pdf?st=2022-03-22T05%3A49%3A09Z&se=2022-03-22T06%3A39%3A09Z&sr=b&sp=r&sig=GLqbiDwYweXW4y2NczDxmWDzrJCc89oFfgBMTieGPww%3D\",\n    \"thumbnailUrl\": \"https://files.mypackbrain.com/60b8d319-2f8f-44a9-b295-6c85af450540-tenant-data/f36271fe-4b83-45bd-95b5-20a54584620c/small.png?st=2022-03-22T05%3A49%3A09Z&se=2022-03-22T06%3A39%3A09Z&sr=b&sp=r&sig=GLqbiDwYweXW4y2NczDxmWDzrJCc89oFfgBMTieGPww%3D\"\n}"},{"id":"17ac56d3-519c-4a65-acde-03fa3459d308","name":"Not Found","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/:versionId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId",":versionId"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"},{"key":"versionId","value":"f36271fe-4b83-45bd-95b5-20a54584620c"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Resource \\\"Element\\\" with id \\\"7d847b84-61ad-4499-8a7d-0cfee9991ae4\\\" does not exist\"\n}"},{"id":"b1a2d529-79ec-4d2e-9b90-253291151044","name":"Unprocessable Entity","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/:versionId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId",":versionId"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"},{"key":"versionId","value":"f36271fe-4b83-45bd-95b5-20a54584620c"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"},{"id":"86e2c538-367c-48a2-852a-6bdeaa3fc20b","name":"Forbidden","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/:versionId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId",":versionId"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"},{"key":"versionId","value":"f36271fe-4b83-45bd-95b5-20a54584620c"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"},{"id":"65e19d16-9887-4347-9a1e-93061be07ec4","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/:versionId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId",":versionId"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"},{"key":"versionId","value":"f36271fe-4b83-45bd-95b5-20a54584620c"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"User is not authenticated\"\n}"},{"id":"b692c9b8-8e22-48cd-9e47-83d0784185bc","name":"Internal Server Error","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/:versionId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId",":versionId"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"},{"key":"versionId","value":"f36271fe-4b83-45bd-95b5-20a54584620c"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom error message\"\n}"}],"_postman_id":"6d2a6f63-ce7c-4a58-908c-0e0250581621"},{"name":"Get file versions","id":"6c26fe7f-7f82-413f-b582-2aadd11ed939","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mypackbrain.com/v1/files/:fileId/versions","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["files",":fileId","versions"],"host":["https://api.mypackbrain.com/v1"],"query":[],"variable":[{"id":"d9c8debe-24a2-4f0e-b988-6068be9bc071","description":{"content":"<p>Required. ID of the file to retrieve.</p>\n","type":"text/plain"},"type":"any","value":null,"key":"fileId"}]}},"response":[{"id":"b6df29c1-687e-4cad-8295-1d7392d8ca89","name":"Success","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/versions","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId","versions"],"variable":[{"key":"fileId","value":"a7ea56ee-6b5f-4409-81f2-ec7176388521"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"7d847b84-61ad-4499-8a7d-0cfee9991ae4\",\n        \"fileId\": \"a7ea56ee-6b5f-4409-81f2-ec7176388521\",\n        \"name\": \"Yogurt Bottle - Vanilla\",\n        \"version\": \"1\",\n        \"created\": \"2021-07-25T10:36:15.783\",\n        \"fileUrl\": \"https://files.mypackbrain.com/60b8d319-2f8f-44a9-b295-6c85af450540-tenant-data/7d847b84-61ad-4499-8a7d-0cfee9991ae4/original.pdf?st=2022-03-22T05%3A49%3A09Z&se=2022-03-22T06%3A39%3A09Z&sr=b&sp=r&sig=GLqbiDwYweXW4y2NczDxmWDzrJCc89oFfgBMTieGPww%3D\",\n        \"thumbnailUrl\": \"https://files.mypackbrain.com/60b8d319-2f8f-44a9-b295-6c85af450540-tenant-data/7d847b84-61ad-4499-8a7d-0cfee9991ae4/small.png?st=2022-03-22T05%3A49%3A09Z&se=2022-03-22T06%3A39%3A09Z&sr=b&sp=r&sig=GLqbiDwYweXW4y2NczDxmWDzrJCc89oFfgBMTieGPww%3D\"\n    },\n    {\n        \"id\": \"e2790c40-f03b-4970-b388-e37dccb70db5\",\n        \"fileId\": \"a7ea56ee-6b5f-4409-81f2-ec7176388521\",\n        \"name\": \"Yogurt Bottle - Strawberry\",\n        \"version\": \"2\",\n        \"created\": \"2022-02-25T21:13:15.783\",\n        \"fileUrl\": \"https://files.mypackbrain.com/60b8d319-2f8f-44a9-b295-6c85af450540-tenant-data/e2790c40-f03b-4970-b388-e37dccb70db5/original.pdf?st=2022-03-22T05%3A49%3A09Z&se=2022-03-22T06%3A39%3A09Z&sr=b&sp=r&sig=GLqbiDwYweXW4y2NczDxmWDzrJCc89oFfgBMTieGPww%3D\",\n        \"thumbnailUrl\": \"https://files.mypackbrain.com/60b8d319-2f8f-44a9-b295-6c85af450540-tenant-data/e2790c40-f03b-4970-b388-e37dccb70db5/small.png?st=2022-03-22T05%3A49%3A09Z&se=2022-03-22T06%3A39%3A09Z&sr=b&sp=r&sig=GLqbiDwYweXW4y2NczDxmWDzrJCc89oFfgBMTieGPww%3D\"\n    },\n    {\n        \"id\": \"f0b625b3-6910-452d-a72b-586c1597f159\",\n        \"fileId\": \"a7ea56ee-6b5f-4409-81f2-ec7176388521\",\n        \"name\": \"Yogurt Bottle - Chocolate\",\n        \"version\": \"3\",\n        \"created\": \"2022-11-25T15:36:15.783\",\n        \"fileUrl\": \"https://files.mypackbrain.com/60b8d319-2f8f-44a9-b295-6c85af450540-tenant-data/f0b625b3-6910-452d-a72b-586c1597f159/original.pdf?st=2022-03-22T05%3A49%3A09Z&se=2022-03-22T06%3A39%3A09Z&sr=b&sp=r&sig=GLqbiDwYweXW4y2NczDxmWDzrJCc89oFfgBMTieGPww%3D\",\n        \"thumbnailUrl\": \"https://files.mypackbrain.com/60b8d319-2f8f-44a9-b295-6c85af450540-tenant-data/f0b625b3-6910-452d-a72b-586c1597f159/small.png?st=2022-03-22T05%3A49%3A09Z&se=2022-03-22T06%3A39%3A09Z&sr=b&sp=r&sig=GLqbiDwYweXW4y2NczDxmWDzrJCc89oFfgBMTieGPww%3D\"\n    }\n]"},{"id":"9a3904c9-bef8-46b8-b16e-35a6f9c2188b","name":"Not Found","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/versions","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId","versions"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Resource \\\"Element\\\" with id \\\"7d847b84-61ad-4499-8a7d-0cfee9991ae4\\\" does not exist\"\n}"},{"id":"d7e146f0-7721-4849-ad83-b6546f80b468","name":"Unprocessable Entity","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/versions","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId","versions"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"},{"id":"f4161b0e-1d33-4ee2-b217-fe7d0aa0ae09","name":"Forbidden","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/versions","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId","versions"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"},{"id":"668a6bc8-ae33-4aa6-b680-01fa109e9215","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/versions","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId","versions"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"User is not authenticated\"\n}"},{"id":"7d917498-3c10-4aac-aa1c-a56f9d6b740a","name":"Internal Server Error","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/versions","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId","versions"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom error message\"\n}"}],"_postman_id":"6c26fe7f-7f82-413f-b582-2aadd11ed939"},{"name":"Get linked files (latest version)","id":"6899f84d-43d2-42c6-97ce-96e0cae1efeb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mypackbrain.com/v1/files/:fileId/linked","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["files",":fileId","linked"],"host":["https://api.mypackbrain.com/v1"],"query":[],"variable":[{"description":{"content":"<p>Required. ID of the file to retrieve.</p>\n","type":"text/plain"},"type":"any","value":null,"key":"fileId"}]}},"response":[{"id":"03473643-2e16-459a-9b28-caac81d047f9","name":"Success","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/linked","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId","linked"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"versionId\": \"303ea338-f31a-46fa-9d53-4fe282bbe0e5\",\n        \"fileId\": \"a7ea56ee-6b5f-4409-81f2-ec7176388521\",\n        \"name\": \"Yogurt Bottle - Vanilla\",\n        \"created\": \"2021-07-25T10:36:15.783\",\n        \"fileUrl\": \"https://files.mypackbrain.com/60b8d319-2f8f-44a9-b295-6c85af450540-tenant-data/303ea338-f31a-46fa-9d53-4fe282bbe0e5/original.pdf?st=2022-03-22T05%3A49%3A09Z&se=2022-03-22T06%3A39%3A09Z&sr=b&sp=r&sig=GLqbiDwYweXW4y2NczDxmWDzrJCc89oFfgBMTieGPww%3D\",\n        \"thumbnailUrl\": \"https://files.mypackbrain.com/60b8d319-2f8f-44a9-b295-6c85af450540-tenant-data/303ea338-f31a-46fa-9d53-4fe282bbe0e5small.png?st=2022-03-22T05%3A49%3A09Z&se=2022-03-22T06%3A39%3A09Z&sr=b&sp=r&sig=GLqbiDwYweXW4y2NczDxmWDzrJCc89oFfgBMTieGPww%3D\"\n    },\n    {\n        \"versionId\": \"e2790c40-f03b-4970-b388-e37dccb70db5\",\n        \"fileId\": \"a7ea56ee-6b5f-4409-81f2-ec7176388521\",\n        \"name\": \"Yogurt Bottle - Strawberry\",\n        \"created\": \"2022-02-25T21:13:15.783\",\n        \"fileUrl\": \"https://files.mypackbrain.com/60b8d319-2f8f-44a9-b295-6c85af450540-tenant-data/e2790c40-f03b-4970-b388-e37dccb70db5/original.pdf?st=2022-03-22T05%3A49%3A09Z&se=2022-03-22T06%3A39%3A09Z&sr=b&sp=r&sig=GLqbiDwYweXW4y2NczDxmWDzrJCc89oFfgBMTieGPww%3D\",\n        \"thumbnailUrl\": \"https://files.mypackbrain.com/60b8d319-2f8f-44a9-b295-6c85af450540-tenant-data/e2790c40-f03b-4970-b388-e37dccb70db5/small.png?st=2022-03-22T05%3A49%3A09Z&se=2022-03-22T06%3A39%3A09Z&sr=b&sp=r&sig=GLqbiDwYweXW4y2NczDxmWDzrJCc89oFfgBMTieGPww%3D\"\n    },\n    {\n        \"versionId\": \"f0b625b3-6910-452d-a72b-586c1597f159\",\n        \"fileId\": \"a7ea56ee-6b5f-4409-81f2-ec7176388521\",\n        \"name\": \"Yogurt Bottle - Chocolate\",\n        \"created\": \"2022-11-25T15:36:15.783\",\n        \"fileUrl\": \"https://files.mypackbrain.com/60b8d319-2f8f-44a9-b295-6c85af450540-tenant-data/f0b625b3-6910-452d-a72b-586c1597f159/original.pdf?st=2022-03-22T05%3A49%3A09Z&se=2022-03-22T06%3A39%3A09Z&sr=b&sp=r&sig=GLqbiDwYweXW4y2NczDxmWDzrJCc89oFfgBMTieGPww%3D\",\n        \"thumbnailUrl\": \"https://files.mypackbrain.com/60b8d319-2f8f-44a9-b295-6c85af450540-tenant-data/f0b625b3-6910-452d-a72b-586c1597f159/small.png?st=2022-03-22T05%3A49%3A09Z&se=2022-03-22T06%3A39%3A09Z&sr=b&sp=r&sig=GLqbiDwYweXW4y2NczDxmWDzrJCc89oFfgBMTieGPww%3D\"\n    }\n]"},{"id":"74e8f0d6-eedf-41c7-a157-96cea46f080f","name":"Not Found","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/linked","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId","linked"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Resource \\\"Element\\\" with id \\\"7d847b84-61ad-4499-8a7d-0cfee9991ae4\\\" does not exist\"\n}"},{"id":"00ec28ec-1ab2-4c85-87f8-843694dc1934","name":"Unprocessable Entity","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/linked","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId","linked"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"},{"id":"96b3b546-2d0c-4f13-9570-cdea034f7a47","name":"Forbidden","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/linked","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId","linked"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"},{"id":"8d6e1a33-e468-4219-90ff-fe50af84921c","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/linked","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId","linked"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"User is not authenticated\"\n}"},{"id":"7a9e3918-54fa-4a61-986d-109197eecdb8","name":"Internal Server Error","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/linked","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId","linked"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom error message\"\n}"}],"_postman_id":"6899f84d-43d2-42c6-97ce-96e0cae1efeb"},{"name":"Get linked files (specific version)","id":"900f9534-de07-4b82-a9d6-198023f24373","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mypackbrain.com/v1/files/:fileId/:versionId/linked","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["files",":fileId",":versionId","linked"],"host":["https://api.mypackbrain.com/v1"],"query":[],"variable":[{"description":{"content":"<p>Required. ID of the file to retrieve.</p>\n","type":"text/plain"},"type":"any","value":null,"key":"fileId"},{"description":{"content":"<p>Required. ID of the file's version to retrieve.</p>\n","type":"text/plain"},"type":"any","value":null,"key":"versionId"}]}},"response":[{"id":"4ae81e7d-23e5-4529-ad59-d7e94def6a1a","name":"Success","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/:versionId/linked","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId",":versionId","linked"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"},{"key":"versionId","value":"f36271fe-4b83-45bd-95b5-20a54584620c"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"versionId\": \"303ea338-f31a-46fa-9d53-4fe282bbe0e5\",\n        \"fileId\": \"a7ea56ee-6b5f-4409-81f2-ec7176388521\",\n        \"name\": \"Yogurt Bottle - Vanilla\",\n        \"created\": \"2021-07-25T10:36:15.783\",\n        \"fileUrl\": \"https://files.mypackbrain.com/60b8d319-2f8f-44a9-b295-6c85af450540-tenant-data/303ea338-f31a-46fa-9d53-4fe282bbe0e5/original.pdf?st=2022-03-22T05%3A49%3A09Z&se=2022-03-22T06%3A39%3A09Z&sr=b&sp=r&sig=GLqbiDwYweXW4y2NczDxmWDzrJCc89oFfgBMTieGPww%3D\",\n        \"thumbnailUrl\": \"https://files.mypackbrain.com/60b8d319-2f8f-44a9-b295-6c85af450540-tenant-data/303ea338-f31a-46fa-9d53-4fe282bbe0e5small.png?st=2022-03-22T05%3A49%3A09Z&se=2022-03-22T06%3A39%3A09Z&sr=b&sp=r&sig=GLqbiDwYweXW4y2NczDxmWDzrJCc89oFfgBMTieGPww%3D\"\n    },\n    {\n        \"versionId\": \"e2790c40-f03b-4970-b388-e37dccb70db5\",\n        \"fileId\": \"a7ea56ee-6b5f-4409-81f2-ec7176388521\",\n        \"name\": \"Yogurt Bottle - Strawberry\",\n        \"created\": \"2022-02-25T21:13:15.783\",\n        \"fileUrl\": \"https://files.mypackbrain.com/60b8d319-2f8f-44a9-b295-6c85af450540-tenant-data/e2790c40-f03b-4970-b388-e37dccb70db5/original.pdf?st=2022-03-22T05%3A49%3A09Z&se=2022-03-22T06%3A39%3A09Z&sr=b&sp=r&sig=GLqbiDwYweXW4y2NczDxmWDzrJCc89oFfgBMTieGPww%3D\",\n        \"thumbnailUrl\": \"https://files.mypackbrain.com/60b8d319-2f8f-44a9-b295-6c85af450540-tenant-data/e2790c40-f03b-4970-b388-e37dccb70db5/small.png?st=2022-03-22T05%3A49%3A09Z&se=2022-03-22T06%3A39%3A09Z&sr=b&sp=r&sig=GLqbiDwYweXW4y2NczDxmWDzrJCc89oFfgBMTieGPww%3D\"\n    },\n    {\n        \"versionId\": \"f0b625b3-6910-452d-a72b-586c1597f159\",\n        \"fileId\": \"a7ea56ee-6b5f-4409-81f2-ec7176388521\",\n        \"name\": \"Yogurt Bottle - Chocolate\",\n        \"created\": \"2022-11-25T15:36:15.783\",\n        \"fileUrl\": \"https://files.mypackbrain.com/60b8d319-2f8f-44a9-b295-6c85af450540-tenant-data/f0b625b3-6910-452d-a72b-586c1597f159/original.pdf?st=2022-03-22T05%3A49%3A09Z&se=2022-03-22T06%3A39%3A09Z&sr=b&sp=r&sig=GLqbiDwYweXW4y2NczDxmWDzrJCc89oFfgBMTieGPww%3D\",\n        \"thumbnailUrl\": \"https://files.mypackbrain.com/60b8d319-2f8f-44a9-b295-6c85af450540-tenant-data/f0b625b3-6910-452d-a72b-586c1597f159/small.png?st=2022-03-22T05%3A49%3A09Z&se=2022-03-22T06%3A39%3A09Z&sr=b&sp=r&sig=GLqbiDwYweXW4y2NczDxmWDzrJCc89oFfgBMTieGPww%3D\"\n    }\n]"},{"id":"f6453bb9-713f-438c-bae9-7bd228dbc678","name":"Not Found","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/:versionId/linked","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId",":versionId","linked"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"},{"key":"versionId","value":"f36271fe-4b83-45bd-95b5-20a54584620c"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Resource \\\"Element\\\" with id \\\"7d847b84-61ad-4499-8a7d-0cfee9991ae4\\\" does not exist\"\n}"},{"id":"fa72feed-7352-4bb4-8726-aa89c993c31e","name":"Unprocessable Entity","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/:versionId/linked","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId",":versionId","linked"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"},{"key":"versionId","value":"f36271fe-4b83-45bd-95b5-20a54584620c"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"},{"id":"b1d768c1-94c9-4a74-8ce0-98d59e75d949","name":"Forbidden","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/:versionId/linked","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId",":versionId","linked"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"},{"key":"versionId","value":"f36271fe-4b83-45bd-95b5-20a54584620c"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"},{"id":"9a717027-45e7-4526-a66d-58b031ff377e","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/:versionId/linked","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId",":versionId","linked"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"},{"key":"versionId","value":"f36271fe-4b83-45bd-95b5-20a54584620c"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"User is not authenticated\"\n}"},{"id":"bd7bbe05-90c8-46af-be7a-12b6f296d1be","name":"Internal Server Error","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/:versionId/linked","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId",":versionId","linked"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"},{"key":"versionId","value":"f36271fe-4b83-45bd-95b5-20a54584620c"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom error message\"\n}"}],"_postman_id":"900f9534-de07-4b82-a9d6-198023f24373"},{"name":"Upload a file","id":"49292f3f-0632-4a5d-ab4b-32236669c140","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"<p>Required. The content of the file to upload. Maximum size is 100MB.</p>\n","type":"file","value":null}]},"url":"https://api.mypackbrain.com/v1/files","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["files"],"host":["https://api.mypackbrain.com/v1"],"query":[],"variable":[]}},"response":[{"id":"157fad67-b7ae-4bfa-85d5-bef1b632d53f","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"Required. The content of the file to upload. Maximum size is 100MB.","type":"file","value":null}]},"url":"https://api.mypackbrain.com/v1/files"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"1355b624-278f-4bed-acc3-5f0697c13e72\",\n    \"name\": \"My Brand Logotype\",\n    \"versions\": [\n        {\n            \"id\": \"0aecb90b-9beb-4c89-b189-efb9e809854c\",\n            \"version\": \"1\",\n            \"fileUrl\": \"https://files.mypackbrain.com/60b8d319-2f8f-44a9-b295-6c85af450540-tenant-data/7d847b84-61ad-4499-8a7d-0cfee9991ae4/original.pdf?sv=2021-08-06&se=2022-11-30T15%3A19%3A07Z&sr=b&sp=r&sig=dzPbGplo2On0gEqo%2BGnvJyoG5J3AijcTIr2oHegIPNY%3D\",\n            \"thumbnailUrl\": null\n        }\n    ]\n}"},{"id":"b308f8a1-167d-40e4-9ec3-e11a327b8aeb","name":"Bad Request","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"Required. The content of the file to upload. Maximum size is 100MB.","type":"file","value":null}]},"url":"https://api.mypackbrain.com/v1/files"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"},{"id":"d245f609-a3d0-4a22-8e81-cd4da047ea96","name":"Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"Required. The content of the file to upload. Maximum size is 100MB.","type":"file","value":null}]},"url":"https://api.mypackbrain.com/v1/files"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"User is not authenticated\"\n}"},{"id":"66ac4e06-090c-4331-b5b8-4b181034ac3f","name":"Forbidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"Required. The content of the file to upload. Maximum size is 100MB.","type":"file","value":null}]},"url":"https://api.mypackbrain.com/v1/files"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"},{"id":"687bacf5-324b-41f7-afde-95213c44d4d4","name":"Request Entity Too Large","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"Required. The content of the file to upload. Maximum size is 100MB.","type":"file","value":null}]},"url":"https://api.mypackbrain.com/v1/files"},"status":"Request Entity Too Large","code":413,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"The page was not displayed because the request entity is too large."},{"id":"1496789d-2b09-44e8-960f-b0f303cc4e7c","name":"Unprocessable Entity","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"Required. The content of the file to upload. Maximum size is 100MB.","type":"file","value":null}]},"url":"https://api.mypackbrain.com/v1/files"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"},{"id":"eb789cdd-6851-43e8-988f-6243d7a160fe","name":"Internal Server Error","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"Required. The content of the file to upload. Maximum size is 100MB.","type":"file","value":null}]},"url":"https://api.mypackbrain.com/v1/files"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"}],"_postman_id":"49292f3f-0632-4a5d-ab4b-32236669c140"},{"name":"Upload a file version","id":"400404b6-fd16-40e1-8d09-194421f7232b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"<p>Required. The content of the file to upload. Maximum size is 100MB.</p>\n","type":"file","value":null}]},"url":"https://api.mypackbrain.com/v1/files/:fileId/versions","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["files",":fileId","versions"],"host":["https://api.mypackbrain.com/v1"],"query":[],"variable":[{"description":{"content":"<p>Required. ID of the file for which versions will be uploaded.</p>\n","type":"text/plain"},"type":"any","value":null,"key":"fileId"}]}},"response":[{"id":"e851fdf7-0948-4e81-8147-7478c02506cd","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"Required. The content of the file to upload. Maximum size is 100MB.","type":"file","value":null}]},"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/versions","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId","versions"],"variable":[{"key":"fileId","value":"1355b624-278f-4bed-acc3-5f0697c13e72"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"7d847b84-61ad-4499-8a7d-0cfee9991ae4\",\n    \"fielId\": \"a7ea56ee-6b5f-4409-81f2-ec7176388521\",\n    \"name\": \"Yogurt Bottle - Vanilla\",\n    \"version\": \"3\",\n    \"created\": \"2022-11-25T15:36:15.783\",\n    \"fileUrl\": \"https://files.mypackbrain.com/60b8d319-2f8f-44a9-b295-6c85af450540-tenant-data/7f2699e3-cd18-4479-813a-36b1fdd51ec8/original.pdf?sv=2021-08-06&se=2022-11-30T15%3A22%3A02Z&sr=b&sp=r&sig=qrvPIL3vmwTKtu4BJcYmHS6O7D7Cshk4gLmkO1Qla0A%3D\",\n    \"thumbnailUrl\": null\n}"},{"id":"0fbea7e8-8a48-4939-a62a-e601c54fb32e","name":"Bad Request","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"Required. The content of the file to upload. Maximum size is 100MB.","type":"file","value":null}]},"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/versions","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId","versions"],"variable":[{"key":"fileId","value":"1355B624-278F-4BED-ACC3-5F0697C13E72"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"},{"id":"a2d3e2c8-2cd0-4205-927f-cba942a6957e","name":"Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"Required. The content of the file to upload. Maximum size is 100MB.","type":"file","value":null}]},"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/versions","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId","versions"],"variable":[{"key":"fileId","value":"1355B624-278F-4BED-ACC3-5F0697C13E72"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"User is not authenticated\"\n}"},{"id":"ce680790-414f-4560-9eb9-316c4c503d3c","name":"Forbidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"Required. The content of the file to upload. Maximum size is 100MB.","type":"file","value":null}]},"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/versions","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId","versions"],"variable":[{"key":"fileId","value":"1355B624-278F-4BED-ACC3-5F0697C13E72"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"},{"id":"818285db-1979-427d-a69b-6daca708b5b5","name":"Not Found","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"Required. The content of the file to upload. Maximum size is 100MB.","type":"file","value":null}]},"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/versions","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId","versions"],"variable":[{"key":"fileId","value":"1355B624-278F-4BED-ACC3-5F0697C13E72"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Resource \\\"Element\\\" with id \\\"1355B624-278F-4BED-ACC3-5F0697C13E72\\\" does not exist\"\n}"},{"id":"0a519617-db52-4394-b354-68adad479097","name":"Conflict","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"Required. The content of the file to upload. Maximum size is 100MB.","type":"file","value":null}]},"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/versions","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId","versions"],"variable":[{"key":"fileId","value":"1355B624-278F-4BED-ACC3-5F0697C13E72"}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Cannot add 'pdf' file to element of 'psd' type\"\n}"},{"id":"a4dc1e58-846f-4c64-a4d4-f15b2221c489","name":"Request Entity Too Large","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"Required. The content of the file to upload. Maximum size is 100MB.","type":"file","value":null}]},"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/versions","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId","versions"],"variable":[{"key":"fileId","value":"1355B624-278F-4BED-ACC3-5F0697C13E72"}]}},"status":"Request Entity Too Large","code":413,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"The page was not displayed because the request entity is too large."},{"id":"e73a93c5-f16c-4e70-b9a0-c569360c4dc0","name":"Unprocessable Entity","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"Required. The content of the file to upload. Maximum size is 100MB.","type":"file","value":null}]},"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/versions","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId","versions"],"variable":[{"key":"fileId","value":"1355B624-278F-4BED-ACC3-5F0697C13E72"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"},{"id":"bf20fd34-b3b5-425d-98fe-14128b21338b","name":"Internal Server Error","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"Required. The content of the file to upload. Maximum size is 100MB.","type":"file","value":null}]},"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/versions","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId","versions"],"variable":[{"key":"fileId","value":"1355B624-278F-4BED-ACC3-5F0697C13E72"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"}],"_postman_id":"400404b6-fd16-40e1-8d09-194421f7232b"},{"name":"Update file details (latest version)","id":"8f091ce1-227e-458f-aead-e4d11649ced3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"url":"https://api.mypackbrain.com/v1/files/:fileId","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["files",":fileId"],"host":["https://api.mypackbrain.com/v1"],"query":[],"variable":[{"id":"ecbf280d-c90f-4bf9-a18a-f17a3a3db4f2","description":{"content":"<p>Required. ID of the file to update.</p>\n","type":"text/plain"},"type":"any","value":null,"key":"fileId"}]}},"response":[{"id":"e7dcf591-bf49-44ca-b9f4-84d5f7b0e9b3","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"My Brand Logotype\",\r\n    \"description\": \"The updated version of Brand Logotype\",\r\n    \"properties\": [\r\n        {\r\n            \"propertyName\": \"Is Assigned\",\r\n            \"propertyValue\": \"yes\"\r\n        }\r\n    ],\r\n    \"tags\": [\r\n        \"Brand\",\r\n        \"Logotype\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"f36271fe-4b83-45bd-95b5-20a54584620c\",\n    \"name\": \"My Brand Logotype\",\n    \"description\": \"The updated version of Brand Logotype\",\n    \"created\": \"2022-11-25T15:36:15.783\",\n    \"metadata\": {\n        \"colorProfile\": \"False\",\n        \"colorSpace\": \"None\",\n        \"format\": \"Pdf\",\n        \"depth\": \"32\",\n        \"height\": \"841.88976\",\n        \"width\": \"595.27559\",\n        \"requestId\": \"cc0d57ff-f403-441a-87c4-77fa22114fbb\",\n        \"variantId\": \"504a2d53-5509-9a5b-bc5d-c66f569fb0aa\",\n        \"designId\": \"692a1f0e-23b4-60bb-9539-e9342bbc1f5d\"\n    },\n    \"properties\": [\n        {\n            \"propertyName\": \"Is Assigned\",\n            \"propertyValue\": \"yes\"\n        }\n    ],\n    \"tags\": [\n        \"Brand\",\n        \"Logotype\"\n    ],\n    \"fileUrl\": \"https://files.mypackbrain.com/60b8d319-2f8f-44a9-b295-6c85af450540-tenant-data/f36271fe-4b83-45bd-95b5-20a54584620c/Brand Logotype.pdf?st=2022-03-22T05%3A49%3A09Z&se=2022-03-22T06%3A39%3A09Z&sr=b&sp=r&sig=GLqbiDwYweXW4y2NczDxmWDzrJCc89oFfgBMTieGPww%3D\",\n    \"thumbnailUrl\": \"https://files.mypackbrain.com/60b8d319-2f8f-44a9-b295-6c85af450540-tenant-data/f36271fe-4b83-45bd-95b5-20a54584620c/medium.png?st=2022-03-22T05%3A49%3A09Z&se=2022-03-22T06%3A39%3A09Z&sr=b&sp=r&sig=GLqbiDwYweXW4y2NczDxmWDzrJCc89oFfgBMTieGPww%3D\"\n}"},{"id":"70676c61-ecfd-46cf-b21d-a60253750c3f","name":"Not Found","originalRequest":{"method":"DELETE","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Resource \\\"Element\\\" with id \\\"7d847b84-61ad-4499-8a7d-0cfee9991ae4\\\" does not exist\"\n}"},{"id":"6c6f0b61-9a6a-48e0-9099-186c6277dcab","name":"Bad Request","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"Required. The content of the file to upload. Maximum size is 100MB.","type":"file","value":null}]},"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"},{"id":"56d41725-9630-4ab8-a6f0-90b5e235d62e","name":"Unprocessable Entity","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"Required. The content of the file to upload. Maximum size is 100MB.","type":"file","value":null}]},"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"},{"id":"a12ec9b1-3c4d-4578-b13e-bed769890f0b","name":"Forbidden","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"Required. The content of the file to upload. Maximum size is 100MB.","type":"file","value":null}]},"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"},{"id":"15558aca-0a1f-4f74-a9b8-8dab6ca73768","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"Required. The content of the file to upload. Maximum size is 100MB.","type":"file","value":null}]},"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"User is not authenticated\"\n}"},{"id":"4bc53402-113d-4105-8ea2-8f11cd5898a4","name":"Internal Server Error","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"Required. The content of the file to upload. Maximum size is 100MB.","type":"file","value":null}]},"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"}],"_postman_id":"8f091ce1-227e-458f-aead-e4d11649ced3"},{"name":"Update file details (specific version)","id":"b1714e05-2631-455a-acd4-d489dab6751c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"url":"https://api.mypackbrain.com/v1/files/:fileId/:versionId","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["files",":fileId",":versionId"],"host":["https://api.mypackbrain.com/v1"],"query":[],"variable":[{"id":"36ab7385-0d35-422f-bdc1-1491952bb5f8","description":{"content":"<p>Required. ID of the file to update.</p>\n","type":"text/plain"},"type":"any","value":null,"key":"fileId"},{"id":"5daaebbf-43a3-4ec7-bb5d-8f16a50b63fb","description":{"content":"<p>Required. ID of the file's version to update.</p>\n","type":"text/plain"},"type":"any","value":null,"key":"versionId"}]}},"response":[{"id":"db67fb12-0f68-4b4a-aa71-17c83f595de5","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"My Brand Logotype\",\r\n    \"description\": \"The updated version of Brand Logotype\",\r\n    \"properties\": [\r\n        {\r\n            \"propertyName\": \"Is Assigned\",\r\n            \"propertyValue\": \"yes\"\r\n        }\r\n    ],\r\n    \"tags\": [\r\n        \"Brand\",\r\n        \"Logotype\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/:versionId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId",":versionId"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"},{"key":"versionId","value":"f36271fe-4b83-45bd-95b5-20a54584620c"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"f36271fe-4b83-45bd-95b5-20a54584620c\",\n    \"name\": \"My Brand Logotype\",\n    \"description\": \"The updated version of Brand Logotype\",\n    \"created\": \"2022-11-25T15:36:15.783\",\n    \"metadata\": {\n        \"colorProfile\": \"False\",\n        \"colorSpace\": \"None\",\n        \"format\": \"Pdf\",\n        \"depth\": \"32\",\n        \"height\": \"841.88976\",\n        \"width\": \"595.27559\",\n        \"requestId\": \"cc0d57ff-f403-441a-87c4-77fa22114fbb\",\n        \"variantId\": \"504a2d53-5509-9a5b-bc5d-c66f569fb0aa\",\n        \"designId\": \"692a1f0e-23b4-60bb-9539-e9342bbc1f5d\"\n    },\n    \"properties\": [\n        {\n            \"propertyName\": \"Is Assigned\",\n            \"propertyValue\": \"yes\"\n        }\n    ],\n    \"tags\": [\n        \"Brand\",\n        \"Logotype\"\n    ],\n    \"fileUrl\": \"https://files.mypackbrain.com/60b8d319-2f8f-44a9-b295-6c85af450540-tenant-data/f36271fe-4b83-45bd-95b5-20a54584620c/Brand Logotype.pdf?st=2022-03-22T05%3A49%3A09Z&se=2022-03-22T06%3A39%3A09Z&sr=b&sp=r&sig=GLqbiDwYweXW4y2NczDxmWDzrJCc89oFfgBMTieGPww%3D\",\n    \"thumbnailUrl\": \"https://files.mypackbrain.com/60b8d319-2f8f-44a9-b295-6c85af450540-tenant-data/f36271fe-4b83-45bd-95b5-20a54584620c/medium.png?st=2022-03-22T05%3A49%3A09Z&se=2022-03-22T06%3A39%3A09Z&sr=b&sp=r&sig=GLqbiDwYweXW4y2NczDxmWDzrJCc89oFfgBMTieGPww%3D\"\n}"},{"id":"a58c1e24-d722-492d-96c2-cc63e0baa426","name":"Not Found","originalRequest":{"method":"DELETE","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/:versionId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId",":versionId"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"},{"key":"versionId","value":"f36271fe-4b83-45bd-95b5-20a54584620c"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Resource \\\"ElementVersion\\\" with id \\\"f36271fe-4b83-45bd-95b5-20a54584620c\\\" does not exist\"\n}"},{"id":"11396e33-0e91-4e1f-b364-80a03f3e49f6","name":"Bad Request","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"Required. The content of the file to upload. Maximum size is 100MB.","type":"file","value":null}]},"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/:versionId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId",":versionId"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"},{"key":"versionId","value":"f36271fe-4b83-45bd-95b5-20a54584620c"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"},{"id":"6b90361d-9515-4a08-b0bd-5d6746170837","name":"Unprocessable Entity","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"Required. The content of the file to upload. Maximum size is 100MB.","type":"file","value":null}]},"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/:versionId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId",":versionId"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"},{"key":"versionId","value":"f36271fe-4b83-45bd-95b5-20a54584620c"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"},{"id":"869b2ac4-088a-473b-b9ea-9bf1ea8cb8ca","name":"Forbidden","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"Required. The content of the file to upload. Maximum size is 100MB.","type":"file","value":null}]},"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/:versionId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId",":versionId"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"},{"key":"versionId","value":"f36271fe-4b83-45bd-95b5-20a54584620c"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"},{"id":"d03f079a-8750-4f64-83a4-f03c9867a9d9","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"Required. The content of the file to upload. Maximum size is 100MB.","type":"file","value":null}]},"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/:versionId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId",":versionId"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"},{"key":"versionId","value":"f36271fe-4b83-45bd-95b5-20a54584620c"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"User is not authenticated\"\n}"},{"id":"b421b682-b9fc-4389-afe1-1495faf79e91","name":"Internal Server Error","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"Required. The content of the file to upload. Maximum size is 100MB.","type":"file","value":null}]},"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/:versionId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId",":versionId"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"},{"key":"versionId","value":"f36271fe-4b83-45bd-95b5-20a54584620c"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"}],"_postman_id":"b1714e05-2631-455a-acd4-d489dab6751c"},{"name":"Delete a file","id":"9a702722-9509-44f0-a688-1fb494d9d3a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.mypackbrain.com/v1/files/:fileId","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["files",":fileId"],"host":["https://api.mypackbrain.com/v1"],"query":[],"variable":[{"description":{"content":"<p>Required. ID of the file to be removed.</p>\n","type":"text/plain"},"type":"any","value":null,"key":"fileId"}]}},"response":[{"id":"7abd24f8-becd-4526-b323-142ff1bdee71","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId"],"variable":[{"key":"fileId","value":"722CF183-0A63-40B0-932A-C60C336BA0B8"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":""},{"id":"fedc83c3-4983-4635-b174-2b8623f67c0d","name":"Not Found","originalRequest":{"method":"DELETE","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId"],"variable":[{"key":"fileId","value":"722CF183-0A63-40B0-932A-C60C336BA0B8"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Resource \\\"Element\\\" with id \\\"722CF183-0A63-40B0-932A-C60C336BA0B8\\\" does not exist\"\n}"},{"id":"5dd5532e-e611-4784-b173-ee8ed435f2a7","name":"Conflict","originalRequest":{"method":"DELETE","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId"],"variable":[{"key":"fileId","value":"722CF183-0A63-40B0-932A-C60C336BA0B8"}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"File is locked.\"\n}"},{"id":"1fea145b-d5fb-41fa-9f1b-6215805565f3","name":"Unprocessable Entity","originalRequest":{"method":"DELETE","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId"],"variable":[{"key":"fileId","value":"722CF183-0A63-40B0-932A-C60C336BA0B8"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"},{"id":"ef154fa1-8653-4ce7-8e1b-54ec6500c0ae","name":"Forbidden","originalRequest":{"method":"DELETE","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId"],"variable":[{"key":"fileId","value":"722CF183-0A63-40B0-932A-C60C336BA0B8"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"},{"id":"23194a64-c691-4250-adf0-9c84da635d40","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId"],"variable":[{"key":"fileId","value":"722CF183-0A63-40B0-932A-C60C336BA0B8"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"User is not authenticated\"\n}"},{"id":"a3ef5970-aecf-4fb3-8d46-ff16d2134ad4","name":"Internal Server Error","originalRequest":{"method":"DELETE","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId"],"variable":[{"key":"fileId","value":"722CF183-0A63-40B0-932A-C60C336BA0B8"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom error message\"\n}"}],"_postman_id":"9a702722-9509-44f0-a688-1fb494d9d3a0"},{"name":"Delete a file version","id":"6df71a51-fc00-45c8-87b1-290a76251296","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.mypackbrain.com/v1/files/:fileId/versions/:fileVersionId","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["files",":fileId","versions",":fileVersionId"],"host":["https://api.mypackbrain.com/v1"],"query":[],"variable":[{"description":{"content":"<p>Required. ID of the file parent of the version.</p>\n","type":"text/plain"},"type":"any","value":null,"key":"fileId"},{"description":{"content":"<p>Required. ID of the file version to be removed.</p>\n","type":"text/plain"},"type":"any","value":null,"key":"fileVersionId"}]}},"response":[{"id":"85029e5e-6bda-448e-b121-7fd9e826c3ad","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/versions/:fileVersionId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId","versions",":fileVersionId"],"variable":[{"key":"fileId","value":"722CF183-0A63-40B0-932A-C60C336BA0B8"},{"key":"fileVersionId","value":"E956A4F0-446A-4147-8074-578475EA1AFB"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":""},{"id":"a7b8293e-aa88-46c9-b506-30ad47f8c2f8","name":"Not Found","originalRequest":{"method":"DELETE","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/versions/:fileVersionId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId","versions",":fileVersionId"],"variable":[{"key":"fileId","value":"722CF183-0A63-40B0-932A-C60C336BA0B8"},{"key":"fileVersionId","value":"E956A4F0-446A-4147-8074-578475EA1AFB"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Resource \\\"ElementVersion\\\" with id \\\"E956A4F0-446A-4147-8074-578475EA1AFB\\\" does not exist\"\n}"},{"id":"2783bc6b-9ae0-4ec7-b292-df64edebd6ed","name":"Conflict","originalRequest":{"method":"DELETE","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/versions/:fileVersionId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId","versions",":fileVersionId"],"variable":[{"key":"fileId","value":"722CF183-0A63-40B0-932A-C60C336BA0B8"},{"key":"fileVersionId","value":"E956A4F0-446A-4147-8074-578475EA1AFB"}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"File version is locked.\"\n}"},{"id":"b5e9f09f-a232-4eec-95cc-c79d36d9bd82","name":"Unprocessable Entity","originalRequest":{"method":"DELETE","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/versions/:fileVersionId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId","versions",":fileVersionId"],"variable":[{"key":"fileId","value":"722CF183-0A63-40B0-932A-C60C336BA0B8"},{"key":"fileVersionId","value":"E956A4F0-446A-4147-8074-578475EA1AFB"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"},{"id":"8cd1abaa-692d-483c-b65a-b3e27481f0bf","name":"Forbidden","originalRequest":{"method":"DELETE","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/versions/:fileVersionId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId","versions",":fileVersionId"],"variable":[{"key":"fileId","value":"722CF183-0A63-40B0-932A-C60C336BA0B8"},{"key":"fileVersionId","value":"E956A4F0-446A-4147-8074-578475EA1AFB"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"},{"id":"1c50abb3-d18a-417f-ab67-d0b048bd752b","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/versions/:fileVersionId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId","versions",":fileVersionId"],"variable":[{"key":"fileId","value":"722CF183-0A63-40B0-932A-C60C336BA0B8"},{"key":"fileVersionId","value":"E956A4F0-446A-4147-8074-578475EA1AFB"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"User is not authenticated\"\n}"},{"id":"c8a0134f-abf2-4e4c-8d8d-8e3eed0474da","name":"Internal Server Error","originalRequest":{"method":"DELETE","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/versions/:fileVersionId","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId","versions",":fileVersionId"],"variable":[{"key":"fileId","value":"722CF183-0A63-40B0-932A-C60C336BA0B8"},{"key":"fileVersionId","value":"E956A4F0-446A-4147-8074-578475EA1AFB"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom error message\"\n}"}],"_postman_id":"6df71a51-fc00-45c8-87b1-290a76251296"},{"name":"Delete multiple files","id":"503aaa4d-699a-4cc6-a4d9-6c3643940273","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"fileIds\" : [\r\n        \"722CF183-0A63-40B0-932A-C60C336BA0B8\",\r\n        \"663911C2-AA0B-4E15-A0DE-7A9B2414D3C3\"\r\n    ] \r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mypackbrain.com/v1/files/delete-requests","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["files","delete-requests"],"host":["https://api.mypackbrain.com/v1"],"query":[],"variable":[]}},"response":[{"id":"ed72c4e5-1b96-4dec-b762-9a61f0a1d401","name":"Success","originalRequest":{"method":"POST","header":[{"key":"api-key","value":"Basic {token}"}],"body":{"mode":"raw","raw":"{\r\n    \"fileIds\" : [\r\n        \"722CF183-0A63-40B0-932A-C60C336BA0B8\",\r\n        \"663911C2-AA0B-4E15-A0DE-7A9B2414D3C3\"\r\n    ] \r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mypackbrain.com/v1/files/delete-requests"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"results\": [\n        {\n            \"href\": \"https://api.mypackbrain.com/v1/files/722CF183-0A63-40B0-932A-C60C336BA0B8\",\n            \"status\": 409,\n            \"statusMessage\": \"File is locked.\"\n        },\n        {\n            \"href\": \"https://api.mypackbrain.com/v1/files/663911C2-AA0B-4E15-A0DE-7A9B2414D3C3\",\n            \"status\": 404,\n            \"statusMessage\": \"Cannot delete \\\"Element\\\" with id \\\"663911C2-AA0B-4E15-A0DE-7A9B2414D3C3\\\" becasue does not exist\"\n        },\n        {\n            \"href\": \"https://api.mypackbrain.com/v1/files/26D81973-94AF-428B-9795-0ADCEC48074C\",\n            \"status\": 200,\n            \"statusMessage\": null\n        }\n    ]\n}"},{"id":"1104d4bc-8e14-4203-91d2-affc52a612cb","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"api-key","value":"Basic {token}"}],"body":{"mode":"raw","raw":"{\r\n    \"fileIds\" : [\r\n        \"722CF183-0A63-40B0-932A-C60C336BA0B8\",\r\n        \"663911C2-AA0B-4E15-A0DE-7A9B2414D3C3\"\r\n    ] \r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mypackbrain.com/v1/files/delete-requests"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"},{"id":"cd78a713-01a6-437c-a173-11cca1dc5a1f","name":"Forbidden","originalRequest":{"method":"POST","header":[{"key":"api-key","value":"Basic {token}"}],"body":{"mode":"raw","raw":"{\r\n    \"fileIds\" : [\r\n        \"722CF183-0A63-40B0-932A-C60C336BA0B8\",\r\n        \"663911C2-AA0B-4E15-A0DE-7A9B2414D3C3\"\r\n    ] \r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mypackbrain.com/v1/files/delete-requests"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"},{"id":"e4d4afbb-e6f7-4d96-a9b5-1d462b45d096","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"api-key","value":"Basic {token}"}],"body":{"mode":"raw","raw":"{\r\n    \"fileIds\" : [\r\n        \"722CF183-0A63-40B0-932A-C60C336BA0B8\",\r\n        \"663911C2-AA0B-4E15-A0DE-7A9B2414D3C3\"\r\n    ] \r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mypackbrain.com/v1/files/delete-requests"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"User is not authenticated\"\n}"},{"id":"6aa127d5-37c8-43b7-ae8e-e4dc4c1a8fc4","name":"Internal Server Error","originalRequest":{"method":"POST","header":[{"key":"api-key","value":"Basic {token}"}],"body":{"mode":"raw","raw":"{\r\n    \"fileIds\" : [\r\n        \"722CF183-0A63-40B0-932A-C60C336BA0B8\",\r\n        \"663911C2-AA0B-4E15-A0DE-7A9B2414D3C3\"\r\n    ] \r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mypackbrain.com/v1/files/delete-requests"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom error message\"\n}"}],"_postman_id":"503aaa4d-699a-4cc6-a4d9-6c3643940273"},{"name":"Generate file public link (latest version)","id":"93a3842c-bf29-486e-bf3e-54a412d07733","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.mypackbrain.com/v1/files/:fileId/public-link","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["files",":fileId","public-link"],"host":["https://api.mypackbrain.com/v1"],"query":[],"variable":[{"id":"2f98c943-80ff-4a65-aca6-5471fd6ad38b","description":{"content":"<p>Required. ID of the file to update.</p>\n","type":"text/plain"},"type":"any","value":null,"key":"fileId"}]}},"response":[{"id":"165ac3a3-7221-4f5f-9942-a15683267b79","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"My Brand Logotype\",\r\n    \"description\": \"The updated version of Brand Logotype\",\r\n    \"properties\": [\r\n        {\r\n            \"propertyName\": \"Is Assigned\",\r\n            \"propertyValue\": \"yes\"\r\n        }\r\n    ],\r\n    \"tags\": [\r\n        \"Brand\",\r\n        \"Logotype\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/public-link","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId","public-link"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"fileId\": \"7d847b84-61ad-4499-8a7d-0cfee9991ae4\",\n    \"versionId\": \"f36271fe-4b83-45bd-95b5-20a54584620c\",\n    \"publicLink\": \"https://app.mypackbrain.com/gem/ElementPreview?id=0e79d13e-a60d-4919-bcd3-f08094f2adf1-0903f0d2-3489-46da-883f\"\n}"},{"id":"a7977f3b-947d-47c5-bf26-43806af50e8a","name":"Not Found","originalRequest":{"method":"POST","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/public-link","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId","public-link"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Resource \\\"Element\\\" with id \\\"7d847b84-61ad-4499-8a7d-0cfee9991ae4\\\" does not exist\"\n}"},{"id":"3482fd5d-0d60-4060-854f-37cb5b13fbd3","name":"Bad Request","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"Required. The content of the file to upload. Maximum size is 100MB.","type":"file","value":null}]},"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/public-link","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId","public-link"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"},{"id":"5f89a20b-0fde-4f4c-ad01-22acbd2a6991","name":"Unprocessable Entity","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"Required. The content of the file to upload. Maximum size is 100MB.","type":"file","value":null}]},"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/public-link","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId","public-link"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"},{"id":"270c486e-c51a-46d1-a3e6-864c535591b9","name":"Forbidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"Required. The content of the file to upload. Maximum size is 100MB.","type":"file","value":null}]},"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/public-link","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId","public-link"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"},{"id":"9c9f1eed-a963-4b3c-b06a-2956338ed6c0","name":"Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"Required. The content of the file to upload. Maximum size is 100MB.","type":"file","value":null}]},"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/public-link","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId","public-link"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"User is not authenticated\"\n}"},{"id":"d22b4449-1f98-469c-bdfc-602024879c12","name":"Internal Server Error","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"Required. The content of the file to upload. Maximum size is 100MB.","type":"file","value":null}]},"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/public-link","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId","public-link"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"}],"_postman_id":"93a3842c-bf29-486e-bf3e-54a412d07733"},{"name":"Generate file public link (specific version)","id":"ab6cc223-5d30-49fa-99ff-7eb4eb137252","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.mypackbrain.com/v1/files/:fileId/:versionId/public-link","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["files",":fileId",":versionId","public-link"],"host":["https://api.mypackbrain.com/v1"],"query":[],"variable":[{"id":"412603a6-b186-4bba-a11f-480c3c1e6eba","description":{"content":"<p>Required. ID of the file to update.</p>\n","type":"text/plain"},"type":"any","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4","key":"fileId"},{"id":"bb50f6c0-74b4-4f6c-88e3-e0fde7583c44","description":{"content":"<p>Required. ID of the file's version to update.</p>\n","type":"text/plain"},"type":"any","value":"f36271fe-4b83-45bd-95b5-20a54584620c","key":"versionId"}]}},"response":[{"id":"89c049ef-4188-45e5-a181-a1bed0766715","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"My Brand Logotype\",\r\n    \"description\": \"The updated version of Brand Logotype\",\r\n    \"properties\": [\r\n        {\r\n            \"propertyName\": \"Is Assigned\",\r\n            \"propertyValue\": \"yes\"\r\n        }\r\n    ],\r\n    \"tags\": [\r\n        \"Brand\",\r\n        \"Logotype\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/:versionId/public-link","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId",":versionId","public-link"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"},{"key":"versionId","value":"f36271fe-4b83-45bd-95b5-20a54584620c"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"fileId\": \"7d847b84-61ad-4499-8a7d-0cfee9991ae4\",\n    \"versionId\": \"f36271fe-4b83-45bd-95b5-20a54584620c\",\n    \"publicLink\": \"https://app.mypackbrain.com/gem/ElementPreview?id=0e79d13e-a60d-4919-bcd3-f08094f2adf1-0903f0d2-3489-46da-883f\"\n}"},{"id":"34a91ed9-4d0a-4fcd-a489-5d4b9280fd37","name":"Not Found","originalRequest":{"method":"POST","header":[{"key":"api-key","value":"Basic {token}"}],"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/:versionId/public-link","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId",":versionId","public-link"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"},{"key":"versionId","value":"f36271fe-4b83-45bd-95b5-20a54584620c"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Resource \\\"ElementVersion\\\" with id \\\"f36271fe-4b83-45bd-95b5-20a54584620c\\\" does not exist\"\n}"},{"id":"cc791e04-e3fb-44b8-b4a6-10148c00c07f","name":"Bad Request","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"Required. The content of the file to upload. Maximum size is 100MB.","type":"file","value":null}]},"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/:versionId/public-link","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId",":versionId","public-link"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"},{"key":"versionId","value":"f36271fe-4b83-45bd-95b5-20a54584620c"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"},{"id":"3c9d7afc-8f20-422b-bd19-a736455eb4c8","name":"Unprocessable Entity","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"Required. The content of the file to upload. Maximum size is 100MB.","type":"file","value":null}]},"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/:versionId/public-link","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId",":versionId","public-link"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"},{"key":"versionId","value":"f36271fe-4b83-45bd-95b5-20a54584620c"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"},{"id":"456b6348-104c-4eef-b911-f83274e9ce0a","name":"Forbidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"Required. The content of the file to upload. Maximum size is 100MB.","type":"file","value":null}]},"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/:versionId/public-link","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId",":versionId","public-link"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"},{"key":"versionId","value":"f36271fe-4b83-45bd-95b5-20a54584620c"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"},{"id":"b4ba68d6-8308-4e4c-a31f-71a7f51ecf33","name":"Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"Required. The content of the file to upload. Maximum size is 100MB.","type":"file","value":null}]},"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/:versionId/public-link","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId",":versionId","public-link"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"},{"key":"versionId","value":"f36271fe-4b83-45bd-95b5-20a54584620c"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"User is not authenticated\"\n}"},{"id":"b3cc21f9-770a-4780-b0d5-57c659288574","name":"Internal Server Error","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"file","description":"Required. The content of the file to upload. Maximum size is 100MB.","type":"file","value":null}]},"url":{"raw":"https://api.mypackbrain.com/v1/files/:fileId/:versionId/public-link","host":["https://api.mypackbrain.com/v1"],"path":["files",":fileId",":versionId","public-link"],"variable":[{"key":"fileId","value":"7d847b84-61ad-4499-8a7d-0cfee9991ae4"},{"key":"versionId","value":"f36271fe-4b83-45bd-95b5-20a54584620c"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom message\"\n}"}],"_postman_id":"ab6cc223-5d30-49fa-99ff-7eb4eb137252"}],"id":"561e7c8a-dfa7-45df-8ed0-73eb24981542","description":"<p>This is an object representing a file hosted on MYPACKBRAIN servers. The file may have been uploaded by yourself using the create file request or upload mechanism on the MYPACKBRAIN platform.</p>\n","_postman_id":"561e7c8a-dfa7-45df-8ed0-73eb24981542","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}}},{"name":"Brand Maps","item":[{"name":"List all Brand Maps","event":[{"listen":"test","script":{"id":"90fd2f87-cd8a-42ed-8d84-cf8f4675468b","exec":["const testEnvironment = pm.environment.name","","if (testEnvironment === \"Stage\" || testEnvironment === \"Production\") {","    const acceptResponseTime = parseInt(pm.globals.get(\"testAcceptResponseTime\"))","","    const schema = {","        \"type\":\"object\",","        \"properties\":{","            \"BrandsMaps\":{","                \"type\":\"array\",","                \"items\":{","                    \"type\":\"object\",","                    \"properties\":{","                    \"Id\":{","                        \"type\":\"string\"","                    },","                    \"Name\":{","                        \"type\":\"string\"","                    },","                    \"Created\":{","                        \"type\":\"string\"","                    }","                    },","                    \"additionalProperties\":false","                }","            },","            \"Alerts\":{   ","            }","        },","        \"additionalProperties\":false","    }","","    pm.test(\"Get Brand Maps for valid client\", function() {","        pm.response.to.have.status(200)","        pm.response.to.have.status(\"OK\")","        pm.response.to.have.jsonSchema(schema)","        pm.expect(pm.response.responseTime).to.be.below(acceptResponseTime);","    });","","    // pm.test(\"Get Brand Maps for invalid client\", function() {","    //     pm.response.to.have.status(401)","    //     pm.response.to.have.status(\"Unauthorized\")","    //     pm.response.to.have.body('{\"Message\":\"User is not authenticated\"}')","    //     pm.expect(pm.response.responseTime).to.be.below(acceptResponseTime);","    // })","}"],"type":"text/javascript"}}],"id":"c60331af-d161-4376-921d-44839489ec5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mypackbrain.com/v1/brand-maps","description":"<p>Returns a list of the Brand Maps that your account has access to.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["brand-maps"],"host":["https://api.mypackbrain.com/v1"],"query":[],"variable":[]}},"response":[{"id":"8b9cb646-fc34-4102-8cd2-0bc85fe31971","name":"Sucess","originalRequest":{"method":"GET","header":[],"url":"https://api.mypackbrain.com/v1/brand-maps"},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"BrandsMaps\": [\n        {\n            \"Id\": \"30410ed3-b87d-4778-8a11-eaeedcd399d2\",\n            \"Name\": \"Yogurt Bottle\",\n            \"Created\": \"2022-03-03T07:23:44.387\"\n        },\n        {\n            \"Id\": \"8b7d1137-3ae8-453f-96a9-84c709510154\",\n            \"Name\": \"Soda Drink Bottle \",\n            \"Created\": \"2022-03-04T06:50:24.5\"\n        }\n    ],\n    \"Alerts\": null\n}"},{"id":"269d2461-945d-4164-9092-03cad445a262","name":"Unauthorized","originalRequest":{"method":"GET","header":[],"url":"https://api.mypackbrain.com/v1/brand-maps"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n  \"Message\": \"User is not authenticated\"\n}"}],"_postman_id":"c60331af-d161-4376-921d-44839489ec5c"},{"name":"List all fields","event":[{"listen":"test","script":{"id":"6471d890-c4d4-4bf6-bb19-57103e2825b3","exec":["const testEnvironment = pm.environment.name","","if (testEnvironment === \"Stage\" || testEnvironment === \"Production\") {","    const acceptResponseTime = parseInt(pm.globals.get(\"testAcceptResponseTime\"))","","    const schema = {","        \"type\": \"object\",","        \"properties\": {","            \"BrandMapId\": {","                \"type\": \"string\"","            },","            \"Fields\": {","                \"type\": \"array\",","                \"items\": {","                    \"type\": \"object\",","                    \"properties\": {","                        \"Id\": {","                            \"type\": \"string\"","                        },","                        \"Name\": {","                            \"type\": \"string\"","                        },","                        \"FieldType\": {","                            \"type\": \"number\"","                        },","                        \"ContentType\": {","                            \"type\": \"number\"","                        },","                    },","                    \"additionalProperties\":false","                }","            },","            \"Alerts\": {","                \"type\": \"array\",","                \"items\": {","                    \"type\": \"object\",","                    \"properties\": {","                        \"Type\": {","                            \"type\": \"string\"","                        },","                        \"Message\": {","                            \"type\": \"string\"","                        }","                    },","                    \"additionalProperties\":false","                } ","            }","        },","        \"additionalProperties\":false","    }","","    const testType = pm.variables.get(\"testType\");","","    if(testType === \"1\")","    {","        pm.test(\"AO Test Secured HTTP Function\", function() {","            pm.response.to.have.status(200)","            pm.response.to.have.status(\"OK\")","            pm.response.to.have.jsonSchema(schema)","            pm.expect(pm.response.responseTime).to.be.below(acceptResponseTime);","        });","    }","","    if(testType === \"2\")","    {","        pm.test(\"Get Brand Map for invalid client\", function() {","            pm.response.to.have.status(400)","            pm.response.to.have.status(\"Bad Request\")","            pm.expect(pm.response.text()).to.include('Guid string should only contain hexadecimal characters');","            pm.expect(pm.response.responseTime).to.be.below(acceptResponseTime);","        })","    }","","    if(testType === \"3\")","    {","        pm.test(\"Get Brand Map for invalid client\", function() {","            pm.response.to.have.status(400)","            pm.response.to.have.status(\"Bad Request\")","            pm.expect(pm.response.text()).to.include('Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).');","            pm.expect(pm.response.responseTime).to.be.below(acceptResponseTime);","        })","    }","","    if(testType === \"4\")","    {","        pm.test(\"Get Brand Map for invalid client\", function() {","            pm.response.to.have.status(400)","            pm.response.to.have.status(\"Bad Request\")","            pm.expect(pm.response.text()).to.include('Has no access to brand map');","            pm.expect(pm.response.responseTime).to.be.below(acceptResponseTime);","        })","    }","","    if(testType === \"5\")","    {","        pm.test(\"Get Brand Map for invalid client\", function() {","            pm.response.to.have.status(401)","            pm.response.to.have.status(\"Unauthorized\")","            pm.response.to.have.body('{\"Message\":\"User is not authenticated\"}')","            pm.expect(pm.response.responseTime).to.be.below(acceptResponseTime);","        })","    }","}"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"00147573-2e3e-4971-8664-c07f0ef0871c","exec":["const testType = pm.variables.get(\"testType\");","","if (testType === \"5\")","    pm.variables.clear(\"api-key\")"],"type":"text/javascript"}}],"id":"bcbf31c8-5284-4de8-b3d7-77155d278514","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mypackbrain.com/v1/brand-maps/:brandMapId/fields","description":"<p>Returns a list of the fields related to the Brand Map that your account has access to.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["brand-maps",":brandMapId","fields"],"host":["https://api.mypackbrain.com/v1"],"query":[],"variable":[{"id":"0bc1d86c-9e0c-444e-b0ed-d94a008d6f87","description":{"content":"<p>Required. Brand-Map ID for which we want to retreive list of fields.</p>\n","type":"text/plain"},"type":"any","value":"","key":"brandMapId"}]}},"response":[{"id":"16465bce-c9b8-419d-acd5-84485891b0bd","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.mypackbrain.com/v1/brand-maps/:brandMapId/fields","host":["https://api.mypackbrain.com/v1"],"path":["brand-maps",":brandMapId","fields"],"variable":[{"key":"brandMapId","value":"30410ed3-b87d-4778-8a11-eaeedcd399d2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"BrandMapId\": \"30410ed3-b87d-4778-8a11-eaeedcd399d2\",\n    \"Fields\": [\n        {\n            \"Id\": \"73e9e8c9-501c-4133-b4d4-2f72af325a4f\",\n            \"Name\": \"Product Flavour\",\n            \"FieldType\": 1,\n            \"ContentType\": 1\n        },\n        {\n            \"Id\": \"a6ec6d0b-09ab-4f35-898f-ef96ba4f95cd\",\n            \"Name\": \"Flavour Background Colour\",\n            \"FieldType\": 2,\n            \"ContentType\": 4\n        },\n        {\n            \"Id\": \"b8f300a2-5621-4591-b3b5-4846c43a708f\",\n            \"Name\": \"Product Graphic\",\n            \"FieldType\": 1,\n            \"ContentType\": 2\n        }\n    ],\n    \"Alerts\": []\n}"},{"id":"176bd4ea-a680-4b01-ad2d-c050eb9b2196","name":"Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.mypackbrain.com/v1/brand-maps/:brandMapId/fields","host":["https://api.mypackbrain.com/v1"],"path":["brand-maps",":brandMapId","fields"],"variable":[{"key":"brandMapId","value":"30410ed3-b87d-4778-8a11-eaeedcd399d2"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n  \"Message\": \"User is not authenticated\"\n}"},{"id":"9bdb9b42-e8e7-4d8f-b207-d6cef6f5abc5","name":"Bad Request","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.mypackbrain.com/v1/brand-maps/:brandMapId/fields","host":["https://api.mypackbrain.com/v1"],"path":["brand-maps",":brandMapId","fields"],"variable":[{"key":"brandMapId","value":"30410ed3-b87d-4778-8a11-eaeedcd399d2"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n  \"Message\": \"Custom error message\"\n}"}],"_postman_id":"bcbf31c8-5284-4de8-b3d7-77155d278514"}],"id":"633c6999-b60b-4991-9ab8-f86e16d75a46","description":"<p>Brand-Map represents design used for multiple artworks (variants).</p>\n","_postman_id":"633c6999-b60b-4991-9ab8-f86e16d75a46","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}}},{"name":"Artworks","item":[{"name":"List all artworks","event":[{"listen":"test","script":{"id":"6c8b9021-d841-489e-91cc-0dbae0831103","exec":["const testEnvironment = pm.environment.name","","if (testEnvironment === \"Stage\" || testEnvironment === \"Production\") {","    const acceptResponseTime = parseInt(pm.globals.get(\"testAcceptResponseTime\"))","","    const schema = {","        \"type\":\"object\",","        \"properties\": {","            \"BrandMapId\": {","                \"type\": \"string\"","            },","            \"Artworks\": {","                \"type\": \"array\",","                \"items\": {","                    \"type\":\"object\",","                    \"properties\": {","                        \"Id\": {","                            \"type\": \"string\"","                        },","                        \"Name\": {","                            \"type\": \"string\"","                        },","                        \"Created\": {","                            \"type\": \"string\"","                        }","                    },","                    \"additionalProperties\": false","                }","            },","            \"Alerts\": {","                \"type\": \"array\",","                \"items\": {","                }","            }","        },","        \"additionalProperties\": false","    }","    ","    const testType = pm.variables.get(\"testType\");","","    if(testType === \"1\") {","        pm.test(\"AO Test Secured HTTP Function\", function() {","            pm.response.to.have.status(200)","            pm.response.to.have.status(\"OK\")","            pm.response.to.have.jsonSchema(schema)","            pm.expect(pm.response.responseTime).to.be.below(acceptResponseTime);","        });","    }","","    if(testType === \"2\") {","        pm.test(\"Generate PDF for invalid GUID\", function() {","            pm.response.to.have.status(400)","            pm.response.to.have.status(\"Bad Request\")","            pm.expect(pm.response.text()).to.include('Guid string should only contain hexadecimal characters');","            pm.expect(pm.response.responseTime).to.be.below(acceptResponseTime);","        });","    }","","    if(testType === \"3\"){","        pm.test(\"Generate PDF for invalid GUID\", function() {","            pm.response.to.have.status(400)","            pm.response.to.have.status(\"Bad Request\")","            pm.expect(pm.response.text()).to.include('Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).');","            pm.expect(pm.response.responseTime).to.be.below(acceptResponseTime);","        })","    }","","    if(testType === \"4\"){","        pm.test(\"AO Test Secured HTTP Function\", function() {","            pm.response.to.have.status(400)","            pm.response.to.have.status(\"Bad Request\")","            pm.expect(pm.response.text()).to.include('Has no access to brand map');","            pm.expect(pm.response.responseTime).to.be.below(acceptResponseTime);","        });        ","    }","","    if(testType === \"5\"){","        pm.test(\"Get Brand Map for invalid client\", function() {","            pm.response.to.have.status(401)","            pm.response.to.have.status(\"Unauthorized\")","            pm.response.to.have.body('{\"Message\":\"User is not authenticated\"}')","            pm.expect(pm.response.responseTime).to.be.below(acceptResponseTime);","        })        ","    }","}",""],"type":"text/javascript"}}],"id":"70ad59a9-6246-4dc6-b79e-445304257d9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mypackbrain.com/v1/brand-maps/:brandMapId/artworks","description":"<p>Returns a list of the variants (artworks) that are based on a given design (brand map). The variants are returned sorted by creation date, with the most recently created variant appearing first.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["brand-maps",":brandMapId","artworks"],"host":["https://api.mypackbrain.com/v1"],"query":[],"variable":[{"description":{"content":"<p>Required. Brand map ID for which we want to list all artworks.</p>\n","type":"text/plain"},"type":"any","value":"","key":"brandMapId"}]}},"response":[{"id":"54fce057-eed8-46a6-8f6f-7381f262ac90","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.mypackbrain.com/v1/brand-maps/:brandMapId/artworks","host":["https://api.mypackbrain.com/v1"],"path":["brand-maps",":brandMapId","artworks"],"variable":[{"key":"brandMapId","value":"30410ed3-b87d-4778-8a11-eaeedcd399d2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"BrandMapId\": \"30410ed3-b87d-4778-8a11-eaeedcd399d2\",\n    \"Artworks\": [\n        {\n            \"Id\": \"33921988-4c71-4dde-b556-1307114ccd08\",\n            \"Name\": \"Yogurt Bottle - Vanilla\",\n            \"Created\": \"2022-01-20T14:50:41.653+00:00\"\n        },\n        {\n            \"Id\": \"0359d622-bd4b-42b2-a0ab-e2cd7009c9a5\",\n            \"Name\": \"Yogurt Bottle - Banana\",\n            \"Created\": \"2022-01-21T17:43:18.967+00:00\"\n        },\n        {\n            \"Id\": \"5acf44e2-4ac5-4da8-882f-54ef7bab2b2a\",\n            \"Name\": \"Yogurt Bottle - Orange\",\n            \"Created\": \"2022-01-24T13:35:10.383+00:00\"\n        },\n        {\n            \"Id\": \"7f3c8c7d-5bfa-4f1e-b5cd-d1b5e0a44d9c\",\n            \"Name\": \"Yogurt Bottle - Cherry\",\n            \"Created\": \"2022-01-24T11:59:10.11+00:00\"\n        },\n        {\n            \"Id\": \"287ce5a6-0e54-42b3-84e5-bca21d09dc92\",\n            \"Name\": \"Yogurt Bottle - Strawberry\",\n            \"Created\": \"2022-01-21T17:45:23.56+00:00\"\n        }\n    ],\n    \"Alerts\": []\n}"},{"id":"21fa14bf-f6ce-4ba2-9453-3ca4f3ee4746","name":"Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.mypackbrain.com/v1/brand-maps/:brandMapId/artworks","host":["https://api.mypackbrain.com/v1"],"path":["brand-maps",":brandMapId","artworks"],"variable":[{"key":"brandMapId","value":"30410ed3-b87d-4778-8a11-eaeedcd399d2"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"User is not authenticated\"\n}"},{"id":"0d274c3d-d677-4289-9ab0-750f91b5258a","name":"Bad Request","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.mypackbrain.com/v1/brand-maps/:brandMapId/artworks","host":["https://api.mypackbrain.com/v1"],"path":["brand-maps",":brandMapId","artworks"],"variable":[{"key":"brandMapId","value":"30410ed3-b87d-4778-8a11-eaeedcd399d2"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom error message\"\n}"},{"id":"4545e37b-a349-4a70-bc54-441378656006","name":"Internal Server Error","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.mypackbrain.com/v1/brand-maps/:brandMapId/artworks","host":["https://api.mypackbrain.com/v1"],"path":["brand-maps",":brandMapId","artworks"],"variable":[{"key":"brandMapId","value":"30410ed3-b87d-4778-8a11-eaeedcd399d2"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Artwork Online responded with status code: InternalServerError\"\n}"}],"_postman_id":"70ad59a9-6246-4dc6-b79e-445304257d9f"},{"name":"List all fields","id":"607e0cbd-2c0c-4171-9ce0-89b27d582e81","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mypackbrain.com/v1/artworks/:artworkId","description":"<p>Returns the variant (artwork) details and a list of the fields related to one.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["artworks",":artworkId"],"host":["https://api.mypackbrain.com/v1"],"query":[],"variable":[{"id":"7594293b-97a8-48b0-829c-8f530da4e18c","description":{"content":"<p>Required. Artwork ID of the variant for which we want to retreive list of fields.</p>\n","type":"text/plain"},"type":"any","value":null,"key":"artworkId"}]}},"response":[{"id":"9ad53b8f-a673-4b4f-8392-8bbaa626602e","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.mypackbrain.com/v1/artworks/:artworkId","host":["https://api.mypackbrain.com/v1"],"path":["artworks",":artworkId"],"variable":[{"key":"artworkId","value":"33921988-4c71-4dde-b556-1307114ccd08","description":"Required. Artwork ID of the variant for which we want to retreive list of fields."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Id\": \"33921988-4c71-4dde-b556-1307114ccd08\",\n    \"BrandMapId\": \"30410ed3-b87d-4778-8a11-eaeedcd399d2\",\n    \"Name\": \"Yogurt Bottle - Vanilla\",\n    \"Created\": \"2022-01-20T14:50:41.653+00:00\",\n    \"Fields\": [\n        {\n            \"Id\": \"a90b7735-f5f7-ca01-936e-7ea7da6adc4b\",\n            \"Name\": \"Product Name\",\n            \"Value\": \"Yogurt Bottle\"\n        },\n        {\n            \"Id\": \"a90b7735-f5f7-ca01-936e-7ea7da6adc4b\",\n            \"Name\": \"Product ID\",\n            \"Value\": \"ee5fc9af-302a\"\n        },\n        {\n            \"Id\": \"b8f300a2-5621-4591-b3b5-4846c43a708f\",\n            \"Name\": \"Product Graphic\",\n            \"Value\": \"d23e0070-863c-45ae-8d1b-25f2c1015d41\"\n        },        \n        {\n            \"Id\": \"660c1194-eadb-a9d8-b2b6-6ee467250404\",\n            \"Name\": \"Version\",\n            \"Value\": \"1.7\"\n        },\n        {\n            \"Id\": \"73e9e8c9-501c-4133-b4d4-2f72af325a4f\",\n            \"Name\": \"Flavour Primary Colour\",\n            \"Value\": {\n                \"Type\": \"custom\",\n                \"Value\": {\n                    \"Type\": \"cmyk\",\n                    \"C\": 0,\n                    \"M\": 54,\n                    \"Y\": 100,\n                    \"K\": 0,\n                    \"Tint\": 20,\n                    \"IsSpot\": true\n                }\n            }\n        },\n        {\n            \"Id\": \"a6ec6d0b-09ab-4f35-898f-ef96ba4f95cd\",\n            \"Name\": \"Flavour Background Colour\",\n            \"Value\": {\n                \"Type\": \"brandmap\",\n                \"Value\": \"6408649a-0ef9-907e-bbc9-a131ec08bd52\"\n            }\n        },\n        {\n            \"Id\": \"9cf63160-7c8b-6189-a093-0b6cbb8eb6fb\",\n            \"Name\": \"Product Barcode\",\n            \"Value\": \"1234546789078\"\n        }\n    ]\n}"},{"id":"47658332-8411-487d-8bfa-a9fef34b3c01","name":"Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.mypackbrain.com/v1/artworks/:artworkId","host":["https://api.mypackbrain.com/v1"],"path":["artworks",":artworkId"],"variable":[{"key":"artworkId","value":"33921988-4c71-4dde-b556-1307114ccd08","description":"Required. Artwork ID of the variant for which we want to retreive list of fields."}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"User is not authenticated\"\n}"},{"id":"58db63ce-ebff-43d7-b796-ea70e2d6dfec","name":"Bad Request","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.mypackbrain.com/v1/artworks/:artworkId","host":["https://api.mypackbrain.com/v1"],"path":["artworks",":artworkId"],"variable":[{"key":"artworkId","value":"33921988-4c71-4dde-b556-1307114ccd08","description":"Required. Artwork ID of the variant for which we want to retreive list of fields."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom error message\"\n}"},{"id":"8a6d77e6-e59c-4529-89fd-bb28bf79cd8a","name":"Internal Server Error","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.mypackbrain.com/v1/artworks/:artworkId","host":["https://api.mypackbrain.com/v1"],"path":["artworks",":artworkId"],"variable":[{"key":"artworkId","value":"33921988-4c71-4dde-b556-1307114ccd08","description":"Required. Artwork ID of the variant for which we want to retreive list of fields."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Artwork Online responded with status code: InternalServerError\"\n}"}],"_postman_id":"607e0cbd-2c0c-4171-9ce0-89b27d582e81"},{"name":"Create an artwork","event":[{"listen":"test","script":{"id":"a38ba8dd-cae4-4ce8-81e7-42c484547eb2","exec":["const testEnvironment = pm.environment.name","","if (testEnvironment === \"Stage\" || testEnvironment === \"Production\") {","    const acceptResponseTime = parseInt(pm.globals.get(\"testAcceptResponseTime\"))","","    const schema = {","        \"type\":\"object\",","        \"properties\": {","            \"BrandMapId\": {","                \"type\": \"string\"","            },","            \"ArtworkId\": {","                \"type\": \"string\"","            },","            \"ArtworkName\": {","                \"type\": \"string\"","            },","            \"Alerts\": {","                \"type\": \"array\",","                \"items\": {","                    \"type\": \"object\",","                    \"properties\": {","                        \"Type\": {","                            \"type\": \"string\"","                        },","                        \"Message\": {","                            \"type\": \"string\"","                        }","                    },","                    \"additionalProperties\": false","                }","            }","        },","        \"additionalProperties\": false","    }","    ","    const testType = pm.variables.get(\"testType\");","","    if(testType === \"1\") {","        pm.test(\"Get Brand Maps for valid client\", function() {","            pm.expect(pm.response.code).to.be.oneOf([200,400]);","            pm.response.to.have.status(400)","                pm.response.to.have.status(\"Bad Request\")","                pm.response.to.have.jsonSchema(schema)","                //pm.expect(pm.response.text()).to.include('Not available tokens to perform the generation');","                pm.expect(pm.response.responseTime).to.be.below(acceptResponseTime);","            ","            // if (pm.response.to.have.status(200)) {","            //     pm.response.to.have.status(\"OK\")","            //     pm.response.to.have.jsonSchema(schema)","            //     pm.expect(pm.response.responseTime).to.be.below(acceptResponseTime);","            // }","        });","    }","","    // if(testType === \"2\") {","    // }","","    // if(testType === \"3\") {","    // }","","    // if(testType === \"4\") {","    // }","","    // if(testType === \"5\") {","    // }","","    ","","    // pm.test(\"Generate PDF for invalid GUID\", function() {","    //     pm.response.to.have.status(400)","    //     pm.response.to.have.status(\"Bad Request\")","    //     pm.expect(pm.response.text()).to.include('Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).');","    //     pm.expect(pm.response.responseTime).to.be.below(acceptResponseTime);","    // })","","    // When trying to update a Brand Map :)","    // pm.test(\"Generate PDF for invalid GUID\", function() {","    //     pm.response.to.have.status(500)","    //     pm.response.to.have.status(\"Internal Server Error\")","    //     pm.expect(pm.response.text()).to.include('Artwork Online responded with status code: InternalServerError');","    //     pm.expect(pm.response.responseTime).to.be.below(acceptResponseTime);","    // })","","    // pm.test(\"Get Brand Map for invalid client\", function() {","    //     pm.response.to.have.status(401)","    //     pm.response.to.have.status(\"Unauthorized\")","    //     pm.response.to.have.body('{\"Message\":\"User is not authenticated\"}')","    //     pm.expect(pm.response.responseTime).to.be.below(acceptResponseTime);","    // })","}"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"01677188-92a3-449e-af12-c0c2ad8c978b","exec":["// const body = pm.variables.get(\"requestBody\");","","// pm.request.body.update(body);"],"type":"text/javascript"}}],"id":"dba5aada-c430-42ba-adeb-e0aa00bc636f","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"artworkName\": \"Example Artwork\",                               // Newly defined Artwork name\n    \"requestPdf\": \"false\",                                          // true - create artwork and generate PDF, false - just create artwork\n    \"Mode\": \"Plain\",                                                // Used for Text Formatting. Plain - interprets HTML and Markdown symbols as text, Structured - interprets HTML and Markdown symbols as formatting options i.e. <b>Bold</b> makes Bolded \"Bold\" word\n    \"fields\": [\n        // Text Fields\n        {\n            // Open Text Field\n            \"fieldId\": \"1040b1ab-515d-d2e7-b434-1e563cca957b\",      // Taken from Variables Panel: ... -> Copy Variable ID\n            \"name\": \"Text variable: Open Value\",                    // Optional - Searches the variable by the name (if fieldId not used)\n            \"value\": \"Lorem Ipsum\"                                  // Text Value\n        },\n        {\n            // Collection Text Field\n            \"fieldId\": \"bb165cb3-cdfd-8440-bf49-5150cfd4bc3d\",      // Taken from Variables Panel: ... -> Copy Variable ID\n            \"name\": \"Text variable: List Value\",                    // Optional - Searches the variable by the name (if fieldId not used)\n            \"value\": \"2045ed5d-7ec1-4912-8304-50242eb2b434\"         // Taken from Variables Panel: ... -> Copy Value ID (Takes current value selected in dropdown)\n        },\n        // Barcode Fields\n        {\n            // Open Barcode Field\n            \"fieldId\": \"a1d0f006-8e05-568b-86fe-4294a7d56399\",      // Taken from Variables Panel: ... -> Copy Variable ID\n            \"name\": \"Barcode Variable (EAN13): Open Value\",         // Optional - Searches the variable by the name (if fieldId not used)\n            \"value\": \"1234567890128\"                                // Barcode Value\n        },\n        // Numeric Fields\n        {\n            // Open Numeric Field\n            \"fieldId\": \"d041d03e-e2eb-dfd4-8267-1e59a2d10b18\",      // Taken from Variables Panel: ... -> Copy Variable ID\n            \"name\": \"Numeric variable: Open Value\",                 // Optional - Searches the variable by the name (if fieldId not used)\n            \"value\": \"7\"                                            // Numeric Value\n        },\n        // Graphic Fields\n        {\n            // Open Graphic Field\n            \"fieldId\": \"48861726-20f8-b007-a91b-44055f595a90\",      // Taken from Variables Panel: ... -> Copy Variable ID\n            \"name\": \"Graphic variable: Open Value\",                 // Optional - Searches the variable by the name (if fieldId not used)\n            \"value\": \"bcaa7299-8dd2-4fbd-b418-1ac8e0515481\"         // Taken from GEM: Select graphic -> Version: Version Unique ID\n        },\n        {\n            // Collection Graphic Field\n            \"fieldId\": \"83e3ccbc-4f3c-1f32-ae57-f5fcbde5570c\",      // Taken from Variables Panel: ... -> Copy Variable ID\n            \"name\": \"Graphic variable: List Value\",                 // Optional - Searches the variable by the name (if fieldId not used)\n            \"value\": \"f9e59aef-d795-62bd-97ad-e23e8c146cbe\"         // Taken from Variables Panel: ... -> Copy Value ID (Takes current value selected in dropdown)\n        },\n        // Colour Fields\n        {\n            // Open Colour Field: CMYK\n            \"fieldId\": \"f6784ffe-bfd2-0646-821f-56b7cb4f87dd\",      // Taken from Variables Panel: ... -> Copy Variable ID\n            \"name\": \"Graphic variable (CMYK): Open Value\",          // Optional - Searches the variable by the name (if fieldId not used)\n            \"value\": { \n                    \"type\": \"custom\",                               // custom - adds custom colour, brandmap - existing brand map colour, library - adds library colour\n                    \"name\": \"Peach fuzz\",                           // Colour name\n                    \"value\": {\n                            \"type\": \"cmyk\",                         // cmyk - CMYK Colour, RGB - RGB colour, registration - Registration colour\n                            \"C\": \"0\", \n                            \"M\": \"21\", \n                            \"Y\": \"36\", \n                            \"K\": \"4\",\n                            \"tint\": \"80\",\n                            \"isSpot\": \"false\"                       // false - no spot, true - spot\n                    }\n            }\n        },\n        {\n            // Open Colour Field: RGB\n            \"fieldId\": \"6eedf9cc-610a-729e-baf2-45de2d326fa7\",      // Taken from Variables Panel: ... -> Copy Variable ID\n            \"name\": \"Graphic variable (RGB): Open Value\",           // Optional - Searches the variable by the name (if fieldId not used)\n            \"value\": { \n                    \"type\": \"custom\",                               // custom - adds custom colour, brandmap - existing brand map colour, library - adds library colour\n                    \"name\": \"Viva magenta\",                         // Colour name\n                    \"value\": {\n                            \"type\": \"RGB\",                          // cmyk - CMYK Colour, RGB - RGB colour, registration - Registration colour\n                            \"R\": \"187\", \n                            \"G\": \"38\", \n                            \"B\": \"73\",\n                            \"tint\": \"90\"\n                    }\n            }\n        },\n        {\n            // Open Colour Field: Registration\n            \"fieldId\": \"16cbb4d1-5e6b-a207-9415-29c85a84fe60\",      // Taken from Variables Panel: ... -> Copy Variable ID\n            \"name\": \"Graphic variable (Registration): Open Value\",  // Optional - Searches the variable by the name (if fieldId not used)\n            \"value\": { \n                    \"type\": \"custom\",                               // custom - adds custom colour, brandmap - existing brand map colour, library - adds library colour\n                    \"name\": \"Registration\",                         // Colour name\n                    \"value\": {\n                            \"type\": \"registration\"                  // cmyk - CMYK Colour, RGB - RGB colour, registration - Registration colour\n                    }\n            }\n        },\n        {\n            // Open Colour Field: Brand Map\n            \"fieldId\": \"56dafa3c-039a-0dcb-8bf0-64475566465a\",      // Taken from Variables Panel: ... -> Copy Variable ID\n            \"name\": \"Graphic variable (Brand Map): Open Value\",     // Optional - Searches the variable by the name (if fieldId not used)\n            \"value\": { \n                    \"type\": \"library\",                              // custom - adds custom colour, brandmap - existing brand map colour, library - adds library colour\n                    \"name\": \"Very peri\",                            // Colour name\n                    \"value\": \"71f755a7-64f3-8ab4-b3df-f8775f08ac52\" // Taken from Colours -> Edit Colour\n            }\n        },\n        {\n            // Open Colour Field: Library\n            \"fieldId\": \"ead6d852-4b4c-bb3a-810b-be6b5e956573\",      // Taken from Variables Panel: ... -> Copy Variable ID\n            \"name\": \"Graphic variable (Library): Open Value\",       // Optional - Searches the variable by the name (if fieldId not used)\n            \"value\": { \n                    \"type\": \"library\",                              // custom - adds custom colour, brandmap - existing brand map colour, library - adds library colour\n                    \"name\": \"PANTONE 8001 C\",                       // Colour name\n                    \"value\": \"b5ba57c5-be5a-41d0-bbd1-d3b202a728ff\" // Taken from Colour Library (?)\n            }\n        },\n        {\n            // Collection Colour Field (does not work)\n            \"fieldId\": \"ead6d852-4b4c-bb3a-810b-be6b5e956573\",      // Taken from Variables Panel: ... -> Copy Variable ID\n            \"name\": \"Graphic variable: List Value\",                 // Optional - Searches the variable by the name (if fieldId not used)\n            \"value\": \"949b5ebd-4722-3b06-891f-5129d1015e6e\"         // Taken from Variables Panel: ... -> Copy Value ID (Takes current value selected in dropdown)\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mypackbrain.com/v1/brand-maps/:brandMapId","description":"<p>Creates a new variant (artwork) based on the selected design (Brand-Map).</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["brand-maps",":brandMapId"],"host":["https://api.mypackbrain.com/v1"],"query":[],"variable":[{"description":{"content":"<p>Required. Brand-Map ID for which we want to create a new artwork.</p>\n","type":"text/plain"},"type":"any","value":"","key":"brandMapId"}]}},"response":[{"id":"d8152d29-dfa6-401d-97a8-c3cd0a60565c","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"artworkName\": \"Yogurt Bottle - Vanilla\",\r\n    \"requestPdf\": \"false\",\r\n    \"fields\": [\r\n        {\r\n            \"name\": \"Product Flavour\",\r\n            \"value\": \"Vanilla\"\r\n        },\r\n        {\r\n            \"name\": \"Product Type\",\r\n            \"value\": \"Yogurt\"\r\n        },\r\n        {\r\n            \"name\": \"Product Barcode\",\r\n            \"value\": \"012345678901\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/brand-maps/:brandMapId","host":["https://api.mypackbrain.com/v1"],"path":["brand-maps",":brandMapId"],"variable":[{"key":"brandMapId","value":"30410ed3-b87d-4778-8a11-eaeedcd399d2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"BrandMapId\": \"30410ed3-b87d-4778-8a11-eaeedcd399d2\",\n    \"ArtworkId\": \"33921988-4c71-4dde-b556-1307114ccd08\",\n    \"BrandMapName\": \"Yogurt Bottle\",\n    \"ArtworkName\": \"Yogurt Bottle - Vanilla\",\n    \"Alerts\": []\n}"},{"id":"08a6d6e0-c080-4ce4-bbf3-b5c62a23590a","name":"Success with warnings","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"artworkName\": \"Yogurt Bottle - Vanilla\",\r\n    \"requestPdf\": \"false\",\r\n    \"fields\": [\r\n        {\r\n            \"name\": \"Product Flavour\",\r\n            \"value\": \"Vanilla\"\r\n        },\r\n        {\r\n            \"name\": \"Product Type\",\r\n            \"value\": \"Yogurt\"\r\n        },\r\n        {\r\n            \"name\": \"Product Barcode\",\r\n            \"value\": \"012345678901\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/brand-maps/:brandMapId","host":["https://api.mypackbrain.com/v1"],"path":["brand-maps",":brandMapId"],"variable":[{"key":"brandMapId","value":"30410ed3-b87d-4778-8a11-eaeedcd399d2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"BrandMapId\": \"30410ed3-b87d-4778-8a11-eaeedcd399d2\",\n    \"ArtworkId\": \"33921988-4c71-4dde-b556-1307114ccd08\",\n    \"ArtworkName\": \"Yogurt Bottle - Vanilla\",\n    \"Alerts\": [\n        {\n            \"Type\": \"warning\",\n            \"Message\": \"Field \\\"$Product Type\\\" was not found.\"\n        },\n        {\n            \"Type\": \"warning\",\n            \"Message\": \"Field \\\"$Product Barcode\\\" was not found.\"\n        }\n    ]\n}"},{"id":"eda75ba9-9632-4fff-94fa-3b82157e5be9","name":"Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/brand-maps/:brandMapId","host":["https://api.mypackbrain.com/v1"],"path":["brand-maps",":brandMapId"],"variable":[{"key":"brandMapId","value":"30410ed3-b87d-4778-8a11-eaeedcd399d2"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"User is not authenticated\"\n}"},{"id":"8da6d724-fd04-450e-a3df-e3a374535b16","name":"Bad request","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/brand-maps/:brandMapId","host":["https://api.mypackbrain.com/v1"],"path":["brand-maps",":brandMapId"],"variable":[{"key":"brandMapId","value":"30410ed3-b87d-4778-8a11-eaeedcd399d2"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom error message\"\n}"},{"id":"96e6219b-e783-4b56-9fb0-30f8e1915038","name":"Internal Server Error","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/brand-maps/:brandMapId","host":["https://api.mypackbrain.com/v1"],"path":["brand-maps",":brandMapId"],"variable":[{"key":"brandMapId","value":"30410ed3-b87d-4778-8a11-eaeedcd399d2"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Artwork Online responded with status code: InternalServerError\"\n}"}],"_postman_id":"dba5aada-c430-42ba-adeb-e0aa00bc636f"},{"name":"Update an artwork","event":[{"listen":"test","script":{"id":"8e0d3001-d07f-46d2-b17d-c0bf1b2a13eb","exec":["const testEnvironment = pm.environment.name","","if (testEnvironment === \"Stage\" || testEnvironment === \"Production\") {","    const acceptResponseTime = parseInt(pm.globals.get(\"testAcceptResponseTime\"))","","    const schema = {","        \"type\":\"object\",","        \"properties\": {","            \"BrandMapId\": {","                \"type\": \"string\"","            },","            \"ArtworkId\": {","                \"type\": \"string\"","            },","            \"ArtworkName\": {","                \"type\": \"string\"","            },","            \"Alerts\": {","                \"type\": \"array\",","                \"items\": {","                    \"type\": \"object\",","                    \"properties\": {","                        \"Type\": {","                            \"type\": \"string\"","                        },","                        \"Message\": {","                            \"type\": \"string\"","                        }","                    },","                    \"additionalProperties\": false","                }","            }","        },","        \"additionalProperties\": false","    }","    ","","    pm.test(\"AO Test Secured HTTP Function\", function() {","        if(pm.response.to.have.status(400)) {","            pm.response.to.have.status(\"Bad Request\")","            pm.response.to.have.jsonSchema(schema)","            pm.expect(pm.response.text()).to.include('Not available tokens to perform the generation');","            pm.expect(pm.response.responseTime).to.be.below(acceptResponseTime);","        }","        else {","            pm.response.to.have.status(200)","            pm.response.to.have.status(\"OK\")","            pm.response.to.have.jsonSchema(schema)","            pm.expect(pm.response.responseTime).to.be.below(acceptResponseTime);","        }","        ","    });","","    // pm.test(\"Generate PDF for invalid GUID\", function() {","    //     pm.response.to.have.status(400)","    //     pm.response.to.have.status(\"Bad Request\")","    //     pm.expect(pm.response.text()).to.include('Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).');","    //     pm.expect(pm.response.responseTime).to.be.below(acceptResponseTime);","    // })","    ","    // When we fail body","    // pm.test(\"Generate PDF for invalid GUID\", function() {","    //     pm.response.to.have.status(400)","    //     pm.response.to.have.status(\"Bad Request\")","    //     pm.expect(pm.response.text()).to.include('JsonToken EndArray is not valid for closing JsonType');","    //     pm.expect(pm.response.responseTime).to.be.below(acceptResponseTime);","    // })","","    // pm.test(\"Generate PDF for invalid GUID\", function() {","    //     pm.response.to.have.status(500)","    //     pm.response.to.have.status(\"Internal Server Error\")","    //     pm.expect(pm.response.text()).to.include('Artwork Online responded with status code: InternalServerError');","    //     pm.expect(pm.response.responseTime).to.be.below(acceptResponseTime);","    // })","","    // pm.test(\"Get Brand Map for invalid client\", function() {","    //     pm.response.to.have.status(401)","    //     pm.response.to.have.status(\"Unauthorized\")","    //     pm.response.to.have.body('{\"Message\":\"User is not authenticated\"}')","    //     pm.expect(pm.response.responseTime).to.be.below(acceptResponseTime);","    // })","}"],"type":"text/javascript"}}],"id":"e9362094-1d78-49a7-8ee5-a25f640180ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"artworkName\": \"Updated Example Artwork\",                       // Updated Artwork name\n    \"requestPdf\": \"false\",                                          // true - create artwork and generate PDF, false - just create artwork\n    \"Mode\": \"Plain\",                                                // Used for Text Formatting. Plain - interprets HTML and Markdown symbols as text, Structured - interprets HTML and Markdown symbols as formatting options i.e. <b>Bold</b> makes Bolded \"Bold\" word\n    \"fields\": [\n        // Text Fields\n        {\n            // Open Text Field\n            \"fieldId\": \"1040b1ab-515d-d2e7-b434-1e563cca957b\",      // Taken from Variables Panel: ... -> Copy Variable ID\n            \"name\": \"Text variable: Open Value\",                    // Optional - Searches the variable by the name (if fieldId not used)\n            \"value\": \"Lorem Ipsum\"                                  // Text Value\n        },\n        {\n            // Collection Text Field\n            \"fieldId\": \"bb165cb3-cdfd-8440-bf49-5150cfd4bc3d\",      // Taken from Variables Panel: ... -> Copy Variable ID\n            \"name\": \"Text variable: List Value\",                    // Optional - Searches the variable by the name (if fieldId not used)\n            \"value\": \"2045ed5d-7ec1-4912-8304-50242eb2b434\"         // Taken from Variables Panel: ... -> Copy Value ID (Takes current value selected in dropdown)\n        },\n        // Barcode Fields\n        {\n            // Open Barcode Field\n            \"fieldId\": \"a1d0f006-8e05-568b-86fe-4294a7d56399\",      // Taken from Variables Panel: ... -> Copy Variable ID\n            \"name\": \"Barcode Variable (EAN13): Open Value\",         // Optional - Searches the variable by the name (if fieldId not used)\n            \"value\": \"1234567890128\"                                // Barcode Value\n        },\n        // Numeric Fields\n        {\n            // Open Numeric Field\n            \"fieldId\": \"d041d03e-e2eb-dfd4-8267-1e59a2d10b18\",      // Taken from Variables Panel: ... -> Copy Variable ID\n            \"name\": \"Numeric variable: Open Value\",                 // Optional - Searches the variable by the name (if fieldId not used)\n            \"value\": \"7\"                                            // Numeric Value\n        },\n        // Graphic Fields\n        {\n            // Open Graphic Field\n            \"fieldId\": \"48861726-20f8-b007-a91b-44055f595a90\",      // Taken from Variables Panel: ... -> Copy Variable ID\n            \"name\": \"Graphic variable: Open Value\",                 // Optional - Searches the variable by the name (if fieldId not used)\n            \"value\": \"bcaa7299-8dd2-4fbd-b418-1ac8e0515481\"         // Taken from GEM: Select graphic -> Version: Version Unique ID\n        },\n        {\n            // Collection Graphic Field\n            \"fieldId\": \"83e3ccbc-4f3c-1f32-ae57-f5fcbde5570c\",      // Taken from Variables Panel: ... -> Copy Variable ID\n            \"name\": \"Graphic variable: List Value\",                 // Optional - Searches the variable by the name (if fieldId not used)\n            \"value\": \"f9e59aef-d795-62bd-97ad-e23e8c146cbe\"         // Taken from Variables Panel: ... -> Copy Value ID (Takes current value selected in dropdown)\n        },\n        // Colour Fields\n        {\n            // Open Colour Field: CMYK\n            \"fieldId\": \"f6784ffe-bfd2-0646-821f-56b7cb4f87dd\",      // Taken from Variables Panel: ... -> Copy Variable ID\n            \"name\": \"Graphic variable (CMYK): Open Value\",          // Optional - Searches the variable by the name (if fieldId not used)\n            \"value\": { \n                    \"type\": \"custom\",                               // custom - adds custom colour, brandmap - existing brand map colour, library - adds library colour\n                    \"name\": \"Peach fuzz\",                           // Colour name\n                    \"value\": {\n                            \"type\": \"cmyk\",                         // cmyk - CMYK Colour, RGB - RGB colour, registration - Registration colour\n                            \"C\": \"0\", \n                            \"M\": \"21\", \n                            \"Y\": \"36\", \n                            \"K\": \"4\",\n                            \"tint\": \"80\",\n                            \"isSpot\": \"false\"                       // false - no spot, true - spot\n                    }\n            }\n        },\n        {\n            // Open Colour Field: RGB\n            \"fieldId\": \"6eedf9cc-610a-729e-baf2-45de2d326fa7\",      // Taken from Variables Panel: ... -> Copy Variable ID\n            \"name\": \"Graphic variable (RGB): Open Value\",           // Optional - Searches the variable by the name (if fieldId not used)\n            \"value\": { \n                    \"type\": \"custom\",                               // custom - adds custom colour, brandmap - existing brand map colour, library - adds library colour\n                    \"name\": \"Viva magenta\",                         // Colour name\n                    \"value\": {\n                            \"type\": \"RGB\",                          // cmyk - CMYK Colour, RGB - RGB colour, registration - Registration colour\n                            \"R\": \"187\", \n                            \"G\": \"38\", \n                            \"B\": \"73\",\n                            \"tint\": \"90\"\n                    }\n            }\n        },\n        {\n            // Open Colour Field: Registration\n            \"fieldId\": \"16cbb4d1-5e6b-a207-9415-29c85a84fe60\",      // Taken from Variables Panel: ... -> Copy Variable ID\n            \"name\": \"Graphic variable (Registration): Open Value\",  // Optional - Searches the variable by the name (if fieldId not used)\n            \"value\": { \n                    \"type\": \"custom\",                               // custom - adds custom colour, brandmap - existing brand map colour, library - adds library colour\n                    \"name\": \"Registration\",                         // Colour name\n                    \"value\": {\n                            \"type\": \"registration\"                  // cmyk - CMYK Colour, RGB - RGB colour, registration - Registration colour\n                    }\n            }\n        },\n        {\n            // Open Colour Field: Brand Map\n            \"fieldId\": \"56dafa3c-039a-0dcb-8bf0-64475566465a\",      // Taken from Variables Panel: ... -> Copy Variable ID\n            \"name\": \"Graphic variable (Brand Map): Open Value\",     // Optional - Searches the variable by the name (if fieldId not used)\n            \"value\": { \n                    \"type\": \"library\",                              // custom - adds custom colour, brandmap - existing brand map colour, library - adds library colour\n                    \"name\": \"Very peri\",                            // Colour name\n                    \"value\": \"71f755a7-64f3-8ab4-b3df-f8775f08ac52\" // Taken from Colours -> Edit Colour\n            }\n        },\n        {\n            // Open Colour Field: Library\n            \"fieldId\": \"ead6d852-4b4c-bb3a-810b-be6b5e956573\",      // Taken from Variables Panel: ... -> Copy Variable ID\n            \"name\": \"Graphic variable (Library): Open Value\",       // Optional - Searches the variable by the name (if fieldId not used)\n            \"value\": { \n                    \"type\": \"library\",                              // custom - adds custom colour, brandmap - existing brand map colour, library - adds library colour\n                    \"name\": \"PANTONE 8001 C\",                       // Colour name\n                    \"value\": \"b5ba57c5-be5a-41d0-bbd1-d3b202a728ff\" // Taken from Colour Library (?)\n            }\n        },\n        {\n            // Collection Colour Field (does not work)\n            \"fieldId\": \"ead6d852-4b4c-bb3a-810b-be6b5e956573\",      // Taken from Variables Panel: ... -> Copy Variable ID\n            \"name\": \"Graphic variable: List Value\",                 // Optional - Searches the variable by the name (if fieldId not used)\n            \"value\": \"949b5ebd-4722-3b06-891f-5129d1015e6e\"         // Taken from Variables Panel: ... -> Copy Value ID (Takes current value selected in dropdown)\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mypackbrain.com/v1/artworks/:artworkId","description":"<p>Updates the specific variant (artwork) by setting the values of the parameters passed. Any parameters not provided will be left unchanged.</p>\n<p><strong>Body Schema</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"$id\": \"https://mypackbrain.com/schemas/artwork.schema.json\",\n    \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n    \"description\": \"A representation of an artwork\",\n    \"type\": \"object\",\n    \"properties\": {\n        \"artworkName\": {\n            \"type\": \"string\",\n            \"description\": \"The variant's name.\"\n        },\n        \"fields\": {\n            \"type\": \"array\",\n            \"items\": {\n                \"$ref\": \"#/$defs/field\"\n            }\n        }\n    },\n    \"$defs\": {\n        \"field\": {\n            \"type\": \"object\",\n            \"required\": [\n                \"fieldId\",\n                \"value\"\n            ],\n            \"properties\": {\n                \"fieldId\": {\n                    \"type\": \"string\",\n                    \"description\": \"The artwork's variable unique ID.\"\n                },\n                \"value\": {\n                    \"type\": \"string\",\n                    \"description\": \"The variant's variable value.\"\n                }\n            }\n        }\n    }\n}\n\n</code></pre>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["artworks",":artworkId"],"host":["https://api.mypackbrain.com/v1"],"query":[],"variable":[{"description":{"content":"<p>Required. Artwork ID of the variant to be update.</p>\n","type":"text/plain"},"type":"any","value":"","key":"artworkId"}]}},"response":[{"id":"80c30fb0-4dcf-44ec-bc3d-bc520ff51cb7","name":"Success","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"artworkName\": \"Yogurt Bottle - Vanilla\",\r\n    \"requestPdf\": \"false\",\r\n    \"fields\": [\r\n        {\r\n            \"name\": \"Product Flavour\",\r\n            \"value\": \"Vanilla\"\r\n        },\r\n        {\r\n            \"name\": \"Product Type\",\r\n            \"value\": \"Yogurt\"\r\n        },\r\n        {\r\n            \"name\": \"Product Barcode\",\r\n            \"value\": \"012345678901\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/artworks/:artworkId","host":["https://api.mypackbrain.com/v1"],"path":["artworks",":artworkId"],"variable":[{"key":"artworkId","value":"33921988-4c71-4dde-b556-1307114ccd08"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"BrandMapId\": \"30410ed3-b87d-4778-8a11-eaeedcd399d2\",\n    \"ArtworkId\": \"33921988-4c71-4dde-b556-1307114ccd08\",\n    \"BrandMapName\": \"Yogurt Bottle\",\n    \"ArtworkName\": \"Yogurt Bottle - Vanilla\",\n    \"Alerts\": []\n}"},{"id":"1f9d0548-7754-45ab-a1fe-101e8f8073d3","name":"Success - field non existent","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"artworkName\": \"Yogurt Bottle - Vanilla\",\r\n    \"requestPdf\": \"false\",\r\n    \"fields\": [\r\n        {\r\n            \"name\": \"Product Flavour\",\r\n            \"value\": \"Vanilla\"\r\n        },\r\n        {\r\n            \"name\": \"Product Type\",\r\n            \"value\": \"Yogurt\"\r\n        },\r\n        {\r\n            \"name\": \"Product Barcode\",\r\n            \"value\": \"012345678901\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/artworks/:artworkId","host":["https://api.mypackbrain.com/v1"],"path":["artworks",":artworkId"],"variable":[{"key":"artworkId","value":"33921988-4c71-4dde-b556-1307114ccd08"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"BrandMapId\": \"30410ed3-b87d-4778-8a11-eaeedcd399d2\",\n    \"ArtworkId\": \"33921988-4c71-4dde-b556-1307114ccd08\",\n    \"ArtworkName\": \"Yogurt Bottle - Vanilla\",\n    \"Alerts\": [\n        {\n            \"Type\": \"warning\",\n            \"Message\": \"Field \\\"$Product Type\\\" was not found.\"\n        }\n    ]\n}"},{"id":"9441633b-0a11-45ce-bea1-2ce8ba94ee64","name":"Unauthorized","originalRequest":{"method":"PUT","header":[],"url":{"raw":"https://api.mypackbrain.com/v1/artworks/:artworkId","host":["https://api.mypackbrain.com/v1"],"path":["artworks",":artworkId"],"variable":[{"key":"artworkId","value":"33921988-4c71-4dde-b556-1307114ccd08"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"User is not authenticated\"\n}"},{"id":"20c943c6-e4e2-44a9-bd22-57bc8ae51093","name":"Bad request","originalRequest":{"method":"PUT","header":[],"url":{"raw":"https://api.mypackbrain.com/v1/artworks/:artworkId","host":["https://api.mypackbrain.com/v1"],"path":["artworks",":artworkId"],"variable":[{"key":"artworkId","value":"33921988-4c71-4dde-b556-1307114ccd08"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom error message\"\n}"},{"id":"32a81bfe-600d-4e21-8314-dee73c5cf18a","name":"Internal Server Error","originalRequest":{"method":"PUT","header":[],"url":{"raw":"https://api.mypackbrain.com/v1/artworks/:artworkId","host":["https://api.mypackbrain.com/v1"],"path":["artworks",":artworkId"],"variable":[{"key":"artworkId","value":"33921988-4c71-4dde-b556-1307114ccd08"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Artwork Online responded with status code: InternalServerError\"\n}"}],"_postman_id":"e9362094-1d78-49a7-8ee5-a25f640180ae"},{"name":"Delete an artwork","event":[{"listen":"test","script":{"id":"1867a4a0-c74a-4080-9e8c-9543359e75f2","exec":["const testEnvironment = pm.environment.name","","if (testEnvironment === \"Stage\" || testEnvironment === \"Production\") {","    const acceptResponseTime = parseInt(pm.globals.get(\"testAcceptResponseTime\"))","","    const schema = {","        \"type\":\"object\",","        \"properties\": {","            \"BrandMapId\": {","                \"type\": \"string\"","            },","            \"Artworks\": {","                \"type\": \"array\",","                \"items\": {","                    \"type\":\"object\",","                    \"properties\": {","                        \"Id\": {","                            \"type\": \"string\"","                        },","                        \"Name\": {","                            \"type\": \"string\"","                        },","                        \"Created\": {","                            \"type\": \"string\"","                        }","                    },","                    \"additionalProperties\": false","                }","            },","            \"Alerts\": {","                \"type\": \"array\",","                \"items\": {","                }","            }","        },","        \"additionalProperties\": false","    }","    ","","    pm.test(\"AO Test Secured HTTP Function\", function() {","        pm.response.to.have.status(200)","        pm.response.to.have.status(\"OK\")","        pm.expect(pm.response.responseTime).to.be.below(acceptResponseTime);","    });","","    pm.test(\"Generate PDF for invalid GUID\", function() {","        pm.response.to.have.status(400)","        pm.response.to.have.status(\"Bad Request\")","        pm.expect(pm.response.text()).to.include('Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).');","        pm.expect(pm.response.responseTime).to.be.below(acceptResponseTime);","    })","","    // pm.test(\"Generate PDF for invalid GUID\", function() {","    //     pm.response.to.have.status(500)","    //     pm.response.to.have.status(\"Internal Server Error\")","    //     pm.expect(pm.response.text()).to.include('Artwork Online responded with status code: InternalServerError');","    //     pm.expect(pm.response.responseTime).to.be.below(acceptResponseTime);","    // })","","    // pm.test(\"Get Brand Map for invalid client\", function() {","    //     pm.response.to.have.status(401)","    //     pm.response.to.have.status(\"Unauthorized\")","    //     pm.response.to.have.body('{\"Message\":\"User is not authenticated\"}')","    //     pm.expect(pm.response.responseTime).to.be.below(acceptResponseTime);","    // })","}"],"type":"text/javascript"}}],"id":"6154c8c9-a73e-4614-abc3-fcf8690d0f1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.mypackbrain.com/v1/artworks/:artworkId","description":"<p>Delete a variant (artwork).</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["artworks",":artworkId"],"host":["https://api.mypackbrain.com/v1"],"query":[],"variable":[{"description":{"content":"<p>Required. Artwork ID of the variant to be removed.</p>\n","type":"text/plain"},"type":"any","value":"","key":"artworkId"}]}},"response":[{"id":"126d160d-41ad-469a-bcba-fdb9986c484d","name":"Success","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://api.mypackbrain.com/v1/artworks/:artworkId","host":["https://api.mypackbrain.com/v1"],"path":["artworks",":artworkId"],"variable":[{"key":"artworkId","value":"33921988-4c71-4dde-b556-1307114ccd08"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":""},{"id":"7fd559c9-6b88-4d72-bb2a-0b5f3ff514a1","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://api.mypackbrain.com/v1/artworks/:artworkId","host":["https://api.mypackbrain.com/v1"],"path":["artworks",":artworkId"],"variable":[{"key":"artworkId","value":"33921988-4c71-4dde-b556-1307114ccd08"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"User is not authenticated\"\n}"},{"id":"25694376-1484-489a-a6f8-3dd1be4c906c","name":"Bad request","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://api.mypackbrain.com/v1/artworks/:artworkId","host":["https://api.mypackbrain.com/v1"],"path":["artworks",":artworkId"],"variable":[{"key":"artworkId","value":"33921988-4c71-4dde-b556-1307114ccd08"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom error message\"\n}"},{"id":"ce1ab63d-b1df-4dd7-8621-cc8c629c432d","name":"Internal Server Error","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://api.mypackbrain.com/v1/artworks/:artworkId","host":["https://api.mypackbrain.com/v1"],"path":["artworks",":artworkId"],"variable":[{"key":"artworkId","value":"33921988-4c71-4dde-b556-1307114ccd08"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Artwork Online responded with status code: InternalServerError\"\n}"}],"_postman_id":"6154c8c9-a73e-4614-abc3-fcf8690d0f1a"}],"id":"01b19498-8f09-4928-addf-7f5b5c2c3ba3","description":"<p>Artworks contain all information required to produce a final graphic file (e.g. PDF). They include variable data used to produce artwork variants from Brand-Maps.</p>\n","_postman_id":"01b19498-8f09-4928-addf-7f5b5c2c3ba3","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}}},{"name":"Requests","item":[{"name":"Generate a PDF file","event":[{"listen":"test","script":{"id":"b2b7d339-44b6-4088-81da-1a181ccd3bf6","exec":["const testEnvironment = pm.environment.name","","if (testEnvironment === \"Stage\" || testEnvironment === \"Production\") {","    const acceptResponseTime = parseInt(pm.globals.get(\"testAcceptResponseTime\"))","","    const schema = {","        \"type\":\"object\",","        \"properties\":{","            \"BrandMapId\":{","                \"type\":\"string\",","            },","            \"ArtworkId\":{","                \"type\":\"string\",","            },","            \"ArtworkName\":{","                \"type\":\"string\",","            },","            \"Alerts\":{","                \"type\": \"array\",","                \"items\": {","                    \"type\": \"object\",","                    \"properties\": {","                        \"Type\": {","                            \"type\": \"string\"","                        },","                        \"Message\": {","                            \"type\": \"string\"","                        }","                    },","                    \"additionalProperties\":false","                }  ","            }","        },","        \"additionalProperties\":false","    }","","    const testType = pm.variables.get(\"testType\");","","    if(testType === \"1\") {","        pm.test(\"Get Brand Maps for valid client\", function() {","            if(pm.response.to.have.status(400)) {","                pm.response.to.have.status(\"Bad Request\")","                pm.response.to.have.jsonSchema(schema)","                pm.expect(pm.response.text()).to.include('Not available tokens to perform the generation');","                pm.expect(pm.response.responseTime).to.be.below(acceptResponseTime);","            }","            else {","                pm.response.to.have.status(200)","                pm.response.to.have.status(\"OK\")","                pm.response.to.have.jsonSchema(schema)","                pm.expect(pm.response.responseTime).to.be.below(acceptResponseTime);","            }","            ","        });","    }","","    if(testType === \"2\") {","        pm.test(\"Generate PDF for invalid GUID\", function() {","            pm.response.to.have.status(500)","            pm.response.to.have.status(\"Internal Server Error\")","            pm.expect(pm.response.text()).to.include('Artwork Online responded with status code: InternalServerError');","            pm.expect(pm.response.responseTime).to.be.below(acceptResponseTime);","        })","    }","","    if(testType === \"3\") {","        pm.test(\"Generate PDF for invalid GUID\", function() {","            pm.response.to.have.status(400)","            pm.response.to.have.status(\"Bad Request\")","            pm.expect(pm.response.text()).to.include('Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).');","            pm.expect(pm.response.responseTime).to.be.below(acceptResponseTime);","        })","    }","","    if(testType === \"4\") {","        pm.test(\"Generate PDF for invalid GUID\", function() {","            pm.response.to.have.status(500)","            pm.response.to.have.status(\"Internal Server Error\")","            pm.expect(pm.response.text()).to.include('Artwork Online responded with status code: InternalServerError');","            pm.expect(pm.response.responseTime).to.be.below(acceptResponseTime);","        })","    }","","    if(testType === \"5\") {","        pm.test(\"Get Brand Maps for invalid client\", function() {","            pm.response.to.have.status(401)","            pm.response.to.have.status(\"Unauthorized\")","            pm.response.to.have.body('{\"Message\":\"User is not authenticated\"}')","            pm.expect(pm.response.responseTime).to.be.below(acceptResponseTime);","        })","    }","","","","","","    // pm.test(\"Generate PDF for invalid GUID\", function() {","    //     pm.response.to.have.status(400)","    //     pm.response.to.have.status(\"Bad Request\")","    //     pm.expect(pm.response.text()).to.include('Guid string should only contain hexadecimal characters');","    //     pm.expect(pm.response.responseTime).to.be.below(acceptResponseTime);","    // })","","","","    //pm.test(\"Get Brand Maps for invalid client\", function() {","    //     pm.response.to.have.status(401)","    //     pm.response.to.have.status(\"Unauthorized\")","    //     pm.response.to.have.body('{\"Message\":\"User is not authenticated\"}')","    //     pm.expect(pm.response.responseTime).to.be.below(acceptResponseTime);","    // })","}"],"type":"text/javascript"}}],"id":"64a2baad-d600-4ec3-abab-75620a136339","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.mypackbrain.com/v1/artworks/:artworkId/request","description":"<p>Produces a final graphic file (PDF) and saves it to Files on MYPACKBRAIN platform.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["artworks",":artworkId","request"],"host":["https://api.mypackbrain.com/v1"],"query":[],"variable":[{"description":{"content":"<p>Required. Artwork ID of the variant to be generated.</p>\n","type":"text/plain"},"type":"any","value":"","key":"artworkId"}]}},"response":[{"id":"ecc63326-c388-4c61-9d3b-6e29944f058d","name":"Success","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://api.mypackbrain.com/v1/artworks/:artworkId/request","host":["https://api.mypackbrain.com/v1"],"path":["artworks",":artworkId","request"],"variable":[{"key":"artworkId","value":"33921988-4c71-4dde-b556-1307114ccd08"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"RequestId\": \"cc0d57ff-f403-441a-87c4-77fa22114fbb\",\n    \"BrandMapId\": \"30410ed3-b87d-4778-8a11-eaeedcd399d2\",\n    \"ArtworkId\": \"33921988-4c71-4dde-b556-1307114ccd08\",\n    \"BrandMapName\": \"Yogurt Bottle\",\n    \"ArtworkName\": \"Yogurt Bottle - Vanilla\",\n    \"Alerts\": []\n}"},{"id":"807d9a4a-74ae-4672-9d43-b627bd175976","name":"Unauthorized","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://api.mypackbrain.com/v1/artworks/:artworkId/request","host":["https://api.mypackbrain.com/v1"],"path":["artworks",":artworkId","request"],"variable":[{"key":"artworkId","value":"33921988-4c71-4dde-b556-1307114ccd08"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"User is not authenticated\"\n}"},{"id":"f2196db5-35ca-44e4-af21-b9cbf80f1f52","name":"Bad Request","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://api.mypackbrain.com/v1/artworks/:artworkId/request","host":["https://api.mypackbrain.com/v1"],"path":["artworks",":artworkId","request"],"variable":[{"key":"artworkId","value":"33921988-4c71-4dde-b556-1307114ccd08"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom error message\"\n}"},{"id":"559266ee-2ec5-4d17-b5aa-53331c50b57b","name":"Internal Server Error","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://api.mypackbrain.com/v1/artworks/:artworkId/request","host":["https://api.mypackbrain.com/v1"],"path":["artworks",":artworkId","request"],"variable":[{"key":"artworkId","value":"33921988-4c71-4dde-b556-1307114ccd08"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Artwork Online responded with status code: InternalServerError\"\n}"}],"_postman_id":"64a2baad-d600-4ec3-abab-75620a136339"}],"id":"15c646f3-dd6e-4bee-ac99-65115df75dfb","description":"<p>Requests represent a message to a server asking an API to provide a final graphic file (e.g. PDF) for specific artworks.</p>\n","_postman_id":"15c646f3-dd6e-4bee-ac99-65115df75dfb","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}}},{"name":"Workflows","item":[{"name":"List assets","id":"0d68c52b-1df7-492c-839a-258305d2695e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":"https://api.mypackbrain.com/v1/workflows/assets","urlObject":{"path":["workflows","assets"],"host":["https://api.mypackbrain.com/v1"],"query":[],"variable":[]}},"response":[{"id":"5cefe5f0-6acf-48ba-8ce2-a8882bcb863f","name":"Success","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"{api-key-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":"https://api.mypackbrain.com/v1/workflows/assets"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"[\r\n    {\r\n        \"id\": 6,\r\n        \"number\": 6,\r\n        \"name\": \"Asset1\"\r\n    },\r\n    {\r\n        \"id\": 3,\r\n        \"number\": 3,\r\n        \"name\": \"Asset2\"\r\n    }\r\n]"},{"id":"e37e5055-af40-4321-ac9b-f836425b1a40","name":"Unauthorized","originalRequest":{"method":"GET","header":[],"url":"https://api.mypackbrain.com/v1/workflows/assets"},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"4fed48ef-cdcc-4781-8b93-ba289174f65b","name":"Internal Server Error","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"{api-key-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":"https://api.mypackbrain.com/v1/workflows/assets"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"0d68c52b-1df7-492c-839a-258305d2695e"},{"name":"Get asset","id":"8dbfda73-1f05-47fd-9402-b54e9daad52a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":"https://api.mypackbrain.com/v1/workflows/assets/:assetId","urlObject":{"path":["workflows","assets",":assetId"],"host":["https://api.mypackbrain.com/v1"],"query":[],"variable":[{"id":"162cc449-e5a8-428d-b517-a82bce8a0b19","type":"any","value":"1","key":"assetId"}]}},"response":[{"id":"7d44c8d6-7e4f-4efc-b66f-973463c5fef0","name":"Success","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"{api-key-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":{"raw":"https://api.mypackbrain.com/v1/workflows/assets/:assetId","host":["https://api.mypackbrain.com/v1"],"path":["workflows","assets",":assetId"],"variable":[{"key":"assetId","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"id\": 4011,\r\n    \"processFlowId\": 1,\r\n    \"timingGroupName\": \"Standard Timings\",\r\n    \"name\": \"AssetExample\"\r\n}"},{"id":"f9aebca6-1c1f-4439-89d5-dedbcf0eb2fc","name":"Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.mypackbrain.com/v1/workflows/assets/:assetId","host":["https://api.mypackbrain.com/v1"],"path":["workflows","assets",":assetId"],"variable":[{"key":"assetId","value":""}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"8dbfda73-1f05-47fd-9402-b54e9daad52a"},{"name":"Get asset properties","id":"c7ebc1a0-017b-4ba7-b22f-f5e3a6336e50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":"https://api.mypackbrain.com/v1/workflows/assets/:assetId/properties","urlObject":{"path":["workflows","assets",":assetId","properties"],"host":["https://api.mypackbrain.com/v1"],"query":[],"variable":[{"description":{"content":"<p>Required. ID of the asset to get properties.</p>\n","type":"text/plain"},"type":"any","value":"1","key":"assetId"}]}},"response":[{"id":"f0c6c210-e982-4c95-a4d3-c990246014df","name":"Success","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"{api-key-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":{"raw":"https://api.mypackbrain.com/v1/workflows/assets/:assetId/properties","host":["https://api.mypackbrain.com/v1"],"path":["workflows","assets",":assetId","properties"],"variable":[{"key":"assetId","value":"10"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"archived\": false,\n    \"complete\": false,\n    \"completedDate\": \"0001-01-01T00:00:00\",\n    \"contact\": null,\n    \"created\": \"2021-01-29T16:49:27.72\",\n    \"customerCode\": null,\n    \"draft\": 0,\n    \"externalNumber\": 0,\n    \"group\": \"Group\",\n    \"id\": 10,\n    \"isHot\": false,\n    \"name\": \"AssetExample\",\n    \"number\": 10,\n    \"onHold\": false,\n    \"onHoldUntil\": \"0001-01-01T00:00:00\",\n    \"printer\": null,\n    \"printer2\": null,\n    \"priority\": \"\",\n    \"processFlowId\": 1,\n    \"processFlowName\": \"Tasset Example\",\n    \"requiredBy\": \"0001-01-01T00:00:00\",\n    \"start\": \"0001-01-01T00:00:00\",\n    \"stateId\": 51,\n    \"stateName\": \"01. Start\",\n    \"subDraft\": 21,\n    \"supplier\": null,\n    \"timingGroupName\": \"Timing group\",\n    \"uniqueIdentificationCode\": \"CodeZZ\",\n    \"version\": 0,\n    \"GTIN\": \"123\",\n    \"RequiresLeaflet\": null,\n    \"MyDateProp\": null,\n    \"LineNumber\": \"123\",\n    \"SKU\": \"123\",\n    \"PackagingType\": \"Bottle\"\n}"},{"id":"5bb68f0d-c93b-4169-82c3-3190c412b387","name":"Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.mypackbrain.com/v1/workflows/assets/:assetId/properties","host":["https://api.mypackbrain.com/v1"],"path":["workflows","assets",":assetId","properties"],"variable":[{"key":"assetId","value":"1"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"4edb6d68-0868-4ec3-808d-d726bacf56e5","name":"Internal Server Error","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"{api-key-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":{"raw":"https://api.mypackbrain.com/v1/workflows/assets/:assetId/properties","host":["https://api.mypackbrain.com/v1"],"path":["workflows","assets",":assetId","properties"],"variable":[{"key":"assetId","value":"1"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"b88372e0-5a45-44da-8226-71efd9da4bb4","name":"Not Found","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"{api-key-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":{"raw":"https://api.mypackbrain.com/v1/workflows/assets/:assetId/properties","host":["https://api.mypackbrain.com/v1"],"path":["workflows","assets",":assetId","properties"],"variable":[{"key":"assetId","value":"0"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"c7ebc1a0-017b-4ba7-b22f-f5e3a6336e50"},{"name":"Get asset states","id":"dbd1ba80-9f56-4d50-8327-7031a82915ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":"https://api.mypackbrain.com/v1/workflows/assets/:assetId/states","urlObject":{"path":["workflows","assets",":assetId","states"],"host":["https://api.mypackbrain.com/v1"],"query":[],"variable":[{"id":"bf5ab727-f865-4637-8dd4-4a3f3d507668","type":"any","value":"","key":"assetId"}]}},"response":[{"id":"163bb6b8-7cb6-4d23-96fb-8218c6152875","name":"Success","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"{api-key-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":{"raw":"https://api.mypackbrain.com/v1/workflows/assets/:assetId/states","host":["https://api.mypackbrain.com/v1"],"path":["workflows","assets",":assetId","states"],"variable":[{"key":"assetId","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"[\r\n    {\r\n        \"id\": 2,\r\n        \"name\": \"State1\"\r\n    },\r\n    {\r\n        \"id\": 3,\r\n        \"name\": \"State2\"\r\n    }\r\n]"},{"id":"c83de2d8-8f2d-4616-8643-e5b540069841","name":"Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.mypackbrain.com/v1/workflows/assets/:assetId/states","host":["https://api.mypackbrain.com/v1"],"path":["workflows","assets",":assetId","states"],"variable":[{"key":"assetId","value":""}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"5708aa7d-65ec-40db-bdbc-36df67b1f39d","name":"Internal Server Error","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"{api-key-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":{"raw":"https://api.mypackbrain.com/v1/workflows/assets/:assetId/states","host":["https://api.mypackbrain.com/v1"],"path":["workflows","assets",":assetId","states"],"variable":[{"key":"assetId","value":""}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"dbd1ba80-9f56-4d50-8327-7031a82915ee"},{"name":"Get business file types","id":"ce9fb4ed-59d2-4e41-b72a-c01440e78c01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":"https://api.mypackbrain.com/v1/workflows/business-file-types?processFlowId=1","urlObject":{"path":["workflows","business-file-types"],"host":["https://api.mypackbrain.com/v1"],"query":[{"key":"processFlowId","value":"1"}],"variable":[]}},"response":[{"id":"9910db64-5694-4334-a0a4-a4ba12c768e2","name":"Success","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"{api-key-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":"https://api.mypackbrain.com/v1/workflows/business-file-types"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"[\r\n    {\r\n        \"id\": 6,\r\n        \"name\": \"BusinessFileType1\"\r\n    },\r\n    {\r\n        \"id\": 3,\r\n        \"name\": \"BusinessFileType2\"\r\n    }\r\n]"},{"id":"c722afa5-081a-428b-bb8d-dc16a0f6cc3c","name":"Success (with processFlowId)","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"{api-key-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":{"raw":"https://api.mypackbrain.com/v1/workflows/business-file-types?processFlowId=1","host":["https://api.mypackbrain.com/v1"],"path":["workflows","business-file-types"],"query":[{"key":"processFlowId","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"[\r\n    {\r\n        \"id\": 6,\r\n        \"name\": \"BusinessFileType_ForProcessFlowFromQuery\"\r\n    }\r\n]"},{"id":"f4aa1d42-8abd-4acc-8ccd-8e557e0846d9","name":"Unauthorized","originalRequest":{"method":"GET","header":[],"url":"https://api.mypackbrain.com/v1/workflows/business-file-types"},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"2977d4b8-e9f6-4842-94a6-92e6d21e9e72","name":"Internal Server Error","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"{api-key-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":"https://api.mypackbrain.com/v1/workflows/business-file-types"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"ce9fb4ed-59d2-4e41-b72a-c01440e78c01"},{"name":"Create new asset","id":"36a379c5-36fa-40e8-ae72-ecf5070f7fc6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"{\r\n    \"entryPointId\": 2,\r\n    \"processFlowId\": 1,\r\n    \"approvalGroupId\": 6,\r\n    \"timingGroupId\": 1,\r\n    \"properties\": {\r\n        // Core\r\n        \"name\": \"NewAssetByAPI\",\r\n        \"requiredBy\": \"12/12/2022\",\r\n        //Custom\r\n        \"lineNumber\": \"ab\",\r\n        \"sku\": 22,\r\n        \"gtin\": 123,\r\n        \"packagingType\": \"Bottle\",\r\n        \"requiresLeaflet\": false\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mypackbrain.com/v1/workflows/assets","description":"<p>Creates new asset by passing process details (EntryPointId, ProcessFlowId, ApprovalGroupId, TimingGroupId) and chosen properties (Core and Custom).</p>\n<p>Properties which are not provided will be set to default values.</p>\n","urlObject":{"path":["workflows","assets"],"host":["https://api.mypackbrain.com/v1"],"query":[],"variable":[]}},"response":[{"id":"5c0cfa0b-978b-42de-adb2-6debbdf601c1","name":"Success","originalRequest":{"method":"POST","header":[{"key":"api-key","value":"{api-key-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"{\r\n    \"entryPointId\": 2,\r\n    \"processFlowId\": 1,\r\n    \"approvalGroupId\": 6,\r\n    \"timingGroupId\": 1,\r\n    \"properties\": {\r\n        // Core\r\n        \"name\": \"NewAssetByAPI\",\r\n        \"requiredBy\": \"12/12/2022\",\r\n        //Custom\r\n        \"lineNumber\": \"ab\",\r\n        \"sku\": 22,\r\n        \"gtin\": 123,\r\n        \"packagingType\": \"Bottle\",\r\n        \"requiresLeaflet\": false\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mypackbrain.com/v1/workflows/assets"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 10,\n    \"number\": 10\n}"},{"id":"c3c7ab16-2a63-41e3-b9d4-e2989c9fd6b0","name":"Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"entryPointId\": 2,\r\n    \"processFlowId\": 1,\r\n    \"approvalGroupId\": 6,\r\n    \"timingGroupId\": 1,\r\n    \"properties\": {\r\n        // Core\r\n        \"name\": \"NewAssetByAPI\",\r\n        \"requiredBy\": \"12/12/2022\",\r\n        //Custom\r\n        \"lineNumber\": \"ab\",\r\n        \"sku\": 22,\r\n        \"gtin\": 123,\r\n        \"packagingType\": \"Bottle\",\r\n        \"requiresLeaflet\": false\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mypackbrain.com/v1/workflows/assets"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":""},{"id":"b2e9c722-4c3a-49b4-bbd3-1f5f94159c18","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"api-key","value":"{api-key-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"{\r\n    \"entryPointId\": \"2a\", // Has to be an integer\r\n    \"processFlowId\": 1,\r\n    \"approvalGroupId\": 6,\r\n    \"timingGroupId\": 1,\r\n    \"properties\": {\r\n        // Core\r\n        \"name\": \"NewAssetByAPI\",\r\n        \"requiredBy\": \"12/12/2022\",\r\n        //Custom\r\n        \"lineNumber\": \"ab\",\r\n        \"sku\": 22,\r\n        \"gtin\": 123,\r\n        \"packagingType\": \"Bottle\",\r\n        \"requiresLeaflet\": false\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mypackbrain.com/v1/workflows/assets"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"AssetCreationException\",\n    \"title\": \"Asset can't be created.\",\n    \"status\": 400\n}"},{"id":"fe0c7435-f580-4b57-89aa-51904b10c946","name":"Internal Server Error","originalRequest":{"method":"POST","header":[{"key":"api-key","value":"{api-key-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"{\r\n    \"entryPointId\": 2,\r\n    \"processFlowId\": 1,\r\n    \"approvalGroupId\": 6,\r\n    \"timingGroupId\": 1,\r\n    \"properties\": {\r\n        // Core\r\n        \"name\": \"NewAssetByAPI\",\r\n        \"requiredBy\": \"12/12/2022\",\r\n        //Custom\r\n        \"lineNumber\": \"ab\",\r\n        \"sku\": 22,\r\n        \"gtin\": 123,\r\n        \"packagingType\": \"Bottle\",\r\n        \"requiresLeaflet\": false\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mypackbrain.com/v1/workflows/assets"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n  \"Message\": \"Workflows responded with status code: InternalServerError\"\r\n}"}],"_postman_id":"36a379c5-36fa-40e8-ae72-ecf5070f7fc6"},{"name":"Update asset","id":"41bb1c20-c2a3-4fe7-ab7d-de24c813a6ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"PATCH","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"{\r\n    \"stateId\": 3 // StateID we wish to move asset to or command 'approve' | 'reject'\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mypackbrain.com/v1/workflows/assets/:assetId","description":"<p>Updates asset properties.</p>\n","urlObject":{"path":["workflows","assets",":assetId"],"host":["https://api.mypackbrain.com/v1"],"query":[],"variable":[{"type":"any","value":"Required. ID of  the asset to update.","key":"assetId"}]}},"response":[{"id":"2d424aab-285b-47b8-a00a-454043a8b9ff","name":"Success (with stateId)","originalRequest":{"method":"PATCH","header":[{"key":"api-key","value":"{api-key-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"{\r\n    \"stateId\": 3 // StateID we wish to move asset to or command 'approve' | 'reject'\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/workflows/assets/:assetId","host":["https://api.mypackbrain.com/v1"],"path":["workflows","assets",":assetId"],"variable":[{"key":"assetId","value":"22"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":null},{"id":"ba7eb318-3c69-4559-8917-39413878aed2","name":"Success (with command)","originalRequest":{"method":"PATCH","header":[{"key":"api-key","value":"{api-key-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"{\r\n    \"stateId\": \"approve\" // StateID we wish to move asset to or command 'approve' | 'reject'\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/workflows/assets/:assetId","host":["https://api.mypackbrain.com/v1"],"path":["workflows","assets",":assetId"],"variable":[{"key":"assetId","value":"22"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":null},{"id":"5151ef45-34ef-4919-a49d-4a9656304330","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"stateId\": 3 // StateID we wish to move asset to or command 'approve' | 'reject'\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/workflows/assets/:assetId","host":["https://api.mypackbrain.com/v1"],"path":["workflows","assets",":assetId"],"variable":[{"key":"assetId","value":"1"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":null},{"id":"01676292-1e84-4a98-8a78-02b21439d77c","name":"Bad Request","originalRequest":{"method":"PATCH","header":[{"key":"api-key","value":"{api-key-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"{\r\n    \"stateId\": 3 // StateID we wish to move asset to or command 'approve' | 'reject'\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/workflows/assets/:assetId","host":["https://api.mypackbrain.com/v1"],"path":["workflows","assets",":assetId"],"variable":[{"key":"assetId","value":""}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"AssetUpdateException\",\n    \"title\": \"Asset could not be returned properly.\",\n    \"status\": 400,\n    \"detail\": \"Asset could not be updated properly. Service action for moving from StateId: '2' to StateId: 2 not found.\",\n    \"traceId\": \"00-cfdee1da37661f67378a063579814207-fc208a7304b1991c-00\"\n}"},{"id":"40bad72d-e5e6-4bcb-8e72-ca68663f9608","name":"Not Found","originalRequest":{"method":"PATCH","header":[{"key":"api-key","value":"{api-key-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"{\r\n    \"stateId\": 3 // StateID we wish to move asset to or command 'approve' | 'reject'\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/workflows/assets/:assetId","host":["https://api.mypackbrain.com/v1"],"path":["workflows","assets",":assetId"],"variable":[{"key":"assetId","value":"11"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"AssetNotFoundException\",\n    \"title\": \"Asset could not be found.\",\n    \"status\": 404,\n    \"detail\": \"Asset with ID = 11 could not be found.\",\n    \"traceId\": \"00-af7c844c139be9ba299e6633eb30973d-8c696eb81bded9d6-00\"\n}"}],"_postman_id":"41bb1c20-c2a3-4fe7-ab7d-de24c813a6ae"},{"name":"Update asset properties","id":"6e0509b1-d95a-4792-88a8-4ff3adaf1df0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"PATCH","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"{\r\n    \"lineNumber\": 122,\r\n    \"requiresLeaflet\": false\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mypackbrain.com/v1/workflows/assets/:assetId/properties","description":"<p>Updates asset properties.</p>\n","urlObject":{"path":["workflows","assets",":assetId","properties"],"host":["https://api.mypackbrain.com/v1"],"query":[],"variable":[{"type":"any","value":"Required. ID of the asset to update.","key":"assetId"}]}},"response":[{"id":"d8754b6f-c6c9-455d-86e6-de0e4b8691ab","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"api-key","value":"{api-key-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"{\r\n    // Core\r\n    \"requiredBy\": \"09/12/2023\",\r\n\r\n    //Custom\r\n    \"gtin\": 123,\r\n    \"packagingType\": \"Bottle\" // Currently, selectbox values are not validated\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/workflows/assets/:assetId/properties","host":["https://api.mypackbrain.com/v1"],"path":["workflows","assets",":assetId","properties"],"variable":[{"key":"assetId","value":"20"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":""},{"id":"b370a0a3-108b-4805-9299-90437ac0c8b3","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    // Core\r\n    \"requiredBy\": \"12/12/2022\",\r\n\r\n    // Custom\r\n    \"lineNumber\": \"ab\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/workflows/assets/:assetId/properties","host":["https://api.mypackbrain.com/v1"],"path":["workflows","assets",":assetId","properties"],"variable":[{"key":"assetId","value":"1"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":""},{"id":"abc68157-a11d-4736-9b41-add8f5cac798","name":"Bad Request","originalRequest":{"method":"PATCH","header":[{"key":"api-key","value":"{api-key-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"{\r\n    \"requiredBy\": \"09.12.2023\" // Wrong date format\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/workflows/assets/:assetId/properties","host":["https://api.mypackbrain.com/v1"],"path":["workflows","assets",":assetId","properties"],"variable":[{"key":"assetId","value":"1"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Custom error message\"\n}"},{"id":"4920e184-bd8a-4eed-96b8-e8bd1638e512","name":"Internal Server Error","originalRequest":{"method":"PATCH","header":[{"key":"api-key","value":"{api-key-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"{\r\n    // Core\r\n    \"requiredBy\": \"09/12/2023\",\r\n\r\n    // Custom\r\n    \"gtin\": 123,\r\n    \"packagingType\": \"Bottle\" // Currently, dropdown values are not validated\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/workflows/assets/:assetId/properties","host":["https://api.mypackbrain.com/v1"],"path":["workflows","assets",":assetId","properties"],"variable":[{"key":"assetId","value":"1"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":""},{"id":"dfd9aa28-1a2f-479f-b367-405696f6f1bb","name":"Not Found","originalRequest":{"method":"PATCH","header":[{"key":"api-key","value":"{api-key-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"{\r\n    \"lineNumber\": \"122\",\r\n    \"requiresLeaflet\": false\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/workflows/assets/:assetId/properties","host":["https://api.mypackbrain.com/v1"],"path":["workflows","assets",":assetId","properties"],"variable":[{"key":"assetId","value":"0"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"Message\": \"Asset with id: 20 has not be found\"\n}"}],"_postman_id":"6e0509b1-d95a-4792-88a8-4ff3adaf1df0"},{"name":"Upload file to asset","id":"a350cea2-aa20-49a9-ac2c-564f3cb32f33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":"https://api.mypackbrain.com/v1/workflows/assets/:assetId/files","urlObject":{"path":["workflows","assets",":assetId","files"],"host":["https://api.mypackbrain.com/v1"],"query":[],"variable":[{"id":"a882f611-8c4a-41d9-af2c-be2aa5b8fafd","type":"any","value":"1","key":"assetId"}]}},"response":[{"id":"a8842c00-d9a6-46b7-bebf-26b330f47ddb","name":"Success","originalRequest":{"method":"POST","header":[{"key":"api-key","value":"{api-key-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","uuid":"7904cdd0-eb15-4a1c-9cb7-bf7a13cc4843"},{"key":"businessFileTypeId","value":"1","type":"text","uuid":"2ecef947-9511-4318-8d91-4d526375cb2c"},{"key":"name","value":"fileMyName","description":"Optional","type":"text","uuid":"dd35d215-16cf-46a8-9980-b0e02e171c31"},{"key":"mimeType","value":"application/pdf","description":"Optional","type":"text","uuid":"d350aa21-c301-4b90-a8c3-120b99f1cd94"}]},"url":{"raw":"https://api.mypackbrain.com/v1/workflows/assets/:assetId/files","host":["https://api.mypackbrain.com/v1"],"path":["workflows","assets",":assetId","files"],"variable":[{"key":"assetId","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"id\": 111\r\n}"},{"id":"0e2ffcc7-8608-4e7f-be37-fada067444a4","name":"Unauthorized","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://api.mypackbrain.com/v1/workflows/assets/:assetId/files","host":["https://api.mypackbrain.com/v1"],"path":["workflows","assets",":assetId","files"],"variable":[{"key":"assetId","value":"1"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"a350cea2-aa20-49a9-ac2c-564f3cb32f33"}],"id":"80c50d71-2da8-473d-b22a-1d5c7f8fff6e","description":"<p>Workflows represents endpoints, performing interaction using REST API, regarding workflow objects (e.g. assets).</p>\n","_postman_id":"80c50d71-2da8-473d-b22a-1d5c7f8fff6e","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}}},{"name":"Webhooks","item":[{"name":"Create a webhook","id":"2352fa67-5a88-4017-b55e-8fa3163d0955","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"webhookUrl\": \"https://your-webhook.url\",\r\n    \"eventTypes\": [ \"RequestCompleted\" ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mypackbrain.com/v1/webhooks","description":"<p>An HTTP POST request to this endpoint will register a webhook for given event types. The body of the registration request should be a JSON with following properties:</p>\n<ul>\n<li><strong>webhookUrl</strong> - a public URL you want to receive webhooks on.</li>\n<li><strong>eventTypes</strong> - an array of event types to trigger the webhook events to be sent to the webhook URL. The only possible value for now is <code>RequestCompleted</code>.</li>\n</ul>\n<p>The response after creating a webhook will include following data:</p>\n<ul>\n<li><strong>id</strong> - defining the unique ID of the webhook registration</li>\n<li><strong>secret</strong> - a secret key which will be attached to any webhook triggered event as an HTTP header named <code>x-secret-key</code>. It's highly suggested to verify the secrets on any requests you will receive on the public URL to ensure they are coming from MyPackBrain.</li>\n</ul>\n<p>When an event occurs in MYPACKBRAIN systems for your tenant, if there is at least one webhook registration for the given event, a POST request will be sent to the requested <strong>webhookUrl</strong>.</p>\n<p>For example, a <code>RequestCompleted</code> webhook will result with a POST request being sent to the <strong>webhookUrl</strong> like follows:</p>\n<p><strong>HTTP Headers</strong></p>\n<p><code>x-secret-key: wSudpM/hSOCn9dzW2PQG+PZMsgl6uyKdqEsUhVb8Z95uzXmp/K+bWcY3TWFysd2f;</code></p>\n<p><strong>Content</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"RequestId\": \"ff9d6f7e-6bdb-45e7-a804-e8239291993e\",\n  \"FileId\": \"796e58c3-e25f-4441-b79f-c09c93a4e73b\",\n  \"VersionId\": \"6d5de970-6c9a-484c-b9f8-7612a5294cdd\",\n  \"BrandMapId\": \"be8a5aa3-f4f8-5217-ab08-de6517cfa4a6\",\n  \"VariantId\": \"5ec724ad-2ffb-43e3-b4c8-35a199de4de4\",\n  \"TenantId\": 114\n}\n\n</code></pre>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["webhooks"],"host":["https://api.mypackbrain.com/v1"],"query":[],"variable":[]}},"response":[{"id":"65649214-4e9f-40b7-9ce9-c174657f1b05","name":"Register RequestCompleted Webhook","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"webhookUrl\": \"https://your-webhook.url/api/webhook\",\r\n    \"eventTypes\": [\r\n        \"RequestCompleted\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mypackbrain.com/v1/webhooks"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"eaa23501-939b-47fd-8283-3868ca20245b\",\n    \"secret\": \"eCBwVcB6VAG40BbQ7R14BCfIprvMBzC7dm+nrGvpkUcW6BHVd+G0xNImbn5XibxZ\",\n    \"webhookUrl\": \"https://your-webhook.url/api/webhook\",\n    \"eventTypes\": [\n        \"RequestCompleted\"\n    ]\n}"}],"_postman_id":"2352fa67-5a88-4017-b55e-8fa3163d0955"},{"name":"Delete a webhook","id":"5d56b875-6686-49ea-8ce9-359f86100ed6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.mypackbrain.com/v1/webhooks/:webhookId","description":"<p>Deletes a webhook registration.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["webhooks",":webhookId"],"host":["https://api.mypackbrain.com/v1"],"query":[],"variable":[{"description":{"content":"<p>Required. Unique ID of the webhook registration to be deleted.</p>\n","type":"text/plain"},"type":"any","value":"","key":"webhookId"}]}},"response":[{"id":"811f4a98-0006-4c2a-83e4-3ff43f06ae17","name":"Delete Webhook","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://api.mypackbrain.com/v1/webhooks/:webhookId","host":["https://api.mypackbrain.com/v1"],"path":["webhooks",":webhookId"],"variable":[{"key":"webhookId","value":null}]}},"status":"No Content","code":204,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"5d56b875-6686-49ea-8ce9-359f86100ed6"},{"name":"Get all webhooks","id":"5d02ea8c-31f3-412f-850e-31abfdf62ce1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.mypackbrain.com/v1/webhooks","description":"<p>Returns a list of all webhook registrations for your tenant.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["webhooks"],"host":["https://api.mypackbrain.com/v1"],"query":[],"variable":[]}},"response":[{"id":"6da30e22-c3d4-4f6a-af0c-a84cb136926a","name":"Get Webhooks","originalRequest":{"method":"GET","header":[],"url":"https://api.mypackbrain.com/v1/webhooks"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"bcc2ba3f-033b-45a1-940c-d0210d5a509d\",\n        \"webhookUrl\": \"https://your-webhook.url/api/webhook\",\n        \"eventTypes\": [\n            \"RequestCompleted\"\n        ]\n    }\n]"}],"_postman_id":"5d02ea8c-31f3-412f-850e-31abfdf62ce1"}],"id":"aae60274-6d0b-4188-b395-1cfc5b169753","description":"<p>Information required to register and manage a webhook for events originating within MYPACKBRAIN systems.</p>\n","_postman_id":"aae60274-6d0b-4188-b395-1cfc5b169753","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}}},{"name":"Documents","item":[{"name":"Content Elements","item":[{"name":"Create content element","id":"38eaf357-2739-4a1b-8655-fbd023d02c21","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"{\r\n    \"documentUid\": \"12319679-f17a-4fa4-bd9f-895aaced888a\",\r\n    \"contentTypeUid\": \"234cedd8-c84b-4e57-8981-0857f274afe3\",\r\n    \"languageUid\": \"4558c4b9-c1e8-4263-947d-eaa170f975a9\",\r\n    \"content\": \"<p>New content element</p>\",\r\n    \"contentMetadata\": null,\r\n    \"elementTypeCode\": \"CopyElementTypeCode\" // CopyElementTypeCode or GraphicElementTypeCode\r\n}","options":{"raw":{"language":"json"}}},"url":"{{mpbApiV1}}/docs/content-elements","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","content-elements"],"host":["{{mpbApiV1}}"],"query":[],"variable":[]}},"response":[{"id":"ee34cf1e-445e-40bc-9cdd-7f58d7fafb5e","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"documentUid\": \"12319679-f17a-4fa4-bd9f-895aaced888a\",\r\n    \"contentTypeUid\": \"234cedd8-c84b-4e57-8981-0857f274afe3\",\r\n    \"languageUid\": \"4558c4b9-c1e8-4263-947d-eaa170f975a9\",\r\n    \"content\": \"<p>New content element</p>\",\r\n    \"contentMetadata\": null,\r\n    \"elementTypeCode\": \"CopyElementTypeCode\" // CopyElementTypeCode or GraphicElementTypeCode\r\n}","options":{"raw":{"language":"json"}}},"url":"{{mpbApiV1}}/docs/content-elements"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"uid\": \"20ba645a-cbc5-42fe-b8a9-4be300826a0c\"\n}"}],"_postman_id":"38eaf357-2739-4a1b-8655-fbd023d02c21"},{"name":"Import content elements","id":"b43857ce-c23c-42c8-bcea-c381ba8e9229","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"{\r\n    \"type\": \"type\",\r\n    \"primaryLanguage\": \"primaryLanguage\",\r\n    \"primaryText\": \"primaryText\",\r\n    \"globalProperties\": [\r\n        {\r\n            \"key\": \"key\",\r\n            \"value\": \"value\"\r\n        }\r\n    ],\r\n    \"translations\": [\r\n        {\r\n            \"language\": \"language\",\r\n            \"translation\": \"translation\",\r\n            \"globalProperties\": [\r\n                {\r\n                    \"key\": \"key\",\r\n                    \"value\": \"value\"\r\n                }\r\n            ]\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{mpbApiV1}}/docs/content-elements/import","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","content-elements","import"],"host":["{{mpbApiV1}}"],"query":[],"variable":[]}},"response":[{"id":"6e244726-8f2b-469a-a309-359ea25d1987","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"type\": \"type\",\r\n    \"primaryLanguage\": \"primaryLanguage\",\r\n    \"primaryText\": \"primaryText\",\r\n    \"globalProperties\": [\r\n        {\r\n            \"key\": \"key\",\r\n            \"value\": \"value\"\r\n        }\r\n    ],\r\n    \"translations\": [\r\n        {\r\n            \"language\": \"language\",\r\n            \"translation\": \"translation\",\r\n            \"globalProperties\": [\r\n                {\r\n                    \"key\": \"key\",\r\n                    \"value\": \"value\"\r\n                }\r\n            ]\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{mpbApiV1}}/docs/content-elements/import"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\r\n    \"success\": true,\r\n    \"message\": \"some message\",\r\n    \"summary\": {} // TBD\r\n}"}],"_postman_id":"b43857ce-c23c-42c8-bcea-c381ba8e9229"},{"name":"Get content element duplicates","id":"89b2bfd6-2b54-4ed9-bbb5-2ae57d4ed6ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":"{{mpbApiV1}}/docs/content-elements-duplicate","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","content-elements-duplicate"],"host":["{{mpbApiV1}}"],"query":[],"variable":[]}},"response":[{"id":"f970b6b5-f27c-4f24-b4aa-ec188696fbd8","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{mpbApiV1}}/docs/content-elements-duplicate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"[\r\n    {\r\n        \"uid\": \"20ba645a-cbc5-42fe-b8a9-4be300826a0c\",\r\n        \"version\": 1,\r\n        \"organisationUid\": \"eaf4733e-130f-4933-86b1-fd5703115c34\",\r\n        \"contentTypeUid\": \"387ce9a9-d57a-4dcb-89cb-10838d7d656e\",\r\n        \"primaryLanguageUid\": \"80f8c4b9-c1e8-4263-947d-eaa170f975a9\",\r\n        \"correlationId\": \"deb2337d-fd76-4838-b936-36cefa60f8c0\",\r\n        \"elementTypeCode\": \"CopyElementTypeCode\",\r\n        \"primaryTranslationUid\": \"4abb355a-b20a-4cfa-862d-98b21705e9f5\",\r\n        \"primaryTranslation\": {\r\n            \"uid\": \"4abb355a-b20a-4cfa-862d-98b21705e9f5\",\r\n            \"correlationId\": \"00000000-0000-0000-0000-000000000000\",\r\n            \"organisationUid\": \"00000000-0000-0000-0000-000000000000\",\r\n            \"content\": \"<p>fdss</p>\",\r\n            \"contentMetadata\": null,\r\n            \"contentElementUid\": \"20ba645a-cbc5-42fe-b8a9-4be300826a0c\",\r\n            \"languageUid\": \"80f8c4b9-c1e8-4263-947d-eaa170f975a9\",\r\n            \"version\": null,\r\n            \"createdOn\": \"0001-01-01T00:00:00\",\r\n            \"createdBy\": null,\r\n            \"contentElement\": null,\r\n            \"language\": null,\r\n            \"contentElementTranslationAssignments\": []\r\n        },\r\n        \"contentType\": {\r\n            \"uid\": \"387ce9a9-d57a-4dcb-89cb-10838d7d656e\",\r\n            \"ownerOrganisationUid\": null,\r\n            \"elementTypeCode\": \"CopyElementTypeCode\",\r\n            \"name\": \"Additional product variant information\",\r\n            \"contentElements\": [],\r\n            \"organisationExcludedContentTypes\": []\r\n        },\r\n        \"primaryLanguage\": {\r\n            \"uid\": \"80f8c4b9-c1e8-4263-947d-eaa170f975a9\",\r\n            \"localeCode\": \"en-GB\",\r\n            \"displayName\": \"United Kingdom - English (en-GB)\",\r\n            \"ownerOrganisationUid\": null,\r\n            \"contentElements\": [],\r\n            \"translations\": [],\r\n            \"contentElementTranslationAssignments\": [],\r\n            \"organisationLanguages\": [],\r\n            \"masterDocumentLanguages\": []\r\n        },\r\n        \"contentElementGroupAssignments\": [],\r\n        \"translations\": []\r\n    }\r\n]"}],"_postman_id":"89b2bfd6-2b54-4ed9-bbb5-2ae57d4ed6ad"},{"name":"Get content elements ODATA","id":"be1dcf53-5384-4476-9c58-e39dc6517897","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":"{{mpbApiV1}}/docs/odata/content-elements","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","odata","content-elements"],"host":["{{mpbApiV1}}"],"query":[],"variable":[]}},"response":[{"id":"26b2243a-49ac-44b6-8c48-cb9c67b2d03c","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{mpbApiV1}}/docs/odata/content-elements"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\r\n    \"@odata.context\": \"https://api.mypackbrain.com/v1/docs/odata/$metadata#content-elements\",\r\n    \"@odata.count\": 4,\r\n    \"value\": [\r\n        {\r\n            \"uid\": \"6f1e0370-3db4-4d88-abd5-b972d28d69d9\",\r\n            \"version\": 8,\r\n            \"contentTypeUid\": \"cead06ba-5171-4a35-b134-e99342bd4c96\",\r\n            \"primaryLanguageUid\": \"ecaa5da9-a1f6-40ae-b754-af9df1bec8b1\",\r\n            \"correlationId\": \"f79e1ca4-369a-4fe8-a1bb-ca35cd272403\",\r\n            \"elementTypeCode\": \"CopyElementTypeCode\",\r\n            \"primaryTranslationUid\": \"382f473f-0663-4358-8878-66ba2bca0a93\",\r\n            \"primaryTranslation\": {\r\n                \"content\": \"**Produkt może być stosowany w temperaturze pokojowej.**\\n\\nd**saf 5**\\n\",\r\n                \"version\": 1\r\n            },\r\n            \"contentType\": {\r\n                \"name\": \"Usage instructions\"\r\n            }\r\n        },\r\n        {\r\n            \"uid\": \"2e279fdd-ae6c-4b16-ad6b-e9c1e50dfcd5\",\r\n            \"version\": 1,\r\n            \"contentTypeUid\": \"9d67eca4-26fa-45ff-8b6e-053ddd66d10e\",\r\n            \"primaryLanguageUid\": \"ecaa5da9-a1f6-40ae-b754-af9df1bec8b1\",\r\n            \"correlationId\": \"4011edbd-527a-4f03-8136-0e1385af52c8\",\r\n            \"elementTypeCode\": \"CopyElementTypeCode\",\r\n            \"primaryTranslationUid\": \"427e24d1-4e32-4cfc-828e-70c1f82fd9b9\",\r\n            \"primaryTranslation\": {\r\n                \"content\": \"<p>First and second under</p><p><br></p>\",\r\n                \"version\": 1\r\n            },\r\n            \"contentType\": {\r\n                \"name\": \"Active ingredients as printed on the artwork\"\r\n            }\r\n        },\r\n        {\r\n            \"uid\": \"07909f2e-1771-4eb4-9f5d-65feaa732f9d\",\r\n            \"version\": 1,\r\n            \"contentTypeUid\": \"da6cedd8-c84b-4e57-8981-0857f274afe3\",\r\n            \"primaryLanguageUid\": \"80f8c4b9-c1e8-4263-947d-eaa170f975a9\",\r\n            \"correlationId\": \"a73f26ca-7157-4951-94bb-42a0e7918586\",\r\n            \"elementTypeCode\": \"CopyElementTypeCode\",\r\n            \"primaryTranslationUid\": \"2848365f-b07a-4f36-9af6-b2977a276ac3\",\r\n            \"primaryTranslation\": {\r\n                \"content\": \"<p>fsfsd</p>\",\r\n                \"version\": 1\r\n            },\r\n            \"contentType\": {\r\n                \"name\": \"Active ingredients header\"\r\n            }\r\n        },\r\n        {\r\n            \"uid\": \"4bef4b8b-2f85-46ca-b3fd-e2dbd61bb34f\",\r\n            \"version\": 1,\r\n            \"contentTypeUid\": \"cdc3295d-eb4b-42e5-ab6e-f710f15b2fae\",\r\n            \"primaryLanguageUid\": \"ecaa5da9-a1f6-40ae-b754-af9df1bec8b1\",\r\n            \"correlationId\": \"4bef4b8b-2f85-46ca-b3fd-e2dbd61bb34f\",\r\n            \"elementTypeCode\": \"CopyElementTypeCode\",\r\n            \"primaryTranslationUid\": \"f5898272-e1a9-4a92-b026-69df7777875f\",\r\n            \"primaryTranslation\": {\r\n                \"content\": \"Bardzo szybki bieg\",\r\n                \"version\": 1\r\n            },\r\n            \"contentType\": {\r\n                \"name\": \"Warning statements\"\r\n            }\r\n        }\r\n    ]\r\n}"}],"_postman_id":"be1dcf53-5384-4476-9c58-e39dc6517897"},{"name":"Get content elements latest ODATA","id":"39f02424-3257-48dc-95d1-b2706f165d31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":"{{mpbApiV1}}/docs/odata/content-elements-latest","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","odata","content-elements-latest"],"host":["{{mpbApiV1}}"],"query":[],"variable":[]}},"response":[{"id":"8409822b-0cbb-4eeb-b168-087260537d10","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{mpbApiV1}}/docs/odata/content-elements-latest"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"@odata.context\": \"https://api.mypackbrain.com/v1/docs/odata/$metadata#content-elements-latest\",\n    \"@odata.count\": 4,\n    \"value\": [\n        {\n            \"uid\": \"6f1e0370-3db4-4d88-abd5-b972d28d69d9\",\n            \"version\": 8,\n            \"contentTypeUid\": \"cead06ba-5171-4a35-b134-e99342bd4c96\",\n            \"primaryLanguageUid\": \"ecaa5da9-a1f6-40ae-b754-af9df1bec8b1\",\n            \"correlationId\": \"f79e1ca4-369a-4fe8-a1bb-ca35cd272403\",\n            \"elementTypeCode\": \"CopyElementTypeCode\",\n            \"primaryTranslationUid\": \"382f473f-0663-4358-8878-66ba2bca0a93\",\n            \"primaryTranslation\": {\n                \"content\": \"**Produkt może być stosowany w temperaturze pokojowej.**\\n\\nd**saf 5**\\n\",\n                \"version\": 1\n            },\n            \"contentType\": {\n                \"name\": \"Usage instructions\"\n            }\n        },\n        {\n            \"uid\": \"2e279fdd-ae6c-4b16-ad6b-e9c1e50dfcd5\",\n            \"version\": 1,\n            \"contentTypeUid\": \"9d67eca4-26fa-45ff-8b6e-053ddd66d10e\",\n            \"primaryLanguageUid\": \"ecaa5da9-a1f6-40ae-b754-af9df1bec8b1\",\n            \"correlationId\": \"4011edbd-527a-4f03-8136-0e1385af52c8\",\n            \"elementTypeCode\": \"CopyElementTypeCode\",\n            \"primaryTranslationUid\": \"427e24d1-4e32-4cfc-828e-70c1f82fd9b9\",\n            \"primaryTranslation\": {\n                \"content\": \"<p>First and second under</p><p><br></p>\",\n                \"version\": 1\n            },\n            \"contentType\": {\n                \"name\": \"Active ingredients as printed on the artwork\"\n            }\n        },\n        {\n            \"uid\": \"07909f2e-1771-4eb4-9f5d-65feaa732f9d\",\n            \"version\": 1,\n            \"contentTypeUid\": \"da6cedd8-c84b-4e57-8981-0857f274afe3\",\n            \"primaryLanguageUid\": \"80f8c4b9-c1e8-4263-947d-eaa170f975a9\",\n            \"correlationId\": \"a73f26ca-7157-4951-94bb-42a0e7918586\",\n            \"elementTypeCode\": \"CopyElementTypeCode\",\n            \"primaryTranslationUid\": \"2848365f-b07a-4f36-9af6-b2977a276ac3\",\n            \"primaryTranslation\": {\n                \"content\": \"<p>fsfsd</p>\",\n                \"version\": 1\n            },\n            \"contentType\": {\n                \"name\": \"Active ingredients header\"\n            }\n        },\n        {\n            \"uid\": \"4bef4b8b-2f85-46ca-b3fd-e2dbd61bb34f\",\n            \"version\": 1,\n            \"contentTypeUid\": \"cdc3295d-eb4b-42e5-ab6e-f710f15b2fae\",\n            \"primaryLanguageUid\": \"ecaa5da9-a1f6-40ae-b754-af9df1bec8b1\",\n            \"correlationId\": \"4bef4b8b-2f85-46ca-b3fd-e2dbd61bb34f\",\n            \"elementTypeCode\": \"CopyElementTypeCode\",\n            \"primaryTranslationUid\": \"f5898272-e1a9-4a92-b026-69df7777875f\",\n            \"primaryTranslation\": {\n                \"content\": \"Bardzo szybki bieg\",\n                \"version\": 1\n            },\n            \"contentType\": {\n                \"name\": \"Warning statements\"\n            }\n        }\n    ]\n}"}],"_postman_id":"39f02424-3257-48dc-95d1-b2706f165d31"},{"name":"Get content elements parents with children ODATA","id":"9546e3fd-07a5-4a73-8bc6-71a5c4e4c6d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":"{{mpbApiV1}}/docs/odata/content-elements-parents-with-children","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","odata","content-elements-parents-with-children"],"host":["{{mpbApiV1}}"],"query":[],"variable":[]}},"response":[{"id":"76c9015e-d850-4178-8317-a021adf9fa05","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{mpbApiV1}}/docs/odata/content-elements-parents-with-children"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\r\n    \"@odata.context\": \"https://api.mypackbrain.com/v1/docs/odata/$metadata#content-elements-parents-with-children\",\r\n    \"@odata.count\": 4,\r\n    \"value\": [\r\n        {\r\n            \"uid\": \"6f1e0370-3db4-4d88-abd5-b972d28d69d9\",\r\n            \"version\": 8,\r\n            \"contentTypeUid\": \"cead06ba-5171-4a35-b134-e99342bd4c96\",\r\n            \"primaryLanguageUid\": \"ecaa5da9-a1f6-40ae-b754-af9df1bec8b1\",\r\n            \"correlationId\": \"f79e1ca4-369a-4fe8-a1bb-ca35cd272403\",\r\n            \"elementTypeCode\": \"CopyElementTypeCode\",\r\n            \"primaryTranslationUid\": \"382f473f-0663-4358-8878-66ba2bca0a93\",\r\n            \"primaryTranslation\": {\r\n                \"content\": \"**Produkt może być stosowany w temperaturze pokojowej.**\\n\\nd**saf 5**\\n\",\r\n                \"version\": 1\r\n            },\r\n            \"contentType\": {\r\n                \"name\": \"Usage instructions\"\r\n            }\r\n        },\r\n        {\r\n            \"uid\": \"2e279fdd-ae6c-4b16-ad6b-e9c1e50dfcd5\",\r\n            \"version\": 1,\r\n            \"contentTypeUid\": \"9d67eca4-26fa-45ff-8b6e-053ddd66d10e\",\r\n            \"primaryLanguageUid\": \"ecaa5da9-a1f6-40ae-b754-af9df1bec8b1\",\r\n            \"correlationId\": \"4011edbd-527a-4f03-8136-0e1385af52c8\",\r\n            \"elementTypeCode\": \"CopyElementTypeCode\",\r\n            \"primaryTranslationUid\": \"427e24d1-4e32-4cfc-828e-70c1f82fd9b9\",\r\n            \"primaryTranslation\": {\r\n                \"content\": \"<p>First and second under</p><p><br></p>\",\r\n                \"version\": 1\r\n            },\r\n            \"contentType\": {\r\n                \"name\": \"Active ingredients as printed on the artwork\"\r\n            }\r\n        },\r\n        {\r\n            \"uid\": \"07909f2e-1771-4eb4-9f5d-65feaa732f9d\",\r\n            \"version\": 1,\r\n            \"contentTypeUid\": \"da6cedd8-c84b-4e57-8981-0857f274afe3\",\r\n            \"primaryLanguageUid\": \"80f8c4b9-c1e8-4263-947d-eaa170f975a9\",\r\n            \"correlationId\": \"a73f26ca-7157-4951-94bb-42a0e7918586\",\r\n            \"elementTypeCode\": \"CopyElementTypeCode\",\r\n            \"primaryTranslationUid\": \"2848365f-b07a-4f36-9af6-b2977a276ac3\",\r\n            \"primaryTranslation\": {\r\n                \"content\": \"<p>fsfsd</p>\",\r\n                \"version\": 1\r\n            },\r\n            \"contentType\": {\r\n                \"name\": \"Active ingredients header\"\r\n            }\r\n        },\r\n        {\r\n            \"uid\": \"4bef4b8b-2f85-46ca-b3fd-e2dbd61bb34f\",\r\n            \"version\": 1,\r\n            \"contentTypeUid\": \"cdc3295d-eb4b-42e5-ab6e-f710f15b2fae\",\r\n            \"primaryLanguageUid\": \"ecaa5da9-a1f6-40ae-b754-af9df1bec8b1\",\r\n            \"correlationId\": \"4bef4b8b-2f85-46ca-b3fd-e2dbd61bb34f\",\r\n            \"elementTypeCode\": \"CopyElementTypeCode\",\r\n            \"primaryTranslationUid\": \"f5898272-e1a9-4a92-b026-69df7777875f\",\r\n            \"primaryTranslation\": {\r\n                \"content\": \"Bardzo szybki bieg\",\r\n                \"version\": 1\r\n            },\r\n            \"contentType\": {\r\n                \"name\": \"Warning statements\"\r\n            }\r\n        }\r\n    ]\r\n}"}],"_postman_id":"9546e3fd-07a5-4a73-8bc6-71a5c4e4c6d5"},{"name":"Get content element ODATA","id":"e0a398c3-7445-4fbd-a871-4f46c036ed56","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":"{{mpbApiV1}}/docs/odata/content-elements/:uid","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","odata","content-elements",":uid"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"e112f48c-dc44-4fb9-943a-c8ace3863e83","type":"any","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9","key":"uid"}]}},"response":[{"id":"15d669b7-9b19-422e-abd4-2495af5219a2","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-auth-organisation-uid","value":"eaf4733e-130f-4933-86b1-fd5703115c34"}],"url":{"raw":"{{mpbApiV1}}/docs/odata/content-elements/:uid","host":["{{mpbApiV1}}"],"path":["docs","odata","content-elements",":uid"],"variable":[{"key":"uid","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"uid\": \"6f1e0370-3db4-4d88-abd5-b972d28d69d9\",\r\n    \"version\": 8,\r\n    \"contentTypeUid\": \"cead06ba-5171-4a35-b134-e99342bd4c96\",\r\n    \"primaryLanguageUid\": \"ecaa5da9-a1f6-40ae-b754-af9df1bec8b1\",\r\n    \"correlationId\": \"f79e1ca4-369a-4fe8-a1bb-ca35cd272403\",\r\n    \"elementTypeCode\": \"CopyElementTypeCode\",\r\n    \"primaryTranslationUid\": \"382f473f-0663-4358-8878-66ba2bca0a93\",\r\n    \"primaryTranslation\": {\r\n        \"uid\": \"382f473f-0663-4358-8878-66ba2bca0a93\",\r\n        \"content\": \"**Produkt może być stosowany w temperaturze pokojowej.**\\n\\nd**saf 5**\\n\",\r\n        \"contentElementUid\": \"6f1e0370-3db4-4d88-abd5-b972d28d69d9\",\r\n        \"languageUid\": \"ecaa5da9-a1f6-40ae-b754-af9df1bec8b1\",\r\n        \"correlationId\": \"2a02b55a-9f97-4ba2-a3d7-3a8ae08b88d4\"\r\n    },\r\n    \"contentType\": {\r\n        \"uid\": \"cead06ba-5171-4a35-b134-e99342bd4c96\",\r\n        \"name\": \"Usage instructions\",\r\n        \"elementTypeCode\": \"CopyElementTypeCode\"\r\n    },\r\n    \"primaryLanguage\": {\r\n        \"uid\": \"ecaa5da9-a1f6-40ae-b754-af9df1bec8b1\",\r\n        \"localeCode\": \"pl-PL\"\r\n    }\r\n}"}],"_postman_id":"e0a398c3-7445-4fbd-a871-4f46c036ed56"}],"id":"da7be524-66fa-42cc-8e48-3a1041481d2f","_postman_id":"da7be524-66fa-42cc-8e48-3a1041481d2f","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}}},{"name":"Translations","item":[{"name":"Add translation","id":"8cd022ca-3bf8-466a-b76b-59c99d8ecac8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"{\r\n    \"mewTranslationUid\": \"6f1e0370-3db4-4d88-abd5-b972d28d69d9\",\r\n    \"languageUid\": \"122e0370-3db4-4d88-abd5-b972d28d69d9\",\r\n    \"content\": \"Translation content\",\r\n    \"contentMetadata\": \"metadata for graphic element\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{mpbApiV1}}/docs/content-elements/:contentElementUid/translations","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","content-elements",":contentElementUid","translations"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"0ae346ff-60cc-4fb1-b420-cd1cd918ae02","type":"any","value":"12319679-f17a-4fa4-bd9f-895aaced888a","key":"contentElementUid"}]}},"response":[{"id":"4f9bed17-5720-45c9-a2ac-022cbdcc76a3","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"mewTranslationUid\": \"6f1e0370-3db4-4d88-abd5-b972d28d69d9\", // optional\r\n    \"languageUid\": \"122e0370-3db4-4d88-abd5-b972d28d69d9\",\r\n    \"content\": \"<p>Translation content</p>\",\r\n    \"contentMetadata\": \"metadata for graphic element\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{mpbApiV1}}/docs/content-elements/{contentElementUid}/translations"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"uid\": \"20ba645a-cbc5-42fe-b8a9-4be300826a0c\"\n}"}],"_postman_id":"8cd022ca-3bf8-466a-b76b-59c99d8ecac8"},{"name":"Get translations for content-element ODATA","id":"4b52ae69-6f07-494f-bfa3-6f47baac3b2c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-auth-organisation-uid","value":"eaf4733e-130f-4933-86b1-fd5703115c34"}],"url":"{{mpbApiV1}}/docs/odata/content-elements/:contentElementUid/translations","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","odata","content-elements",":contentElementUid","translations"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"2cf4a979-5795-4b2c-9fe7-5f0cf3f308ac","type":"any","value":"20ba645a-cbc5-42fe-b8a9-4be300826a0c","key":"contentElementUid"}]}},"response":[{"id":"396b272f-547b-4c6a-99d4-fc599581f760","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{mpbApiV1}}/docs/odata/content-elements/:contentElementUid/translations","host":["{{mpbApiV1}}"],"path":["docs","odata","content-elements",":contentElementUid","translations"],"variable":[{"key":"contentElementUid","value":"20ba645a-cbc5-42fe-b8a9-4be300826a0c"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"value\": [\n        {\n            \"assignmentUid\": \"4abb355a-b20a-4cfa-862d-98b21705e9f5\",\n            \"translationUid\": \"4abb355a-b20a-4cfa-862d-98b21705e9f5\",\n            \"languageUid\": \"80f8c4b9-c1e8-4263-947d-eaa170f975a9\",\n            \"documentUid\": \"2ba19679-f17a-4fa4-bd9f-895aaced888a\",\n            \"groupUid\": \"9a413c83-b05a-417d-a360-1470041829d7\",\n            \"contentElementAssignmentUid\": \"5de35223-c87e-47a6-a1cd-ac330ea5d745\",\n            \"correlationId\": \"deb2337d-fd76-4838-b936-36cefa60f8c0\",\n            \"language\": \"en-GB\",\n            \"content\": \"<p>some content</p>\",\n            \"version\": 1,\n            \"isDraft\": false,\n            \"createdOn\": \"2025-09-17T06:18:07.647\",\n            \"newerVersionExists\": false,\n            \"isApproved\": false,\n            \"commentsCount\": 0\n        }\n    ]\n}"}],"_postman_id":"4b52ae69-6f07-494f-bfa3-6f47baac3b2c"},{"name":"Get translations ODATA","id":"16ccd731-894b-492e-8efc-97692fb4372a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-auth-organisation-uid","value":"eaf4733e-130f-4933-86b1-fd5703115c34"}],"url":"{{mpbApiV1}}/docs/odata/translations","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","odata","translations"],"host":["{{mpbApiV1}}"],"query":[],"variable":[]}},"response":[{"id":"88ea321f-fa34-430e-ae31-d8f8f0452e12","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-auth-organisation-uid","value":"eaf4733e-130f-4933-86b1-fd5703115c34"}],"url":"{{mpbApiV1}}/docs/odata/translations"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"@odata.context\":\"https://api.mypackbrain.com/v1/docs/odata/$metadata#Translations\",\n    \"value\": [\n        {\n            \"uid\": \"7300b8f9-084c-4080-8b28-0083100b13ea\",\n            \"correlationId\": \"0ac6056d-5022-4e52-b287-686ecc2a0989\",\n            \"content\": \"Example element - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut venenatis condimentum tempus. Maecenas ac nibh congue, rhoncus turpis eu, vulputate lacus. Sed sit amet turpis facilisis, imperdiet sem ut, accumsan nisi. Nulla vel lectus lorem. Nam eget odio in sapien venenatis fermentum.\",\n            \"contentMetadata\": null,\n            \"contentElementUid\": \"b01d9a98-c2ab-447f-a51e-b7d4358d9946\",\n            \"languageUid\": \"80f8c4b9-c1e8-4263-947d-eaa170f975a9\",\n            \"version\": 2,\n            \"createdOn\": \"2024-10-18T11:21:30.827Z\",\n            \"createdBy\": \"\"\n        },\n        {\n            \"uid\": \"f4e25544-bfe7-46c4-b2be-0a15fd6dfc96\",\n            \"correlationId\": \"2c88dfc2-bb78-45c6-aec4-e4cfa7f41597\",\n            \"content\": \"Example element - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut venenatis condimentum tempus. Maecenas ac nibh congue, rhoncus turpis eu, vulputate lacus. Sed sit amet turpis facilisis, imperdiet sem ut, accumsan nisi. Nulla vel lectus lorem. Nam eget odio in sapien venenatis fermentum.\",\n            \"contentMetadata\": null,\n            \"contentElementUid\": \"d47895a3-23c8-48f0-8b36-7ee5347bf01f\",\n            \"languageUid\": \"80f8c4b9-c1e8-4263-947d-eaa170f975a9\",\n            \"version\": 5,\n            \"createdOn\": \"2024-10-18T11:21:29.01Z\",\n            \"createdBy\": \"\"\n        },\n        {\n            \"uid\": \"76c88974-91fa-4764-9e95-0a82ba524594\",\n            \"correlationId\": \"da7dae62-d991-42b1-ab9f-8c19765f6ebb\",\n            \"content\": \"<p>gdfg</p>\",\n            \"contentMetadata\": \"\",\n            \"contentElementUid\": \"fe71aeb9-876b-415c-8ec6-718a538260e7\",\n            \"languageUid\": \"58a1c73c-d679-4a42-9e2f-ead806f58872\",\n            \"version\": 1,\n            \"createdOn\": \"2025-05-06T13:25:00.19Z\",\n            \"createdBy\": \"\"\n        },\n        {\n            \"uid\": \"a7d1827e-8b8f-4ff9-9eb5-0aaf58a6d130\",\n            \"correlationId\": \"328b73bb-24c5-4c9c-8738-3cd034f66b5f\",\n            \"content\": \"Example element - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut venenatis condimentum tempus. Maecenas ac nibh congue, rhoncus turpis eu, vulputate lacus. Sed sit amet turpis facilisis, imperdiet sem ut, accumsan nisi. Nulla vel lectus lorem. Nam eget odio in sapien venenatis fermentum.\",\n            \"contentMetadata\": null,\n            \"contentElementUid\": \"1f9ce4d5-ff1e-453e-9300-8630ddd0e566\",\n            \"languageUid\": \"80f8c4b9-c1e8-4263-947d-eaa170f975a9\",\n            \"version\": 3,\n            \"createdOn\": \"2024-10-18T11:21:31.073Z\",\n            \"createdBy\": \"\"\n        }\n    ],\n    \"@odata.nextLink\": \"https://api.mypackbrain.com/v1/docs/odata/translations?$skiptoken=uid-e2f02dab-1874-422d-9848-0b171e16bd24\"\n}"}],"_postman_id":"16ccd731-894b-492e-8efc-97692fb4372a"}],"id":"a464ba11-842c-4866-8342-27354eb5b23b","_postman_id":"a464ba11-842c-4866-8342-27354eb5b23b","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}}},{"name":"Master Documents","item":[{"name":"Content Element Assignments","item":[{"name":"Comments","item":[{"name":"Get comments for content element assignment","id":"19d06a32-9a38-4508-a7e8-8ace2898097f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":"{{mpbApiV1}}/docs/documents/:documentUid/groups/:groupUid/content-element-assignments/:contentElementAssignmentUid/comments","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","documents",":documentUid","groups",":groupUid","content-element-assignments",":contentElementAssignmentUid","comments"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"aae49710-f173-49fd-836b-66b8c17b61de","type":"any","value":"12319679-f17a-4fa4-bd9f-895aaced888a","key":"documentUid"},{"id":"1caeb9ec-c94d-4bf8-bc1e-40fd450caf17","type":"any","value":"45619679-f17a-4fa4-bd9f-895aaced888a","key":"groupUid"},{"id":"7668a71f-f769-4061-8dfd-20b31b8585f2","type":"any","value":"78919679-f17a-4fa4-bd9f-895aaced888a","key":"contentElementAssignmentUid"}]}},"response":[{"id":"3b94be34-cc3b-4a5d-856b-aff24ca258e1","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{mpbApiV1}}/docs/documents/:documentUid/groups/:groupUid/content-element-assignments/:contentElementAssignmentUid/comments","host":["{{mpbApiV1}}"],"path":["docs","documents",":documentUid","groups",":groupUid","content-element-assignments",":contentElementAssignmentUid","comments"],"variable":[{"key":"documentUid","value":"12319679-f17a-4fa4-bd9f-895aaced888a"},{"key":"groupUid","value":"45619679-f17a-4fa4-bd9f-895aaced888a"},{"key":"contentElementAssignmentUid","value":"78919679-f17a-4fa4-bd9f-895aaced888a"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"uid\": \"52acccec-0919-4a55-9027-f70696c89972\",\n        \"content\": \"<p>fadsfd</p>\",\n        \"author\": \"Jakub Woszczyna\",\n        \"createdOn\": \"2025-09-17T06:44:14.437\",\n        \"elementType\": \"ContentElement\"\n    }\n]"}],"_postman_id":"19d06a32-9a38-4508-a7e8-8ace2898097f"},{"name":"Add comment for content element assignment","id":"7a0e6aec-8a3e-462c-a331-ebd801e9444c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"content\": \"<p>some content</p>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{mpbApiV1}}/docs/documents/:documentUid/groups/:groupUid/content-element-assignments/:contentElementAssignmentUid/comments","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","documents",":documentUid","groups",":groupUid","content-element-assignments",":contentElementAssignmentUid","comments"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"d2c115b8-21c2-4305-9a8c-27c243319644","type":"any","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9","key":"documentUid"},{"id":"049842e2-442a-4f56-84e3-818c09fd70c0","type":"any","value":"123e0370-3db4-4d88-abd5-b972d28d69d9","key":"groupUid"},{"id":"59d27b8a-c1e8-4736-bd21-6aa16ba75126","type":"any","value":"451e0370-3db4-4d88-abd5-b972d28d69d9","key":"contentElementAssignmentUid"}]}},"response":[{"id":"f593bebd-c8cc-4f45-899e-29a8fe379be8","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"content\": \"<p>some content</p>\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{mpbApiV1}}/docs/documents/:documentUid/groups/:groupUid/content-element-assignments/:contentElementAssignmentUid/comments","host":["{{mpbApiV1}}"],"path":["docs","documents",":documentUid","groups",":groupUid","content-element-assignments",":contentElementAssignmentUid","comments"],"variable":[{"key":"documentUid","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9"},{"key":"groupUid","value":"123e0370-3db4-4d88-abd5-b972d28d69d9"},{"key":"contentElementAssignmentUid","value":"451e0370-3db4-4d88-abd5-b972d28d69d9"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"contentElementAssignmentUid\": \"451e0370-3db4-4d88-abd5-b972d28d69d9\",\n    \"elementType\": \"ContentElement\",\n    \"uid\": \"52acccec-0919-4a55-9027-f70696c89972\",\n    \"content\": \"<p>some content</p>\",\n    \"author\": \"John Smith\",\n    \"createdOn\": \"2025-09-17T06:44:14.436243Z\"\n}"}],"_postman_id":"7a0e6aec-8a3e-462c-a331-ebd801e9444c"}],"id":"3b75a850-e449-481a-aa8e-46e602e09199","_postman_id":"3b75a850-e449-481a-aa8e-46e602e09199","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}}},{"name":"Update content element assignment","id":"7791e014-6d10-4ae8-aefe-72d6d459bbe2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"{\r\n  \"translationUid\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\r\n  \"draftContent\": \"string\",\r\n  \"isDraft\": true\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":"{{mpbApiV1}}/docs/documents/:documentUid/groups/:groupUid/content-element-assignments/:contentElementAssignmentUid","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","documents",":documentUid","groups",":groupUid","content-element-assignments",":contentElementAssignmentUid"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"ea6e293d-76c3-42be-818f-4d815e5b6486","type":"any","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9","key":"documentUid"},{"id":"f451e606-a8cc-4fc4-bdb1-c3070907fa4f","type":"any","value":"123e0370-3db4-4d88-abd5-b972d28d69d9","key":"groupUid"},{"id":"0262ff15-1c73-4654-ab1e-417f761a5520","type":"any","value":"451e0370-3db4-4d88-abd5-b972d28d69d9","key":"contentElementAssignmentUid"}]}},"response":[{"id":"8ba5d529-0af7-438c-91bd-dd22388c0f7e","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {token-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"translationUid\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\r\n  \"draftContent\": \"some draft\",\r\n  \"isDraft\": true\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":{"raw":"{{mpbApiV1}}/docs/documents/:docUid/groups/:groupUid/content-element-assignments/:contentElementAssignmentUid","host":["{{mpbApiV1}}"],"path":["docs","documents",":docUid","groups",":groupUid","content-element-assignments",":contentElementAssignmentUid"],"variable":[{"key":"docUid","value":"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6"},{"key":"groupUid","value":"25ad4b7a-d775-495e-99b5-2b04c2a25444"},{"key":"contentElementAssignmentUid","value":"f5c70466-ecf3-4f4a-a58c-99862da47996"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\r\n    \"assignmentUid\": \"f612061a-1674-4afd-a701-77449aeec3a4\",\r\n    \"documentUid\": \"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6\",\r\n    \"groupUid\": \"25ad4b7a-d775-495e-99b5-2b04c2a25444\",\r\n    \"contentElementUid\": \"b791675a-e4f8-4245-989b-48c373ec8f56\",\r\n    \"correlationId\": \"54d45ec1-aacb-40cd-b09d-796b508492ef\",\r\n    \"primaryTranslationUid\": \"2c0ea86f-c360-43f9-9ef9-71049f4d242c\",\r\n    \"contentTypeUid\": \"c0b674e7-8294-4f2b-84ea-2616109e357f\",\r\n    \"languageUid\": \"ecaa5da9-a1f6-40ae-b754-af9df1bec8b1\",\r\n    \"contentType\": \"Consumption context\",\r\n    \"content\": \"Some content\",\r\n    \"elementTypeCode\": \"CopyElementTypeCode\",\r\n    \"version\": 5,\r\n    \"language\": \"pl-PL\",\r\n    \"isDraft\": false,\r\n    \"newerVersionExists\": false,\r\n    \"isApproved\": true\r\n}"},{"id":"263cc9f4-ef0d-4d21-a33d-2cb165e94636","name":"Success (approval)","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {token-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"approvalStatus\": 1\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":{"raw":"{{mpbApiV1}}/docs/documents/:docUid/groups/:groupUid/content-element-assignments/:contentElementAssignmentUid","host":["{{mpbApiV1}}"],"path":["docs","documents",":docUid","groups",":groupUid","content-element-assignments",":contentElementAssignmentUid"],"variable":[{"key":"docUid","value":"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6"},{"key":"groupUid","value":"25ad4b7a-d775-495e-99b5-2b04c2a25444"},{"key":"contentElementAssignmentUid","value":"f5c70466-ecf3-4f4a-a58c-99862da47996"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\r\n    \"assignmentUid\": \"f612061a-1674-4afd-a701-77449aeec3a4\",\r\n    \"documentUid\": \"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6\",\r\n    \"groupUid\": \"25ad4b7a-d775-495e-99b5-2b04c2a25444\",\r\n    \"contentElementUid\": \"b791675a-e4f8-4245-989b-48c373ec8f56\",\r\n    \"correlationId\": \"54d45ec1-aacb-40cd-b09d-796b508492ef\",\r\n    \"primaryTranslationUid\": \"2c0ea86f-c360-43f9-9ef9-71049f4d242c\",\r\n    \"contentTypeUid\": \"c0b674e7-8294-4f2b-84ea-2616109e357f\",\r\n    \"languageUid\": \"ecaa5da9-a1f6-40ae-b754-af9df1bec8b1\",\r\n    \"contentType\": \"Consumption context\",\r\n    \"content\": \"Some content\",\r\n    \"elementTypeCode\": \"CopyElementTypeCode\",\r\n    \"version\": 5,\r\n    \"language\": \"pl-PL\",\r\n    \"isDraft\": false,\r\n    \"newerVersionExists\": false,\r\n    \"isApproved\": true\r\n}"},{"id":"beea7322-f35f-42c0-98c6-e87650e2cc4d","name":"Not Found","originalRequest":{"method":"PATCH","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Authorization","value":"Bearer {token-value}"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Name\",\r\n    \"description\": \"Description\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{mpbApiV1}}/docs/documents/:docUid/groups/:groupUid/content-element-assignments/:contentElementAssignmentUid","host":["{{mpbApiV1}}"],"path":["docs","documents",":docUid","groups",":groupUid","content-element-assignments",":contentElementAssignmentUid"],"variable":[{"key":"docUid","value":"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6"},{"key":"groupUid","value":"25ad4b7a-d775-495e-99b5-2b04c2a25444"},{"key":"contentElementAssignmentUid","value":"f5c70466-ecf3-4f4a-a58c-99862da47996"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"EntityNotFoundException\",\n    \"title\": \"ContentElementTranslationAssignment could not be updated.\",\n    \"status\": 404,\n    \"detail\": \"Entity 'ContentElementTranslationAssignment' with ID = '{assignmentUid}' does not exist.\",\n    \"traceId\": \"00-b2262f7ea40959ea66b7ac9fe338f206-86cf85e242b3efca-00\"\n}"},{"id":"e984e177-a0db-44be-bd98-5c5396e3f352","name":"Bad Request","originalRequest":{"method":"PATCH","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Authorization","value":"Bearer {token-value}"}],"body":{"mode":"raw","raw":"{\r\n  \"translationUid\": \"122\", // Should be Guid\r\n  \"draftContent\": \"some draft\"\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":{"raw":"{{mpbApiV1}}/docs/documents/:docUid/groups/:groupUid/content-element-assignments/:contentElementAssignmentUid","host":["{{mpbApiV1}}"],"path":["docs","documents",":docUid","groups",":groupUid","content-element-assignments",":contentElementAssignmentUid"],"variable":[{"key":"docUid","value":"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6"},{"key":"groupUid","value":"25ad4b7a-d775-495e-99b5-2b04c2a25444"},{"key":"contentElementAssignmentUid","value":"f5c70466-ecf3-4f4a-a58c-99862da47996"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"https://tools.ietf.org/html/rfc9110#section-15.5.1\",\n  \"title\": \"One or more validation errors occurred.\",\n  \"status\": 400,\n  \"errors\": {\n    \"requestBody\": [\n      \"The requestBody field is required.\"\n    ],\n    \"$.translationUid\": [\n      \"The JSON value could not be converted to Mpb.Documents.Core.Dto.Dtos.Request.UpdateTranslationAssignmentDto. Path: $.translationUid | LineNumber: 1 | BytePositionInLine: 25.\"\n    ]\n  },\n  \"traceId\": \"00-aad3f989a84881217329a6e4880d9137-ffbec822d99ee312-00\"\n}"},{"id":"647996cc-dfbd-4b4b-992c-287179d488e9","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[],"url":{"raw":"{{mpbApiV1}}/docs/documents/:docUid/groups/:groupUid/content-element-assignments/:contentElementAssignmentUid","host":["{{mpbApiV1}}"],"path":["docs","documents",":docUid","groups",":groupUid","content-element-assignments",":contentElementAssignmentUid"],"variable":[{"key":"docUid","value":"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6"},{"key":"groupUid","value":"25ad4b7a-d775-495e-99b5-2b04c2a25444"},{"key":"contentElementAssignmentUid","value":"f5c70466-ecf3-4f4a-a58c-99862da47996"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"b322ab1a-552c-4e1c-a699-37e81069114b","name":"Internal Server Error","originalRequest":{"method":"PATCH","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Authorization","value":"Bearer {token-value}"}],"url":{"raw":"{{mpbApiV1}}/docs/documents/:docUid/groups/:groupUid/content-element-assignments/:contentElementAssignmentUid","host":["{{mpbApiV1}}"],"path":["docs","documents",":docUid","groups",":groupUid","content-element-assignments",":contentElementAssignmentUid"],"variable":[{"key":"docUid","value":"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6"},{"key":"groupUid","value":"25ad4b7a-d775-495e-99b5-2b04c2a25444"},{"key":"contentElementAssignmentUid","value":"f5c70466-ecf3-4f4a-a58c-99862da47996"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"7791e014-6d10-4ae8-aefe-72d6d459bbe2"},{"name":"Add content element assignment","id":"c6f7e522-5c3f-4586-9ffe-068688d477ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"{\r\n    \"contentElementUid\": \"20ba645a-cbc5-42fe-b8a9-4be300826a0c\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{mpbApiV1}}/docs/documents/:documentUid/groups/:groupUid/content-element-assignments","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","documents",":documentUid","groups",":groupUid","content-element-assignments"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"a54d5485-6f04-491f-a692-233c7f688824","type":"any","value":"","key":"documentUid"},{"id":"d2aa7ee8-9aa7-4f9d-b7e9-a9d8349c85f4","type":"any","value":"","key":"groupUid"}]}},"response":[{"id":"541603aa-f950-4591-932c-620b6f31af25","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"contentElementUid\": \"20ba645a-cbc5-42fe-b8a9-4be300826a0c\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{mpbApiV1}}/docs/documents/:documentUid/groups/:groupUid/content-element-assignments","host":["{{mpbApiV1}}"],"path":["docs","documents",":documentUid","groups",":groupUid","content-element-assignments"],"variable":[{"key":"documentUid","value":""},{"key":"groupUid","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"assignmentUid\": \"5de35223-c87e-47a6-a1cd-ac330ea5d745\",\n    \"documentUid\": \"2ba19679-f17a-4fa4-bd9f-895aaced888a\",\n    \"groupUid\": \"9a413c83-b05a-417d-a360-1470041829d7\",\n    \"order\": 1,\n    \"contentElementUid\": \"20ba645a-cbc5-42fe-b8a9-4be300826a0c\",\n    \"correlationId\": \"deb2337d-fd76-4838-b936-36cefa60f8c0\",\n    \"primaryTranslationUid\": \"4abb355a-b20a-4cfa-862d-98b21705e9f5\",\n    \"contentTypeUid\": \"387ce9a9-d57a-4dcb-89cb-10838d7d656e\",\n    \"languageUid\": \"80f8c4b9-c1e8-4263-947d-eaa170f975a9\",\n    \"contentType\": \"Additional product variant information\",\n    \"content\": \"<p>some content</p>\",\n    \"elementTypeCode\": \"CopyElementTypeCode\",\n    \"version\": 1,\n    \"language\": \"en-GB\",\n    \"isDraft\": false,\n    \"newerVersionExists\": false,\n    \"isApproved\": false,\n    \"commentsCount\": 0,\n    \"isMandatory\": false\n}"}],"_postman_id":"c6f7e522-5c3f-4586-9ffe-068688d477ed"},{"name":"Delete content element assignment","id":"636c32ed-65ff-43db-934d-8aada0be7587","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":"{{mpbApiV1}}/docs/documents/:documentUid/groups/:groupUid/content-element-assignments/:contentElementAssignmentUid","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","documents",":documentUid","groups",":groupUid","content-element-assignments",":contentElementAssignmentUid"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"34c2b19e-88b2-4a46-af5e-a6632c7003a0","type":"any","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9","key":"documentUid"},{"id":"d80734d2-5a32-4437-a961-5cc5360b2857","type":"any","value":"121e0370-3db4-4d88-abd5-b972d28d69d9","key":"groupUid"},{"id":"58d39a99-9fc8-40b2-8049-daf6636402cb","type":"any","value":"341e0370-3db4-4d88-abd5-b972d28d69d9","key":"contentElementAssignmentUid"}]}},"response":[{"id":"7b09b440-bc50-4e99-8a8b-37845b76922e","name":"Success","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{mpbApiV1}}/docs/documents/:documentUid/groups/:groupUid/content-element-assignments/:contentElementAssignmentUid","host":["{{mpbApiV1}}"],"path":["docs","documents",":documentUid","groups",":groupUid","content-element-assignments",":contentElementAssignmentUid"],"variable":[{"key":"documentUid","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9"},{"key":"groupUid","value":"121e0370-3db4-4d88-abd5-b972d28d69d9"},{"key":"contentElementAssignmentUid","value":"341e0370-3db4-4d88-abd5-b972d28d69d9"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"636c32ed-65ff-43db-934d-8aada0be7587"},{"name":"Get content element assignments ODATA","id":"e686faaa-fc4b-4242-a073-9d6788b1a2e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{mpbApiV1}}/docs/odata/content-element-assignments","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","odata","content-element-assignments"],"host":["{{mpbApiV1}}"],"query":[],"variable":[]}},"response":[{"id":"b2d60bac-7ac0-4978-85c3-fe6baf92323a","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{mpbApiV1}}/docs/odata/content-element-assignments"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"@odata.context\": \"https://api.mypackbrain.com/v1/docs/odata/$metadata#content-element-assignments\",\n    \"value\": [\n        {\n            \"assignmentUid\": \"c87ab5e1-2550-4784-adb5-0d6dd8f00039\",\n            \"documentUid\": \"ac90b5b2-c32c-4ae0-8d0f-1ce8a25af0e3\",\n            \"groupUid\": \"eda20614-5784-44aa-9ac7-2959d1d2009f\",\n            \"order\": 2,\n            \"contentElementUid\": null,\n            \"correlationId\": null,\n            \"primaryTranslationUid\": null,\n            \"contentTypeUid\": \"9d67eca4-26fa-45ff-8b6e-053ddd66d10e\",\n            \"languageUid\": null,\n            \"contentType\": \"Active ingredients as printed on the artwork\",\n            \"content\": null,\n            \"elementTypeCode\": \"CopyElementTypeCode\",\n            \"version\": null,\n            \"language\": null,\n            \"isDraft\": false,\n            \"newerVersionExists\": false,\n            \"isApproved\": false,\n            \"commentsCount\": 0,\n            \"isMandatory\": true\n        },\n        {\n            \"assignmentUid\": \"7c0cdb33-fabf-4322-a521-091ab11d16f1\",\n            \"documentUid\": \"11e1ff18-a522-42e2-95aa-21f674d5d9c4\",\n            \"groupUid\": \"f7591742-89d3-4946-b426-713d6942b2f0\",\n            \"order\": 1,\n            \"contentElementUid\": null,\n            \"correlationId\": null,\n            \"primaryTranslationUid\": null,\n            \"contentTypeUid\": \"9d67eca4-26fa-45ff-8b6e-053ddd66d10e\",\n            \"languageUid\": null,\n            \"contentType\": \"Active ingredients as printed on the artwork\",\n            \"content\": null,\n            \"elementTypeCode\": \"CopyElementTypeCode\",\n            \"version\": null,\n            \"language\": null,\n            \"isDraft\": false,\n            \"newerVersionExists\": false,\n            \"isApproved\": false,\n            \"commentsCount\": 0,\n            \"isMandatory\": true\n        },\n        {\n            \"assignmentUid\": \"826f52ec-b86a-429d-85c2-792a74037b9b\",\n            \"documentUid\": \"11e1ff18-a522-42e2-95aa-21f674d5d9c4\",\n            \"groupUid\": \"f7591742-89d3-4946-b426-713d6942b2f0\",\n            \"order\": 2,\n            \"contentElementUid\": null,\n            \"correlationId\": null,\n            \"primaryTranslationUid\": null,\n            \"contentTypeUid\": \"9d67eca4-26fa-45ff-8b6e-053ddd66d10e\",\n            \"languageUid\": null,\n            \"contentType\": \"Active ingredients as printed on the artwork\",\n            \"content\": null,\n            \"elementTypeCode\": \"CopyElementTypeCode\",\n            \"version\": null,\n            \"language\": null,\n            \"isDraft\": false,\n            \"newerVersionExists\": false,\n            \"isApproved\": false,\n            \"commentsCount\": 0,\n            \"isMandatory\": true\n        },\n        {\n            \"assignmentUid\": \"45790f03-fb32-492a-b4f1-5ed2fe94f943\",\n            \"documentUid\": \"11e1ff18-a522-42e2-95aa-21f674d5d9c4\",\n            \"groupUid\": \"ce0cad19-05e9-44dc-a9da-84bcbad77010\",\n            \"order\": 2,\n            \"contentElementUid\": null,\n            \"correlationId\": null,\n            \"primaryTranslationUid\": null,\n            \"contentTypeUid\": \"9d67eca4-26fa-45ff-8b6e-053ddd66d10e\",\n            \"languageUid\": null,\n            \"contentType\": \"Active ingredients as printed on the artwork\",\n            \"content\": null,\n            \"elementTypeCode\": \"CopyElementTypeCode\",\n            \"version\": null,\n            \"language\": null,\n            \"isDraft\": false,\n            \"newerVersionExists\": false,\n            \"isApproved\": false,\n            \"commentsCount\": 0,\n            \"isMandatory\": true\n        }\n    ]\n}"}],"_postman_id":"e686faaa-fc4b-4242-a073-9d6788b1a2e0"}],"id":"71aca1af-ee5a-42e4-a38c-0082c303c4f2","_postman_id":"71aca1af-ee5a-42e4-a38c-0082c303c4f2","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}}},{"name":"Translation Assignments","item":[{"name":"Comments","item":[{"name":"Get comments for translation assignment","id":"95f74376-8f05-446b-aa8f-c0fb980f6023","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":"{{mpbApiV1}}/docs/documents/:documentUid/groups/:groupUid/content-element-assignments/:contentElementAssignmentUid/translation-assignments/:translationAssignmentUid/comments","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","documents",":documentUid","groups",":groupUid","content-element-assignments",":contentElementAssignmentUid","translation-assignments",":translationAssignmentUid","comments"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"0b8f3073-6885-4d4f-a1f8-5d04b2917478","type":"any","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9","key":"documentUid"},{"id":"f3089d14-ce9e-4120-8641-e3b31bfc8ef0","type":"any","value":"123e0370-3db4-4d88-abd5-b972d28d69d9","key":"groupUid"},{"id":"b557334e-2428-43a5-be68-addcccc56dfb","type":"any","value":"451e0370-3db4-4d88-abd5-b972d28d69d9","key":"contentElementAssignmentUid"},{"id":"d4b468de-2d23-473b-b756-d99d51251f7f","type":"any","value":"671e0370-3db4-4d88-abd5-b972d28d69d9","key":"translationAssignmentUid"}]}},"response":[{"id":"ff1fda40-78f4-4d1b-80fc-d037bf915c49","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{mpbApiV1}}/docs/documents/:documentUid/groups/:groupUid/content-element-assignments/:contentElementAssignmentUid/translation-assignments/:translationAssignmentUid/comments","host":["{{mpbApiV1}}"],"path":["docs","documents",":documentUid","groups",":groupUid","content-element-assignments",":contentElementAssignmentUid","translation-assignments",":translationAssignmentUid","comments"],"variable":[{"key":"documentUid","value":"121e0370-3db4-4d88-abd5-b972d28d69d9"},{"key":"groupUid","value":"341e0370-3db4-4d88-abd5-b972d28d69d9"},{"key":"contentElementAssignmentUid","value":"561e0370-3db4-4d88-abd5-b972d28d69d9"},{"key":"translationAssignmentUid","value":"781e0370-3db4-4d88-abd5-b972d28d69d9"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"uid\": \"52acccec-0919-4a55-9027-f70696c89972\",\n        \"content\": \"<p>some comment</p>\",\n        \"author\": \"Jakub Woszczyna\",\n        \"createdOn\": \"2025-09-17T06:44:14.437\",\n        \"elementType\": \"ContentElement\"\n    }\n]"}],"_postman_id":"95f74376-8f05-446b-aa8f-c0fb980f6023"},{"name":"Add comment for translation assignment","id":"bcf1fbc7-f657-4976-a6e5-bee8b37e7604","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"content\": \"<p>tranaltaion comment</p>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{mpbApiV1}}/docs/documents/:documentUid/groups/:groupUid/content-element-assignments/:contentElementAssignmentUid/translation-assignments/:translationAssignmentUid/comments","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","documents",":documentUid","groups",":groupUid","content-element-assignments",":contentElementAssignmentUid","translation-assignments",":translationAssignmentUid","comments"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"d93ddd5f-1ff2-4e17-96aa-57f2cbbff9dc","type":"any","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9","key":"documentUid"},{"id":"e366f7a2-2f2f-497a-a54d-cf8d73bcf28d","type":"any","value":"123e0370-3db4-4d88-abd5-b972d28d69d9","key":"groupUid"},{"id":"685f8b10-15c2-4db7-9268-bde0489af9ac","type":"any","value":"451e0370-3db4-4d88-abd5-b972d28d69d9","key":"contentElementAssignmentUid"},{"id":"2cebe821-2013-415e-9eba-ff099732a56a","type":"any","value":"671e0370-3db4-4d88-abd5-b972d28d69d9","key":"translationAssignmentUid"}]}},"response":[{"id":"007e7b59-d89f-43b1-b44e-fd6548bd6b7b","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"content\": \"<p>tranaltaion comment</p>\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{mpbApiV1}}/docs/documents/:documentUid/groups/:groupUid/content-element-assignments/:contentElementAssignmentUid/translation-assignments/:translationAssignmentUid/comments","host":["{{mpbApiV1}}"],"path":["docs","documents",":documentUid","groups",":groupUid","content-element-assignments",":contentElementAssignmentUid","translation-assignments",":translationAssignmentUid","comments"],"variable":[{"key":"documentUid","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9"},{"key":"groupUid","value":"123e0370-3db4-4d88-abd5-b972d28d69d9"},{"key":"contentElementAssignmentUid","value":"451e0370-3db4-4d88-abd5-b972d28d69d9"},{"key":"translationAssignmentUid","value":"671e0370-3db4-4d88-abd5-b972d28d69d9"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"translationAssignmentUid\": \"9c528865-de64-488b-8763-4667bb93d2ca\",\n    \"elementType\": \"Translation\",\n    \"uid\": \"705f4010-39ba-47fa-b846-ede725bcd44e\",\n    \"content\": \"<p>translation comment</p>\",\n    \"author\": \"Jakub Woszczyna\",\n    \"createdOn\": \"2025-09-17T06:53:01.9906563Z\"\n}"}],"_postman_id":"bcf1fbc7-f657-4976-a6e5-bee8b37e7604"}],"id":"71aceb98-718c-4c16-b87a-1e05f58bc3f1","_postman_id":"71aceb98-718c-4c16-b87a-1e05f58bc3f1","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}}},{"name":"Update translation assignment","id":"1cec0750-6af1-405c-973c-9e1ca6595641","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"{\r\n  \"translationUid\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\r\n  \"draftContent\": \"string\",\r\n  \"isDraft\": true\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":"{{mpbApiV1}}/docs/documents/:documentUid/groups/:groupUid/content-element-assignments/:contentElementAssignmentUid/translation-assignments/:translationAssignmentUid","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","documents",":documentUid","groups",":groupUid","content-element-assignments",":contentElementAssignmentUid","translation-assignments",":translationAssignmentUid"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"25138e22-ddc9-4a0a-bc71-9360ffeacaf4","type":"any","value":"","key":"documentUid"},{"id":"db420fc0-ffed-422a-a968-9deadec7e70d","type":"any","value":"25ad4b7a-d775-495e-99b5-2b04c2a25444","key":"groupUid"},{"id":"b311f004-4882-477c-96ab-7314e59bd98f","type":"any","value":"f5c70466-ecf3-4f4a-a58c-99862da47996","key":"contentElementAssignmentUid"},{"id":"648c6964-c860-4b9d-bcb8-0a95c150558d","type":"any","value":"937d1bf3-f484-4bde-a131-c1cf2151c25","key":"translationAssignmentUid"}]}},"response":[{"id":"66ec2575-28cf-44f9-814e-b46e68063c8b","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {token-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"translationUid\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\r\n  \"draftContent\": \"some draft\",\r\n  \"isDraft\": true\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":{"raw":"{{mpbApiV1}}/docs/documents/:docUid/groups/:groupUid/content-elements/:contentElementAssignmentUid/translation-assignments/:translationAssignmentUid","host":["{{mpbApiV1}}"],"path":["docs","documents",":docUid","groups",":groupUid","content-elements",":contentElementAssignmentUid","translation-assignments",":translationAssignmentUid"],"variable":[{"key":"docUid","value":"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6"},{"key":"groupUid","value":"25ad4b7a-d775-495e-99b5-2b04c2a25444"},{"key":"contentElementAssignmentUid","value":"f5c70466-ecf3-4f4a-a58c-99862da47996"},{"key":"translationAssignmentUid","value":"937d1bf3-f484-4bde-a131-c1cf2151c259"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\r\n    \"assignmentUid\": \"937d1bf3-f484-4bde-a131-c1cf2151c259\",\r\n    \"translationUid\": \"c3dc0ac2-e18d-4414-b2f4-9c25113e6bfe\",\r\n    \"languageUid\": \"ecaa5da9-a1f6-40ae-b754-af9df1bec8b1\",\r\n    \"documentUid\": \"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6\",\r\n    \"groupUid\": \"25ad4b7a-d775-495e-99b5-2b04c2a25444\",\r\n    \"contentElementAssignmentUid\": \"f5c70466-ecf3-4f4a-a58c-99862da47996\",\r\n    \"correlationId\": \"d911380a-67bb-4d21-ace8-44f77ac8c6ea\",\r\n    \"language\": \"pl-PL\",\r\n    \"content\": \"some draft\",\r\n    \"version\": 1,\r\n    \"isDraft\": false,\r\n    \"createdOn\": \"2022-01-01T00:00:00\",\r\n    \"newerVersionExists\": false,\r\n    \"isApproved\": false\r\n}"},{"id":"c58fbbf9-d34c-4316-8e19-7f67414afe30","name":"Success (approval)","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {token-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"approvalStatus\": 1\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":{"raw":"{{mpbApiV1}}/docs/documents/:docUid/groups/:groupUid/content-elements/:contentElementAssignmentUid/translation-assignments/:translationAssignmentUid","host":["{{mpbApiV1}}"],"path":["docs","documents",":docUid","groups",":groupUid","content-elements",":contentElementAssignmentUid","translation-assignments",":translationAssignmentUid"],"variable":[{"key":"docUid","value":"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6"},{"key":"groupUid","value":"25ad4b7a-d775-495e-99b5-2b04c2a25444"},{"key":"contentElementAssignmentUid","value":"f5c70466-ecf3-4f4a-a58c-99862da47996"},{"key":"translationAssignmentUid","value":"937d1bf3-f484-4bde-a131-c1cf2151c259"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\r\n    \"assignmentUid\": \"937d1bf3-f484-4bde-a131-c1cf2151c259\",\r\n    \"translationUid\": \"c3dc0ac2-e18d-4414-b2f4-9c25113e6bfe\",\r\n    \"languageUid\": \"ecaa5da9-a1f6-40ae-b754-af9df1bec8b1\",\r\n    \"documentUid\": \"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6\",\r\n    \"groupUid\": \"25ad4b7a-d775-495e-99b5-2b04c2a25444\",\r\n    \"contentElementAssignmentUid\": \"f5c70466-ecf3-4f4a-a58c-99862da47996\",\r\n    \"correlationId\": \"d911380a-67bb-4d21-ace8-44f77ac8c6ea\",\r\n    \"language\": \"pl-PL\",\r\n    \"content\": \"some draft\",\r\n    \"version\": 1,\r\n    \"isDraft\": false,\r\n    \"createdOn\": \"2022-01-01T00:00:00\",\r\n    \"newerVersionExists\": false,\r\n    \"isApproved\": true\r\n}"},{"id":"6eda4035-24cc-4ce4-8b14-a26ca1300c1c","name":"Not Found","originalRequest":{"method":"PATCH","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Authorization","value":"Bearer {token-value}"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Name\",\r\n    \"description\": \"Description\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{mpbApiV1}}/docs/documents/:docUid/groups/:groupUid/content-elements/:contentElementAssignmentUid/translation-assignments/:translationAssignmentUid","host":["{{mpbApiV1}}"],"path":["docs","documents",":docUid","groups",":groupUid","content-elements",":contentElementAssignmentUid","translation-assignments",":translationAssignmentUid"],"variable":[{"key":"docUid","value":"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6"},{"key":"groupUid","value":"25ad4b7a-d775-495e-99b5-2b04c2a25444"},{"key":"contentElementAssignmentUid","value":"f5c70466-ecf3-4f4a-a58c-99862da47996"},{"key":"translationAssignmentUid","value":"937d1bf3-f484-4bde-a131-c1cf2151c259"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"EntityNotFoundException\",\n    \"title\": \"ContentElementTranslationAssignment could not be updated.\",\n    \"status\": 404,\n    \"detail\": \"Entity 'ContentElementTranslationAssignment' with ID = '{assignmentUid}' does not exist.\",\n    \"traceId\": \"00-b2262f7ea40959ea66b7ac9fe338f206-86cf85e242b3efca-00\"\n}"},{"id":"85e3ff15-bfb9-4bad-837b-f03373ddc0d2","name":"Bad Request","originalRequest":{"method":"PATCH","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Authorization","value":"Bearer {token-value}"}],"body":{"mode":"raw","raw":"{\r\n  \"translationUid\": \"122\", // Should be Guid\r\n  \"draftContent\": \"some draft\"\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":{"raw":"{{mpbApiV1}}/docs/documents/:docUid/groups/:groupUid/content-elements/:contentElementAssignmentUid/translation-assignments/:translationAssignmentUid","host":["{{mpbApiV1}}"],"path":["docs","documents",":docUid","groups",":groupUid","content-elements",":contentElementAssignmentUid","translation-assignments",":translationAssignmentUid"],"variable":[{"key":"docUid","value":"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6"},{"key":"groupUid","value":"25ad4b7a-d775-495e-99b5-2b04c2a25444"},{"key":"contentElementAssignmentUid","value":"f5c70466-ecf3-4f4a-a58c-99862da47996"},{"key":"translationAssignmentUid","value":"937d1bf3-f484-4bde-a131-c1cf2151c259"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"https://tools.ietf.org/html/rfc9110#section-15.5.1\",\n  \"title\": \"One or more validation errors occurred.\",\n  \"status\": 400,\n  \"errors\": {\n    \"requestBody\": [\n      \"The requestBody field is required.\"\n    ],\n    \"$.translationUid\": [\n      \"The JSON value could not be converted to Mpb.Documents.Core.Dto.Dtos.Request.UpdateTranslationAssignmentDto. Path: $.translationUid | LineNumber: 1 | BytePositionInLine: 25.\"\n    ]\n  },\n  \"traceId\": \"00-aad3f989a84881217329a6e4880d9137-ffbec822d99ee312-00\"\n}"},{"id":"fb969591-cf36-4dec-ab79-54b8b4924b3e","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[],"url":{"raw":"{{mpbApiV1}}/docs/documents/:docUid/groups/:groupUid/content-elements/:contentElementAssignmentUid/translation-assignments/:translationAssignmentUid","host":["{{mpbApiV1}}"],"path":["docs","documents",":docUid","groups",":groupUid","content-elements",":contentElementAssignmentUid","translation-assignments",":translationAssignmentUid"],"variable":[{"key":"docUid","value":"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6"},{"key":"groupUid","value":"25ad4b7a-d775-495e-99b5-2b04c2a25444"},{"key":"contentElementAssignmentUid","value":"f5c70466-ecf3-4f4a-a58c-99862da47996"},{"key":"translationAssignmentUid","value":"937d1bf3-f484-4bde-a131-c1cf2151c259"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"0735a1c6-1f5a-4f63-abcf-b9ca00669e0c","name":"Internal Server Error","originalRequest":{"method":"PATCH","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Authorization","value":"Bearer {token-value}"}],"url":{"raw":"{{mpbApiV1}}/docs/documents/:docUid/groups/:groupUid/content-elements/:contentElementAssignmentUid/translation-assignments/:translationAssignmentUid","host":["{{mpbApiV1}}"],"path":["docs","documents",":docUid","groups",":groupUid","content-elements",":contentElementAssignmentUid","translation-assignments",":translationAssignmentUid"],"variable":[{"key":"docUid","value":"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6"},{"key":"groupUid","value":"25ad4b7a-d775-495e-99b5-2b04c2a25444"},{"key":"contentElementAssignmentUid","value":"f5c70466-ecf3-4f4a-a58c-99862da47996"},{"key":"translationAssignmentUid","value":"937d1bf3-f484-4bde-a131-c1cf2151c259"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"1cec0750-6af1-405c-973c-9e1ca6595641"},{"name":"Delete translation assignment","id":"22d620cb-dc5b-49ad-a773-f69f13d7d748","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":"{{mpbApiV1}}/docs/documents/:documentUid/groups/:groupUid/content-element-assignments/:contentElementAssignmentUid/translation-assignments/:translationAssignmentUid","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","documents",":documentUid","groups",":groupUid","content-element-assignments",":contentElementAssignmentUid","translation-assignments",":translationAssignmentUid"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"d26fdee3-d210-4cd7-8265-9c502534e4a2","type":"any","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9","key":"documentUid"},{"id":"b7e89559-0376-4688-93aa-dfd5543885bd","type":"any","value":"123e0370-3db4-4d88-abd5-b972d28d69d9","key":"groupUid"},{"id":"22f081ef-7b14-49af-b9a2-9736f4e492b8","type":"any","value":"451e0370-3db4-4d88-abd5-b972d28d69d9","key":"contentElementAssignmentUid"},{"id":"ec50133f-f37c-4238-84bf-ffa31d26966e","type":"any","value":"671e0370-3db4-4d88-abd5-b972d28d69d9","key":"translationAssignmentUid"}]}},"response":[{"id":"f3e0a182-40a2-429c-8d5e-4f0d46aada70","name":"Success","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{mpbApiV1}}/docs/documents/:documentUid/groups/:groupUid/content-element-assignments/:contentElementAssignmentUid/translation-assignments/:translationAssignmentUid","host":["{{mpbApiV1}}"],"path":["docs","documents",":documentUid","groups",":groupUid","content-element-assignments",":contentElementAssignmentUid","translation-assignments",":translationAssignmentUid"],"variable":[{"key":"documentUid","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9"},{"key":"groupUid","value":"123e0370-3db4-4d88-abd5-b972d28d69d9"},{"key":"contentElementAssignmentUid","value":"451e0370-3db4-4d88-abd5-b972d28d69d9"},{"key":"translationAssignmentUid","value":"671e0370-3db4-4d88-abd5-b972d28d69d9"}]}},"status":"No Content","code":204,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"22d620cb-dc5b-49ad-a773-f69f13d7d748"},{"name":"Get content element translation assignments ODATA","id":"b4776ee2-c811-40b8-9bac-9fe4731eca72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":"{{mpbApiV1}}/docs/odata/contentelementtranslationassignments","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","odata","contentelementtranslationassignments"],"host":["{{mpbApiV1}}"],"query":[],"variable":[]}},"response":[{"id":"a8b1073f-d8d6-4df3-824b-97a4dfa85cad","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{mpbApiV1}}/docs/odata/contentelementtranslationassignments"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"@odata.context\": \"https://api.mypackbrain.com/v1/docs/odata/$metadata#ContentElementTranslationAssignments\",\n    \"value\": [\n        {\n            \"uid\": \"9c528865-de64-488b-8763-4667bb93d2ca\",\n            \"contentElementGroupAssignmentUid\": \"54cdad71-6a77-4947-882f-a0efa042ed0f\",\n            \"translationUid\": null,\n            \"languageUid\": \"ecaa5da9-a1f6-40ae-b754-af9df1bec8b1\",\n            \"isDraftAssignment\": false,\n            \"draftContent\": null,\n            \"createdOn\": \"2025-09-17T06:07:43.81Z\",\n            \"newerVersionExists\": false,\n            \"isApproved\": false,\n            \"commentsCount\": 0,\n            \"translation\": null,\n            \"language\": {\n                \"localeCode\": \"pl-PL\"\n            },\n            \"outputContentElementTranslationAssignments\": []\n        },\n        {\n            \"uid\": \"8278e074-248f-4b12-905c-42fbac6142d4\",\n            \"contentElementGroupAssignmentUid\": \"54cdad71-6a77-4947-882f-a0efa042ed0f\",\n            \"translationUid\": \"2848365f-b07a-4f36-9af6-b2977a276ac3\",\n            \"languageUid\": \"80f8c4b9-c1e8-4263-947d-eaa170f975a9\",\n            \"isDraftAssignment\": false,\n            \"draftContent\": null,\n            \"createdOn\": \"2025-09-17T06:33:38.637Z\",\n            \"newerVersionExists\": false,\n            \"isApproved\": false,\n            \"commentsCount\": 0,\n            \"translation\": {\n                \"uid\": \"2848365f-b07a-4f36-9af6-b2977a276ac3\",\n                \"correlationId\": \"dd27034e-52ff-46e2-a46c-ad1a90a324d7\",\n                \"content\": \"<p>fsfsd</p>\",\n                \"version\": 1\n            },\n            \"language\": {\n                \"localeCode\": \"en-GB\"\n            },\n            \"outputContentElementTranslationAssignments\": []\n        }\n    ]\n}"}],"_postman_id":"b4776ee2-c811-40b8-9bac-9fe4731eca72"},{"name":"Add translation assignment","id":"b0b8b566-e8b7-42c3-8cfd-ca835b19061e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"addLanguageUids\": [\r\n        \"ecaa5da9-a1f6-40ae-b754-af9df1bec8b1\",\r\n        \"80f8c4b9-c1e8-4263-947d-eaa170f975a9\"\r\n    ],\r\n    \"removeLanguageUids\": []\r\n}","options":{"raw":{"language":"json"}}},"url":"{{mpbApiV1}}/docs/documents/:documentUid/groups/:groupUid/content-element-assignments/:contentElementAssignmentUid/translations-selection","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","documents",":documentUid","groups",":groupUid","content-element-assignments",":contentElementAssignmentUid","translations-selection"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"cb4514dc-43de-4f08-958d-52559a1b8db4","type":"any","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9","key":"documentUid"},{"id":"06101c1e-edde-4fc0-a569-3d6fce96fd2d","type":"any","value":"123e0370-3db4-4d88-abd5-b972d28d69d9","key":"groupUid"},{"id":"4656bcb4-cb50-450d-9618-b0fcb9d2772a","type":"any","value":"451e0370-3db4-4d88-abd5-b972d28d69d9","key":"contentElementAssignmentUid"}]}},"response":[{"id":"c259a833-3efa-4064-b6f7-fecb781b1668","name":"Add translation assignment","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"addLanguageUids\": [\r\n        \"ecaa5da9-a1f6-40ae-b754-af9df1bec8b1\",\r\n        \"80f8c4b9-c1e8-4263-947d-eaa170f975a9\"\r\n    ],\r\n    \"removeLanguageUids\": []\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{mpbApiV1}}/docs/documents/:documentUid/groups/:groupUid/content-element-assignments/:contentElementAssignmentUid/translations-selection","host":["{{mpbApiV1}}"],"path":["docs","documents",":documentUid","groups",":groupUid","content-element-assignments",":contentElementAssignmentUid","translations-selection"],"variable":[{"key":"documentUid","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9"},{"key":"groupUid","value":"123e0370-3db4-4d88-abd5-b972d28d69d9"},{"key":"contentElementAssignmentUid","value":"451e0370-3db4-4d88-abd5-b972d28d69d9"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"languageUids\": [\n        \"ecaa5da9-a1f6-40ae-b754-af9df1bec8b1\",\n        \"80f8c4b9-c1e8-4263-947d-eaa170f975a9\"\n    ],\n    \"removedLanguageUids\": []\n}"}],"_postman_id":"b0b8b566-e8b7-42c3-8cfd-ca835b19061e"}],"id":"a72cb7ec-90c9-46a5-81a6-54e13efd816d","_postman_id":"a72cb7ec-90c9-46a5-81a6-54e13efd816d","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}}},{"name":"Comments","item":[{"name":"Get comments for master document","id":"eb0b9900-7f91-49e9-97f3-05812f4a5198","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.mypackbrain.com/v1/docs/documents/:documentUid/comments","urlObject":{"path":["docs","documents",":documentUid","comments"],"host":["https://api.mypackbrain.com/v1"],"query":[],"variable":[{"id":"b3396a68-e741-4d17-bb0e-39d543a7d47a","type":"any","value":"","key":"documentUid"}]}},"response":[{"id":"809bdb41-5ec4-4625-b347-41b8ef25bfe3","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {token-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid/comments","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid","comments"],"variable":[{"key":"docUid","value":"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"[\r\n    {\r\n        \"documentUid\": \"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6\",\r\n        \"elementType\": \"MasterDocument\",\r\n        \"uid\": \"eba8f952-70a0-4c66-b513-8556a08a9ce2\",\r\n        \"content\": \"comment for master document\",\r\n        \"author\": \"John Doe\",\r\n        \"createdOn\": \"2025-02-11T08:15:31.527\"\r\n    },\r\n{\r\n        \"documentUid\": \"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6\",\r\n        \"elementType\": \"MasterDocument\",\r\n        \"uid\": \"c3e31e68-2c2a-499a-b650-855c121ed764\",\r\n        \"content\": \"second comment for master document\",\r\n        \"author\": \"John Doe\",\r\n        \"createdOn\": \"2025-01-10T11:33:31.527\"\r\n    }    \r\n]"},{"id":"1d2d533f-ca4e-42a7-8317-b1c91a109fbe","name":"Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid"],"variable":[{"key":"docUid","value":""}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"571ae7a8-2108-4cd6-b30a-ac7f0eb7a676","name":"Internal Server Error","originalRequest":{"method":"GET","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Authorization","value":"Bearer {token-value}"}],"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid"],"variable":[{"key":"docUid","value":""}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"eb0b9900-7f91-49e9-97f3-05812f4a5198"},{"name":"Get comments for content element assignment","id":"21f450ec-79fe-475a-b6a9-2f9c135e98fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"{\r\n  \"translationUid\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\r\n  \"draftContent\": \"string\",\r\n  \"isDraft\": true\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":"https://api.mypackbrain.com/v1/docs/documents/:documentUid/groups/:groupUid/content-element-assignments/:contentElementAssignmentUid/comments","urlObject":{"path":["docs","documents",":documentUid","groups",":groupUid","content-element-assignments",":contentElementAssignmentUid","comments"],"host":["https://api.mypackbrain.com/v1"],"query":[],"variable":[{"id":"f8a7c25e-cc9e-4507-b281-cdc73baead86","type":"any","value":"","key":"documentUid"},{"id":"3bcf0f55-d1c6-49c6-ab27-157d66bd1330","type":"any","value":"25ad4b7a-d775-495e-99b5-2b04c2a25444","key":"groupUid"},{"id":"86804b03-e63d-4200-a532-7dae9c3be0c8","type":"any","value":"f5c70466-ecf3-4f4a-a58c-99862da47996","key":"contentElementAssignmentUid"}]}},"response":[{"id":"a4b55b07-db9b-458b-bf2c-693105b48094","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {token-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"translationUid\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\r\n  \"draftContent\": \"some draft\",\r\n  \"isDraft\": true\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid/groups/:groupUid/content-element-assignments/:contentElementAssignmentUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid","groups",":groupUid","content-element-assignments",":contentElementAssignmentUid"],"variable":[{"key":"docUid","value":"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6"},{"key":"groupUid","value":"25ad4b7a-d775-495e-99b5-2b04c2a25444"},{"key":"contentElementAssignmentUid","value":"f5c70466-ecf3-4f4a-a58c-99862da47996"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"[\r\n    {\r\n        \"contentElementAssignmentUid\": \"f5c70466-ecf3-4f4a-a58c-99862da47996\",\r\n        \"elementType\": \"ContentElement\",\r\n        \"uid\": \"333f3d6d-808a-4087-987a-b06e3b92993c\",\r\n        \"content\": \"comment for content element\",\r\n        \"author\": \"John Doe\",\r\n        \"createdOn\": \"2025-02-11T08:15:31.527\"\r\n    },\r\n{\r\n        \"contentElementAssignmentUid\": \"f5c70466-ecf3-4f4a-a58c-99862da47996\",\r\n        \"elementType\": \"ContentElement\",\r\n        \"uid\": \"e397ecd8-7373-4d9d-9be2-6dc8e30269b1\",\r\n        \"content\": \"second comment for content element\",\r\n        \"author\": \"John Doe\",\r\n        \"createdOn\": \"2025-01-10T11:33:31.527\"\r\n    }    \r\n]"},{"id":"be93d7a7-c588-4276-93b3-8e29e18c219c","name":"Not Found","originalRequest":{"method":"PATCH","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Authorization","value":"Bearer {token-value}"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Name\",\r\n    \"description\": \"Description\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid/groups/:groupUid/content-element-assignments/:contentElementAssignmentUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid","groups",":groupUid","content-element-assignments",":contentElementAssignmentUid"],"variable":[{"key":"docUid","value":"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6"},{"key":"groupUid","value":"25ad4b7a-d775-495e-99b5-2b04c2a25444"},{"key":"contentElementAssignmentUid","value":"f5c70466-ecf3-4f4a-a58c-99862da47996"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"EntityNotFoundException\",\n    \"title\": \"ContentElementTranslationAssignment could not be updated.\",\n    \"status\": 404,\n    \"detail\": \"Entity 'ContentElementTranslationAssignment' with ID = '{assignmentUid}' does not exist.\",\n    \"traceId\": \"00-b2262f7ea40959ea66b7ac9fe338f206-86cf85e242b3efca-00\"\n}"},{"id":"fd209e49-6e59-4b80-b7fc-f25684e2ee47","name":"Bad Request","originalRequest":{"method":"PATCH","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Authorization","value":"Bearer {token-value}"}],"body":{"mode":"raw","raw":"{\r\n  \"translationUid\": \"122\", // Should be Guid\r\n  \"draftContent\": \"some draft\"\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid/groups/:groupUid/content-element-assignments/:contentElementAssignmentUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid","groups",":groupUid","content-element-assignments",":contentElementAssignmentUid"],"variable":[{"key":"docUid","value":"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6"},{"key":"groupUid","value":"25ad4b7a-d775-495e-99b5-2b04c2a25444"},{"key":"contentElementAssignmentUid","value":"f5c70466-ecf3-4f4a-a58c-99862da47996"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"https://tools.ietf.org/html/rfc9110#section-15.5.1\",\n  \"title\": \"One or more validation errors occurred.\",\n  \"status\": 400,\n  \"errors\": {\n    \"requestBody\": [\n      \"The requestBody field is required.\"\n    ],\n    \"$.translationUid\": [\n      \"The JSON value could not be converted to Mpb.Documents.Core.Dto.Dtos.Request.UpdateTranslationAssignmentDto. Path: $.translationUid | LineNumber: 1 | BytePositionInLine: 25.\"\n    ]\n  },\n  \"traceId\": \"00-aad3f989a84881217329a6e4880d9137-ffbec822d99ee312-00\"\n}"},{"id":"8ed6dfaa-e1a8-44bc-9ad1-da8cafb96707","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[],"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid/groups/:groupUid/content-element-assignments/:contentElementAssignmentUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid","groups",":groupUid","content-element-assignments",":contentElementAssignmentUid"],"variable":[{"key":"docUid","value":"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6"},{"key":"groupUid","value":"25ad4b7a-d775-495e-99b5-2b04c2a25444"},{"key":"contentElementAssignmentUid","value":"f5c70466-ecf3-4f4a-a58c-99862da47996"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"03c8d108-a079-488e-a2c5-6b5348aff42f","name":"Internal Server Error","originalRequest":{"method":"PATCH","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Authorization","value":"Bearer {token-value}"}],"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid/groups/:groupUid/content-element-assignments/:contentElementAssignmentUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid","groups",":groupUid","content-element-assignments",":contentElementAssignmentUid"],"variable":[{"key":"docUid","value":"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6"},{"key":"groupUid","value":"25ad4b7a-d775-495e-99b5-2b04c2a25444"},{"key":"contentElementAssignmentUid","value":"f5c70466-ecf3-4f4a-a58c-99862da47996"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"21f450ec-79fe-475a-b6a9-2f9c135e98fc"},{"name":"Add comment to master document","id":"beba4fd0-318b-4fd0-9f5f-26e4d0d68626","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{mpbApiV1}}/docs/documents/:documentUid/comments","urlObject":{"path":["docs","documents",":documentUid","comments"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"8859a09b-edc3-415c-8a82-8942cd8ae4fe","type":"any","value":"","key":"documentUid"}]}},"response":[{"id":"79acf8d3-e40e-41ed-9a4d-4d2526cf8880","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {token-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid/comments","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid","comments"],"variable":[{"key":"docUid","value":"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\r\n    \"documentUid\": \"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6\",\r\n    \"elementType\": \"MasterDocument\",\r\n    \"uid\": \"33f15453-f493-4e24-a99a-e1273a0f991f\",\r\n    \"content\": \"new comment\",\r\n    \"author\": \"John Doe\",\r\n    \"createdOn\": \"2025-01-10T11:41:40.629654Z\"\r\n}"},{"id":"5fa97744-8695-4888-920f-ea82c9c6a50f","name":"Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid"],"variable":[{"key":"docUid","value":""}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"19a4e97c-0db6-40d0-8802-e137b0833b8c","name":"Internal Server Error","originalRequest":{"method":"GET","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Authorization","value":"Bearer {token-value}"}],"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid"],"variable":[{"key":"docUid","value":""}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"beba4fd0-318b-4fd0-9f5f-26e4d0d68626"},{"name":"Add comment for content element assignment","id":"977b02e0-fe90-43a1-a671-71a6d5b73e8c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"{\r\n    \"content\": \"new comment\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{mpbApiV1}}/docs/documents/:documentUid/groups/:groupUid/content-element-assignments/:contentElementAssignmentUid/comments","urlObject":{"path":["docs","documents",":documentUid","groups",":groupUid","content-element-assignments",":contentElementAssignmentUid","comments"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"57725bd4-e7af-44f8-82ad-ca3ade1d6b47","type":"any","value":"","key":"documentUid"},{"id":"6bea58fa-e1b8-4d84-bcce-f203943e4da6","type":"any","value":"25ad4b7a-d775-495e-99b5-2b04c2a25444","key":"groupUid"},{"id":"1421425c-e764-4055-bb22-315e2e3c14b8","type":"any","value":"f5c70466-ecf3-4f4a-a58c-99862da47996","key":"contentElementAssignmentUid"}]}},"response":[{"id":"b6a148bd-9878-42f0-b13c-243fc995c903","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {token-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"translationUid\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\r\n  \"draftContent\": \"some draft\",\r\n  \"isDraft\": true\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid/groups/:groupUid/content-element-assignments/:contentElementAssignmentUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid","groups",":groupUid","content-element-assignments",":contentElementAssignmentUid"],"variable":[{"key":"docUid","value":"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6"},{"key":"groupUid","value":"25ad4b7a-d775-495e-99b5-2b04c2a25444"},{"key":"contentElementAssignmentUid","value":"f5c70466-ecf3-4f4a-a58c-99862da47996"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\r\n    \"contentElementAssignmentUid\": \"f5c70466-ecf3-4f4a-a58c-99862da47996\",\r\n    \"elementType\": \"MasterDocument\",\r\n    \"uid\": \"cf30eafe-4306-46b7-a86f-9d8d5d13977f\",\r\n    \"content\": \"new comment\",\r\n    \"author\": \"John Doe\",\r\n    \"createdOn\": \"2025-01-10T11:41:40.629654Z\"\r\n}"},{"id":"ee14dd89-a29c-4751-af90-21b0ced08e35","name":"Not Found","originalRequest":{"method":"PATCH","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Authorization","value":"Bearer {token-value}"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Name\",\r\n    \"description\": \"Description\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid/groups/:groupUid/content-element-assignments/:contentElementAssignmentUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid","groups",":groupUid","content-element-assignments",":contentElementAssignmentUid"],"variable":[{"key":"docUid","value":"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6"},{"key":"groupUid","value":"25ad4b7a-d775-495e-99b5-2b04c2a25444"},{"key":"contentElementAssignmentUid","value":"f5c70466-ecf3-4f4a-a58c-99862da47996"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"EntityNotFoundException\",\n    \"title\": \"ContentElementTranslationAssignment could not be updated.\",\n    \"status\": 404,\n    \"detail\": \"Entity 'ContentElementTranslationAssignment' with ID = '{assignmentUid}' does not exist.\",\n    \"traceId\": \"00-b2262f7ea40959ea66b7ac9fe338f206-86cf85e242b3efca-00\"\n}"},{"id":"ab6dfe11-78c5-4a8f-a0a9-43cccf7a7d33","name":"Bad Request","originalRequest":{"method":"PATCH","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Authorization","value":"Bearer {token-value}"}],"body":{"mode":"raw","raw":"{\r\n  \"translationUid\": \"122\", // Should be Guid\r\n  \"draftContent\": \"some draft\"\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid/groups/:groupUid/content-element-assignments/:contentElementAssignmentUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid","groups",":groupUid","content-element-assignments",":contentElementAssignmentUid"],"variable":[{"key":"docUid","value":"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6"},{"key":"groupUid","value":"25ad4b7a-d775-495e-99b5-2b04c2a25444"},{"key":"contentElementAssignmentUid","value":"f5c70466-ecf3-4f4a-a58c-99862da47996"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"https://tools.ietf.org/html/rfc9110#section-15.5.1\",\n  \"title\": \"One or more validation errors occurred.\",\n  \"status\": 400,\n  \"errors\": {\n    \"requestBody\": [\n      \"The requestBody field is required.\"\n    ],\n    \"$.translationUid\": [\n      \"The JSON value could not be converted to Mpb.Documents.Core.Dto.Dtos.Request.UpdateTranslationAssignmentDto. Path: $.translationUid | LineNumber: 1 | BytePositionInLine: 25.\"\n    ]\n  },\n  \"traceId\": \"00-aad3f989a84881217329a6e4880d9137-ffbec822d99ee312-00\"\n}"},{"id":"f4a4c9f2-fee5-417a-bb91-1f426123dc90","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[],"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid/groups/:groupUid/content-element-assignments/:contentElementAssignmentUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid","groups",":groupUid","content-element-assignments",":contentElementAssignmentUid"],"variable":[{"key":"docUid","value":"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6"},{"key":"groupUid","value":"25ad4b7a-d775-495e-99b5-2b04c2a25444"},{"key":"contentElementAssignmentUid","value":"f5c70466-ecf3-4f4a-a58c-99862da47996"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"8f52d1d2-174c-474b-8135-22d29faea787","name":"Internal Server Error","originalRequest":{"method":"PATCH","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Authorization","value":"Bearer {token-value}"}],"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid/groups/:groupUid/content-element-assignments/:contentElementAssignmentUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid","groups",":groupUid","content-element-assignments",":contentElementAssignmentUid"],"variable":[{"key":"docUid","value":"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6"},{"key":"groupUid","value":"25ad4b7a-d775-495e-99b5-2b04c2a25444"},{"key":"contentElementAssignmentUid","value":"f5c70466-ecf3-4f4a-a58c-99862da47996"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"977b02e0-fe90-43a1-a671-71a6d5b73e8c"},{"name":"Add comment for translation assignment","id":"40120a96-5748-45f6-bf46-95c1ff06bb4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"{\r\n    \"content\": \"new comment\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{mpbApiV1}}/docs/documents/:documentUid/groups/:groupUid/content-element-assignments/:contentElementAssignmentUid/translation-assignments/:translationAssignmentUid/comments","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","documents",":documentUid","groups",":groupUid","content-element-assignments",":contentElementAssignmentUid","translation-assignments",":translationAssignmentUid","comments"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"05fe06c3-7284-4e82-96ec-e2faabdf8408","type":"any","value":"","key":"documentUid"},{"id":"e1824a2a-a2bd-4d6e-95ca-a5a3ce298330","type":"any","value":"25ad4b7a-d775-495e-99b5-2b04c2a25444","key":"groupUid"},{"id":"887c24ea-0f50-4aa4-a696-f9241c0ce995","type":"any","value":"f5c70466-ecf3-4f4a-a58c-99862da47996","key":"contentElementAssignmentUid"},{"id":"4bc5a1e5-5121-4eec-9ad1-f1f1ba55ac17","type":"any","value":"937d1bf3-f484-4bde-a131-c1cf2151c25","key":"translationAssignmentUid"}]}},"response":[{"id":"eb0540a7-fcc5-4638-a954-98adbb471a7f","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {token-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"translationUid\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\r\n  \"draftContent\": \"some draft\",\r\n  \"isDraft\": true\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid/groups/:groupUid/content-elements/:contentElementAssignmentUid/translation-assignments/:translationAssignmentUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid","groups",":groupUid","content-elements",":contentElementAssignmentUid","translation-assignments",":translationAssignmentUid"],"variable":[{"key":"docUid","value":"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6"},{"key":"groupUid","value":"25ad4b7a-d775-495e-99b5-2b04c2a25444"},{"key":"contentElementAssignmentUid","value":"f5c70466-ecf3-4f4a-a58c-99862da47996"},{"key":"translationAssignmentUid","value":"937d1bf3-f484-4bde-a131-c1cf2151c259"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\r\n    \"translationAssignmentUid\": \"937d1bf3-f484-4bde-a131-c1cf2151c259\",\r\n    \"elementType\": \"Transaltion\",\r\n    \"uid\": \"ddf8b33b-656c-48fe-aed5-05d8292c1d3c\",\r\n    \"content\": \"new comment\",\r\n    \"author\": \"John Doe\",\r\n    \"createdOn\": \"2025-01-10T11:41:40.629654Z\"\r\n}"},{"id":"54ff8694-4140-4109-a4d6-9bf96de4c643","name":"Not Found","originalRequest":{"method":"PATCH","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Authorization","value":"Bearer {token-value}"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Name\",\r\n    \"description\": \"Description\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid/groups/:groupUid/content-elements/:contentElementAssignmentUid/translation-assignments/:translationAssignmentUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid","groups",":groupUid","content-elements",":contentElementAssignmentUid","translation-assignments",":translationAssignmentUid"],"variable":[{"key":"docUid","value":"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6"},{"key":"groupUid","value":"25ad4b7a-d775-495e-99b5-2b04c2a25444"},{"key":"contentElementAssignmentUid","value":"f5c70466-ecf3-4f4a-a58c-99862da47996"},{"key":"translationAssignmentUid","value":"937d1bf3-f484-4bde-a131-c1cf2151c259"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"EntityNotFoundException\",\n    \"title\": \"ContentElementTranslationAssignment could not be updated.\",\n    \"status\": 404,\n    \"detail\": \"Entity 'ContentElementTranslationAssignment' with ID = '{assignmentUid}' does not exist.\",\n    \"traceId\": \"00-b2262f7ea40959ea66b7ac9fe338f206-86cf85e242b3efca-00\"\n}"},{"id":"1fcdba4c-bc08-4d40-9ffe-74701e28c6ea","name":"Bad Request","originalRequest":{"method":"PATCH","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Authorization","value":"Bearer {token-value}"}],"body":{"mode":"raw","raw":"{\r\n  \"translationUid\": \"122\", // Should be Guid\r\n  \"draftContent\": \"some draft\"\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid/groups/:groupUid/content-elements/:contentElementAssignmentUid/translation-assignments/:translationAssignmentUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid","groups",":groupUid","content-elements",":contentElementAssignmentUid","translation-assignments",":translationAssignmentUid"],"variable":[{"key":"docUid","value":"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6"},{"key":"groupUid","value":"25ad4b7a-d775-495e-99b5-2b04c2a25444"},{"key":"contentElementAssignmentUid","value":"f5c70466-ecf3-4f4a-a58c-99862da47996"},{"key":"translationAssignmentUid","value":"937d1bf3-f484-4bde-a131-c1cf2151c259"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"https://tools.ietf.org/html/rfc9110#section-15.5.1\",\n  \"title\": \"One or more validation errors occurred.\",\n  \"status\": 400,\n  \"errors\": {\n    \"requestBody\": [\n      \"The requestBody field is required.\"\n    ],\n    \"$.translationUid\": [\n      \"The JSON value could not be converted to Mpb.Documents.Core.Dto.Dtos.Request.UpdateTranslationAssignmentDto. Path: $.translationUid | LineNumber: 1 | BytePositionInLine: 25.\"\n    ]\n  },\n  \"traceId\": \"00-aad3f989a84881217329a6e4880d9137-ffbec822d99ee312-00\"\n}"},{"id":"98e7ea15-ccf1-4483-9207-f616022d7331","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[],"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid/groups/:groupUid/content-elements/:contentElementAssignmentUid/translation-assignments/:translationAssignmentUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid","groups",":groupUid","content-elements",":contentElementAssignmentUid","translation-assignments",":translationAssignmentUid"],"variable":[{"key":"docUid","value":"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6"},{"key":"groupUid","value":"25ad4b7a-d775-495e-99b5-2b04c2a25444"},{"key":"contentElementAssignmentUid","value":"f5c70466-ecf3-4f4a-a58c-99862da47996"},{"key":"translationAssignmentUid","value":"937d1bf3-f484-4bde-a131-c1cf2151c259"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"fb8403a2-31ed-49b1-912f-a1c9e159380e","name":"Internal Server Error","originalRequest":{"method":"PATCH","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Authorization","value":"Bearer {token-value}"}],"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid/groups/:groupUid/content-elements/:contentElementAssignmentUid/translation-assignments/:translationAssignmentUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid","groups",":groupUid","content-elements",":contentElementAssignmentUid","translation-assignments",":translationAssignmentUid"],"variable":[{"key":"docUid","value":"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6"},{"key":"groupUid","value":"25ad4b7a-d775-495e-99b5-2b04c2a25444"},{"key":"contentElementAssignmentUid","value":"f5c70466-ecf3-4f4a-a58c-99862da47996"},{"key":"translationAssignmentUid","value":"937d1bf3-f484-4bde-a131-c1cf2151c259"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"40120a96-5748-45f6-bf46-95c1ff06bb4f"},{"name":"Get comments for translation assignment","id":"c8cd87e3-a277-4583-ae5c-e3dc78e1e891","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"{\r\n  \"translationUid\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\r\n  \"draftContent\": \"string\",\r\n  \"isDraft\": true\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":"{{mpbApiV1}}/docs/documents/:documentUid/groups/:groupUid/content-element-assignments/:contentElementAssignmentUid/translation-assignments/:translationAssignmentUid/comments","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","documents",":documentUid","groups",":groupUid","content-element-assignments",":contentElementAssignmentUid","translation-assignments",":translationAssignmentUid","comments"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"825713fb-dc28-4aa6-b228-eac7114e8d55","type":"any","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9","key":"documentUid"},{"id":"cf3fd9c5-fd40-482a-a2a9-292ebb2d1c90","type":"any","value":"25ad4b7a-d775-495e-99b5-2b04c2a25444","key":"groupUid"},{"id":"b2be5021-cdb8-42f3-af30-1e8e195a9f6d","type":"any","value":"f5c70466-ecf3-4f4a-a58c-99862da47996","key":"contentElementAssignmentUid"},{"id":"38234f47-3a59-4423-8dd6-b413ed695576","type":"any","value":"937d1bf3-f484-4bde-a131-c1cf2151c25","key":"translationAssignmentUid"}]}},"response":[{"id":"3683d380-d767-4bf5-9a91-b14466810f03","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {token-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"translationUid\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\r\n  \"draftContent\": \"some draft\",\r\n  \"isDraft\": true\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid/groups/:groupUid/content-elements/:contentElementAssignmentUid/translation-assignments/:translationAssignmentUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid","groups",":groupUid","content-elements",":contentElementAssignmentUid","translation-assignments",":translationAssignmentUid"],"variable":[{"key":"docUid","value":"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6"},{"key":"groupUid","value":"25ad4b7a-d775-495e-99b5-2b04c2a25444"},{"key":"contentElementAssignmentUid","value":"f5c70466-ecf3-4f4a-a58c-99862da47996"},{"key":"translationAssignmentUid","value":"937d1bf3-f484-4bde-a131-c1cf2151c259"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"[\r\n    {\r\n        \"contentElementAssignmentUid\": \"f5c70466-ecf3-4f4a-a58c-99862da47996\",\r\n        \"elementType\": \"ContentElement\",\r\n        \"uid\": \"17deb1e1-79ea-42b0-a5e4-ab39dc40f4ba\",\r\n        \"content\": \"comment for content element\", // comments list for transaltion includes comments for content element\r\n        \"author\": \"John Doe\",\r\n        \"createdOn\": \"2025-02-11T08:15:31.527\"\r\n    },\r\n{\r\n        \"translationAssignmentUid\": \"937d1bf3-f484-4bde-a131-c1cf2151c259\",\r\n        \"elementType\": \"Translation\",\r\n        \"uid\": \"e74f05e5-b9f3-437c-8eb4-a588874a3653\",\r\n        \"content\": \"comment for translation\",\r\n        \"author\": \"John Doe\",\r\n        \"createdOn\": \"2025-01-10T11:33:31.527\"\r\n    }    \r\n]"},{"id":"bccd9b87-b747-4aa2-9634-d14546bcd668","name":"Not Found","originalRequest":{"method":"PATCH","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Authorization","value":"Bearer {token-value}"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Name\",\r\n    \"description\": \"Description\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid/groups/:groupUid/content-elements/:contentElementAssignmentUid/translation-assignments/:translationAssignmentUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid","groups",":groupUid","content-elements",":contentElementAssignmentUid","translation-assignments",":translationAssignmentUid"],"variable":[{"key":"docUid","value":"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6"},{"key":"groupUid","value":"25ad4b7a-d775-495e-99b5-2b04c2a25444"},{"key":"contentElementAssignmentUid","value":"f5c70466-ecf3-4f4a-a58c-99862da47996"},{"key":"translationAssignmentUid","value":"937d1bf3-f484-4bde-a131-c1cf2151c259"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"EntityNotFoundException\",\n    \"title\": \"ContentElementTranslationAssignment could not be updated.\",\n    \"status\": 404,\n    \"detail\": \"Entity 'ContentElementTranslationAssignment' with ID = '{assignmentUid}' does not exist.\",\n    \"traceId\": \"00-b2262f7ea40959ea66b7ac9fe338f206-86cf85e242b3efca-00\"\n}"},{"id":"ed0bc91f-87e5-4e88-8c60-13940bcd14ac","name":"Bad Request","originalRequest":{"method":"PATCH","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Authorization","value":"Bearer {token-value}"}],"body":{"mode":"raw","raw":"{\r\n  \"translationUid\": \"122\", // Should be Guid\r\n  \"draftContent\": \"some draft\"\r\n}\r\n\r\n","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid/groups/:groupUid/content-elements/:contentElementAssignmentUid/translation-assignments/:translationAssignmentUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid","groups",":groupUid","content-elements",":contentElementAssignmentUid","translation-assignments",":translationAssignmentUid"],"variable":[{"key":"docUid","value":"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6"},{"key":"groupUid","value":"25ad4b7a-d775-495e-99b5-2b04c2a25444"},{"key":"contentElementAssignmentUid","value":"f5c70466-ecf3-4f4a-a58c-99862da47996"},{"key":"translationAssignmentUid","value":"937d1bf3-f484-4bde-a131-c1cf2151c259"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"https://tools.ietf.org/html/rfc9110#section-15.5.1\",\n  \"title\": \"One or more validation errors occurred.\",\n  \"status\": 400,\n  \"errors\": {\n    \"requestBody\": [\n      \"The requestBody field is required.\"\n    ],\n    \"$.translationUid\": [\n      \"The JSON value could not be converted to Mpb.Documents.Core.Dto.Dtos.Request.UpdateTranslationAssignmentDto. Path: $.translationUid | LineNumber: 1 | BytePositionInLine: 25.\"\n    ]\n  },\n  \"traceId\": \"00-aad3f989a84881217329a6e4880d9137-ffbec822d99ee312-00\"\n}"},{"id":"7aba62f3-562d-45cd-8653-696e8bc507e1","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[],"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid/groups/:groupUid/content-elements/:contentElementAssignmentUid/translation-assignments/:translationAssignmentUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid","groups",":groupUid","content-elements",":contentElementAssignmentUid","translation-assignments",":translationAssignmentUid"],"variable":[{"key":"docUid","value":"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6"},{"key":"groupUid","value":"25ad4b7a-d775-495e-99b5-2b04c2a25444"},{"key":"contentElementAssignmentUid","value":"f5c70466-ecf3-4f4a-a58c-99862da47996"},{"key":"translationAssignmentUid","value":"937d1bf3-f484-4bde-a131-c1cf2151c259"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"8319f4d5-fc38-4bc8-b89e-33205af5948b","name":"Internal Server Error","originalRequest":{"method":"PATCH","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Authorization","value":"Bearer {token-value}"}],"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid/groups/:groupUid/content-elements/:contentElementAssignmentUid/translation-assignments/:translationAssignmentUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid","groups",":groupUid","content-elements",":contentElementAssignmentUid","translation-assignments",":translationAssignmentUid"],"variable":[{"key":"docUid","value":"a5c744b1-e6a7-4133-a7e0-36a5ecd701b6"},{"key":"groupUid","value":"25ad4b7a-d775-495e-99b5-2b04c2a25444"},{"key":"contentElementAssignmentUid","value":"f5c70466-ecf3-4f4a-a58c-99862da47996"},{"key":"translationAssignmentUid","value":"937d1bf3-f484-4bde-a131-c1cf2151c259"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"c8cd87e3-a277-4583-ae5c-e3dc78e1e891"}],"id":"8687979a-8da8-4824-99d7-951c1adcf4ca","_postman_id":"8687979a-8da8-4824-99d7-951c1adcf4ca","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}}},{"name":"Outputs","item":[{"name":"Get output (download xml)","id":"85527e72-bf6b-4e3c-bc77-352f5baf04a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":"{{mpbApiV1}}/docs/documents/:documentUid/output?includeDrafts=false&includeGraphics=true","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","documents",":documentUid","output"],"host":["{{mpbApiV1}}"],"query":[{"key":"includeDrafts","value":"false"},{"key":"includeGraphics","value":"true"}],"variable":[{"id":"0e8617b1-ad1e-4412-bf85-2c21356e47f0","type":"any","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9","key":"documentUid"}]}},"response":[{"id":"a917aad4-e90f-4de7-9fcd-63f96f4163ca","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":{"raw":"{{mpbApiV1}}/docs/documents/:documentUid/output?includeDrafts=false&includeGraphics=true","host":["{{mpbApiV1}}"],"path":["docs","documents",":documentUid","output"],"query":[{"key":"includeDrafts","value":"false"},{"key":"includeGraphics","value":"true"}],"variable":[{"key":"documentUid","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"0x00000000 - zip file"}],"_postman_id":"85527e72-bf6b-4e3c-bc77-352f5baf04a0"},{"name":"Add output","id":"59982a1b-8743-4ae1-8da8-7e56b53fac5a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"new output\",\r\n    \"uid\": \"524b8f5a-da62-612f-0874-3984260cec97\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{mpbApiV1}}/docs/documents/:documentUid/outputs","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","documents",":documentUid","outputs"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"de986bd3-5dc8-41ab-b16f-e4a0cb1cac0c","type":"any","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9","key":"documentUid"}]}},"response":[{"id":"8e788fcb-9fae-4c62-9137-531a23e8b523","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"new output\",\r\n    \"uid\": \"524b8f5a-da62-612f-0874-3984260cec97\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{mpbApiV1}}/docs/documents/:documentUid/outputs","host":["{{mpbApiV1}}"],"path":["docs","documents",":documentUid","outputs"],"variable":[{"key":"documentUid","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"uid\": \"12ce8007-1e6f-4af8-971c-61d840e78af4\"\n}"}],"_postman_id":"59982a1b-8743-4ae1-8da8-7e56b53fac5a"},{"name":"Delete output","id":"698e5612-59f7-43bb-ab77-2e777bcfc2d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{mpbApiV1}}/docs/documents/:documentUid/outputs/:outputUid","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","documents",":documentUid","outputs",":outputUid"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"8691c7c3-e0b1-47e5-bb4e-4a3a7dc7bf06","type":"any","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9","key":"documentUid"},{"id":"65ff5acb-6fab-47de-b077-71e76eeeec9d","type":"any","value":"111e0370-3db4-4d88-abd5-b972d28d69d9","key":"outputUid"}]}},"response":[{"id":"6bb68f87-d29e-44a9-baac-d13d8e0aaead","name":"Success","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{mpbApiV1}}/docs/documents/:documentUid/outputs/:outputUid","host":["{{mpbApiV1}}"],"path":["docs","documents",":documentUid","outputs",":outputUid"],"variable":[{"key":"documentUid","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9"},{"key":"outputUid","value":"111e0370-3db4-4d88-abd5-b972d28d69d9"}]}},"status":"No Content","code":204,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"698e5612-59f7-43bb-ab77-2e777bcfc2d9"},{"name":"Update output","id":"52f3a9b5-c853-4e10-9b80-d39c2249217e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"new output 2\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{mpbApiV1}}/docs/documents/:documentUid/outputs/:outputUid","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","documents",":documentUid","outputs",":outputUid"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"09186274-c0b0-48a3-9336-aecdf8df3c87","type":"any","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9","key":"documentUid"},{"id":"5adfd869-d438-4558-a399-1e66f13fbd76","type":"any","value":"111e0370-3db4-4d88-abd5-b972d28d69d9","key":"outputUid"}]}},"response":[{"id":"05f311cd-62fa-45af-b73a-8d515d397dbc","name":"Success","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"new output 2\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{mpbApiV1}}/docs/documents/:documentUid/outputs/:outputUid","host":["{{mpbApiV1}}"],"path":["docs","documents",":documentUid","outputs",":outputUid"],"variable":[{"key":"documentUid","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9"},{"key":"outputUid","value":"111e0370-3db4-4d88-abd5-b972d28d69d9"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"52f3a9b5-c853-4e10-9b80-d39c2249217e"},{"name":"Update output assignment","id":"aa85f53c-ded4-4847-b652-20a582ae91a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"{\r\n    \"contentElementTranslationAssignmentUid\": \"8278e074-248f-4b12-905c-42fbac6142d4\",\r\n    \"selected\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"{{mpbApiV1}}/docs/documents/:documentUid/outputs/:outputUid/assignment","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","documents",":documentUid","outputs",":outputUid","assignment"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"781fa6ca-6efb-4403-8a96-c58b51160a27","type":"any","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9","key":"documentUid"},{"id":"c900d3d0-7365-4eeb-9372-11a655b4b9a7","type":"any","value":"111e0370-3db4-4d88-abd5-b972d28d69d9","key":"outputUid"}]}},"response":[{"id":"f2b7d578-ac3f-4f09-b42d-cb8be2bc4f22","name":"Success","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"contentElementTranslationAssignmentUid\": \"8278e074-248f-4b12-905c-42fbac6142d4\",\r\n    \"selected\": true\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{mpbApiV1}}/docs/documents/:documentUid/outputs/:outputUid/assignment","host":["{{mpbApiV1}}"],"path":["docs","documents",":documentUid","outputs",":outputUid","assignment"],"variable":[{"key":"documentUid","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9"},{"key":"outputUid","value":"111e0370-3db4-4d88-abd5-b972d28d69d9"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"aa85f53c-ded4-4847-b652-20a582ae91a1"},{"name":"Get outputs ODATA","id":"f2969a43-332e-4c3d-b671-d7f0330c3758","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":"{{mpbApiV1}}/docs/odata/outputs","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","odata","outputs"],"host":["{{mpbApiV1}}"],"query":[],"variable":[]}},"response":[{"id":"6b74abe9-6359-4648-aae6-29504add89b7","name":"Success","originalRequest":{"method":"GET","header":[],"url":"{{mpbApiV1}}/docs/odata/outputs"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"@odata.context\": \"https://app-mpb-dev-webapi.azurewebsites.net/api/docs/odata/$metadata#Outputs(outputContentElementTranslationAssignments())\",\n    \"value\": [\n        {\n            \"uid\": \"229c36cc-011b-4188-98a1-83461a3baa86\",\n            \"masterDocumentUid\": \"2ba19679-f17a-4fa4-bd9f-895aaced888a\",\n            \"name\": \"OutputNo1\",\n            \"createdOn\": \"2025-09-17T08:56:49.06Z\",\n            \"outputContentElementTranslationAssignments\": []\n        }\n    ]\n}"}],"_postman_id":"f2969a43-332e-4c3d-b671-d7f0330c3758"}],"id":"a1b6ae24-29b2-4eff-98d4-eb16d9728346","_postman_id":"a1b6ae24-29b2-4eff-98d4-eb16d9728346","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}}},{"name":"Get master document","id":"61b81f97-44cb-4837-ac73-d9bacdc122c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{mpbApiV1}}/docs/documents/:documentUid","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","documents",":documentUid"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"0b1f6419-0238-4634-b35a-501b5fb65d6a","type":"any","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9","key":"documentUid"}]}},"response":[{"id":"cffa84c8-e7b6-426b-a816-d9dbc629c618","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {token-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid"],"variable":[{"key":"docUid","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\r\n    \"uid\": \"edc5fb1b-aba0-42a6-98b4-22e931a01802\",\r\n    \"name\": \"Document number 1\",\r\n    \"description\": \"Some description\", // nullable\r\n    \"createdOn\": \"2024-07-25T06:55:32.163\"\r\n}"},{"id":"44504ef0-2e45-4631-bce4-f837ac2c55a2","name":"Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid"],"variable":[{"key":"docUid","value":""}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"429da890-20b3-47b4-a653-f046b267fba7","name":"Internal Server Error","originalRequest":{"method":"GET","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Authorization","value":"Bearer {token-value}"}],"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid"],"variable":[{"key":"docUid","value":""}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"61b81f97-44cb-4837-ac73-d9bacdc122c0"},{"name":"Get master documents","id":"be4cee72-3ea9-4fd5-98c6-ae0fe8d42170","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{mpbApiV1}}/docs/documents","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","documents"],"host":["{{mpbApiV1}}"],"query":[],"variable":[]}},"response":[{"id":"e34bb563-0327-471f-9baf-b30f522b9dab","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {token-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid"],"variable":[{"key":"docUid","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\r\n    \"pageNumber\": 1,\r\n    \"pageSize\": 50,\r\n    \"pageCount\": 1,\r\n    \"recordCount\": 2,\r\n    \"firstPage\": \"https://api.mypackbrain.com/v1/docs/documents?pageNumber=1&pageSize=50\",\r\n    \"lastPage\": \"https://api.mypackbrain.com/v1/docs/documents?pageNumber=1&pageSize=50\",\r\n    \"nextPage\": null,\r\n    \"previousPage\": null,\r\n    \"data\": [\r\n        {\r\n            \"uid\": \"3982da68-e8e7-43db-bb7c-425cfe432d9c\",\r\n            \"name\": \"Document number 1\",\r\n            \"description\": \"Some description\",\r\n            \"createdOn\": \"2024-07-25T06:56:43.25\"\r\n        },\r\n        {\r\n            \"uid\": \"fd41a88a-7d1f-4986-b901-8a2eebc3f257\",\r\n            \"name\": \"Document number 2\",\r\n            \"description\": null,\r\n            \"createdOn\": \"2024-08-16T10:54:49.287\"\r\n        }\r\n    ],\r\n    \"succeeded\": true,\r\n    \"errors\": null,\r\n    \"message\": \"\"\r\n}"},{"id":"f5c95559-861d-4ca4-baa7-35c23db0f201","name":"Unauthorized","originalRequest":{"method":"GET","header":[],"url":"https://api.mypackbrain.com/v1/docs/documents"},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"0b17a089-dbd4-4aa3-a167-bd2bbd4ddd46","name":"Internal Server Error","originalRequest":{"method":"GET","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Authorization","value":"Bearer {token-value}"}],"url":"https://api.mypackbrain.com/v1/docs/documents"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"be4cee72-3ea9-4fd5-98c6-ae0fe8d42170"},{"name":"Update master document","id":"08aafe02-97e7-4d71-8d03-85b27370c388","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"testUpdate\",\r\n    \"description\": \"testDescription\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{mpbApiV1}}/docs/documents/:documentUid","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","documents",":documentUid"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"79319468-b291-4ac8-9d25-b27c28d823fe","type":"any","value":"","key":"documentUid"}]}},"response":[{"id":"7a840450-f677-41f2-97b0-acc527310e47","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {token-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"NameUpdated\",\r\n    \"description\": \"DescriptionUpdated\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid"],"variable":[{"key":"docUid","value":"a37570c0-d2de-4be1-bb20-425f10765541"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":null},{"id":"20ce9125-1414-4a3e-a876-209c1bcc177c","name":"Not Found","originalRequest":{"method":"PATCH","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Authorization","value":"Bearer {token-value}"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Name\",\r\n    \"description\": \"Description\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docId","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docId"],"variable":[{"key":"docId","value":"2b32ce2b-57f4-44f7-bfdc-432f7d06f56e"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"MasterDocumentNotFoundException\",\n    \"title\": \"Document could not be found.\",\n    \"status\": 404,\n    \"detail\": \"Master document with ID = '2b32ce2b-57f4-44f7-bfdc-432f7d06f56e' does not exist.\",\n    \"traceId\": \"00-12b2f41f4c72f109a045cde8f1974e57-0080613dc84ea397-00\"\n}"},{"id":"d084fe70-adfc-4a3a-9039-f7c816ec50c1","name":"Bad Request","originalRequest":{"method":"PATCH","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Authorization","value":"Bearer {token-value}"}],"body":{"mode":"raw","raw":"{\r\n    \"notName\": \"NameUpdated\", // Wrong property name\r\n    \"description\": \"DescriptionUpdated\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docId","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docId"],"variable":[{"key":"docId","value":"a37570c0-d2de-4be1-bb20-425f10765541"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"https://tools.ietf.org/html/rfc9110#section-15.5.1\",\n    \"title\": \"One or more validation errors occurred.\",\n    \"status\": 400,\n    \"errors\": {\n        \"Name\": [\n            \"The field Name is invalid.\"\n        ]\n    },\n    \"traceId\": \"00-2e61a5f4fb14403f38568cc16bfb0ba5-126b43a1d6acf776-00\"\n}"},{"id":"54fffdaa-c0d5-4940-9b07-970517309b8f","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[],"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docId","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docId"],"variable":[{"key":"docId","value":"a37570c0-d2de-4be1-bb20-425f10765541"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"49fa5207-b4b3-44eb-9b50-418669fe1ae1","name":"Internal Server Error","originalRequest":{"method":"PATCH","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Authorization","value":"Bearer {token-value}"}],"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docId","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docId"],"variable":[{"key":"docId","value":"a37570c0-d2de-4be1-bb20-425f10765541"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"08aafe02-97e7-4d71-8d03-85b27370c388"},{"name":"Create content element group","id":"746dcc85-4c41-4521-be21-229eb6a73933","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Some group\",\r\n    \"description\": \"Some description\",\r\n    \"mandatoryContentElementList\": [\r\n    {\r\n      \"uid\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\r\n      \"contentTypeUid\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\r\n      \"requiredAmount\": 1\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{mpbApiV1}}/docs/documents/:documentUid/groups","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","documents",":documentUid","groups"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"24e74dbd-6050-41e2-af24-1905528ba4f3","type":"any","value":"","key":"documentUid"}]}},"response":[{"id":"d95f65c5-6c37-46a4-a5b4-50aaeae9d387","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {token-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Some group name\",\r\n    \"description\": \"\",\r\n    \"mandatoryContentElementList\": [\r\n    {\r\n      \"uid\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\r\n      \"contentTypeUid\": \"9d67eca4-26fa-45ff-8b6e-053ddd66d10e\",\r\n      \"requiredAmount\": 1\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid/groups","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid","groups"],"variable":[{"key":"docUid","value":"a37570c0-d2de-4be1-bb20-425f10765541"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\r\n  \"uid\": \"8c009ffe-521f-4e88-b486-bc32fc5af0f4\",\r\n  \"documentUid\": \"23dad89f-4020-4caf-8dc1-0d106f83a5da\",\r\n  \"name\": \"Some group name\",\r\n  \"description\": \"\",\r\n  \"mandatoryContentElementList\": [\r\n    {\r\n      \"uid\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\r\n      \"contentTypeUid\": \"9d67eca4-26fa-45ff-8b6e-053ddd66d10e\",\r\n      \"requiredAmount\": 1\r\n    }\r\n  ]\r\n}"},{"id":"64aa25f8-09bb-4630-b500-deeb34af1c17","name":"Not Found","originalRequest":{"method":"POST","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Authorization","value":"Bearer {token-value}"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Name\",\r\n    \"description\": \"Description\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid/groups","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid","groups"],"variable":[{"key":"docUid","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"MasterDocumentNotFoundException\",\n    \"title\": \"Document could not be found.\",\n    \"status\": 404,\n    \"detail\": \"Master document with ID = '2b32ce2b-57f4-44f7-bfdc-432f7d06f56e' does not exist.\",\n    \"traceId\": \"00-12b2f41f4c72f109a045cde8f1974e57-0080613dc84ea397-00\"\n}"},{"id":"7b198485-a817-4ef9-a14f-f200827ec6fc","name":"Bad Request","originalRequest":{"method":"POST","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Authorization","value":"Bearer {token-value}"}],"body":{"mode":"raw","raw":"{\r\n    \"Name\": \"NameUpdated\"\r\n    // Description property is required\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docId","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docId"],"variable":[{"key":"docId","value":"a37570c0-d2de-4be1-bb20-425f10765541"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"https://tools.ietf.org/html/rfc9110#section-15.5.1\",\n    \"title\": \"One or more validation errors occurred.\",\n    \"status\": 400,\n    \"errors\": {\n        \"Name\": [\n            \"The field Description is required.\"\n        ]\n    },\n    \"traceId\": \"00-2e61a5f4fb14403f38568cc16bfb0ba5-126b43a1d6acf776-00\"\n}"},{"id":"216ac8c1-52c1-4cba-aafc-22d14a003962","name":"Unauthorized","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docId/groups","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docId","groups"],"variable":[{"key":"docId","value":"a37570c0-d2de-4be1-bb20-425f10765541"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"3154d992-a66a-4461-96a0-bb9ab03f3f50","name":"Internal Server Error","originalRequest":{"method":"POST","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Authorization","value":"Bearer {token-value}"}],"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docId/groups","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docId","groups"],"variable":[{"key":"docId","value":"a37570c0-d2de-4be1-bb20-425f10765541"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"746dcc85-4c41-4521-be21-229eb6a73933"},{"name":"Update group","id":"98803a21-fd47-416d-a9d9-f6806c1467f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Some group\",\r\n  \"description\": \"Description\",\r\n  \"mandatoryContentElementList\": [\r\n    {\r\n      \"uid\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\r\n      \"contentTypeUid\": \"9d67eca4-26fa-45ff-8b6e-053ddd66d10e\",\r\n      \"requiredAmount\": 0\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{mpbApiV1}}/docs/documents/:documentUid/groups/:groupUid","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","documents",":documentUid","groups",":groupUid"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"dcde18ac-6f6b-423c-a1ec-1a069878c751","type":"any","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9","key":"documentUid"},{"id":"9e91e0ec-6345-4858-9bd9-593807c6704f","type":"any","value":"123e0370-3db4-4d88-abd5-b972d28d69d9","key":"groupUid"}]}},"response":[{"id":"520138bd-2b56-4ef0-ba1c-ef90f56a707b","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer {token-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    // If property is not present, will not be changed\r\n    \"description\": \"Added description\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid/groups/:groupUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid","groups",":groupUid"],"variable":[{"key":"docUid","value":"a37570c0-d2de-4be1-bb20-425f10765541"},{"key":"groupUid","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\r\n  \"uid\": \"fc83d5fb-2a71-438e-9b27-d256aad6c41c\",\r\n  \"documentUid\": \"23dad89f-4020-4caf-8dc1-0d106f83a5da\",\r\n  \"name\": \"Some group\",\r\n  \"description\": \"Added description\",\r\n  \"mandatoryContentElementList\": [\r\n    {\r\n      \"uid\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\r\n      \"contentTypeUid\": \"9d67eca4-26fa-45ff-8b6e-053ddd66d10e\",\r\n      \"requiredAmount\": 0\r\n    }\r\n  ]\r\n}"},{"id":"78e72659-160c-433b-adef-ebbbb670f8be","name":"Not Found","originalRequest":{"method":"PATCH","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Authorization","value":"Bearer {token-value}"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Name\",\r\n    \"description\": \"Description\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid/groups/:groupUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid","groups",":groupUid"],"variable":[{"key":"docUid","value":""},{"key":"groupUid","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"EntityNotFoundException\",\n    \"title\": \"ContentElementGroup could not be updated.\",\n    \"status\": 404,\n    \"detail\": \"Entity 'ContentElementGroup' with ID = '{groupUid}' does not exist.\",\n    \"traceId\": \"00-b2262f7ea40959ea66b7ac9fe338f206-86cf85e242b3efca-00\"\n}"},{"id":"9b9342c3-f33c-41dd-9ac6-58e5fe485b6f","name":"Bad Request","originalRequest":{"method":"PATCH","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Authorization","value":"Bearer {token-value}"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"\", //Name cannot be empty\r\n    \"description\": \"Description\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid/groups/:groupUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid","groups",":groupUid"],"variable":[{"key":"docUid","value":""},{"key":"groupUid","value":""}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"https://tools.ietf.org/html/rfc9110#section-15.5.1\",\n    \"title\": \"One or more validation errors occurred.\",\n    \"status\": 400,\n    \"errors\": {\n        \"Name\": [\n            \"The field Name is invalid.\"\n        ]\n    },\n    \"traceId\": \"00-204c77a722a8d82bb13806086b022f2b-b23db539f258214c-00\"\n}"},{"id":"5c93abd4-5cac-4d06-9e9a-d0d6e4d1841b","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[],"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid/groups/:groupUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid","groups",":groupUid"],"variable":[{"key":"docUid","value":""},{"key":"groupUid","value":""}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"9bfd4b42-89dd-48a0-9b39-888d259facc8","name":"Internal Server Error","originalRequest":{"method":"PATCH","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Authorization","value":"Bearer {token-value}"}],"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid/groups/:groupUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid","groups",":groupUid"],"variable":[{"key":"docUid","value":""},{"key":"groupUid","value":""}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"98803a21-fd47-416d-a9d9-f6806c1467f3"},{"name":"Delete group","id":"37476d84-d583-4b03-ba29-792488020a1f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":"{{mpbApiV1}}/docs/documents/:documentUid/groups/:groupUid","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","documents",":documentUid","groups",":groupUid"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"526b8589-16d2-486f-b7e7-c834db339236","type":"any","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9","key":"documentUid"},{"id":"e8623aac-9f55-48bf-9df4-9a45ea00bcb2","type":"any","value":"123e0370-3db4-4d88-abd5-b972d28d69d9","key":"groupUid"}]}},"response":[{"id":"b13005dd-3a66-4736-a2ff-5fbb1db2c88b","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {token-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid/groups/:groupUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid","groups",":groupUid"],"variable":[{"key":"docUid","value":"a37570c0-d2de-4be1-bb20-425f10765541"},{"key":"groupUid","value":""}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":null},{"id":"5c00cf46-8a3b-4341-b0bf-808d3659663f","name":"Not Found","originalRequest":{"method":"DELETE","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Authorization","value":"Bearer {token-value}"}],"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid/groups/:groupUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid","groups",":groupUid"],"variable":[{"key":"docUid","value":""},{"key":"groupUid","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"EntityNotFoundException\",\n    \"title\": \"ContentElementGroup could not be found.\",\n    \"status\": 404,\n    \"detail\": \"Entity 'ContentElementGroup' with ID = 'a4fb5a2f-d246-4faf-bea2-ab8324c5dac4' does not exist.\",\n    \"traceId\": \"00-0217c13b1d1d042dc92c7103083e173c-b0b7a87872e96d50-00\"\n}"},{"id":"a7f2fe6c-66ee-4daf-a2f5-cc04ac2d8a72","name":"Bad Request","originalRequest":{"method":"DELETE","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Authorization","value":"Bearer {token-value}"}],"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid/groups/:groupUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid","groups",":groupUid"],"variable":[{"key":"docUid","value":""},{"key":"groupUid","value":""}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"https://tools.ietf.org/html/rfc9110#section-15.5.1\",\n    \"title\": \"One or more validation errors occurred.\",\n    \"status\": 400,\n    \"errors\": {\n        \"groupUid\": [\n            \"The value 'groupUid' is not valid.\"\n        ]\n    },\n    \"traceId\": \"00-6c724d1bfd965e72eb3423055d3978b7-3cb0d3022ca2726f-00\"\n}"},{"id":"18d03ee3-c875-4619-a51e-964d47dd9ff1","name":"Unauthorized","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid/groups/:groupUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid","groups",":groupUid"],"variable":[{"key":"docUid","value":""},{"key":"groupUid","value":""}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"0d531292-21c8-4c54-a951-44fc17f2a854","name":"Internal Server Error","originalRequest":{"method":"PATCH","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Authorization","value":"Bearer {token-value}"}],"url":{"raw":"https://api.mypackbrain.com/v1/docs/documents/:docUid/groups/:groupUid","host":["https://api.mypackbrain.com/v1"],"path":["docs","documents",":docUid","groups",":groupUid"],"variable":[{"key":"docUid","value":""},{"key":"groupUid","value":""}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"37476d84-d583-4b03-ba29-792488020a1f"},{"name":"Create master document","id":"59161f3f-2d61-4d8f-9413-6e7ba358069d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"new Master Document\",\r\n    \"languageUids\": []\r\n}","options":{"raw":{"language":"json"}}},"url":"{{mpbApiV1}}/docs/documents","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","documents"],"host":["{{mpbApiV1}}"],"query":[],"variable":[]}},"response":[{"id":"ec760d82-8897-44aa-acf6-2b400cb8ab9a","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"new Master Document\",\r\n    \"languageUids\": []\r\n}","options":{"raw":{"language":"json"}}},"url":"{{mpbApiV1}}/docs/documents"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"uid\": \"2ba19679-f17a-4fa4-bd9f-895aaced888a\"\n}"}],"_postman_id":"59161f3f-2d61-4d8f-9413-6e7ba358069d"},{"name":"Delete master document","id":"85850e81-19f9-480f-a146-d305ca17d7e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":"{{mpbApiV1}}/docs/documents/:documentUid","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","documents",":documentUid"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"affe1ad6-0823-4a32-bee9-c7777bdc0e6a","type":"any","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9","key":"documentUid"}]}},"response":[{"id":"558e0399-62fe-41ec-9916-2f07bc7b997b","name":"Success","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{mpbApiV1}}/docs/documents/:documentUid","host":["{{mpbApiV1}}"],"path":["docs","documents",":documentUid"],"variable":[{"key":"documentUid","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"85850e81-19f9-480f-a146-d305ca17d7e8"},{"name":"Update master document","id":"76b86870-d96c-49a4-9efd-b5f17f218c7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"New document2\",\r\n    \"description\": \"<p>desc 2</p>\",\r\n    \"languageUids\": [\"111e0370-3db4-4d88-abd5-b972d28d69d9\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{mpbApiV1}}/docs/documents/:documentUid","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","documents",":documentUid"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"e46744a3-2fa1-4529-b519-d4fcc3586d13","type":"any","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9","key":"documentUid"}]}},"response":[{"id":"827634d0-077a-4dd4-aadc-517fd3df419e","name":"Success","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"New document2\",\r\n    \"description\": \"<p>desc 2</p>\",\r\n    \"languageUids\": [\"111e0370-3db4-4d88-abd5-b972d28d69d9\"]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{mpbApiV1}}/docs/documents/:documentUid","host":["{{mpbApiV1}}"],"path":["docs","documents",":documentUid"],"variable":[{"key":"documentUid","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"uid\": \"8d2172df-acc7-4429-ac55-71bf5d812e7e\",\r\n    \"name\": \"New document2\",\r\n    \"description\": \"<p>desc 2</p>\",\r\n    \"createdOn\": \"2024-10-10T12:47:57.833\",\r\n    \"defaultLanguages\": []\r\n}"}],"_postman_id":"76b86870-d96c-49a4-9efd-b5f17f218c7e"},{"name":"Duplicate master document","id":"3ddeb9d6-8d1f-454e-b69e-19b466fa9bd1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":"{{mpbApiV1}}/docs/documents/:documentUid/duplicate","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","documents",":documentUid","duplicate"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"74301963-ad83-45c5-835d-0db62356a83c","type":"any","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9","key":"documentUid"}]}},"response":[{"id":"60e86664-591e-4a1e-bead-a8d252bcb7c5","name":"Success","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{mpbApiV1}}/docs/documents/:documentUid/duplicate","host":["{{mpbApiV1}}"],"path":["docs","documents",":documentUid","duplicate"],"variable":[{"key":"documentUid","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"uid\": \"8d3797f2-29e7-43c6-8f77-ceb8624781c6\"\n}"}],"_postman_id":"3ddeb9d6-8d1f-454e-b69e-19b466fa9bd1"},{"name":"Add group","id":"de4b4d83-ee7e-49b0-b279-880891484a00","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Front of pack\",\r\n    \"description\": \"\",\r\n    \"mandatoryContentElementList\": []\r\n}","options":{"raw":{"language":"json"}}},"url":"{{mpbApiV1}}/docs/documents/:documentUid/groups","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","documents",":documentUid","groups"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"abd4fa5d-581e-46c3-9320-16d765af9163","type":"any","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9","key":"documentUid"}]}},"response":[{"id":"56649fe1-a0e9-47b4-bacd-f0629dfbbd97","name":"Add group","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{mpbApiV1}}/docs/documents/:documentUid/groups","host":["{{mpbApiV1}}"],"path":["docs","documents",":documentUid","groups"],"variable":[{"key":"documentUid","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"uid\": \"13fe4127-943a-4a90-a4ce-cb204efb0fbd\",\n    \"documentUid\": \"8d3797f2-29e7-43c6-8f77-ceb8624781c6\",\n    \"name\": \"Front of pack\",\n    \"description\": \"\",\n    \"order\": 0\n}"}],"_postman_id":"de4b4d83-ee7e-49b0-b279-880891484a00"},{"name":"Get group","id":"b6dba5ae-95a8-4e1a-8274-511c0c261036","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":"{{mpbApiV1}}/docs/documents/:documentUid/groups/:groupUid","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","documents",":documentUid","groups",":groupUid"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"72042f0a-6438-4653-b85d-e31c580ccb69","type":"any","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9","key":"documentUid"},{"id":"92735d9d-b36c-4c1e-a319-e4d911b32362","type":"any","value":"123e0370-3db4-4d88-abd5-b972d28d69d9","key":"groupUid"}]}},"response":[{"id":"5ee911d5-0fad-4feb-95c0-d82b9c0ed155","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{mpbApiV1}}/docs/documents/:documentUid/groups/:groupUid","host":["{{mpbApiV1}}"],"path":["docs","documents",":documentUid","groups",":groupUid"],"variable":[{"key":"documentUid","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9"},{"key":"groupUid","value":"123e0370-3db4-4d88-abd5-b972d28d69d9"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"uid\": \"13fe4127-943a-4a90-a4ce-cb204efb0fbd\",\n    \"documentUid\": \"8d3797f2-29e7-43c6-8f77-ceb8624781c6\",\n    \"name\": \"Front of pack\",\n    \"description\": \"\",\n    \"order\": 0\n}"}],"_postman_id":"b6dba5ae-95a8-4e1a-8274-511c0c261036"},{"name":"Add mandatory content element","id":"5ec45847-4c0e-409c-991e-fd8e89e34585","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"{\r\n    \"items\": [\r\n        {\r\n            \"contentTypeUid\": \"da6cedd8-c84b-4e57-8981-0857f274afe3\",\r\n            \"requiredAmount\": 2\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{mpbApiV1}}/docs/documents/:documentUid/groups/:groupUid/mandatory-content-elements","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","documents",":documentUid","groups",":groupUid","mandatory-content-elements"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"ed9a5faf-4007-42cf-a26b-01a59204e9e5","type":"any","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9","key":"documentUid"},{"id":"286f590e-9f30-4663-8fc6-7e84fd4303a6","type":"any","value":"123e0370-3db4-4d88-abd5-b972d28d69d9","key":"groupUid"}]}},"response":[{"id":"04c792ca-6aaa-4c1a-b9fa-b60073f2b293","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"items\": [\r\n        {\r\n            \"contentTypeUid\": \"da6cedd8-c84b-4e57-8981-0857f274afe3\",\r\n            \"requiredAmount\": 2\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{mpbApiV1}}/docs/documents/:documentUid/groups/:groupUid/mandatory-content-elements","host":["{{mpbApiV1}}"],"path":["docs","documents",":documentUid","groups",":groupUid","mandatory-content-elements"],"variable":[{"key":"documentUid","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9"},{"key":"groupUid","value":"123e0370-3db4-4d88-abd5-b972d28d69d9"}]}},"status":"No Content","code":204,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"5ec45847-4c0e-409c-991e-fd8e89e34585"},{"name":"Update group order","id":"db338a20-4687-4dbe-8ae8-e2cded1e2935","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"{\r\n    \"newOrderIndex\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{mpbApiV1}}/docs/documents/:documentUid/groups/:groupUid/order","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","documents",":documentUid","groups",":groupUid","order"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"bc9137fe-ea4b-43c0-ae2d-a54313073452","type":"any","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9","key":"documentUid"},{"id":"47298ed5-03fb-47d8-8538-df940fa5caf8","type":"any","value":"123e0370-3db4-4d88-abd5-b972d28d69d9","key":"groupUid"}]}},"response":[{"id":"d2bcec14-0a5b-4c93-8785-d528fca2731c","name":"Success","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"newOrderIndex\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{mpbApiV1}}/docs/documents/:documentUid/groups/:groupUid/order","host":["{{mpbApiV1}}"],"path":["docs","documents",":documentUid","groups",":groupUid","order"],"variable":[{"key":"documentUid","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9"},{"key":"groupUid","value":"123e0370-3db4-4d88-abd5-b972d28d69d9"}]}},"status":"No Content","code":204,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"db338a20-4687-4dbe-8ae8-e2cded1e2935"},{"name":"Delete document history","id":"cbde4eaa-909a-4427-8eb4-18f9621e3aa3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":"{{mpbApiV1}}/docs/documents/:documentUid/history","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","documents",":documentUid","history"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"dea9e1eb-7ba5-42ce-8b93-170f8c76b66c","type":"any","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9","key":"documentUid"}]}},"response":[{"id":"f63a227b-7364-476c-a457-30563c46c069","name":"Success","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{mpbApiV1}}/docs/documents/:documentUid/history","host":["{{mpbApiV1}}"],"path":["docs","documents",":documentUid","history"],"variable":[{"key":"documentUid","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"cbde4eaa-909a-4427-8eb4-18f9621e3aa3"},{"name":"Get document history","id":"729735cc-b838-4bba-a292-458b35571d5e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":"{{mpbApiV1}}/docs/documents/:documentUid/history","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","documents",":documentUid","history"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"99a32d5d-cb73-4714-8b33-b3b8418a8296","type":"any","value":"8d3797f2-29e7-43c6-8f77-ceb8624781c6","key":"documentUid"}]}},"response":[{"id":"5d1f90d3-a08c-4ea8-a89e-58f320151adb","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{mpbApiV1}}/docs/documents/:documentUid/history","host":["{{mpbApiV1}}"],"path":["docs","documents",":documentUid","history"],"variable":[{"key":"documentUid","value":"8d3797f2-29e7-43c6-8f77-ceb8624781c6"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"[\r\n    {\r\n        \"name\": \"History_8d3797f2-29e7-43c6-8f77-ceb8624781c6_9/17/2025 9:07:17 AM\",\r\n        \"document\": {\r\n            \"uid\": \"8d3797f2-29e7-43c6-8f77-ceb8624781c6\",\r\n            \"name\": \"New document2 copy\",\r\n            \"description\": \"<p>desc 2</p>\",\r\n            \"progress\": 0,\r\n            \"createdOn\": \"2025-09-17T09:05:07.93\",\r\n            \"commentsCount\": 0,\r\n            \"isLocked\": false,\r\n            \"contentElementGroups\": [\r\n                {\r\n                    \"uid\": \"13fe4127-943a-4a90-a4ce-cb204efb0fbd\",\r\n                    \"documentUid\": \"8d3797f2-29e7-43c6-8f77-ceb8624781c6\",\r\n                    \"name\": \"Front of pack\",\r\n                    \"description\": \"\",\r\n                    \"order\": 0\r\n                },\r\n                {\r\n                    \"uid\": \"9edebd74-016d-4bc6-90b3-0558f7b0056b\",\r\n                    \"documentUid\": \"8d3797f2-29e7-43c6-8f77-ceb8624781c6\",\r\n                    \"name\": \"back of pack\",\r\n                    \"description\": \"\",\r\n                    \"order\": 1\r\n                }\r\n            ],\r\n            \"contentElements\": [],\r\n            \"translations\": [],\r\n            \"defaultLanguages\": [\r\n                {\r\n                    \"uid\": \"f27a1074-d3c4-475b-8045-eaa897b571f8\",\r\n                    \"localeCode\": \"gd-GB\",\r\n                    \"displayName\": \"United Kingdom - Scottish Gaelic (gd-GB)\"\r\n                },\r\n                {\r\n                    \"uid\": \"ecaa5da9-a1f6-40ae-b754-af9df1bec8b1\",\r\n                    \"localeCode\": \"pl-PL\",\r\n                    \"displayName\": \"Poland - Polish (pl-PL)\"\r\n                }\r\n            ],\r\n            \"version\": 4\r\n        },\r\n        \"metadata\": {\r\n            \"changedOn\": \"2025-09-17T09:07:17.5799125Z\",\r\n            \"changedBy\": \"7816c235-4d20-413e-af8c-4189f8f07312\",\r\n            \"changedByEmail\": \"jakub.woszczyna@thomaskraits.com\",\r\n            \"organisationUid\": \"eaf4733e-130f-4933-86b1-fd5703115c34\",\r\n            \"organisationShortName\": null,\r\n            \"reason\": \"Content element group created\"\r\n        },\r\n        \"version\": 4\r\n    },\r\n    {\r\n        \"name\": \"History_8d3797f2-29e7-43c6-8f77-ceb8624781c6_9/17/2025 9:06:50 AM\",\r\n        \"document\": {\r\n            \"uid\": \"8d3797f2-29e7-43c6-8f77-ceb8624781c6\",\r\n            \"name\": \"New document2 copy\",\r\n            \"description\": \"<p>desc 2</p>\",\r\n            \"progress\": 0,\r\n            \"createdOn\": \"2025-09-17T09:05:07.93\",\r\n            \"commentsCount\": 0,\r\n            \"isLocked\": false,\r\n            \"contentElementGroups\": [\r\n                {\r\n                    \"uid\": \"13fe4127-943a-4a90-a4ce-cb204efb0fbd\",\r\n                    \"documentUid\": \"8d3797f2-29e7-43c6-8f77-ceb8624781c6\",\r\n                    \"name\": \"Front of pack\",\r\n                    \"description\": \"\",\r\n                    \"order\": 0\r\n                }\r\n            ],\r\n            \"contentElements\": [],\r\n            \"translations\": [],\r\n            \"defaultLanguages\": [\r\n                {\r\n                    \"uid\": \"f27a1074-d3c4-475b-8045-eaa897b571f8\",\r\n                    \"localeCode\": \"gd-GB\",\r\n                    \"displayName\": \"United Kingdom - Scottish Gaelic (gd-GB)\"\r\n                },\r\n                {\r\n                    \"uid\": \"ecaa5da9-a1f6-40ae-b754-af9df1bec8b1\",\r\n                    \"localeCode\": \"pl-PL\",\r\n                    \"displayName\": \"Poland - Polish (pl-PL)\"\r\n                }\r\n            ],\r\n            \"version\": 3\r\n        },\r\n        \"metadata\": {\r\n            \"changedOn\": \"2025-09-17T09:06:50.317652Z\",\r\n            \"changedBy\": \"7816c235-4d20-413e-af8c-4189f8f07312\",\r\n            \"changedByEmail\": \"jakub.woszczyna@thomaskraits.com\",\r\n            \"organisationUid\": \"eaf4733e-130f-4933-86b1-fd5703115c34\",\r\n            \"organisationShortName\": null,\r\n            \"reason\": \"Document updated\"\r\n        },\r\n        \"version\": 3\r\n    },\r\n    {\r\n        \"name\": \"History_8d3797f2-29e7-43c6-8f77-ceb8624781c6_9/17/2025 9:06:03 AM\",\r\n        \"document\": {\r\n            \"uid\": \"8d3797f2-29e7-43c6-8f77-ceb8624781c6\",\r\n            \"name\": \"New document2 copy\",\r\n            \"description\": \"<p>desc 2</p>\",\r\n            \"progress\": 0,\r\n            \"createdOn\": \"2025-09-17T09:05:07.93\",\r\n            \"commentsCount\": 0,\r\n            \"isLocked\": false,\r\n            \"contentElementGroups\": [\r\n                {\r\n                    \"uid\": \"13fe4127-943a-4a90-a4ce-cb204efb0fbd\",\r\n                    \"documentUid\": \"8d3797f2-29e7-43c6-8f77-ceb8624781c6\",\r\n                    \"name\": \"Front of pack\",\r\n                    \"description\": \"\",\r\n                    \"order\": 0\r\n                }\r\n            ],\r\n            \"contentElements\": [],\r\n            \"translations\": [],\r\n            \"defaultLanguages\": [],\r\n            \"version\": 2\r\n        },\r\n        \"metadata\": {\r\n            \"changedOn\": \"2025-09-17T09:06:03.4094893Z\",\r\n            \"changedBy\": \"7816c235-4d20-413e-af8c-4189f8f07312\",\r\n            \"changedByEmail\": \"jakub.woszczyna@thomaskraits.com\",\r\n            \"organisationUid\": \"eaf4733e-130f-4933-86b1-fd5703115c34\",\r\n            \"organisationShortName\": null,\r\n            \"reason\": \"Content element group created\"\r\n        },\r\n        \"version\": 2\r\n    },\r\n    {\r\n        \"name\": \"History_8d3797f2-29e7-43c6-8f77-ceb8624781c6_9/17/2025 9:05:09 AM\",\r\n        \"document\": {\r\n            \"uid\": \"8d3797f2-29e7-43c6-8f77-ceb8624781c6\",\r\n            \"name\": \"New document2 copy\",\r\n            \"description\": \"<p>desc 2</p>\",\r\n            \"progress\": 0,\r\n            \"createdOn\": \"2025-09-17T09:05:07.93\",\r\n            \"commentsCount\": 0,\r\n            \"isLocked\": false,\r\n            \"contentElementGroups\": [],\r\n            \"contentElements\": [],\r\n            \"translations\": [],\r\n            \"defaultLanguages\": [],\r\n            \"version\": 1\r\n        },\r\n        \"metadata\": {\r\n            \"changedOn\": \"2025-09-17T09:05:09.4462915Z\",\r\n            \"changedBy\": \"7816c235-4d20-413e-af8c-4189f8f07312\",\r\n            \"changedByEmail\": \"jakub.woszczyna@thomaskraits.com\",\r\n            \"organisationUid\": \"eaf4733e-130f-4933-86b1-fd5703115c34\",\r\n            \"organisationShortName\": null,\r\n            \"reason\": \"Document duplicated\"\r\n        },\r\n        \"version\": 1\r\n    }\r\n]"}],"_postman_id":"729735cc-b838-4bba-a292-458b35571d5e"},{"name":"Get mandatory fields","id":"38202291-708a-4198-a2f0-3dd4d3536cd1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":"{{mpbApiV1}}/docs/documents/:documentUid/mandatory-fields","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","documents",":documentUid","mandatory-fields"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"582db640-8896-448b-9e07-b460af0b1bed","type":"any","value":"8d2172df-acc7-4429-ac55-71bf5d812e7e","key":"documentUid"}]}},"response":[{"id":"6e1f443b-b74a-480e-9684-70f69880412b","name":"Success","originalRequest":{"method":"GET","header":[{"key":"api-key","value":"token-dev-jw-all-all"},{"key":"x-auth-organisation-uid","value":"eaf4733e-130f-4933-86b1-fd5703115c34"}],"url":{"raw":"{{mpbApiV1}}/docs/documents/:documentUid/mandatory-fields","host":["{{mpbApiV1}}"],"path":["docs","documents",":documentUid","mandatory-fields"],"variable":[{"key":"documentUid","value":"8d2172df-acc7-4429-ac55-71bf5d812e7e"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"[\r\n    {\r\n        \"assignmentUid\": \"23787d5a-fe12-4756-a3f0-bfecfd0a9913\",\r\n        \"groupUid\": \"5cfe6e0c-1812-4a0e-87bf-de2e7d31babe\",\r\n        \"groupName\": \"dsfd\",\r\n        \"contentTypeUid\": \"387ce9a9-d57a-4dcb-89cb-10838d7d656e\",\r\n        \"contentTypeName\": \"Additional product variant information\"\r\n    },\r\n    {\r\n        \"assignmentUid\": \"bc91e3e2-1c3d-465f-a0d2-ddd594e30d8f\",\r\n        \"groupUid\": \"5cfe6e0c-1812-4a0e-87bf-de2e7d31babe\",\r\n        \"groupName\": \"dsfd\",\r\n        \"contentTypeUid\": \"428b3cb1-7d04-45aa-a715-b5c04ff63107\",\r\n        \"contentTypeName\": \"Icon\"\r\n    },\r\n    {\r\n        \"assignmentUid\": \"eaa88645-7cc1-4335-95c7-f6fc9216b3dc\",\r\n        \"groupUid\": \"5cfe6e0c-1812-4a0e-87bf-de2e7d31babe\",\r\n        \"groupName\": \"dsfd\",\r\n        \"contentTypeUid\": \"387ce9a9-d57a-4dcb-89cb-10838d7d656e\",\r\n        \"contentTypeName\": \"Additional product variant information\"\r\n    }"}],"_postman_id":"38202291-708a-4198-a2f0-3dd4d3536cd1"},{"name":"Translate all content","id":"2a537019-7c79-4fdd-ad66-f78fd56568b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":"{{mpbApiV1}}/docs/documents/:documentUid/translate-all","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","documents",":documentUid","translate-all"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"d1741afd-304a-4a0e-a865-a57cce9132a2","type":"any","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9","key":"documentUid"}]}},"response":[{"id":"f7518012-7281-4ad2-a9b2-8390ab9358ba","name":"Success","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{mpbApiV1}}/docs/documents/:documentUid/translate-all","host":["{{mpbApiV1}}"],"path":["docs","documents",":documentUid","translate-all"],"variable":[{"key":"documentUid","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"uid\": \"6fdd7871-6e76-48ea-9efe-ddc2fb17cbb6\",\n        \"content\": \"Translated content\"\n    }\n]"}],"_postman_id":"2a537019-7c79-4fdd-ad66-f78fd56568b1"},{"name":"Get master documents ODATA","id":"1e21cd2f-f6a4-4ec6-8ef6-d84d45093956","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":"{{mpbApiV1}}/docs/odata/documents?$filter=Uid%20eq%2044d375b0-e515-49c8-95c9-2c176b782731","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","odata","documents"],"host":["{{mpbApiV1}}"],"query":[{"key":"$filter","value":"Uid%20eq%2044d375b0-e515-49c8-95c9-2c176b782731"}],"variable":[]}},"response":[{"id":"d899de55-88f3-4924-815a-54f0bb87800d","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{mpbApiV1}}/docs/odata/documents?$filter=Uid%20eq%2044d375b0-e515-49c8-95c9-2c176b782731","host":["{{mpbApiV1}}"],"path":["docs","odata","documents"],"query":[{"key":"$filter","value":"Uid%20eq%2044d375b0-e515-49c8-95c9-2c176b782731"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"@odata.context\": \"https://api.mypackbrain.com/v1/docs/odata/$metadata#documents\",\n    \"value\": [\n        {\n            \"uid\": \"44d375b0-e515-49c8-95c9-2c176b782731\",\n            \"version\": 2,\n            \"correlationId\": \"00000000-0000-0000-0000-000000000000\",\n            \"name\": \"AI Translations\",\n            \"description\": \"Document created for demo\",\n            \"progress\": 18.75,\n            \"createdOn\": \"2024-11-19T10:03:05.197Z\",\n            \"deletedOn\": null\n        }\n    ]\n}"}],"_postman_id":"1e21cd2f-f6a4-4ec6-8ef6-d84d45093956"}],"id":"dc0eac9f-d30e-439e-9801-553bdab28935","_postman_id":"dc0eac9f-d30e-439e-9801-553bdab28935","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}}},{"name":"Languages","item":[{"name":"Get Organisation languages","id":"503ceec4-2171-46d1-a0e7-5305b5bd3964","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{mpbApiV1}}/docs/documents/:documentUid","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","documents",":documentUid"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"9495b425-0285-4cee-9189-f565444caf0c","type":"any","value":"6f1e0370-3db4-4d88-abd5-b972d28d69d9","key":"documentUid"}]}},"response":[{"id":"a1a661ce-d926-4283-be46-c299a476fdb0","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {token-value}"},{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":"https://api.mypackbrain.com/v1/odata/organisationlanguages"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\r\n    \"@odata.context\": \"https://app-mpb-dev-webapi.azurewebsites.net/api/docs/odata/$metadata#OrganisationLanguages\",\r\n    \"value\": [\r\n        {\r\n            \"uid\": \"e14ffb94-c069-4952-87be-c901c1200026\"\r\n        },\r\n        {\r\n            \"uid\": \"15d93fee-c23a-4019-8215-e2311e8b7db6\"\r\n        },\r\n        {\r\n            \"uid\": \"e20d9fdb-6383-4596-9736-22803fdc0c18\"\r\n        }\r\n    ]\r\n}"},{"id":"735622cf-9172-43e7-80ef-2d59d499f306","name":"Unauthorized","originalRequest":{"method":"GET","header":[],"url":"https://api.mypackbrain.com/v1/odata/organisationlanguages"},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"3447c0fd-796f-478c-9a9d-8c19a7cec54f","name":"Internal Server Error","originalRequest":{"method":"GET","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"},{"key":"Authorization","value":"Bearer {token-value}"}],"url":"https://api.mypackbrain.com/v1/odata/organisationlanguages"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"503ceec4-2171-46d1-a0e7-5305b5bd3964"},{"name":"Get languages ODATA","id":"4c7df332-d5d0-4e18-aaff-953c71639dbc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":"{{mpbApiV1}}/docs/odata/languages","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","odata","languages"],"host":["{{mpbApiV1}}"],"query":[],"variable":[]}},"response":[{"id":"f7a64f53-8607-4af5-bff0-d9cbcde75430","name":"Get languages ODATA","originalRequest":{"method":"GET","header":[],"url":"{{mpbApiV1}}/docs/odata/languages"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"@odata.context\": \"https://api.mypackbrain.com/v1/docs/odata/$metadata#Languages\",\n    \"@odata.count\": 31,\n    \"value\": [\n        {\n            \"uid\": \"ecaa5da9-a1f6-40ae-b754-af9df1bec8b1\",\n            \"localeCode\": \"pl-PL\",\n            \"displayName\": \"Poland - Polish (pl-PL)\"\n        },\n        {\n            \"uid\": \"80f8c4b9-c1e8-4263-947d-eaa170f975a9\",\n            \"localeCode\": \"en-GB\",\n            \"displayName\": \"United Kingdom - English (en-GB)\"\n        },\n        {\n            \"uid\": \"f27a1074-d3c4-475b-8045-eaa897b571f8\",\n            \"localeCode\": \"gd-GB\",\n            \"displayName\": \"United Kingdom - Scottish Gaelic (gd-GB)\"\n        }\n    ]\n}"}],"_postman_id":"4c7df332-d5d0-4e18-aaff-953c71639dbc"}],"id":"71adbdf5-0653-4e9c-b1e0-2a6a0492296c","_postman_id":"71adbdf5-0653-4e9c-b1e0-2a6a0492296c","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}}},{"name":"Content Types","item":[{"name":"Get content types ODATA","id":"1faccee4-8966-4b87-9856-14901a71f851","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-auth-organisation-uid","value":"{organisation-uid}"}],"url":"{{mpbApiV1}}/docs/odata/ContentTypes","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["docs","odata","ContentTypes"],"host":["{{mpbApiV1}}"],"query":[],"variable":[]}},"response":[{"id":"fe88f8bd-0aaa-46d9-b6b8-5541fdf78f8f","name":"Get content types ODATA","originalRequest":{"method":"GET","header":[],"url":"{{mpbApiV1}}/docs/odata/ContentTypes"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"@odata.context\": \"https://api.mypackbrain.com/v1/docs/odata/$metadata#ContentTypes\",\n    \"@odata.count\": 3,\n    \"value\": [\n        {\n            \"uid\": \"9d67eca4-26fa-45ff-8b6e-053ddd66d10e\",\n            \"elementTypeCode\": \"CopyElementTypeCode\",\n            \"name\": \"Active ingredients as printed on the artwork\"\n        },\n        {\n            \"uid\": \"54e4c570-0ae7-439d-86ca-1a205e0bafae\",\n            \"elementTypeCode\": \"CopyElementTypeCode\",\n            \"name\": \"Best before date\"\n        },\n        {\n            \"uid\": \"e8fa8744-7ead-4c1e-a06a-fae209ee0bc6\",\n            \"elementTypeCode\": \"CopyElementTypeCode\",\n            \"name\": \"Website\"\n        }\n    ]\n}"}],"_postman_id":"1faccee4-8966-4b87-9856-14901a71f851"}],"id":"eb67bf34-391a-4580-b506-67cdf8dbc455","_postman_id":"eb67bf34-391a-4580-b506-67cdf8dbc455","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}}}],"id":"030f1eea-0143-4c19-bb7b-eea0068162d5","description":"<p>Documentation for documents-related endpoints.</p>\n<p>These endpoints support also JWT Bearer token authorization. You just need to take your Bearer token, typically generated in requests made from Content Management app to the server. Then, instead of 'api-key' header, add 'Authorization' header and paste Bearer token as a value.</p>\n","_postman_id":"030f1eea-0143-4c19-bb7b-eea0068162d5","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}}},{"name":"Statements","item":[{"name":"Update approval status for Master Document","id":"321577cb-dc5d-4e02-bd21-e34991ffef31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n  \"finalPhaseApprovalStatus\": \"InProgress\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{mpbApiV1}}/statements/documents/:documentId","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["statements","documents",":documentId"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"3f5372f3-154e-4258-847f-d2e1886d176b","type":"any","value":"1234","key":"documentId"}]}},"response":[{"id":"78631416-b42e-4d87-a260-4a497bacf5f6","name":"Success (Approve)","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"FinalPhaseApprovalStatus\": \"Approved\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{mpbApiV1}}/statements/documents/:documentId","host":["{{mpbApiV1}}"],"path":["statements","documents",":documentId"],"variable":[{"key":"documentId","value":"1234"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"id\": 4000,\r\n    \"projectName\": \"SP Dog & Skin dry\",\r\n    \"masterDocumentName\": \"SP Dog & Skin dry Description\",\r\n    \"status\": \"Completed\",\r\n    \"finalPhaseApprovalFinishedOn\": null,\r\n    \"groups\": [\r\n        {\r\n            \"id\": 0,\r\n            \"name\": null,\r\n            \"order\": 0,\r\n            \"contentElements\": [\r\n                {\r\n                    \"text\": \"SMALL PAWS\",\r\n                    \"id\": 222,\r\n                    \"order\": 0,\r\n                    \"guidelines\": null,\r\n                    \"contentElementType\": \"Text\",\r\n                    \"translationType\": \"Invariant\",\r\n                    \"type\": \"M004 Opening Statement\",\r\n                    \"$type\": \"ContentElementInvariantDto\",\r\n                    \"collatedBy\": [\r\n                        {\r\n                            \"functionId\": 123,\r\n                            \"functionName\": \"Gatekeeper\"\r\n                        }\r\n                    ],\r\n                    \"commentCount\": 0,\r\n                    \"isFinalPhaseApproved\": false\r\n                },\r\n                {\r\n                    \"text\": \"**Scannerizza.**\",\r\n                    \"id\": 333,\r\n                    \"order\": 10,\r\n                    \"guidelines\": null,\r\n                    \"contentElementType\": \"Text\",\r\n                    \"translationType\": \"Translated\",\r\n                    \"type\": \"Sorting instructions\",\r\n                    \"$type\": \"ContentElementTranslatedDto\",\r\n                    \"collatedBy\": [\r\n                        {\r\n                            \"functionId\": 123,\r\n                            \"functionName\": \"Gatekeeper\"\r\n                        }\r\n                    ],\r\n                    \"commentCount\": 0,\r\n                    \"translations\": [\r\n                        {\r\n                            \"id\": 111,\r\n                            \"locale\": \"en-GB\",\r\n                            \"text\": \"\",\r\n                            \"commentCount\": 0,\r\n                            \"isFinalPhaseApproved\": false\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"text\": \"1.5 kg E\",\r\n                    \"id\": 554,\r\n                    \"order\": 56,\r\n                    \"guidelines\": null,\r\n                    \"contentElementType\": \"Text\",\r\n                    \"translationType\": \"Invariant\",\r\n                    \"type\": \"Weight Statement\",\r\n                    \"$type\": \"ContentElementInvariantDto\",\r\n                    \"collatedBy\": [\r\n                        {\r\n                            \"functionId\": 123,\r\n                            \"functionName\": \"Gatekeeper\"\r\n                        }\r\n                    ],\r\n                    \"commentCount\": 0,\r\n                    \"isFinalPhaseApproved\": false\r\n                }\r\n            ]\r\n        }\r\n    ],\r\n    \"locales\": [\r\n        {\r\n            \"localeId\": 1000,\r\n            \"localeName\": \"en-GB\"\r\n        },\r\n        {\r\n            \"localeId\": 2000,\r\n            \"localeName\": \"fr-FR\"\r\n        }\r\n    ]\r\n}"},{"id":"d28b8f20-7106-48c7-acea-444f4a093720","name":"Success (Reject)","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"FinalPhaseApprovalStatus\": \"Rejected\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{mpbApiV1}}/statements/documents/:documentId","host":["{{mpbApiV1}}"],"path":["statements","documents",":documentId"],"variable":[{"key":"documentId","value":"1234"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"id\": 4000,\r\n    \"projectName\": \"SP Dog & Skin dry\",\r\n    \"masterDocumentName\": \"SP Dog & Skin dry Description\",\r\n    \"status\": \"New\",\r\n    \"finalPhaseApprovalFinishedOn\": null,\r\n    \"groups\": [\r\n        {\r\n            \"id\": 0,\r\n            \"name\": null,\r\n            \"order\": 0,\r\n            \"contentElements\": [\r\n                {\r\n                    \"text\": \"SMALL PAWS\",\r\n                    \"id\": 222,\r\n                    \"order\": 0,\r\n                    \"guidelines\": null,\r\n                    \"contentElementType\": \"Text\",\r\n                    \"translationType\": \"Invariant\",\r\n                    \"type\": \"M004 Opening Statement\",\r\n                    \"$type\": \"ContentElementInvariantDto\",\r\n                    \"collatedBy\": [\r\n                        {\r\n                            \"functionId\": 123,\r\n                            \"functionName\": \"Gatekeeper\"\r\n                        }\r\n                    ],\r\n                    \"commentCount\": 0,\r\n                    \"isFinalPhaseApproved\": false\r\n                },\r\n                {\r\n                    \"text\": \"**Scannerizza.**\",\r\n                    \"id\": 333,\r\n                    \"order\": 10,\r\n                    \"guidelines\": null,\r\n                    \"contentElementType\": \"Text\",\r\n                    \"translationType\": \"Translated\",\r\n                    \"type\": \"Sorting instructions\",\r\n                    \"$type\": \"ContentElementTranslatedDto\",\r\n                    \"collatedBy\": [\r\n                        {\r\n                            \"functionId\": 123,\r\n                            \"functionName\": \"Gatekeeper\"\r\n                        }\r\n                    ],\r\n                    \"commentCount\": 0,\r\n                    \"translations\": [\r\n                        {\r\n                            \"id\": 111,\r\n                            \"locale\": \"en-GB\",\r\n                            \"text\": \"\",\r\n                            \"commentCount\": 0,\r\n                            \"isFinalPhaseApproved\": false\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"text\": \"1.5 kg E\",\r\n                    \"id\": 554,\r\n                    \"order\": 56,\r\n                    \"guidelines\": null,\r\n                    \"contentElementType\": \"Text\",\r\n                    \"translationType\": \"Invariant\",\r\n                    \"type\": \"Weight Statement\",\r\n                    \"$type\": \"ContentElementInvariantDto\",\r\n                    \"collatedBy\": [\r\n                        {\r\n                            \"functionId\": 123,\r\n                            \"functionName\": \"Gatekeeper\"\r\n                        }\r\n                    ],\r\n                    \"commentCount\": 0,\r\n                    \"isFinalPhaseApproved\": false\r\n                }\r\n            ]\r\n        }\r\n    ],\r\n    \"locales\": [\r\n        {\r\n            \"localeId\": 1000,\r\n            \"localeName\": \"en-GB\"\r\n        },\r\n        {\r\n            \"localeId\": 2000,\r\n            \"localeName\": \"fr-FR\"\r\n        }\r\n    ]\r\n}"}],"_postman_id":"321577cb-dc5d-4e02-bd21-e34991ffef31"},{"name":"Change approval status for Content Element","id":"238790b7-f55c-43a7-99fa-241ae31b62fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"IsApproved\": true,\r\n    \"ApprovalStatusType\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{mpbApiV1}}/statements/documents/:documentId/:contentElementType/:contentElementId/change-approval-status","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["statements","documents",":documentId",":contentElementType",":contentElementId","change-approval-status"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"6f6ccd86-ce21-4eaf-8b2e-31d736310d1f","type":"any","value":"1234","key":"documentId"},{"id":"152b50e1-aea6-423f-a0b2-f1843a57f71c","description":{"content":"<p>Possible values: Text | Translation | Graphic</p>\n","type":"text/plain"},"type":"any","value":"Translation","key":"contentElementType"},{"id":"8f39c6b2-6fea-46d4-9084-6566b285c02f","type":"any","value":"567","key":"contentElementId"}]}},"response":[{"id":"fb1b916e-65a8-4f1e-b46c-8bb05bf91f48","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"IsApproved\": true,\r\n    \"ApprovalStatusType\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{mpbApiV1}}/statements/documents/:documentId/:contentElementType/:contentElementId/change-approval-status","host":["{{mpbApiV1}}"],"path":["statements","documents",":documentId",":contentElementType",":contentElementId","change-approval-status"],"variable":[{"key":"documentId","value":"1234"},{"key":"contentElementType","value":"Text","description":"Possible values: Text | Translation | Graphic"},{"key":"contentElementId","value":"567"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"238790b7-f55c-43a7-99fa-241ae31b62fd"},{"name":"Invalidate approvals","id":"d82e677f-8bf5-4935-a2e5-595b986ef09c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"{{mpbApiV1}}/statements/documents/:documentId/invalidate-approvals","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["statements","documents",":documentId","invalidate-approvals"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"119eab6c-6e62-40e2-99f2-1c60a98ee518","type":"any","value":"1234","key":"documentId"}]}},"response":[{"id":"313780ca-edb5-46df-a4ac-6164fecdb04e","name":"Success","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{mpbApiV1}}/statements/documents/:documentId/invalidate-approvals","host":["{{mpbApiV1}}"],"path":["statements","documents",":documentId","invalidate-approvals"],"variable":[{"key":"documentId","value":"1234"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"DocumentId\": 1234,\r\n    \"IsActive\": false,\r\n    \"UpdatedContentElementIds\": [\r\n        11,\r\n        22\r\n    ]\r\n}"}],"_postman_id":"d82e677f-8bf5-4935-a2e5-595b986ef09c"},{"name":"Get comments","id":"a9c361f2-6985-4b6b-9532-ce305a50dbaa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{mpbApiV1}}/documents/:documentId/:contentElementType/:contentElementId/comments","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["documents",":documentId",":contentElementType",":contentElementId","comments"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"0d5fb76f-afa0-4ecb-8d72-bbc2fcd46207","type":"any","value":"1234","key":"documentId"},{"id":"fc1daf21-bd32-4bd0-a027-d90ef6924670","type":"any","value":"Translation","key":"contentElementType"},{"id":"d942f26b-f83e-44ae-8112-9bb75a24dde5","type":"any","value":"567","key":"contentElementId"}]}},"response":[{"id":"b3954b49-c1ad-4632-beeb-c5c20516b96a","name":"Get comments","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{mpbApiV1}}/documents/:documentId/:contentElementType/:contentElementId/comments","host":["{{mpbApiV1}}"],"path":["documents",":documentId",":contentElementType",":contentElementId","comments"],"variable":[{"key":"documentId","value":"a7ea56ee-6b5f-4409-81f2-ec7176388521"},{"key":"contentElementType","value":"Text","description":"Possible values: Text | Translation | Graphic"},{"key":"contentElementId","value":"b7ea56ee-6b5f-4409-81f2-ec7176388521"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"[\r\n    {\r\n        \"id\": 1234,\r\n        \"documentId\": null,\r\n        \"contentElementId\": 554433,\r\n        \"text\": \"changed DOSPĚLÁ to DOSPĚLÝ because this is a dog diet\",\r\n        \"language\": \"Czech\",\r\n        \"locale\": \"cs-CZ\",\r\n        \"author\": \"Alena Strakova\",\r\n        \"createdOn\": \"2022-05-12T08:00:00\"\r\n    }\r\n]"}],"_postman_id":"a9c361f2-6985-4b6b-9532-ce305a50dbaa"},{"name":"Add comment","id":"61ae64b4-7738-4a13-ab0f-295735d0420b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"text\": \"<p>add</p>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{mpbApiV1}}/documents/:documentId/:contentElementType/:contentElementId/comments","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["documents",":documentId",":contentElementType",":contentElementId","comments"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"3cc6bb88-6cad-4da6-a57f-9124d1ca60c3","type":"any","value":"1234","key":"documentId"},{"id":"ed1b825c-9b2c-4680-a749-7de78898a218","description":{"content":"<p>Possible values: Text | Translation | Graphic</p>\n","type":"text/plain"},"type":"any","value":"Translation","key":"contentElementType"},{"id":"76c72d35-b5ff-4dda-9958-de3dbcbcf569","type":"any","value":"567","key":"contentElementId"}]}},"response":[{"id":"f51e2dcc-96a9-4e1e-9f7b-88270f4171f9","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"text\": \"<p>add</p>\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{mpbApiV1}}/documents/:documentId/:contentElementType/:contentElementId/comments","host":["{{mpbApiV1}}"],"path":["documents",":documentId",":contentElementType",":contentElementId","comments"],"variable":[{"key":"documentId","value":"1234"},{"key":"contentElementType","value":"Text","description":"Possible values: Text | Translation | Graphic"},{"key":"contentElementId","value":"567"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"id\": 123,\r\n    \"documentId\": 1234,\r\n    \"contentElementId\": 5544,\r\n    \"text\": \"<p>Example comment</p>\",\r\n    \"language\": \"English\",\r\n    \"locale\": \"en-GB\",\r\n    \"author\": \"Andrew Garfield\",\r\n    \"createdOn\": \"2025-09-16T14:38:24.1009137Z\"\r\n}"}],"_postman_id":"61ae64b4-7738-4a13-ab0f-295735d0420b"},{"name":"Change document template","id":"82a081a4-40c4-48d3-8077-d6ddca46be7d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"DocumentTemplateId\": \"123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{mpbApiV1}}/statements/content-change-events/document-template","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["statements","content-change-events","document-template"],"host":["{{mpbApiV1}}"],"query":[],"variable":[]}},"response":[{"id":"0bff8fea-69f5-4bc5-a7cc-99c72e538492","name":"Change document template","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"DocumentTemplateId\": 123\r\n}","options":{"raw":{"language":"json"}}},"url":"{{mpbApiV1}}/statements/content-change-events/document-template"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"DocumentTemplateId\": 123,\r\n    \"UpdatedDocumentIds\": [\r\n        11,\r\n        22]\r\n}"}],"_postman_id":"82a081a4-40c4-48d3-8077-d6ddca46be7d"},{"name":"Change content element","id":"5b845334-d782-4c17-99d8-172d1a25c4dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"ContentElementId\": 567,\r\n    \"ContentElementType\": \"Statement\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{mpbApiV1}}/statements/content-change-events/content-element","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["statements","content-change-events","content-element"],"host":["{{mpbApiV1}}"],"query":[],"variable":[]}},"response":[{"id":"b158d900-7727-4ef0-9bd8-753ce1c6fc5f","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"ContentElementId\": 567,\r\n    \"ContentElementType\": \"Statement\" // Statement, List, DictionaryItem, NutritionTable, ConsumptionContext, CustomTable\r\n}","options":{"raw":{"language":"json"}}},"url":"{{mpbApiV1}}/statements/content-change-events/content-element"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"5b845334-d782-4c17-99d8-172d1a25c4dc"},{"name":"Get document","id":"7e9e50e6-6db6-4d60-ae61-48bb80e2fb0d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{mpbApiV1}}/statements/documents/:documentId","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["statements","documents",":documentId"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"7a237646-6a67-4155-a1b2-3283c1ddace5","type":"any","value":"1234","key":"documentId"}]}},"response":[{"id":"999d0a54-074a-42e7-8293-ad9426733151","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{mpbApiV1}}/statements/documents/:documentId","host":["{{mpbApiV1}}"],"path":["statements","documents",":documentId"],"variable":[{"key":"documentId","value":"1234"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"id\": 1234,\r\n    \"projectName\": \"SP Dog & Skin dry\",\r\n    \"masterDocumentName\": \"SP Dog & Skin dry Description\",\r\n    \"status\": \"Disabled\",\r\n    \"finalPhaseApprovalFinishedOn\": null,\r\n    \"groups\": [\r\n        {\r\n            \"id\": 0,\r\n            \"name\": null,\r\n            \"order\": 0,\r\n            \"contentElements\": [\r\n                {\r\n                    \"text\": \"SMALL PAWS\",\r\n                    \"id\": 222,\r\n                    \"order\": 0,\r\n                    \"guidelines\": null,\r\n                    \"contentElementType\": \"Text\",\r\n                    \"translationType\": \"Invariant\",\r\n                    \"type\": \"M004 Opening Statement\",\r\n                    \"$type\": \"ContentElementInvariantDto\",\r\n                    \"collatedBy\": [\r\n                        {\r\n                            \"functionId\": 123,\r\n                            \"functionName\": \"Gatekeeper\"\r\n                        }\r\n                    ],\r\n                    \"commentCount\": 0,\r\n                    \"isFinalPhaseApproved\": false\r\n                },\r\n                {\r\n                    \"text\": \"**Scannerizza.**\",\r\n                    \"id\": 333,\r\n                    \"order\": 10,\r\n                    \"guidelines\": null,\r\n                    \"contentElementType\": \"Text\",\r\n                    \"translationType\": \"Translated\",\r\n                    \"type\": \"Sorting instructions\",\r\n                    \"$type\": \"ContentElementTranslatedDto\",\r\n                    \"collatedBy\": [\r\n                        {\r\n                            \"functionId\": 123,\r\n                            \"functionName\": \"Gatekeeper\"\r\n                        }\r\n                    ],\r\n                    \"commentCount\": 0,\r\n                    \"translations\": [\r\n                        {\r\n                            \"id\": 111,\r\n                            \"locale\": \"en-GB\",\r\n                            \"text\": \"\",\r\n                            \"commentCount\": 0,\r\n                            \"isFinalPhaseApproved\": false\r\n                        }\r\n                    ]\r\n                },\r\n                {\r\n                    \"text\": \"1.5 kg E\",\r\n                    \"id\": 554,\r\n                    \"order\": 56,\r\n                    \"guidelines\": null,\r\n                    \"contentElementType\": \"Text\",\r\n                    \"translationType\": \"Invariant\",\r\n                    \"type\": \"Weight Statement\",\r\n                    \"$type\": \"ContentElementInvariantDto\",\r\n                    \"collatedBy\": [\r\n                        {\r\n                            \"functionId\": 123,\r\n                            \"functionName\": \"Gatekeeper\"\r\n                        }\r\n                    ],\r\n                    \"commentCount\": 0,\r\n                    \"isFinalPhaseApproved\": false\r\n                }\r\n            ]\r\n        }\r\n    ],\r\n    \"locales\": [\r\n        {\r\n            \"localeId\": 1000,\r\n            \"localeName\": \"en-GB\"\r\n        },\r\n        {\r\n            \"localeId\": 2000,\r\n            \"localeName\": \"fr-FR\"\r\n        }\r\n    ]\r\n}"}],"_postman_id":"7e9e50e6-6db6-4d60-ae61-48bb80e2fb0d"},{"name":"Get permissions","id":"3fb966ff-faad-48e9-952a-afd9508ff00d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{mpbApiV1}}/statements/documents/:documentId/permissions","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}},"urlObject":{"path":["statements","documents",":documentId","permissions"],"host":["{{mpbApiV1}}"],"query":[],"variable":[{"id":"b6684d38-9673-4d6e-b6c2-2106c6d7f94a","type":"any","value":"1234","key":"documentId"}]}},"response":[{"id":"25fd2360-c1b7-433c-a271-855bdf121c2f","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{mpbApiV1}}/statements/documents/:documentId/permissions","host":["{{mpbApiV1}}"],"path":["statements","documents",":documentId","permissions"],"variable":[{"key":"documentId","value":"1234"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\"legacyUserUid\":\"a7ea56ee-6b5f-4409-81f2-ec7176388521\",\"roles\":[]}"}],"_postman_id":"3fb966ff-faad-48e9-952a-afd9508ff00d"}],"id":"15023143-46a6-4da4-9189-f24c163b9331","description":"<p>Documentation for statements-related endpoints (Textures/Text+) and Final Approval stage.</p>\n","_postman_id":"15023143-46a6-4da4-9189-f24c163b9331","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","id":"07d5392a-f0a8-45ec-bd75-3408bbc98b1e","name":"MYPACKBRAIN API","type":"collection"}}}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]}},"event":[{"listen":"prerequest","script":{"id":"66782c56-cfa0-408b-bb0d-13e4aa806786","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"bbcf18de-bbeb-4313-9226-1adf759e2788","type":"text/javascript","exec":[""]}}],"variable":[{"key":"aoApiUrl","value":"https://api.mypackbrain.com/v1","type":"string"},{"key":"fileApiUrl","value":"https://api.mypackbrain.com/v1","type":"string"},{"key":"reqApiUrl","value":"https://api.mypackbrain.com/v1","type":"string"},{"key":"apiUrl","value":"https://api.mypackbrain.com/v1","type":"string"}]}