{"info":{"_postman_id":"23156055-6f96-410d-bed5-d555f62720f5","name":"22.11 Kafka Notification Service REST API - Examples","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"1589959","collectionId":"23156055-6f96-410d-bed5-d555f62720f5","publishedId":"2s8YeoNCr7","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-11-10T20:45:50.000Z"},"item":[{"name":"Get notification service effective base URL","id":"61363947-79da-4e5b-b9fa-de3c05ebea24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{server}}/rest-gateway/rest/api/v1/location/services/notifications","description":"<p>Get notification service effective base URL and other information for this service</p>\n","urlObject":{"protocol":"https","path":["rest-gateway","rest","api","v1","location","services","notifications"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[{"id":"1fea2e77-9e03-46f2-a43a-7838b5b62e15","name":"Get notification service effective base URL Response","originalRequest":{"method":"GET","header":[],"url":"https://{{server}}/rest-gateway/rest/api/v1/location/services/notifications","description":"Get notification service effective base URL and other information for this service"},"status":"OK","code":200,"_postman_previewlanguage":"javascript","header":[{"key":"Cache-Control","value":"private","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Server","value":"5620 SAM","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Accept-Encoding","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[],"responseTime":null,"body":"{\n  \"response\": {\n    \"status\": 0,\n    \"startRow\": 0,\n    \"endRow\": 0,\n    \"totalRows\": 1,\n    \"data\": {\n      \"services\": [\n        {\n          \"serviceName\": \"notifications\",\n          \"instances\": [\n            {\n              \"version\": \"v1\",\n              \"docUrl\": \"https://135.228.28.112:8544/nbi-notification/api-docs#!/notifications\",\n              \"effectiveBaseUrl\": \"https://135.228.28.112:8544/nbi-notification/api\",\n              \"endpoints\": [\n                \"[GET] /v1/notifications/deletions/{taskId}\",\n                \"[GET] /v1/notifications/subscriptions\",\n                \"[POST] /v1/notifications/subscriptions\",\n                \"[GET] /v1/notifications/subscriptions/{subscriptionId}\",\n                \"[DELETE] /v1/notifications/subscriptions/{subscriptionId}\",\n                \"[POST] /v1/notifications/subscriptions/{subscriptionId}/renewals\"\n              ]\n            }\n          ]\n        }\n      ]\n    },\n    \"errors\": null\n  }\n}"}],"_postman_id":"61363947-79da-4e5b-b9fa-de3c05ebea24"},{"name":"Create Subscription ","id":"5f3435d8-c6db-46ee-926e-c164343b5af1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"categories\": [\n    {\n      \"name\": \"NSP-FAULT\",\n      \"propertyFilter\": \"severity = 'major'\"\n    }\n  ]\n}"},"url":"https://{{server}}:8544/nbi-notification/api/v1/notifications/subscriptions","description":"<p>Create Subscription</p>\n","urlObject":{"protocol":"https","port":"8544","path":["nbi-notification","api","v1","notifications","subscriptions"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[{"id":"760b7aee-b1f0-4383-8018-62aa6cd1ee80","name":"Create Subscription  Response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n  \"categories\": [\n    {\n      \"name\": \"NSP-FAULT\",\n      \"propertyFilter\": \"severity = major\"\n    }\n  ]\n}"},"url":"https://{{server}}:8544/nbi-notification/api/v1/notifications/subscriptions","description":"Create Subscription"},"status":"Created","code":201,"_postman_previewlanguage":"javascript","header":[{"key":"Cache-Control","value":"private","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Server","value":"5620 SAM","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Accept-Encoding","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[],"responseTime":null,"body":"{\n  \"response\": {\n    \"status\": 0,\n    \"startRow\": 0,\n    \"endRow\": 0,\n    \"totalRows\": 1,\n    \"data\": {\n      \"subscriptionId\": \"cd77a9f0-92db-465f-b168-85a85bfaf389\",\n      \"topicId\": \"ns-eg-cd77a9f0-92db-465f-b168-85a85bfaf389\",\n      \"timeOfSubscription\": 1539136324790,\n      \"expiresAt\": 1539139924790\n    },\n    \"errors\": null\n  }\n}"}],"_postman_id":"5f3435d8-c6db-46ee-926e-c164343b5af1"},{"name":"Get Subscription ","id":"08f580b7-6dd5-44bf-aac5-50624ba71843","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":"https://{{server}}:8544/nbi-notification/api/v1/notifications/subscriptions/cd77a9f0-92db-465f-b168-85a85bfaf389","description":"<p>Get Subscription information for specific subscription ID</p>\n","urlObject":{"protocol":"https","port":"8544","path":["nbi-notification","api","v1","notifications","subscriptions","cd77a9f0-92db-465f-b168-85a85bfaf389"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[{"id":"da8cfd10-3218-41ca-8efa-c4ede53edca0","name":"Get Subscription  Response","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":"https://{{server}}:8544/nbi-notification/api/v1/notifications/subscriptions/cd77a9f0-92db-465f-b168-85a85bfaf389","description":"Get Subscription information for specific subscription ID"},"status":"OK","code":200,"_postman_previewlanguage":"javascript","header":[{"key":"Cache-Control","value":"private","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Server","value":"5620 SAM","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Accept-Encoding","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[],"responseTime":null,"body":"{\n  \"response\": {\n    \"status\": 0,\n    \"startRow\": 0,\n    \"endRow\": 0,\n    \"totalRows\": 1,\n    \"data\": {\n      \"subscriptionId\": \"cd77a9f0-92db-465f-b168-85a85bfaf389\",\n      \"topicId\": \"ns-eg-cd77a9f0-92db-465f-b168-85a85bfaf389\",\n      \"timeOfSubscription\": 1539136324790,\n      \"expiresAt\": 1539139924790\n    },\n    \"errors\": null\n  }\n}"}],"_postman_id":"08f580b7-6dd5-44bf-aac5-50624ba71843"},{"name":"Renew Subscription ","id":"1518536a-e651-45d6-9377-4e39001de398","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{}"},"url":"https://{{server}}:8544/nbi-notification/api/v1/notifications/subscriptions/cd77a9f0-92db-465f-b168-85a85bfaf389/renewals","description":"<p>Renew Subscription</p>\n","urlObject":{"protocol":"https","port":"8544","path":["nbi-notification","api","v1","notifications","subscriptions","cd77a9f0-92db-465f-b168-85a85bfaf389","renewals"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[{"id":"20eb2fd8-79f5-43db-a491-eda708a300f8","name":"Renew Subscription  Response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{}"},"url":"https://{{server}}:8544/nbi-notification/api/v1/notifications/subscriptions/cd77a9f0-92db-465f-b168-85a85bfaf389/renewals","description":"Renew Subscription"},"status":"Created","code":201,"_postman_previewlanguage":"javascript","header":[{"key":"Cache-Control","value":"private","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Server","value":"5620 SAM","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Accept-Encoding","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[],"responseTime":null,"body":"{\n  \"response\": {\n    \"status\": 0,\n    \"startRow\": 0,\n    \"endRow\": 0,\n    \"totalRows\": 1,\n    \"data\": 1539139925141,\n    \"errors\": null\n  }\n}"}],"_postman_id":"1518536a-e651-45d6-9377-4e39001de398"},{"name":"Delete Subscription ","id":"c9db16c3-6cf8-4c13-9635-c2ba0a7047aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{}"},"url":"https://{{server}}:8544/nbi-notification/api/v1/notifications/subscriptions/cd77a9f0-92db-465f-b168-85a85bfaf389","description":"<p>Delete Subscription</p>\n","urlObject":{"protocol":"https","port":"8544","path":["nbi-notification","api","v1","notifications","subscriptions","cd77a9f0-92db-465f-b168-85a85bfaf389"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[{"id":"f5ec295d-3b08-4167-9ef1-459e3e469c55","name":"Delete Subscription  Response","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{}"},"url":"https://{{server}}:8544/nbi-notification/api/v1/notifications/subscriptions/cd77a9f0-92db-465f-b168-85a85bfaf389","description":"Delete Subscription"},"status":"Accepted","code":202,"_postman_previewlanguage":"javascript","header":[{"key":"Cache-Control","value":"private","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Server","value":"5620 SAM","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Accept-Encoding","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[],"responseTime":null,"body":"{\n  \"response\": {\n    \"status\": 0,\n    \"startRow\": 0,\n    \"endRow\": 0,\n    \"totalRows\": 1,\n    \"data\": \"5372f1d5-78ac-417e-bc75-94c884973418\",\n    \"errors\": []\n  }\n}"}],"_postman_id":"c9db16c3-6cf8-4c13-9635-c2ba0a7047aa"},{"name":"Check the subscription deletion status ","id":"3e53d0ec-a0d1-4823-9c95-a35389d2b99f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":"https://{{server}}:8544/nbi-notification/api/v1/notifications/subscriptions/cd77a9f0-92db-465f-b168-85a85bfaf389","description":"<p>Check Subscription deletion status</p>\n","urlObject":{"protocol":"https","port":"8544","path":["nbi-notification","api","v1","notifications","subscriptions","cd77a9f0-92db-465f-b168-85a85bfaf389"],"host":["{{server}}"],"query":[],"variable":[]}},"response":[{"id":"e289fb5a-e16f-412b-8ab1-308f75cf4dc2","name":"Check the subscription deletion status  Response","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"url":"https://{{server}}:8544/nbi-notification/api/v1/notifications/subscriptions/cd77a9f0-92db-465f-b168-85a85bfaf389","description":"Check Subscription deletion status"},"status":"OK","code":200,"_postman_previewlanguage":"javascript","header":[{"key":"Cache-Control","value":"private","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":"The type of encoding used on the data."},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Server","value":"5620 SAM","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"Vary","value":"Accept-Encoding","name":"Vary","description":"Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server."}],"cookie":[],"responseTime":null,"body":"{\n  \"response\": {\n    \"status\": 0,\n    \"startRow\": 0,\n    \"endRow\": 0,\n    \"totalRows\": 1,\n    \"data\": {\n      \"taskId\": \"5372f1d5-78ac-417e-bc75-94c884973418\",\n      \"state\": \"COMPLETED\",\n      \"errors\": []\n    },\n    \"errors\": null\n  }\n}"}],"_postman_id":"3e53d0ec-a0d1-4823-9c95-a35389d2b99f"}]}