{"info":{"_postman_id":"967d10c6-827b-4e2d-81bd-2b884711aa49","name":"CAP Supplier Product Management API","description":"<html><head></head><body><h2 id=\"overview\">Overview</h2>\n<p>This collection exercises a simple <strong>SAP CAP OData v4</strong> service for managing <strong>Suppliers</strong>, <strong>Products</strong>, and <strong>ProductReviews</strong>, plus the custom action <strong><code>submitReview</code></strong>.</p>\n<ul>\n<li><p><strong>Auth:</strong> none (local dev)</p>\n</li>\n<li><p><strong>Base URL:</strong> <code></code></p>\n</li>\n</ul>\n<h2 id=\"base-url--variables\">Base URL &amp; variables</h2>\n<p>This collection is fully parameterized.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Purpose</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>baseUrl</code></td>\n<td>Service root</td>\n<td><code>http://localhost:4004/odata/v4/catalog</code></td>\n</tr>\n<tr>\n<td><code>supplierId</code></td>\n<td>Supplier entity key (UUID)</td>\n<td><code>00000000-0000-0000-0000-000000000001</code></td>\n</tr>\n<tr>\n<td><code>productId</code></td>\n<td>Product entity key (UUID)</td>\n<td><code>00000000-0000-0000-0000-000000000001</code></td>\n</tr>\n<tr>\n<td><code>reviewId</code></td>\n<td>ProductReview entity key (UUID)</td>\n<td><code>00000000-0000-0000-0000-000000000001</code></td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p><strong>OData key syntax (CAP):</strong> entity-by-id requests use parentheses: </p>\n</blockquote>\n<h2 id=\"cap-odata-conventions-used\">CAP OData conventions used</h2>\n<ul>\n<li><p><strong>Entity sets</strong> are accessed via plural names: <code>/Suppliers</code>, <code>/Products</code>, <code>/ProductReviews</code>.</p>\n</li>\n<li><p><strong>Create</strong> via <code>POST /</code>.</p>\n</li>\n<li><p><strong>Partial update</strong> via <code>PATCH /()</code>.</p>\n</li>\n<li><p><strong>Delete</strong> via <code>DELETE /()</code>.</p>\n</li>\n<li><p><strong>Custom action</strong> is invoked via <code>POST /submitReview</code>.</p>\n</li>\n</ul>\n<h2 id=\"common-error-response-format\">Common error response format</h2>\n<p>CAP OData errors (typical for <code>400/404/500</code>) follow this shape:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"error\": {\n    \"code\": \"500\",\n    \"message\": \"Validation failed: Supplier name is required\",\n    \"@odata.type\": \"#Microsoft.AspNetCore.OData.Routing.BadRequestError\"\n  }\n}\n\n</code></pre>\n<h3 id=\"error-types\">Error types</h3>\n<ul>\n<li><p><strong>400 ValidationError:</strong> <code>\"Validation failed: \"</code></p>\n</li>\n<li><p><strong>404 NotFoundError:</strong> e.g. <code>\"Product with ID does not exist\"</code> / <code>\"Supplier with ID does not exist\"</code></p>\n</li>\n</ul>\n<h2 id=\"running-the-happy-path-workflow\">Running the happy-path workflow</h2>\n<p>Recommended order (matches how IDs are captured for later calls):</p>\n<ol>\n<li><p>Create Supplier → save <code>supplierId</code></p>\n</li>\n<li><p>Create Product → save <code>productId</code></p>\n</li>\n<li><p>Submit review → (if review ID is returned, save it; otherwise list reviews and pick one) → save <code>reviewId</code></p>\n</li>\n<li><p>Update entities as needed</p>\n</li>\n<li><p>Delete review / product / supplier</p>\n</li>\n</ol>\n<p>Each request should have at least one saved <strong>success example</strong> after running the workflow.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"38900736","collectionId":"967d10c6-827b-4e2d-81bd-2b884711aa49","publishedId":"2sBXijLY5v","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-03-24T19:05:56.000Z"},"item":[{"name":"Products","item":[{"name":"Create Product","id":"a40791bd-faac-46bf-97b6-dc8ec10b0c19","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"prod1\",\r\n  \"price\": 1,\r\n  \"category\": \"jewelery\",\r\n  \"supplier_ID\": \"7f68685c-15b8-4111-8d29-fdee1d151182\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4004/odata/v4/catalog/Products","urlObject":{"protocol":"http","port":"4004","path":["odata","v4","catalog","Products"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"6e3ff471-dbf4-46ff-87dc-4af81622a88b","name":"create","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"prod1\",\r\n  \"price\": 1,\r\n  \"category\": \"jewelery\",\r\n  \"supplier_ID\": \"6d43e162-e0e8-414d-9249-fffa18ceabe0\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4004/odata/v4/catalog/Products"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"X-Correlation-ID","value":"29bb3bb9-b4df-4d9a-80e7-0656c1a6a79a"},{"key":"OData-Version","value":"4.0"},{"key":"location","value":"Products(d587d117-bc37-4c9a-ac95-7ea3580623d3)"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"233"},{"key":"Date","value":"Tue, 24 Mar 2026 18:36:12 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"@odata.context\": \"$metadata#Products/$entity\",\n    \"ID\": \"d587d117-bc37-4c9a-ac95-7ea3580623d3\",\n    \"name\": \"prod1\",\n    \"price\": 1,\n    \"category\": \"jewelery\",\n    \"externalRating\": 4.6,\n    \"averageRating\": null,\n    \"supplier_ID\": \"6d43e162-e0e8-414d-9249-fffa18ceabe0\"\n}"}],"_postman_id":"a40791bd-faac-46bf-97b6-dc8ec10b0c19"},{"name":"List Products","id":"994f54d9-7669-4695-8a7b-09ad5004717c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:4004/odata/v4/catalog/Products","urlObject":{"protocol":"http","port":"4004","path":["odata","v4","catalog","Products"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"011d09bb-84bb-4227-b9b2-89bfc7c61484","name":"get all","originalRequest":{"method":"GET","header":[],"url":"http://localhost:4004/odata/v4/catalog/Products"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"X-Correlation-ID","value":"24d2830d-e076-4868-89cd-53a05a6ebb8b"},{"key":"OData-Version","value":"4.0"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"423"},{"key":"Date","value":"Tue, 24 Mar 2026 19:20:06 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"@odata.context\": \"$metadata#Products\",\n    \"value\": [\n        {\n            \"ID\": \"d587d117-bc37-4c9a-ac95-7ea3580623d3\",\n            \"name\": \"prod1a\",\n            \"price\": 2,\n            \"category\": \"jewelery\",\n            \"externalRating\": 4.6,\n            \"averageRating\": 3,\n            \"supplier_ID\": \"6d43e162-e0e8-414d-9249-fffa18ceabe0\"\n        },\n        {\n            \"ID\": \"fecb19d8-b59c-4297-b0b4-f9699a83aaf6\",\n            \"name\": \"prod1\",\n            \"price\": 1,\n            \"category\": \"jewelery\",\n            \"externalRating\": 4.6,\n            \"averageRating\": null,\n            \"supplier_ID\": \"6d43e162-e0e8-414d-9249-fffa18ceabe0\"\n        }\n    ]\n}"}],"_postman_id":"994f54d9-7669-4695-8a7b-09ad5004717c"},{"name":"Update Product (by id)","id":"662de34d-2990-481a-a6a9-4787f9e266a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"prod1a\",\r\n  \"price\": 2,\r\n  \"supplier_ID\": \"6d43e162-e0e8-414d-9249-fffa18ceabe0\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4004/odata/v4/catalog/Products/d587d117-bc37-4c9a-ac95-7ea3580623d3","urlObject":{"protocol":"http","port":"4004","path":["odata","v4","catalog","Products","d587d117-bc37-4c9a-ac95-7ea3580623d3"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"8040203b-f233-4cc7-9b15-a13203ff60cd","name":"update","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"prod1a\",\r\n  \"price\": 2,\r\n  \"supplier_ID\": \"6d43e162-e0e8-414d-9249-fffa18ceabe0\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4004/odata/v4/catalog/Products/d587d117-bc37-4c9a-ac95-7ea3580623d3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"X-Correlation-ID","value":"a0036c9b-ae05-4cf3-b9c5-056d37b2117b"},{"key":"OData-Version","value":"4.0"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"234"},{"key":"Date","value":"Tue, 24 Mar 2026 18:39:47 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"@odata.context\": \"$metadata#Products/$entity\",\n    \"ID\": \"d587d117-bc37-4c9a-ac95-7ea3580623d3\",\n    \"name\": \"prod1a\",\n    \"price\": 2,\n    \"category\": \"jewelery\",\n    \"externalRating\": 4.6,\n    \"averageRating\": null,\n    \"supplier_ID\": \"6d43e162-e0e8-414d-9249-fffa18ceabe0\"\n}"}],"_postman_id":"662de34d-2990-481a-a6a9-4787f9e266a6"},{"name":"Delete Product (by id)","id":"ae57f017-1ba9-4e1e-b737-ee4821f6accf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Test Product00\",\r\n  \"price\": 99,\r\n  \"category\": \"electronics\",\r\n  \"supplier_ID\": 2\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4004/odata/v4/catalog/Products/d587d117-bc37-4c9a-ac95-7ea3580623d3","urlObject":{"protocol":"http","port":"4004","path":["odata","v4","catalog","Products","d587d117-bc37-4c9a-ac95-7ea3580623d3"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"bbf46970-e722-457c-aa2c-8dfb8ed712ab","name":"delete","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Test Product00\",\r\n  \"price\": 99,\r\n  \"category\": \"electronics\",\r\n  \"supplier_ID\": 2\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4004/odata/v4/catalog/Products/d587d117-bc37-4c9a-ac95-7ea3580623d3"},"status":"No Content","code":204,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"X-Correlation-ID","value":"51bde505-637a-4a3e-a27d-77f31a62223b"},{"key":"OData-Version","value":"4.0"},{"key":"Date","value":"Tue, 24 Mar 2026 19:21:42 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"ae57f017-1ba9-4e1e-b737-ee4821f6accf"},{"name":"Get Product (by id)","id":"fa436d58-4cd3-4925-95ea-32dc4c356b24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:4004/odata/v4/catalog/Products/dddb8ef4-8ee2-4afc-a38a-bfb16f551a53","urlObject":{"protocol":"http","port":"4004","path":["odata","v4","catalog","Products","dddb8ef4-8ee2-4afc-a38a-bfb16f551a53"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"f78a6b0d-a0aa-4620-993e-5eebb4eade15","name":"Get Product (by id)","originalRequest":{"method":"GET","header":[],"url":"http://localhost:4004/odata/v4/catalog/Products/dddb8ef4-8ee2-4afc-a38a-bfb16f551a53"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"X-Correlation-ID","value":"66f4f43a-35c2-410f-afc6-48c170ea1e1d"},{"key":"OData-Version","value":"4.0"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"230"},{"key":"Date","value":"Wed, 25 Mar 2026 01:44:46 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"@odata.context\": \"$metadata#Products/$entity\",\n    \"ID\": \"dddb8ef4-8ee2-4afc-a38a-bfb16f551a53\",\n    \"name\": \"prod1\",\n    \"price\": 1,\n    \"category\": \"jewelery\",\n    \"externalRating\": 4.6,\n    \"averageRating\": 1,\n    \"supplier_ID\": \"7f68685c-15b8-4111-8d29-fdee1d151182\"\n}"}],"_postman_id":"fa436d58-4cd3-4925-95ea-32dc4c356b24"}],"id":"5131fc3c-1920-46e1-9b71-76f72f0af47f","_postman_id":"5131fc3c-1920-46e1-9b71-76f72f0af47f","description":""},{"name":"Supplier","item":[{"name":"Create Supplier","id":"b637d93d-4f86-4938-854c-ad591332201f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"sup2\",\r\n    \"email\": \"tests@postman.com\",\r\n    \"rating\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4004/odata/v4/catalog/Suppliers","urlObject":{"protocol":"http","port":"4004","path":["odata","v4","catalog","Suppliers"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"b19d2710-8621-4378-b3e7-e31508ba286c","name":"Create","originalRequest":{"method":"POST","header":[{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"sup1\",\r\n    \"email\": \"tests@postman.com\",\r\n    \"rating\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4004/odata/v4/catalog/Suppliers"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"X-Correlation-ID","value":"e11ae024-2628-491a-b260-402da1cb50da"},{"key":"OData-Version","value":"4.0"},{"key":"location","value":"Suppliers(6d43e162-e0e8-414d-9249-fffa18ceabe0)"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"145"},{"key":"Date","value":"Tue, 24 Mar 2026 18:32:33 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"@odata.context\": \"$metadata#Suppliers/$entity\",\n    \"ID\": \"6d43e162-e0e8-414d-9249-fffa18ceabe0\",\n    \"name\": \"sup1\",\n    \"email\": \"tests@postman.com\",\n    \"rating\": 1\n}"}],"_postman_id":"b637d93d-4f86-4938-854c-ad591332201f"},{"name":"List Suppliers","id":"926e0d3a-ab2e-44d0-bcd3-a90482d0cd12","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:4004/odata/v4/catalog/Suppliers","urlObject":{"protocol":"http","port":"4004","path":["odata","v4","catalog","Suppliers"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"e4e5ea09-15db-420d-93f8-fb9d4147b208","name":"get all","originalRequest":{"method":"GET","header":[],"url":"http://localhost:4004/odata/v4/catalog/Suppliers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"X-Correlation-ID","value":"9c1c8070-799a-4671-8790-f7b7a797d885"},{"key":"OData-Version","value":"4.0"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"248"},{"key":"Date","value":"Tue, 24 Mar 2026 19:22:55 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"@odata.context\": \"$metadata#Suppliers\",\n    \"value\": [\n        {\n            \"ID\": \"6778f680-e01c-489f-bb47-2c2cbfdb834c\",\n            \"name\": \"sup2\",\n            \"email\": \"tests@postman.com\",\n            \"rating\": 1\n        },\n        {\n            \"ID\": \"6d43e162-e0e8-414d-9249-fffa18ceabe0\",\n            \"name\": \"sup1\",\n            \"email\": \"edit1@postman.com\",\n            \"rating\": 1\n        }\n    ]\n}"}],"_postman_id":"926e0d3a-ab2e-44d0-bcd3-a90482d0cd12"},{"name":"Update Product (by id)","id":"84eba3dc-2f58-4da2-97eb-c3d12c26136f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"sup1\",\r\n    \"email\": \"edit1@postman.com\",\r\n    \"rating\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4004/odata/v4/catalog/Suppliers/6d43e162-e0e8-414d-9249-fffa18ceabe0","urlObject":{"protocol":"http","port":"4004","path":["odata","v4","catalog","Suppliers","6d43e162-e0e8-414d-9249-fffa18ceabe0"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"062ec023-69a5-405f-ada1-e5a6035af13e","name":"update","originalRequest":{"method":"PATCH","header":[{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"sup1\",\r\n    \"email\": \"edit1@postman.com\",\r\n    \"rating\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4004/odata/v4/catalog/Suppliers/6d43e162-e0e8-414d-9249-fffa18ceabe0"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"X-Correlation-ID","value":"ef4bd6f3-6fa7-46ef-9748-0ca04725cc60"},{"key":"OData-Version","value":"4.0"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"145"},{"key":"Date","value":"Tue, 24 Mar 2026 19:23:43 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"@odata.context\": \"$metadata#Suppliers/$entity\",\n    \"ID\": \"6d43e162-e0e8-414d-9249-fffa18ceabe0\",\n    \"name\": \"sup1\",\n    \"email\": \"edit1@postman.com\",\n    \"rating\": 1\n}"}],"_postman_id":"84eba3dc-2f58-4da2-97eb-c3d12c26136f"},{"name":"Delete Product (by id)","id":"f1b35bdc-fa0e-4949-b10a-341c470b3b51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://localhost:4004/odata/v4/catalog/Suppliers/6d43e162-e0e8-414d-9249-fffa18ceabe0","urlObject":{"protocol":"http","port":"4004","path":["odata","v4","catalog","Suppliers","6d43e162-e0e8-414d-9249-fffa18ceabe0"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"b1f4a447-3223-49f3-b460-5af7bd54ebac","name":"delete","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:4004/odata/v4/catalog/Suppliers/6d43e162-e0e8-414d-9249-fffa18ceabe0"},"status":"No Content","code":204,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"X-Correlation-ID","value":"e6d0c2b3-d357-4b00-bef9-0d53c537b503"},{"key":"OData-Version","value":"4.0"},{"key":"Date","value":"Tue, 24 Mar 2026 19:24:08 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"f1b35bdc-fa0e-4949-b10a-341c470b3b51"},{"name":"Get Supplier (by id)","id":"5be26788-471c-486e-93d7-fd8f43cd9e91","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:4004/odata/v4/catalog/Suppliers/7f68685c-15b8-4111-8d29-fdee1d151182","description":"<p>Generated from cURL: curl --request GET '/Suppliers()'</p>\n","urlObject":{"protocol":"http","port":"4004","path":["odata","v4","catalog","Suppliers","7f68685c-15b8-4111-8d29-fdee1d151182"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"992e3c92-377c-45a3-955e-b3c61dd91b11","name":"Get Supplier (by id)","originalRequest":{"method":"GET","header":[],"url":"http://localhost:4004/odata/v4/catalog/Suppliers/7f68685c-15b8-4111-8d29-fdee1d151182"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"X-Correlation-ID","value":"314876f6-f2d9-4f4b-bb71-96f30b2036ac"},{"key":"OData-Version","value":"4.0"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"145"},{"key":"Date","value":"Wed, 25 Mar 2026 01:41:27 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"@odata.context\": \"$metadata#Suppliers/$entity\",\n    \"ID\": \"7f68685c-15b8-4111-8d29-fdee1d151182\",\n    \"name\": \"sup2\",\n    \"email\": \"tests@postman.com\",\n    \"rating\": 1\n}"}],"_postman_id":"5be26788-471c-486e-93d7-fd8f43cd9e91"}],"id":"6b03d6f1-7051-423f-b263-76df5a2b4de4","_postman_id":"6b03d6f1-7051-423f-b263-76df5a2b4de4","description":""},{"name":"Review","item":[{"name":"Submit Review (action)","id":"1e01dbeb-e510-43ea-ab34-0b529e8aa3fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"productID\": \"dddb8ef4-8ee2-4afc-a38a-bfb16f551a53\",\r\n    \"rating\": 1,\r\n    \"comment\": \"Good product\",\r\n    \"reviewer\": \"rev2\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4004/odata/v4/catalog/submitReview","urlObject":{"protocol":"http","port":"4004","path":["odata","v4","catalog","submitReview"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"458524a8-f485-4c22-913b-44c297e29081","name":"Create","originalRequest":{"method":"POST","header":[{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"productID\": \"d587d117-bc37-4c9a-ac95-7ea3580623d3\",\r\n    \"rating\": 1,\r\n    \"comment\": \"Good product\",\r\n    \"reviewer\": \"rev2\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4004/odata/v4/catalog/submitReview"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"X-Correlation-ID","value":"35680829-18be-4602-96b0-42c2a53fd400"},{"key":"OData-Version","value":"4.0"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"113"},{"key":"Date","value":"Tue, 24 Mar 2026 18:41:51 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"@odata.context\": \"$metadata#CatalogService.return_CatalogService_submitReview\",\n    \"success\": true,\n    \"averageRating\": 3\n}"}],"_postman_id":"1e01dbeb-e510-43ea-ab34-0b529e8aa3fb"},{"name":"List Product Reviews","id":"55f0f2b5-0205-44d3-97a1-cc3c70a3a814","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:4004/odata/v4/catalog/ProductReviews","urlObject":{"protocol":"http","port":"4004","path":["odata","v4","catalog","ProductReviews"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"a7bf207a-bb76-4f55-9a52-9ba38372a32c","name":"get all","originalRequest":{"method":"GET","header":[{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:4004/odata/v4/catalog/ProductReviews"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"X-Correlation-ID","value":"d30efeaf-e562-45aa-9700-d536efa30822"},{"key":"OData-Version","value":"4.0"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"359"},{"key":"Date","value":"Tue, 24 Mar 2026 18:42:01 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"@odata.context\": \"$metadata#ProductReviews\",\n    \"value\": [\n        {\n            \"ID\": \"69eeca54-2bc1-4d08-9822-845a8a78e0ad\",\n            \"product_ID\": \"d587d117-bc37-4c9a-ac95-7ea3580623d3\",\n            \"rating\": 5,\n            \"comment\": \"Good product\",\n            \"reviewer\": \"rev1\"\n        },\n        {\n            \"ID\": \"dc7cafd6-4185-4e5d-8305-524ea2a9f35f\",\n            \"product_ID\": \"d587d117-bc37-4c9a-ac95-7ea3580623d3\",\n            \"rating\": 1,\n            \"comment\": \"Good product\",\n            \"reviewer\": \"rev2\"\n        }\n    ]\n}"}],"_postman_id":"55f0f2b5-0205-44d3-97a1-cc3c70a3a814"},{"name":"Update Product Review (by id)","id":"70568ae6-f6a1-426c-8d1c-ed0538e91b75","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"rating\": 1,\r\n    \"comment\": \"Good\",\r\n    \"reviewer\": \"9\",\r\n    \"product_ID\": \"17d784cd-a214-4db3-b809-af3a0d7ca7e1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4004/odata/v4/catalog/ProductReviews/15acb0c3-d161-4889-ab9c-e0c0c32c5780","urlObject":{"protocol":"http","port":"4004","path":["odata","v4","catalog","ProductReviews","15acb0c3-d161-4889-ab9c-e0c0c32c5780"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"fd602f39-5a3b-43a1-b119-7919304017b6","name":"update","originalRequest":{"method":"PATCH","header":[{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"rating\": 5,\r\n    \"comment\": \"Good\",\r\n    \"reviewer\": \"rev1e\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:4004/odata/v4/catalog/ProductReviews/69eeca54-2bc1-4d08-9822-845a8a78e0ad"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"X-Correlation-ID","value":"6f899c3a-70d3-431e-862e-bb0a24080f0b"},{"key":"OData-Version","value":"4.0"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"196"},{"key":"Date","value":"Tue, 24 Mar 2026 18:42:35 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"@odata.context\": \"$metadata#ProductReviews/$entity\",\n    \"ID\": \"69eeca54-2bc1-4d08-9822-845a8a78e0ad\",\n    \"product_ID\": \"d587d117-bc37-4c9a-ac95-7ea3580623d3\",\n    \"rating\": 5,\n    \"comment\": \"Good\",\n    \"reviewer\": \"rev1e\"\n}"}],"_postman_id":"70568ae6-f6a1-426c-8d1c-ed0538e91b75"},{"name":"Delete Product Review (by id)","id":"02f6ad9e-43a6-4825-9e0e-0b291145c999","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:4004/odata/v4/catalog/ProductReviews/0e338a7c-3793-48c0-a82f-97a598625b73","urlObject":{"protocol":"http","port":"4004","path":["odata","v4","catalog","ProductReviews","0e338a7c-3793-48c0-a82f-97a598625b73"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"b2b012ab-02ef-49f2-8db6-929825201928","name":"Delete Product Review (by id)","originalRequest":{"method":"DELETE","header":[{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:4004/odata/v4/catalog/ProductReviews/0e338a7c-3793-48c0-a82f-97a598625b73"},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"X-Correlation-ID","value":"71a86871-beaa-483c-afbe-0a37e9769fe7"},{"key":"OData-Version","value":"4.0"},{"key":"Date","value":"Tue, 24 Mar 2026 18:41:22 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"},{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":""}],"_postman_id":"02f6ad9e-43a6-4825-9e0e-0b291145c999"},{"name":"Get Product Review (by id)","id":"f14dc09a-dde5-4f81-b5b3-6e9dde05de02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:4004/odata/v4/catalog/ProductReviews/54566026-3e38-4675-8505-b4e425e2b88a","description":"<p>Generated from cURL: curl --request GET '/ProductReviews()'</p>\n","urlObject":{"protocol":"http","port":"4004","path":["odata","v4","catalog","ProductReviews","54566026-3e38-4675-8505-b4e425e2b88a"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"31a01b8f-9978-4a5b-b1ea-cc72cbff95dc","name":"Get Product Review (by id)","originalRequest":{"method":"GET","header":[],"url":"http://localhost:4004/odata/v4/catalog/ProductReviews/54566026-3e38-4675-8505-b4e425e2b88a"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"X-Powered-By","value":"Express"},{"key":"X-Correlation-ID","value":"2b9be77a-cd3a-4555-8b68-831cc50bc3ed"},{"key":"OData-Version","value":"4.0"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"203"},{"key":"Date","value":"Wed, 25 Mar 2026 01:44:03 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"@odata.context\": \"$metadata#ProductReviews/$entity\",\n    \"ID\": \"54566026-3e38-4675-8505-b4e425e2b88a\",\n    \"product_ID\": \"dddb8ef4-8ee2-4afc-a38a-bfb16f551a53\",\n    \"rating\": 1,\n    \"comment\": \"Good product\",\n    \"reviewer\": \"rev2\"\n}"}],"_postman_id":"f14dc09a-dde5-4f81-b5b3-6e9dde05de02"}],"id":"88ff0972-561c-482a-a248-19c74c22419f","_postman_id":"88ff0972-561c-482a-a248-19c74c22419f","description":""}],"variable":[{"key":"baseUrl","value":""},{"key":"supplierId","value":""},{"key":"productId","value":""},{"key":"reviewId","value":""}]}