diff --git a/TMFBillingAPI.json.postman_collection b/TMFBillingAPI.json.postman_collection index b44a2a2..5edbb8b 100644 --- a/TMFBillingAPI.json.postman_collection +++ b/TMFBillingAPI.json.postman_collection @@ -1,800 +1,995 @@ { - "id": "868bea3f-0615-9b78-9f3c-fe8d1a64f500", - "name": "TMF Billing API", - "description": "", - "order": [], - "folders": [ - { - "id": "8ecc4f1f-a09b-7a5e-7493-6ad4ff2a3d6f", - "name": "appliedCustomerBillingCharge", - "description": "", - "order": [ - "0430f36b-db20-2ab7-a0eb-72ba5431b29e", - "25b1d677-bb80-cc00-db95-5025ca4f9dfe", - "4795ae57-c713-ec20-6c84-f9aefa9e2894", - "61f80423-73fe-4c47-506b-e4f6bbd3a5a7", - "b77c0048-016b-de0e-3e67-37592f692458" - ], - "collection_name": "TMF Billing API", - "collection_id": "868bea3f-0615-9b78-9f3c-fe8d1a64f500", - "collection_owner": 0, - "write": true, - "owner": 0, - "collection": "e7b1e31e-a0f7-bdea-088b-fe9f95a0589e", - "collectionId": "e7b1e31e-a0f7-bdea-088b-fe9f95a0589e" - }, - { - "id": "05e5374d-d2b5-16fc-0240-7dd3c348bb8d", - "name": "billingAccount", - "description": "", - "order": [ - "7e6d5204-7880-dd90-b506-a9883a3de2da", - "0b6e2ad7-3587-f5cb-2df3-74095e8247c8", - "d11ca588-89f7-ffac-09dc-aadf68884972", - "fb27b56f-94ca-5cb6-c323-848b2b698195", - "8027ce1d-a1b7-bf56-e771-8d3150bab2c4", - "70cf3707-ae0b-d9dd-3ad7-4e52236cd5f4" - ], - "collection_name": "TMF Billing API", - "collection_id": "868bea3f-0615-9b78-9f3c-fe8d1a64f500", - "collection_owner": 0, - "write": true, - "owner": 0, - "collection": "e7b1e31e-a0f7-bdea-088b-fe9f95a0589e", - "collectionId": "e7b1e31e-a0f7-bdea-088b-fe9f95a0589e" - }, - { - "id": "5a4f9b8b-f092-7586-65c3-2c1f8b510ef1", - "name": "customerBillPresentationMedia", - "description": "", - "order": [ - "94fd5a81-526b-c4e0-eeec-67916809465c", - "bd4eda52-6f50-f070-0ebf-d238a81eaab9" - ], - "collection_name": "TMF Billing API", - "collection_id": "868bea3f-0615-9b78-9f3c-fe8d1a64f500", - "collection_owner": 0, - "write": true, - "owner": 0, - "collection": "e7b1e31e-a0f7-bdea-088b-fe9f95a0589e", - "collectionId": "e7b1e31e-a0f7-bdea-088b-fe9f95a0589e" - }, - { - "id": "77e25338-330b-079f-ce5d-1c0e1acac684", - "name": "customerBillingCycleSpecification", - "description": "", - "order": [ - "79015af0-d46a-5a90-8450-d34a2a32079d", - "badb3619-4826-7336-590d-f148756f1213" - ], - "collection_name": "TMF Billing API", - "collection_id": "868bea3f-0615-9b78-9f3c-fe8d1a64f500", - "collection_owner": 0, - "write": true, - "owner": 0, - "collection": "e7b1e31e-a0f7-bdea-088b-fe9f95a0589e", - "collectionId": "e7b1e31e-a0f7-bdea-088b-fe9f95a0589e" - }, - { - "id": "6c16ac11-b30a-d9a2-00dd-08d65031dd7c", - "name": "customerBillingFormat", - "description": "", - "order": [ - "1c106f0a-7a04-a444-4ec9-fd8f231e90a6", - "2c8b30e4-6639-8ff1-dbad-d9ef3b21aa23" - ], - "collection_name": "TMF Billing API", - "collection_id": "868bea3f-0615-9b78-9f3c-fe8d1a64f500", - "collection_owner": 0, - "write": true, - "owner": 0, - "collection": "e7b1e31e-a0f7-bdea-088b-fe9f95a0589e", - "collectionId": "e7b1e31e-a0f7-bdea-088b-fe9f95a0589e" - }, - { - "id": "2957ca51-202d-58ff-006c-cee43e15a3f1", - "name": "event subscriber", - "description": "", - "order": [ - "77f739c8-a4f1-d573-56ca-c1859d0651d1", - "3f1207d4-6672-3323-a739-7e8fa973643b", - "0b0d7eba-52f6-0c91-2321-21a30fb40099" - ], - "collection_name": "TMF Billing API", - "collection_id": "868bea3f-0615-9b78-9f3c-fe8d1a64f500", - "collection_owner": 0, - "write": true, - "owner": 0, - "collection": "e7b1e31e-a0f7-bdea-088b-fe9f95a0589e", - "collectionId": "e7b1e31e-a0f7-bdea-088b-fe9f95a0589e" - }, - { - "id": "68a26eb6-72fd-b52b-ba1c-d1df5b05b3e3", - "name": "hub", - "description": "", - "write": true, - "order": [ - "1fbec69c-07c3-de6e-a966-eb0588c08328", - "b0961f50-84f5-27e3-5a1e-f7dd07c018b1", - "bcc80cb2-546c-d1e6-2c0d-b55534a4a85b", - "4d4281c3-290b-c86d-f820-94e34fcd810c" - ], - "collection_name": "TMF Billing API", - "collection_owner": 0, - "collection_id": "868bea3f-0615-9b78-9f3c-fe8d1a64f500", - "collection": "e7b1e31e-a0f7-bdea-088b-fe9f95a0589e", - "owner": 0 - }, - { - "id": "76949d15-5da5-861d-a839-0363b4d21f2a", - "name": "settlementNoteAdvice", - "description": "", - "order": [ - "1679c2f7-5650-2c03-d309-2ff9ed0d76c8", - "d7bebbd8-022a-9dba-a284-181c30beec46", - "55566a98-74ca-881f-1773-aadddf69e41f", - "a1f048df-765f-eade-bff4-7375cf15d8c9" - ], - "collection_name": "TMF Billing API", - "collection_id": "868bea3f-0615-9b78-9f3c-fe8d1a64f500", - "collection_owner": 0, - "write": true, - "owner": 0, - "collection": "e7b1e31e-a0f7-bdea-088b-fe9f95a0589e", - "collectionId": "e7b1e31e-a0f7-bdea-088b-fe9f95a0589e" - } - ], - "timestamp": 1427793344438, - "synced": false, - "owner": 0, - "sharedWithTeam": false, - "subscribed": false, - "remoteLink": "https://www.getpostman.com/collections/62a0c088801b4bc91ee7", - "public": false, - "write": true, - "requests": [ - { - "id": "0430f36b-db20-2ab7-a0eb-72ba5431b29e", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{billingManagementApi}}/appliedCustomerBillingCharge", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1427809427271, - "name": "/appliedCustomerBillingCharge", - "description": "select all appliedCustomerBillingCharge with no id", - "collectionId": "868bea3f-0615-9b78-9f3c-fe8d1a64f500", - "responses": [], - "synced": false, - "owner": 0, - "folder": "8ecc4f1f-a09b-7a5e-7493-6ad4ff2a3d6f" - }, - { - "id": "0b0d7eba-52f6-0c91-2321-21a30fb40099", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{billingManagementSubscriberApi}}/history", - "preRequestScript": "", - "pathVariables": {}, - "method": "DELETE", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1427803544232, - "name": "/history", - "description": "delete all", - "collectionId": "868bea3f-0615-9b78-9f3c-fe8d1a64f500", - "responses": [], - "synced": false, - "owner": 0, - "folder": "2957ca51-202d-58ff-006c-cee43e15a3f1", - "write": true - }, - { - "id": "0b6e2ad7-3587-f5cb-2df3-74095e8247c8", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{billingManagementApi}}/billingAccount/:id", - "preRequestScript": "", - "pathVariables": { - "id": "1" - }, - "method": "PATCH", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432743562057, - "name": "/billingAccount/{id}", - "description": "partial update of billingAccount with id", - "collectionId": "868bea3f-0615-9b78-9f3c-fe8d1a64f500", - "responses": [], - "synced": false, - "rawModeData": "{\r\n \"name\": \"my personal Billing Account PATCH\",\r\n \"state\": \"Pending_Update\"\r\n}\r\n", - "owner": 0, - "folder": "05e5374d-d2b5-16fc-0240-7dd3c348bb8d" - }, - { - "id": "1679c2f7-5650-2c03-d309-2ff9ed0d76c8", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{billingManagementApi}}/settlementNoteAdvice", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1427809785700, - "name": "/settlementNoteAdvice", - "description": "select all settlementNoteAdvice with no id", - "collectionId": "868bea3f-0615-9b78-9f3c-fe8d1a64f500", - "responses": [], - "synced": false, - "owner": 0, - "folder": "76949d15-5da5-861d-a839-0363b4d21f2a" - }, - { - "id": "1c106f0a-7a04-a444-4ec9-fd8f231e90a6", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{billingManagementApi}}/customerBillFormat", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1427810188303, - "name": "/customerBillFormat", - "description": "select all customerBillFormat with no id", - "collectionId": "868bea3f-0615-9b78-9f3c-fe8d1a64f500", - "responses": [], - "synced": false, - "owner": 0, - "folder": "6c16ac11-b30a-d9a2-00dd-08d65031dd7c" - }, - { - "id": "1fbec69c-07c3-de6e-a966-eb0588c08328", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{billingManagementApi}}/hub", - "preRequestScript": "", - "pathVariables": {}, - "method": "POST", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432743348941, - "name": "/hub", - "description": "create a hub", - "collectionId": "868bea3f-0615-9b78-9f3c-fe8d1a64f500", - "responses": [], - "synced": false, - "rawModeData": "{\n \"callback\":\"{{billingManagementSubscriberApi}}/event\"\n}", - "owner": 0, - "folder": "68a26eb6-72fd-b52b-ba1c-d1df5b05b3e3" - }, - { - "id": "25b1d677-bb80-cc00-db95-5025ca4f9dfe", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{billingManagementApi}}/appliedCustomerBillingCharge?fields=description,currencyCode", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1429708506101, - "name": "/appliedCustomerBillingCharge attribute selection", - "description": "select all appliedCustomerBillingCharge with no id", - "collectionId": "868bea3f-0615-9b78-9f3c-fe8d1a64f500", - "responses": [], - "synced": false, - "owner": 0, - "folder": "8ecc4f1f-a09b-7a5e-7493-6ad4ff2a3d6f" - }, - { - "id": "2c8b30e4-6639-8ff1-dbad-d9ef3b21aa23", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{billingManagementApi}}/customerBillFormat/:id", - "preRequestScript": "", - "pathVariables": { - "id": "" - }, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432037469298, - "name": "/customerBillFormat/{id}", - "description": "select a customerBillFormat with id", - "collectionId": "868bea3f-0615-9b78-9f3c-fe8d1a64f500", - "responses": [], - "synced": false, - "owner": 0, - "folder": "6c16ac11-b30a-d9a2-00dd-08d65031dd7c" - }, - { - "id": "3f1207d4-6672-3323-a739-7e8fa973643b", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{billingManagementSubscriberApi}}/history", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1427803534061, - "name": "/history", - "description": "List all", - "collectionId": "868bea3f-0615-9b78-9f3c-fe8d1a64f500", - "responses": [], - "synced": false, - "owner": 0, - "folder": "2957ca51-202d-58ff-006c-cee43e15a3f1", - "write": true - }, - { - "id": "4795ae57-c713-ec20-6c84-f9aefa9e2894", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{billingManagementApi}}/appliedCustomerBillingCharge/?type=recurring", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1429708555283, - "name": "/appliedCustomerBillingCharge attribute filtering", - "description": "select all appliedCustomerBillingCharge with no id", - "collectionId": "868bea3f-0615-9b78-9f3c-fe8d1a64f500", - "responses": [], - "synced": false, - "owner": 0, - "folder": "8ecc4f1f-a09b-7a5e-7493-6ad4ff2a3d6f" - }, - { - "id": "4d4281c3-290b-c86d-f820-94e34fcd810c", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{billingManagementApi}}/hub/:id", - "preRequestScript": "", - "pathVariables": { - "id": "" - }, - "method": "DELETE", - "dataMode": "binary", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1429629228219, - "name": "/hub/{id}", - "description": "delete hub by id", - "collectionId": "868bea3f-0615-9b78-9f3c-fe8d1a64f500", - "responses": [], - "write": true, - "folder": "68a26eb6-72fd-b52b-ba1c-d1df5b05b3e3", - "synced": false, - "owner": 0 - }, - { - "id": "55566a98-74ca-881f-1773-aadddf69e41f", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{billingManagementApi}}/settlementNoteAdvice/?fields=taxExcludedAmount,description", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1429793282489, - "name": "/settlementNoteAdvice attribute selection copy", - "description": "retrieve settlementNoteAdvice collections no id", - "collectionId": "868bea3f-0615-9b78-9f3c-fe8d1a64f500", - "responses": [], - "synced": false, - "owner": 0, - "folder": "76949d15-5da5-861d-a839-0363b4d21f2a" - }, - { - "id": "61f80423-73fe-4c47-506b-e4f6bbd3a5a7", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{billingManagementApi}}/appliedCustomerBillingCharge/:id", - "preRequestScript": "", - "pathVariables": { - "id": "1" - }, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1429708412772, - "name": "/appliedCustomerBillingCharge/{id}", - "description": "select a appliedCustomerBillingCharge with id", - "collectionId": "868bea3f-0615-9b78-9f3c-fe8d1a64f500", - "responses": [], - "synced": false, - "owner": 0, - "folder": "8ecc4f1f-a09b-7a5e-7493-6ad4ff2a3d6f" - }, - { - "id": "70cf3707-ae0b-d9dd-3ad7-4e52236cd5f4", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{billingManagementApi}}/billingAccount", - "preRequestScript": "", - "pathVariables": {}, - "method": "POST", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "tests[\"Status code is 201\"] = responseCode.code === 201;\ntests[\"Body does not contain Hjid\"] = !responseBody.has(\"Hjid\");", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432743153041, - "name": "/billingAccount", - "description": "create a billingAccount", - "collectionId": "868bea3f-0615-9b78-9f3c-fe8d1a64f500", - "responses": [], - "synced": false, - "rawModeData": "{\r\n \"ratingType\": \"postpaid\",\r\n \"name\": \"my personal Billing Account\",\r\n \"state\": \"Defined\",\r\n \"validFor\": {\r\n \"startPeriod\": \"2016-04-19T16:42:23.0Z\"\r\n },\r\n \"customerAccount\": {\r\n \"id\" : \"15\",\r\n \"href\": \"http://serverlocation:port/customerManagement/customerAccount/15\",\r\n \"name\": \"Customer Account xxx\"\r\n },\r\n \"customerBillingCycleSpecification\": {\r\n \"href\": \"http://server:port/billingManagement/customerbillingCycleSpecification/26\",\r\n \"name\": \"Monthly billing on the 15\"\r\n },\r\n \"customerBillFormat\": {\r\n \"href\": \"http://serverlocation:port/billingManagement/customerBillFormat/23\",\r\n \"name\": \"Detailed invoice\"\r\n },\r\n \"customerBillPresentationMedia\": {\r\n \"href\": \"http://serverlocation:port/billingManagement/customerBillPresentationMedia/25\",\r\n \"name\": \"Electronic invoice\"\r\n },\r\n \"currency\": {\r\n \"currencyCode\": \"EUR\"\r\n },\r\n \"billingAccountBalance\": [\r\n {\r\n \"type\": \"ReceivableBalance\",\r\n \"amount\": 52.3,\r\n \"validFor\": {\r\n \"startPeriod\": \"2013-04-19T16:42:23.0Z\",\r\n \"endPeriod\": \"2013-06-19T00:00:00.0Z\"\r\n },\r\n \"status\": \"Due\"\r\n }\r\n ],\r\n \"relatedParty\": [\r\n {\r\n \"id\": \"1\",\r\n \"href\": \"http://serverlocation:port/partyManagement/partyRole/1\",\r\n \"role\": \"bill receiver\"\r\n },\r\n {\r\n \"id\": \"5\",\r\n \"href\": \"http://serverlocation:port/partyManagement/partyRole/5\",\r\n \"role\": \"bill responsible\"\r\n }\r\n ],\r\n \"paymentMean\": {\r\n \"id\": \"45\",\r\n \"href\": \"http://serverlocation:port/customerManagement/paymentMean/45\",\r\n \"name\": \"my favourite payment mean\"\r\n }\r\n}\r\n", - "owner": 0, - "folder": "05e5374d-d2b5-16fc-0240-7dd3c348bb8d" - }, - { - "id": "77f739c8-a4f1-d573-56ca-c1859d0651d1", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{billingManagementSubscriberApi}}/current", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1427803517376, - "name": "/current", - "description": "get last event", - "collectionId": "868bea3f-0615-9b78-9f3c-fe8d1a64f500", - "responses": [], - "synced": false, - "owner": 0, - "folder": "2957ca51-202d-58ff-006c-cee43e15a3f1", - "write": true - }, - { - "id": "79015af0-d46a-5a90-8450-d34a2a32079d", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{billingManagementApi}}/customerBillingCycleSpecification", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1427810103522, - "name": "/customerBillingCycleSpecification", - "description": "select all customerBillingCycleSpecification with no id", - "collectionId": "868bea3f-0615-9b78-9f3c-fe8d1a64f500", - "responses": [], - "synced": false, - "owner": 0, - "folder": "77e25338-330b-079f-ce5d-1c0e1acac684" - }, - { - "id": "7e6d5204-7880-dd90-b506-a9883a3de2da", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{billingManagementApi}}/billingAccount", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "tests[\"Status code is 200\"] = responseCode.code === 200;\n\n\ntests[\"Body does not contain Hjid\"] = !responseBody.has(\"Hjid\");", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1431942041481, - "name": "/billingAccount", - "description": "retrieve billingAccount collections no id", - "collectionId": "868bea3f-0615-9b78-9f3c-fe8d1a64f500", - "responses": [], - "synced": false, - "owner": 0, - "folder": "05e5374d-d2b5-16fc-0240-7dd3c348bb8d" - }, - { - "id": "8027ce1d-a1b7-bf56-e771-8d3150bab2c4", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{billingManagementApi}}/billingAccount/:id", - "preRequestScript": "", - "pathVariables": { - "id": "1" - }, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "tests[\"Status code is 200\"] = responseCode.code === 200;\n\n\ntests[\"Body does not contain Hjid\"] = !responseBody.has(\"Hjid\");\n\nvar bodyData = JSON.parse(responseBody);\ntests[\"Response id=1\"] = bodyData.id === 1;", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1431953754970, - "name": "/billingAccount/{id}", - "description": "select one billingAccount with id", - "collectionId": "868bea3f-0615-9b78-9f3c-fe8d1a64f500", - "responses": [], - "synced": false, - "owner": 0, - "folder": "05e5374d-d2b5-16fc-0240-7dd3c348bb8d" - }, - { - "id": "94fd5a81-526b-c4e0-eeec-67916809465c", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{billingManagementApi}}/customerBillPresentationMedia", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1427810299512, - "name": "/customerBillPresentationMedia", - "description": "select all customerBillPresentationMedia with no id", - "collectionId": "868bea3f-0615-9b78-9f3c-fe8d1a64f500", - "responses": [], - "synced": false, - "owner": 0, - "folder": "5a4f9b8b-f092-7586-65c3-2c1f8b510ef1" - }, - { - "id": "a1f048df-765f-eade-bff4-7375cf15d8c9", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{billingManagementApi}}/settlementNoteAdvice/?currencyCode=EUR", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1429793369887, - "name": "/settlementNoteAdvice attribute filtering", - "description": "retrieve settlementNoteAdvice collections no id", - "collectionId": "868bea3f-0615-9b78-9f3c-fe8d1a64f500", - "responses": [], - "synced": false, - "owner": 0, - "folder": "76949d15-5da5-861d-a839-0363b4d21f2a" - }, - { - "id": "b0961f50-84f5-27e3-5a1e-f7dd07c018b1", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{billingManagementApi}}/hub", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1427803478440, - "name": "/hub", - "description": "select all hubs", - "collectionId": "868bea3f-0615-9b78-9f3c-fe8d1a64f500", - "responses": [], - "synced": false, - "owner": 0, - "folder": "68a26eb6-72fd-b52b-ba1c-d1df5b05b3e3", - "write": true - }, - { - "id": "b77c0048-016b-de0e-3e67-37592f692458", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{billingManagementApi}}/appliedCustomerBillingCharge", - "preRequestScript": "", - "pathVariables": {}, - "method": "POST", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1431956984816, - "name": "/appliedCustomerBillingCharge", - "description": "create a appliedCustomerBillingCharge", - "collectionId": "868bea3f-0615-9b78-9f3c-fe8d1a64f500", - "responses": [], - "synced": false, - "rawModeData": "{\r\n \"date\": \"2013-04-19T16:42:23.0Z\",\r\n \"description\": \"Partner Premium monthly fee\",\r\n \"type\": \"recurring\",\r\n \"currencyCode\": \"USD\",\r\n \"taxIncludedAmount\": 2.4,\r\n \"taxExcludedAmount\": 2,\r\n \"appliedCustomerBillingTaxRate\": [\r\n {\r\n \"amount\": 0.4,\r\n \"taxCategory\": \"VAT\"\r\n }\r\n ],\r\n \"serviceId\": [\r\n {\r\n \"id\": \"0601020304\",\r\n \"type\": \"Mobile number\"\r\n }\r\n ],\r\n \"productSpecification\": [\r\n {\r\n \"name\": \"Partner Premium\",\r\n \"productNumber\": \"P001\"\r\n }\r\n ],\r\n \"period\": [\r\n {\r\n \"startPeriod\": \"2013-10-01T00:00:00.0Z\",\r\n \"endPeriod\": \"2013-10-31T00:00:00.0Z\"\r\n }\r\n ]\r\n}\r\n", - "owner": 0, - "folder": "8ecc4f1f-a09b-7a5e-7493-6ad4ff2a3d6f" - }, - { - "id": "badb3619-4826-7336-590d-f148756f1213", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{billingManagementApi}}/customerBillingCycleSpecification/:id", - "preRequestScript": "", - "pathVariables": { - "id": "" - }, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432037463852, - "name": "/customerBillingCycleSpecification/{id}", - "description": "select a customerBillingCycleSpecification with id", - "collectionId": "868bea3f-0615-9b78-9f3c-fe8d1a64f500", - "responses": [], - "synced": false, - "owner": 0, - "folder": "77e25338-330b-079f-ce5d-1c0e1acac684" - }, - { - "id": "bcc80cb2-546c-d1e6-2c0d-b55534a4a85b", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{billingManagementAdminApi}}/hub/:id", - "preRequestScript": "", - "pathVariables": { - "id": "" - }, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1429782120371, - "name": "/hub/{id}", - "description": "select hub by id", - "collectionId": "868bea3f-0615-9b78-9f3c-fe8d1a64f500", - "responses": [], - "synced": false, - "owner": 0, - "folder": "68a26eb6-72fd-b52b-ba1c-d1df5b05b3e3", - "write": true - }, - { - "id": "bd4eda52-6f50-f070-0ebf-d238a81eaab9", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{billingManagementApi}}/customerBillPresentationMedia/:id", - "preRequestScript": "", - "pathVariables": { - "id": "" - }, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432037457322, - "name": "/customerBillPresentationMedia/{id}", - "description": "select a customerBillPresentationMedia with id id", - "collectionId": "868bea3f-0615-9b78-9f3c-fe8d1a64f500", - "responses": [], - "synced": false, - "owner": 0, - "folder": "5a4f9b8b-f092-7586-65c3-2c1f8b510ef1" - }, - { - "id": "d11ca588-89f7-ffac-09dc-aadf68884972", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{billingManagementApi}}/billingAccount/?fields=name,state,billingAccountBalance.amount", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "tests[\"Status code is 200\"] = responseCode.code === 200;\n\ntests[\"Body does not contain Hjid\"] = !responseBody.has(\"Hjid\");\n\ntests[\"Body contains field 'name'\"] = responseBody.has(\"name\");\ntests[\"Body contains field 'state'\"] = responseBody.has(\"state\");\ntests[\"Body contains field 'amount'\"] = responseBody.has(\"amount\");", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1431951255521, - "name": "/billingAccount attribute selection", - "description": "retrieve billingAccount collections no id", - "collectionId": "868bea3f-0615-9b78-9f3c-fe8d1a64f500", - "responses": [], - "synced": false, - "owner": 0, - "folder": "05e5374d-d2b5-16fc-0240-7dd3c348bb8d" - }, - { - "id": "d7bebbd8-022a-9dba-a284-181c30beec46", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{billingManagementApi}}/settlementNoteAdvice/:id", - "preRequestScript": "", - "pathVariables": { - "id": "" - }, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1427809862219, - "name": "/settlementNoteAdvice/{id}", - "description": "select a appliedCustomerBillingCharge with id", - "collectionId": "868bea3f-0615-9b78-9f3c-fe8d1a64f500", - "responses": [], - "synced": false, - "owner": 0, - "folder": "76949d15-5da5-861d-a839-0363b4d21f2a" - }, - { - "id": "fb27b56f-94ca-5cb6-c323-848b2b698195", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{billingManagementApi}}/billingAccount/?state=Defined,Active", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "tests[\"Status code is 200\"] = responseCode.code === 200;\n\n\ntests[\"Body does not contain Hjid\"] = !responseBody.has(\"Hjid\");\n\nvar bodyData = JSON.parse(responseBody);\ntests[\"Response contains state Defined\"] = (bodyData[0].state === \"Defined\" || bodyData[1].state === \"Defined\");\ntests[\"Response contains state Active\"] = (bodyData[0].state === \"Active\" || bodyData[1].state === \"Active\");", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1431953700340, - "name": "/billingAccount attribute filtering", - "description": "retrieve billingAccount collections no id", - "collectionId": "868bea3f-0615-9b78-9f3c-fe8d1a64f500", - "responses": [], - "synced": false, - "owner": 0, - "folder": "05e5374d-d2b5-16fc-0240-7dd3c348bb8d" - } - ] + "info": { + "_postman_id": "868bea3f-0615-9b78-9f3c-fe8d1a64f500", + "name": "TMF Billing API", + "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" + }, + "item": [ + { + "name": "appliedCustomerBillingCharge", + "item": [ + { + "name": "/appliedCustomerBillingCharge", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{billingManagementApi}}/appliedCustomerBillingCharge", + "description": "select all appliedCustomerBillingCharge with no id" + }, + "response": [] + }, + { + "name": "/appliedCustomerBillingCharge attribute selection", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{billingManagementApi}}/appliedCustomerBillingCharge?fields=description,currencyCode", + "host": [ + "{{billingManagementApi}}" + ], + "path": [ + "appliedCustomerBillingCharge" + ], + "query": [ + { + "key": "fields", + "value": "description,currencyCode" + } + ] + }, + "description": "select all appliedCustomerBillingCharge with no id" + }, + "response": [] + }, + { + "name": "/appliedCustomerBillingCharge attribute filtering", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{billingManagementApi}}/appliedCustomerBillingCharge/?type=recurring", + "host": [ + "{{billingManagementApi}}" + ], + "path": [ + "appliedCustomerBillingCharge", + "" + ], + "query": [ + { + "key": "type", + "value": "recurring" + } + ] + }, + "description": "select all appliedCustomerBillingCharge with no id" + }, + "response": [] + }, + { + "name": "/appliedCustomerBillingCharge/{id}", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{billingManagementApi}}/appliedCustomerBillingCharge/:id", + "host": [ + "{{billingManagementApi}}" + ], + "path": [ + "appliedCustomerBillingCharge", + ":id" + ], + "variable": [ + { + "value": "1", + "key": "id" + } + ] + }, + "description": "select a appliedCustomerBillingCharge with id" + }, + "response": [] + }, + { + "name": "/appliedCustomerBillingCharge", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"date\": \"2013-04-19T16:42:23.0Z\",\r\n \"description\": \"Partner Premium monthly fee\",\r\n \"type\": \"recurring\",\r\n \"currencyCode\": \"USD\",\r\n \"taxIncludedAmount\": 2.4,\r\n \"taxExcludedAmount\": 2,\r\n \"appliedCustomerBillingTaxRate\": [\r\n {\r\n \"amount\": 0.4,\r\n \"taxCategory\": \"VAT\"\r\n }\r\n ],\r\n \"serviceId\": [\r\n {\r\n \"id\": \"0601020304\",\r\n \"type\": \"Mobile number\"\r\n }\r\n ],\r\n \"productSpecification\": [\r\n {\r\n \"name\": \"Partner Premium\",\r\n \"productNumber\": \"P001\"\r\n }\r\n ],\r\n \"period\": [\r\n {\r\n \"startPeriod\": \"2013-10-01T00:00:00.0Z\",\r\n \"endPeriod\": \"2013-10-31T00:00:00.0Z\"\r\n }\r\n ]\r\n}\r\n" + }, + "url": "{{billingManagementApi}}/appliedCustomerBillingCharge", + "description": "create a appliedCustomerBillingCharge" + }, + "response": [] + } + ] + }, + { + "name": "billingAccount", + "item": [ + { + "name": "/billingAccount", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "tests[\"Status code is 200\"] = responseCode.code === 200;", + "", + "", + "tests[\"Body does not contain Hjid\"] = !responseBody.has(\"Hjid\");" + ] + } + } + ], + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{billingManagementApi}}/billingAccount", + "description": "retrieve billingAccount collections no id" + }, + "response": [] + }, + { + "name": "/billingAccount/{id}", + "request": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"name\": \"my personal Billing Account PATCH\",\r\n \"state\": \"Pending_Update\"\r\n}\r\n" + }, + "url": { + "raw": "{{billingManagementApi}}/billingAccount/:id", + "host": [ + "{{billingManagementApi}}" + ], + "path": [ + "billingAccount", + ":id" + ], + "variable": [ + { + "value": "1", + "key": "id" + } + ] + }, + "description": "partial update of billingAccount with id" + }, + "response": [] + }, + { + "name": "/billingAccount attribute selection", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "tests[\"Status code is 200\"] = responseCode.code === 200;", + "", + "tests[\"Body does not contain Hjid\"] = !responseBody.has(\"Hjid\");", + "", + "tests[\"Body contains field 'name'\"] = responseBody.has(\"name\");", + "tests[\"Body contains field 'state'\"] = responseBody.has(\"state\");", + "tests[\"Body contains field 'amount'\"] = responseBody.has(\"amount\");" + ] + } + } + ], + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{billingManagementApi}}/billingAccount/?fields=name,state,billingAccountBalance.amount", + "host": [ + "{{billingManagementApi}}" + ], + "path": [ + "billingAccount", + "" + ], + "query": [ + { + "key": "fields", + "value": "name,state,billingAccountBalance.amount" + } + ] + }, + "description": "retrieve billingAccount collections no id" + }, + "response": [] + }, + { + "name": "/billingAccount attribute filtering", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "tests[\"Status code is 200\"] = responseCode.code === 200;", + "", + "", + "tests[\"Body does not contain Hjid\"] = !responseBody.has(\"Hjid\");", + "", + "var bodyData = JSON.parse(responseBody);", + "tests[\"Response contains state Defined\"] = (bodyData[0].state === \"Defined\" || bodyData[1].state === \"Defined\");", + "tests[\"Response contains state Active\"] = (bodyData[0].state === \"Active\" || bodyData[1].state === \"Active\");" + ] + } + } + ], + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{billingManagementApi}}/billingAccount/?state=Defined,Active", + "host": [ + "{{billingManagementApi}}" + ], + "path": [ + "billingAccount", + "" + ], + "query": [ + { + "key": "state", + "value": "Defined,Active" + } + ] + }, + "description": "retrieve billingAccount collections no id" + }, + "response": [] + }, + { + "name": "/billingAccount/{id}", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "tests[\"Status code is 200\"] = responseCode.code === 200;", + "", + "", + "tests[\"Body does not contain Hjid\"] = !responseBody.has(\"Hjid\");", + "", + "var bodyData = JSON.parse(responseBody);", + "tests[\"Response id=1\"] = bodyData.id === 1;" + ] + } + } + ], + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{billingManagementApi}}/billingAccount/:id", + "host": [ + "{{billingManagementApi}}" + ], + "path": [ + "billingAccount", + ":id" + ], + "variable": [ + { + "value": "1", + "key": "id" + } + ] + }, + "description": "select one billingAccount with id" + }, + "response": [] + }, + { + "name": "/billingAccount", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "tests[\"Status code is 201\"] = responseCode.code === 201;", + "tests[\"Body does not contain Hjid\"] = !responseBody.has(\"Hjid\");" + ] + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"ratingType\": \"postpaid\",\r\n \"name\": \"my personal Billing Account\",\r\n \"state\": \"Defined\",\r\n \"validFor\": {\r\n \"startPeriod\": \"2016-04-19T16:42:23.0Z\"\r\n },\r\n \"customerAccount\": {\r\n \"id\" : \"15\",\r\n \"href\": \"http://serverlocation:port/customerManagement/customerAccount/15\",\r\n \"name\": \"Customer Account xxx\"\r\n },\r\n \"customerBillingCycleSpecification\": {\r\n \"href\": \"http://server:port/billingManagement/customerbillingCycleSpecification/26\",\r\n \"name\": \"Monthly billing on the 15\"\r\n },\r\n \"customerBillFormat\": {\r\n \"href\": \"http://serverlocation:port/billingManagement/customerBillFormat/23\",\r\n \"name\": \"Detailed invoice\"\r\n },\r\n \"customerBillPresentationMedia\": {\r\n \"href\": \"http://serverlocation:port/billingManagement/customerBillPresentationMedia/25\",\r\n \"name\": \"Electronic invoice\"\r\n },\r\n \"currency\": {\r\n \"currencyCode\": \"EUR\"\r\n },\r\n \"billingAccountBalance\": [\r\n {\r\n \"type\": \"ReceivableBalance\",\r\n \"amount\": 52.3,\r\n \"validFor\": {\r\n \"startPeriod\": \"2013-04-19T16:42:23.0Z\",\r\n \"endPeriod\": \"2013-06-19T00:00:00.0Z\"\r\n },\r\n \"status\": \"Due\"\r\n }\r\n ],\r\n \"relatedParty\": [\r\n {\r\n \"id\": \"1\",\r\n \"href\": \"http://serverlocation:port/partyManagement/partyRole/1\",\r\n \"role\": \"bill receiver\"\r\n },\r\n {\r\n \"id\": \"5\",\r\n \"href\": \"http://serverlocation:port/partyManagement/partyRole/5\",\r\n \"role\": \"bill responsible\"\r\n }\r\n ],\r\n \"paymentMean\": {\r\n \"id\": \"45\",\r\n \"href\": \"http://serverlocation:port/customerManagement/paymentMean/45\",\r\n \"name\": \"my favourite payment mean\"\r\n }\r\n}\r\n" + }, + "url": "{{billingManagementApi}}/billingAccount", + "description": "create a billingAccount" + }, + "response": [] + } + ] + }, + { + "name": "customerBillPresentationMedia", + "item": [ + { + "name": "/customerBillPresentationMedia", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{billingManagementApi}}/customerBillPresentationMedia", + "description": "select all customerBillPresentationMedia with no id" + }, + "response": [] + }, + { + "name": "/customerBillPresentationMedia/{id}", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{billingManagementApi}}/customerBillPresentationMedia/:id", + "host": [ + "{{billingManagementApi}}" + ], + "path": [ + "customerBillPresentationMedia", + ":id" + ], + "variable": [ + { + "value": "", + "key": "id" + } + ] + }, + "description": "select a customerBillPresentationMedia with id id" + }, + "response": [] + } + ] + }, + { + "name": "customerBillingCycleSpecification", + "item": [ + { + "name": "/customerBillingCycleSpecification", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{billingManagementApi}}/customerBillingCycleSpecification", + "description": "select all customerBillingCycleSpecification with no id" + }, + "response": [] + }, + { + "name": "/customerBillingCycleSpecification/{id}", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{billingManagementApi}}/customerBillingCycleSpecification/:id", + "host": [ + "{{billingManagementApi}}" + ], + "path": [ + "customerBillingCycleSpecification", + ":id" + ], + "variable": [ + { + "value": "", + "key": "id" + } + ] + }, + "description": "select a customerBillingCycleSpecification with id" + }, + "response": [] + } + ] + }, + { + "name": "customerBillingFormat", + "item": [ + { + "name": "/customerBillFormat", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{billingManagementApi}}/customerBillFormat", + "description": "select all customerBillFormat with no id" + }, + "response": [] + }, + { + "name": "/customerBillFormat/{id}", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{billingManagementApi}}/customerBillFormat/:id", + "host": [ + "{{billingManagementApi}}" + ], + "path": [ + "customerBillFormat", + ":id" + ], + "variable": [ + { + "value": "", + "key": "id" + } + ] + }, + "description": "select a customerBillFormat with id" + }, + "response": [] + } + ] + }, + { + "name": "event subscriber", + "item": [ + { + "name": "/current", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{billingManagementSubscriberApi}}/current", + "description": "get last event" + }, + "response": [] + }, + { + "name": "/history", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{billingManagementSubscriberApi}}/history", + "description": "List all" + }, + "response": [] + }, + { + "name": "/history", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{billingManagementSubscriberApi}}/history", + "description": "delete all" + }, + "response": [] + } + ] + }, + { + "name": "hub", + "item": [ + { + "name": "/hub", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"callback\":\"{{billingManagementSubscriberApi}}/event\"\n}" + }, + "url": "{{billingManagementApi}}/hub", + "description": "create a hub" + }, + "response": [] + }, + { + "name": "/hub", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{billingManagementApi}}/hub", + "description": "select all hubs" + }, + "response": [] + }, + { + "name": "/hub/{id}", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{billingManagementAdminApi}}/hub/:id", + "host": [ + "{{billingManagementAdminApi}}" + ], + "path": [ + "hub", + ":id" + ], + "variable": [ + { + "value": "", + "key": "id" + } + ] + }, + "description": "select hub by id" + }, + "response": [] + }, + { + "name": "/hub/{id}", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "file", + "file": {} + }, + "url": { + "raw": "{{billingManagementApi}}/hub/:id", + "host": [ + "{{billingManagementApi}}" + ], + "path": [ + "hub", + ":id" + ], + "variable": [ + { + "value": "", + "key": "id" + } + ] + }, + "description": "delete hub by id" + }, + "response": [] + } + ] + }, + { + "name": "settlementNoteAdvice", + "item": [ + { + "name": "/settlementNoteAdvice", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{billingManagementApi}}/settlementNoteAdvice", + "description": "select all settlementNoteAdvice with no id" + }, + "response": [] + }, + { + "name": "/settlementNoteAdvice/{id}", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{billingManagementApi}}/settlementNoteAdvice/:id", + "host": [ + "{{billingManagementApi}}" + ], + "path": [ + "settlementNoteAdvice", + ":id" + ], + "variable": [ + { + "value": "", + "key": "id" + } + ] + }, + "description": "select a appliedCustomerBillingCharge with id" + }, + "response": [] + }, + { + "name": "/settlementNoteAdvice attribute selection copy", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{billingManagementApi}}/settlementNoteAdvice/?fields=taxExcludedAmount,description", + "host": [ + "{{billingManagementApi}}" + ], + "path": [ + "settlementNoteAdvice", + "" + ], + "query": [ + { + "key": "fields", + "value": "taxExcludedAmount,description" + } + ] + }, + "description": "retrieve settlementNoteAdvice collections no id" + }, + "response": [] + }, + { + "name": "/settlementNoteAdvice attribute filtering", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{billingManagementApi}}/settlementNoteAdvice/?currencyCode=EUR", + "host": [ + "{{billingManagementApi}}" + ], + "path": [ + "settlementNoteAdvice", + "" + ], + "query": [ + { + "key": "currencyCode", + "value": "EUR" + } + ] + }, + "description": "retrieve settlementNoteAdvice collections no id" + }, + "response": [] + } + ] + } + ] } \ No newline at end of file diff --git a/TMFCustomerManagementAPI.json.postman_collection b/TMFCustomerManagementAPI.json.postman_collection index 2324260..6ae6f2e 100644 --- a/TMFCustomerManagementAPI.json.postman_collection +++ b/TMFCustomerManagementAPI.json.postman_collection @@ -1,676 +1,890 @@ { - "id": "c4a61e6c-d082-2c3a-1649-9589bcff18b5", - "name": "TMF Customer Management API", - "description": "", - "order": [], - "folders": [ - { - "id": "038fb1fb-1cd4-8c0f-5060-efc8ce0c131f", - "name": "customerAccount", - "description": "", - "order": [ - "551863e0-41a9-8818-1c60-96b12ddc05fd", - "166f0d48-6b1c-b1af-50a9-0f80bf319151", - "9db98ee1-1612-8f0b-7ecc-6b02a9be0114", - "8d7fa4fc-f335-2c29-7287-2c2808b274a2", - "06d416e7-0323-f157-7e3e-7509e29953f0" - ], - "collection_name": "TMF Customer Management API", - "collection_id": "c4a61e6c-d082-2c3a-1649-9589bcff18b5", - "collection_owner": 0, - "write": true, - "owner": 0, - "collection": "daa491e3-78f9-0e06-1c01-e74a30d8aa55", - "collectionId": "daa491e3-78f9-0e06-1c01-e74a30d8aa55" - }, - { - "id": "ea021e1e-6545-69ef-fa8e-9a28721e674d", - "name": "customer", - "description": "", - "order": [ - "14101d14-fc1d-4a75-41a2-9418445e3d22", - "a36b8acb-522f-5061-264a-c5e9caa6adc6", - "cb67b83c-c9bd-8fe5-a9e6-0c6a804a5f36", - "6a919f2a-fd5d-77bf-f3c6-04055b373cbd", - "ef778639-845f-ffbf-427c-bfa442c2f015", - "4fc52b72-ecee-ee37-a6d0-cee9cc026dc8", - "cd5433bd-21b3-7b26-5799-9b9f706bbaca" - ], - "collection_name": "TMF Customer Management API", - "collection_id": "c4a61e6c-d082-2c3a-1649-9589bcff18b5", - "collection_owner": 0, - "write": true, - "owner": 0, - "collection": "daa491e3-78f9-0e06-1c01-e74a30d8aa55", - "collectionId": "daa491e3-78f9-0e06-1c01-e74a30d8aa55" - }, - { - "id": "907bd345-cd65-1985-8da8-d53541be6e4c", - "name": "event subscriber", - "description": "", - "order": [ - "1d4b1886-35a3-a4c9-d31f-5ea78fd7b26c", - "ac27c97c-aaa4-61e6-23c6-9e03c1212da6", - "7a6ee8f2-65aa-6b22-7094-f51112464180" - ], - "collection_name": "TMF Customer Management API", - "collection_id": "c4a61e6c-d082-2c3a-1649-9589bcff18b5", - "collection_owner": 0, - "write": true, - "owner": 0, - "collection": "daa491e3-78f9-0e06-1c01-e74a30d8aa55", - "collectionId": "daa491e3-78f9-0e06-1c01-e74a30d8aa55" - }, - { - "id": "3ebe07fc-678b-81ec-77e4-ffb6c52fda8b", - "name": "hub", - "description": "", - "write": true, - "order": [ - "f9637c96-d110-5726-0fd8-f6ca4b2738a7", - "3676b743-1fc5-b711-580b-09174a1b3c1a", - "2a070b07-b292-a9c4-bb58-be8428428cc6", - "e04ec639-0033-3e73-4778-96becd4d6e8e" - ], - "collection_name": "TMF Customer Management API", - "collection_owner": 0, - "collection_id": "c4a61e6c-d082-2c3a-1649-9589bcff18b5", - "collection": "daa491e3-78f9-0e06-1c01-e74a30d8aa55", - "owner": 0, - "collectionId": "daa491e3-78f9-0e06-1c01-e74a30d8aa55" - }, - { - "id": "1ff90f1e-bbb0-c9c8-9792-443fb6c5796c", - "name": "paymentMean", - "description": "", - "order": [ - "f8c36753-5c1a-cb99-6b14-b29b3e0ff595", - "7fb0020f-1f93-c3bb-4509-55b7f1a0aa54", - "59fa3682-109d-2075-f4d8-4dbd5892101f", - "d07f6ac3-6b26-8bb3-1664-1d67d26bb410", - "6c008816-9b2a-4d7c-5df8-45e1a688d1a9" - ], - "collection_name": "TMF Customer Management API", - "collection_id": "c4a61e6c-d082-2c3a-1649-9589bcff18b5", - "collection_owner": 0, - "write": true, - "owner": 0, - "collection": "daa491e3-78f9-0e06-1c01-e74a30d8aa55", - "collectionId": "daa491e3-78f9-0e06-1c01-e74a30d8aa55" - } - ], - "timestamp": 1426256907353, - "synced": false, - "owner": 0, - "sharedWithTeam": false, - "subscribed": false, - "remoteLink": "https://www.getpostman.com/collections/17a0cd6daca5dcd3efa7", - "public": false, - "write": true, - "requests": [ - { - "id": "06d416e7-0323-f157-7e3e-7509e29953f0", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{customerManagementApi}}/customerAccount/:id", - "preRequestScript": "", - "pathVariables": { - "id": "1" - }, - "method": "DELETE", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1426491090540, - "name": "/customerAccount/{id}", - "description": "Delete one customerAccount with id", - "collectionId": "c4a61e6c-d082-2c3a-1649-9589bcff18b5", - "responses": [], - "synced": false, - "rawModeData": "", - "owner": 0, - "folder": "038fb1fb-1cd4-8c0f-5060-efc8ce0c131f" - }, - { - "id": "14101d14-fc1d-4a75-41a2-9418445e3d22", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{customerManagementApi}}/customer", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "tests[\"Status code is 200\"] = responseCode.code === 200;", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432019006880, - "name": "/customer", - "description": "retrieve a collection of customers", - "collectionId": "c4a61e6c-d082-2c3a-1649-9589bcff18b5", - "responses": [], - "synced": false, - "owner": 0, - "folder": "ea021e1e-6545-69ef-fa8e-9a28721e674d" - }, - { - "id": "166f0d48-6b1c-b1af-50a9-0f80bf319151", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{customerManagementApi}}/customerAccount/:id", - "preRequestScript": "", - "pathVariables": { - "id": "37" - }, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1427186517833, - "name": "/customerAccount/{id}", - "description": "select one customerAccount with id", - "collectionId": "c4a61e6c-d082-2c3a-1649-9589bcff18b5", - "responses": [], - "synced": false, - "owner": 0, - "folder": "038fb1fb-1cd4-8c0f-5060-efc8ce0c131f" - }, - { - "id": "1d4b1886-35a3-a4c9-d31f-5ea78fd7b26c", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{customerManagementSubscriberApi}}/current", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1426259141202, - "name": "/current", - "description": "get last event", - "collectionId": "c4a61e6c-d082-2c3a-1649-9589bcff18b5", - "responses": [], - "synced": false, - "owner": 0, - "folder": "907bd345-cd65-1985-8da8-d53541be6e4c", - "write": true - }, - { - "id": "2a070b07-b292-a9c4-bb58-be8428428cc6", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{customerManagementApi}}/hub/:id", - "preRequestScript": "", - "pathVariables": { - "id": "" - }, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432221659995, - "name": "/hub/:{id}", - "description": "select one hub", - "collectionId": "c4a61e6c-d082-2c3a-1649-9589bcff18b5", - "responses": [], - "synced": false, - "owner": 0, - "folder": "3ebe07fc-678b-81ec-77e4-ffb6c52fda8b" - }, - { - "id": "3676b743-1fc5-b711-580b-09174a1b3c1a", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{customerManagementApi}}/hub", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1429710006703, - "name": "/hub", - "description": "select all hubs", - "collectionId": "c4a61e6c-d082-2c3a-1649-9589bcff18b5", - "responses": [], - "write": true, - "folder": "3ebe07fc-678b-81ec-77e4-ffb6c52fda8b", - "synced": false, - "owner": 0 - }, - { - "id": "4fc52b72-ecee-ee37-a6d0-cee9cc026dc8", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{customerManagementApi}}/customer/:id", - "preRequestScript": "", - "pathVariables": { - "id": "1" - }, - "method": "PATCH", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "tests[\"Status code is 200\"] = responseCode.code === 200;", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432019002309, - "name": "/customer/{id}", - "description": "partial update of customer with id", - "collectionId": "c4a61e6c-d082-2c3a-1649-9589bcff18b5", - "responses": [], - "synced": false, - "rawModeData": "{\r\n \"name\": \"DisplayNameTOTO\",\r\n \"status\": \"PENDING\",\r\n \"description\": \"Description string TITI\",\r\n \"relatedParty\": {\r\n \"id\": \"1\",\r\n \"href\": \"http://serverlocation:port/partyManagement/individual/1\",\r\n \"role\": \"customer\",\r\n \"name\": \"John Doe MAGIC\"\r\n },\r\n \"characteristic\": [\r\n {\r\n \"name\": \"characteristicPATCH1\",\r\n \"value\": \"characteristicPATCH1\"\r\n }\r\n ],\r\n \"contactMedium\": [\r\n {\r\n \"preferred\": true,\r\n \"type\": \"TelephoneNumber\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T20:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"type\": \"business\",\r\n \"number\": \"+999999999\"\r\n }\r\n }\r\n ]\r\n \r\n}", - "owner": 0, - "folder": "ea021e1e-6545-69ef-fa8e-9a28721e674d" - }, - { - "id": "551863e0-41a9-8818-1c60-96b12ddc05fd", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{customerManagementApi}}/customerAccount", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1427186529150, - "name": "/customerAccount", - "description": "retrieve a collection of customerAccount", - "collectionId": "c4a61e6c-d082-2c3a-1649-9589bcff18b5", - "responses": [], - "synced": false, - "owner": 0, - "folder": "038fb1fb-1cd4-8c0f-5060-efc8ce0c131f" - }, - { - "id": "59fa3682-109d-2075-f4d8-4dbd5892101f", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{customerManagementApi}}/paymentMean", - "preRequestScript": "", - "pathVariables": {}, - "method": "POST", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1429704527439, - "name": "/paymentMean", - "description": "create a paymentMean", - "collectionId": "c4a61e6c-d082-2c3a-1649-9589bcff18b5", - "responses": [], - "synced": false, - "rawModeData": "{\r\n \"name\": \"My favourite payment mean\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n },\r\n \"type\": \"BankAccountDebit\",\r\n \"bankAccount\": {\r\n \"bic\": \"PSSTFRPPPAR\",\r\n \"domiciliation\": \"LaBanquePostale–75900ParixCedex15\",\r\n \"iban\": \"FR4620061009010835927F33098\",\r\n \"accountHolder\": \"Mr.GustaveFlaubert\"\r\n },\r\n \"relatedParty\": {\r\n \"id\": \"1\",\r\n \"href\": \"http://serverlocation:port/partyManagement/individual/1\",\r\n \"role\": \"customer\",\r\n \"name\": \"Gustave Flaubert\"\r\n }\r\n}", - "owner": 0, - "folder": "1ff90f1e-bbb0-c9c8-9792-443fb6c5796c" - }, - { - "id": "6a919f2a-fd5d-77bf-f3c6-04055b373cbd", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{customerManagementApi}}/customer/:id", - "preRequestScript": "", - "pathVariables": { - "id": "1" - }, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "tests[\"Status code is 200\"] = responseCode.code === 200;", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432019083462, - "name": "get a customer/{id}", - "description": "select one customer with id", - "collectionId": "c4a61e6c-d082-2c3a-1649-9589bcff18b5", - "responses": [], - "synced": false, - "owner": 0, - "folder": "ea021e1e-6545-69ef-fa8e-9a28721e674d" - }, - { - "id": "6c008816-9b2a-4d7c-5df8-45e1a688d1a9", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{customerManagementApi}}/paymentMean/:id", - "preRequestScript": "", - "pathVariables": { - "id": "1" - }, - "method": "DELETE", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1427186751610, - "name": "/paymentMean/{id}", - "description": "Delete one paymentMean with id", - "collectionId": "c4a61e6c-d082-2c3a-1649-9589bcff18b5", - "responses": [], - "synced": false, - "rawModeData": "", - "owner": 0, - "folder": "1ff90f1e-bbb0-c9c8-9792-443fb6c5796c" - }, - { - "id": "7a6ee8f2-65aa-6b22-7094-f51112464180", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{customerManagementSubscriberApi}}/history", - "preRequestScript": "", - "pathVariables": {}, - "method": "DELETE", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1426259222261, - "name": "/history", - "description": "delete all", - "collectionId": "c4a61e6c-d082-2c3a-1649-9589bcff18b5", - "responses": [], - "synced": false, - "owner": 0, - "folder": "907bd345-cd65-1985-8da8-d53541be6e4c", - "write": true - }, - { - "id": "7fb0020f-1f93-c3bb-4509-55b7f1a0aa54", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{customerManagementApi}}/paymentMean", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1427186644183, - "name": "/paymentMean", - "description": "Retrieve a collection of paymentMeans", - "collectionId": "c4a61e6c-d082-2c3a-1649-9589bcff18b5", - "responses": [], - "synced": false, - "owner": 0, - "folder": "1ff90f1e-bbb0-c9c8-9792-443fb6c5796c" - }, - { - "id": "8d7fa4fc-f335-2c29-7287-2c2808b274a2", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{customerManagementApi}}/customerAccount/:id", - "preRequestScript": "", - "pathVariables": { - "id": "1" - }, - "method": "PATCH", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1427186563148, - "name": "/customerAccount/{id}", - "description": "total update of customerAccount with id", - "collectionId": "c4a61e6c-d082-2c3a-1649-9589bcff18b5", - "responses": [], - "synced": false, - "rawModeData": "{\r\n \"description\": \"Description string MODIFIED PATCH\",\r\n \"creditLimit\": 999999,\r\n \"pin\": \"pin9\",\r\n \"customerAccountTaxExemption\": [\r\n {\r\n \"issuingJurisdiction\": \"SampleJurisdiction\",\r\n \"certificateNumber\": \"CATaxExemptionMODIFIED\",\r\n \"reason\": \"Reason\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n },\r\n {\r\n \"issuingJurisdiction\": \"SampleJurisdiction\",\r\n \"certificateNumber\": \"CATaxExemption1\",\r\n \"reason\": \"Reason\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n }\r\n ],\r\n \"customer\": {\r\n \"id\": \"1\",\r\n \"href\": \"http://serverlocation:port/customerManagement/customer/1\",\r\n \"name\": \"CustomerPATCH\",\r\n \"description\": \"CustomerDescPATCH\"\r\n }\r\n}", - "owner": 0, - "folder": "038fb1fb-1cd4-8c0f-5060-efc8ce0c131f" - }, - { - "id": "9db98ee1-1612-8f0b-7ecc-6b02a9be0114", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{customerManagementApi}}/customerAccount", - "preRequestScript": "", - "pathVariables": {}, - "method": "POST", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1427186500082, - "name": "/customerAccount", - "description": "create a customerAccount", - "collectionId": "c4a61e6c-d082-2c3a-1649-9589bcff18b5", - "responses": [], - "synced": false, - "rawModeData": "{\r\n \"href\": \"http://serverlocation:port/customerManagement/customerAccount/ca1234\",\r\n \"lastModified\": \"2014-09-24T18:27:37.059899Z\",\r\n \"name\": \"sampleaccount\",\r\n \"accountType\": \"Residential\",\r\n \"status\": \"in progress\",\r\n \"description\": \"Description string\",\r\n \"creditLimit\": 1212121,\r\n \"pin\": \"pin0\",\r\n \"receivableBalance\": 52.3,\r\n \"customerAccountTaxExemption\": [\r\n {\r\n \"issuingJurisdiction\": \"SampleJurisdiction\",\r\n \"certificateNumber\": \"CATaxExemption1\",\r\n \"reason\": \"Reason\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n },\r\n {\r\n \"issuingJurisdiction\": \"SampleJurisdiction\",\r\n \"certificateNumber\": \"CATaxExemption1\",\r\n \"reason\": \"Reason\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n }\r\n ],\r\n \"customerAccountRelationship\": [\r\n {\r\n \"relationshipType\": \"Type xx\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n },\r\n \"customerAccount\": [\r\n {\r\n \"id\": \"1\",\r\n \"href\": \"http://serverlocation:port/customerManagement/customerAccount/1\",\r\n \"name\": \"CustomerAccount1\",\r\n \"description\": \"CustomerAccountDesc1\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"contact\": [\r\n {\r\n \"type\": \"primary\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n },\r\n \"name\": \"DisplayName\",\r\n \"partyRoleType\": \"CustomerAccountRepresentative\",\r\n \"medium\": [\r\n {\r\n \"type\": \"Email\",\r\n \"medium\": {\r\n \"emailAddress\": \"abc@tmforum.com\"\r\n }\r\n },\r\n {\r\n \"type\": \"PostalAddress\",\r\n \"medium\": {\r\n \"city\": \"Wien\",\r\n \"country\": \"Austria\",\r\n \"postcode\": \"1020\",\r\n \"stateOrProvince\": \"Quebec\",\r\n \"streetOne\": \"Lassallestrasse7\"\r\n }\r\n },\r\n {\r\n \"type\": \"TelephoneNumber\",\r\n \"medium\": {\r\n \"type\": \"mobile\",\r\n \"number\": \"+436641234567\"\r\n }\r\n },\r\n {\r\n \"preferred\": true,\r\n \"type\": \"TelephoneNumber\",\r\n \"medium\": {\r\n \"type\": \"business\",\r\n \"number\": \"+436641234567\"\r\n }\r\n }\r\n ],\r\n \"relatedParty\": {\r\n \"id\": \"1\",\r\n \"href\": \"http://serverlocation:port/partyManagement/individual/1\",\r\n \"role\": \"customer\"\r\n }\r\n }\r\n ],\r\n \"customer\": {\r\n \"id\": \"1\",\r\n \"href\": \"http://serverlocation:port/customerManagement/customer/1\",\r\n \"name\": \"Customer1\",\r\n \"description\": \"CustomerDesc1\"\r\n },\r\n \"customerAccountBalance\": [\r\n {\r\n \"type\": \"ReceivableBalance\",\r\n \"amount\": 52.3,\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n },\r\n \"status\": \"Due\"\r\n },\r\n {\r\n \"type\": \"DepositBalance\",\r\n \"amount\": 52.3,\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n },\r\n \"status\": \"Paid\"\r\n }\r\n ],\r\n \"paymentPlan\": [\r\n {\r\n \"status\": \"Effective\",\r\n \"type\": \"Type1\",\r\n \"priority\": 1,\r\n \"amount\": 15.3,\r\n \"paymentFrequency\": \"monthly\",\r\n \"numberOfPayments\": 4,\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n },\r\n {\r\n \"status\": \"Ineffective\",\r\n \"type\": \"Type2\",\r\n \"priority\": 2,\r\n \"amount\": 20,\r\n \"paymentFrequency\": \"monthly\",\r\n \"numberOfPayments\": 2,\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n },\r\n \"paymentMean\": {\r\n \"id\": \"70\",\r\n \"href\": \"http://serverlocation:port/customerManagement/paymentMean/70\"\r\n }\r\n }\r\n ]\r\n}", - "owner": 0, - "folder": "038fb1fb-1cd4-8c0f-5060-efc8ce0c131f" - }, - { - "id": "a36b8acb-522f-5061-264a-c5e9caa6adc6", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{customerManagementApi}}/customer/?fields=name,status", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "tests[\"Status code is 200\"] = responseCode.code === 200;", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432019010613, - "name": "/customer attribute selection", - "description": "retrieve a collection of customers", - "collectionId": "c4a61e6c-d082-2c3a-1649-9589bcff18b5", - "responses": [], - "synced": false, - "owner": 0, - "folder": "ea021e1e-6545-69ef-fa8e-9a28721e674d" - }, - { - "id": "ac27c97c-aaa4-61e6-23c6-9e03c1212da6", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{customerManagementSubscriberApi}}/history", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1426259194436, - "name": "/history", - "description": "List all", - "collectionId": "c4a61e6c-d082-2c3a-1649-9589bcff18b5", - "responses": [], - "synced": false, - "owner": 0, - "folder": "907bd345-cd65-1985-8da8-d53541be6e4c", - "write": true - }, - { - "id": "cb67b83c-c9bd-8fe5-a9e6-0c6a804a5f36", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{customerManagementApi}}/customer/?status=active&fields=name", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "tests[\"Status code is 200\"] = responseCode.code === 200;\n\n\ntests[\"Body does not contain Hjid\"] = !responseBody.has(\"Hjid\");\n\nvar bodyData = JSON.parse(responseBody);\ntests[\"Response contains status Active\"] = bodyData[0].status === \"Active\";", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432039740182, - "name": "/customer filtering", - "description": "retrieve a collection of customers", - "collectionId": "c4a61e6c-d082-2c3a-1649-9589bcff18b5", - "responses": [], - "synced": false, - "owner": 0, - "folder": "ea021e1e-6545-69ef-fa8e-9a28721e674d" - }, - { - "id": "cd5433bd-21b3-7b26-5799-9b9f706bbaca", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{customerManagementApi}}/customer/:id", - "preRequestScript": "", - "pathVariables": { - "id": "1" - }, - "method": "DELETE", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "tests[\"Successful DELETE request\"] = responseCode.code === 204;", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432019164249, - "name": "/customer/{id}", - "description": "Delete one customer with id", - "collectionId": "c4a61e6c-d082-2c3a-1649-9589bcff18b5", - "responses": [], - "synced": false, - "rawModeData": "", - "owner": 0, - "folder": "ea021e1e-6545-69ef-fa8e-9a28721e674d" - }, - { - "id": "d07f6ac3-6b26-8bb3-1664-1d67d26bb410", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{customerManagementApi}}/paymentMean/:id", - "preRequestScript": "", - "pathVariables": { - "id": "24" - }, - "method": "PATCH", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1429704512540, - "name": "/paymentMean/{id}", - "description": "partial update of paymentMean with id", - "collectionId": "c4a61e6c-d082-2c3a-1649-9589bcff18b5", - "responses": [], - "synced": false, - "rawModeData": "{\r\n \"name\": \"My favourite payment mean PATCH\",\r\n \"bankAccount\": {\r\n \"bic\": \"PSSTFRPPPAR\",\r\n \"domiciliation\": \"LaBanquePostale–75900ParixCedex15\",\r\n \"iban\": \"FR4620061009010835927F33098\",\r\n \"accountHolder\": \"Mr.GustaveFlaubert PATCHE\"\r\n }\r\n}", - "owner": 0, - "folder": "1ff90f1e-bbb0-c9c8-9792-443fb6c5796c" - }, - { - "id": "e04ec639-0033-3e73-4778-96becd4d6e8e", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{customerManagementApi}}/hub/:id", - "preRequestScript": "", - "pathVariables": { - "id": "" - }, - "method": "DELETE", - "dataMode": "binary", - "version": 2, - "tests": "tests[\"Successful DELETE request\"] = responseCode.code === 204;", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432019311328, - "name": "delete hub by id", - "description": "delete hub", - "collectionId": "c4a61e6c-d082-2c3a-1649-9589bcff18b5", - "responses": [], - "write": true, - "folder": "3ebe07fc-678b-81ec-77e4-ffb6c52fda8b", - "synced": false, - "owner": 0 - }, - { - "id": "ef778639-845f-ffbf-427c-bfa442c2f015", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{customerManagementApi}}/customer", - "preRequestScript": "", - "pathVariables": {}, - "method": "POST", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "tests[\"Successful POST request\"] = responseCode.code === 201 || responseCode.code === 202;", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432018966539, - "name": "/customer", - "description": "create a customer", - "collectionId": "c4a61e6c-d082-2c3a-1649-9589bcff18b5", - "responses": [], - "synced": false, - "rawModeData": "{\r\n \"name\": \"DisplayName\",\r\n \"status\": \"Active\",\r\n \"description\": \"Description string\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-06-19T04:00:00.0Z\",\r\n \"endDateTime\": \"2013-04-19T20:42:23.0Z\"\r\n },\r\n \"customerRank\": \"3\",\r\n \"relatedParty\": {\r\n \"id\": \"1\",\r\n \"href\": \"http://serverlocation:port/partyManagement/individual/1\",\r\n \"role\": \"customer\",\r\n \"name\": \"John Doe\"\r\n },\r\n \"characteristic\": [\r\n {\r\n \"name\": \"characteristicname1\",\r\n \"value\": \"characteristicvalue1\"\r\n },\r\n {\r\n \"name\": \"characteristicname2\",\r\n \"value\": \"characteristicvalue2\"\r\n }\r\n ],\r\n \"contactMedium\": [\r\n {\r\n \"type\": \"Email\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T20:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"emailAddress\": \"abc@tmforum.com\"\r\n }\r\n },\r\n {\r\n \"type\": \"PostalAddress\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T20:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"city\": \"Wien\",\r\n \"country\": \"Austria\",\r\n \"postcode\": \"1020\",\r\n \"stateOrProvince\": \"Quebec\",\r\n \"streetOne\": \"Lassallestrasse7\",\r\n \"streetTwo\": \"\"\r\n }\r\n },\r\n {\r\n \"type\": \"TelephoneNumber\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T20:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"type\": \"mobile\",\r\n \"number\": \"+436641234567\"\r\n }\r\n },\r\n {\r\n \"preferred\": true,\r\n \"type\": \"TelephoneNumber\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T20:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"type\": \"business\",\r\n \"number\": \"+436641234567\"\r\n }\r\n }\r\n ],\r\n \"customerAccount\": [\r\n {\r\n \"id\" : \"1\",\r\n \"href\": \"http://serverlocation:port/customerManagement/customerAccount/1\",\r\n \"name\": \"CustomerAccount1\",\r\n \"description\": \"CustomerAccountDesc1\",\r\n \"status\": \"Active\"\r\n },\r\n {\r\n \"id\" :\"2\",\r\n \"href\": \"http://serverlocation:port/customerManagement/customerAccount/2\",\r\n \"name\": \"CustomerAccount2\",\r\n \"description\": \"CustomerAccountDesc2\",\r\n \"status\": \"Active\"\r\n }\r\n ],\r\n \"customerCreditProfile\": [\r\n {\r\n \"creditProfileDate\": \"2013-04-19T20:42:23.0Z\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T20:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T04:00:00.0Z\"\r\n },\r\n \"creditRiskRating\": 1,\r\n \"creditScore\": 1\r\n },\r\n {\r\n \"creditProfileDate\": \"2013-04-19T20:42:23.0Z\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T20:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T04:00:00.0Z\"\r\n },\r\n \"creditRiskRating\": 1,\r\n \"creditScore\": 1\r\n }\r\n ],\r\n \"paymentMean\": [\r\n {\r\n \"id\" : \"45\",\r\n \"href\": \"http://serverlocation:port/customerManagement/paymentMean/45\",\r\n \"name\": \"my favourite payment mean\"\r\n },\r\n {\r\n \"id\" : \"64\",\r\n \"href\": \"http://serverlocation:port/customerManagement/paymentMean/64\",\r\n \"name\": \"my credit card payment mean\"\r\n }\r\n ]\r\n}", - "owner": 0, - "folder": "ea021e1e-6545-69ef-fa8e-9a28721e674d" - }, - { - "id": "f8c36753-5c1a-cb99-6b14-b29b3e0ff595", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{customerManagementApi}}/paymentMean/:id", - "preRequestScript": "", - "pathVariables": { - "id": "1" - }, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1427186630355, - "name": "/paymentMean/{id}", - "description": "select one paymentMean with id", - "collectionId": "c4a61e6c-d082-2c3a-1649-9589bcff18b5", - "responses": [], - "synced": false, - "owner": 0, - "folder": "1ff90f1e-bbb0-c9c8-9792-443fb6c5796c" - }, - { - "id": "f9637c96-d110-5726-0fd8-f6ca4b2738a7", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{customerManagementApi}}/hub", - "preRequestScript": "", - "pathVariables": {}, - "method": "POST", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "tests[\"Successful POST request\"] = responseCode.code === 201 || responseCode.code === 202;", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432738767669, - "name": "/hub", - "description": "create a hub", - "collectionId": "c4a61e6c-d082-2c3a-1649-9589bcff18b5", - "responses": [], - "synced": false, - "rawModeData": "{\n \"callback\":\"{{customerManagementSubscriberApi}}/event\"\n \n}", - "owner": 0, - "folder": "3ebe07fc-678b-81ec-77e4-ffb6c52fda8b" - } - ] + "info": { + "_postman_id": "c4a61e6c-d082-2c3a-1649-9589bcff18b5", + "name": "TMF Customer Management API", + "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" + }, + "item": [ + { + "name": "customerAccount", + "item": [ + { + "name": "/customerAccount", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{customerManagementApi}}/customerAccount", + "description": "retrieve a collection of customerAccount" + }, + "response": [] + }, + { + "name": "/customerAccount/{id}", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{customerManagementApi}}/customerAccount/:id", + "host": [ + "{{customerManagementApi}}" + ], + "path": [ + "customerAccount", + ":id" + ], + "variable": [ + { + "value": "37", + "key": "id" + } + ] + }, + "description": "select one customerAccount with id" + }, + "response": [] + }, + { + "name": "/customerAccount", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"href\": \"http://serverlocation:port/customerManagement/customerAccount/ca1234\",\r\n \"lastModified\": \"2014-09-24T18:27:37.059899Z\",\r\n \"name\": \"sampleaccount\",\r\n \"accountType\": \"Residential\",\r\n \"status\": \"in progress\",\r\n \"description\": \"Description string\",\r\n \"creditLimit\": 1212121,\r\n \"pin\": \"pin0\",\r\n \"receivableBalance\": 52.3,\r\n \"customerAccountTaxExemption\": [\r\n {\r\n \"issuingJurisdiction\": \"SampleJurisdiction\",\r\n \"certificateNumber\": \"CATaxExemption1\",\r\n \"reason\": \"Reason\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n },\r\n {\r\n \"issuingJurisdiction\": \"SampleJurisdiction\",\r\n \"certificateNumber\": \"CATaxExemption1\",\r\n \"reason\": \"Reason\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n }\r\n ],\r\n \"customerAccountRelationship\": [\r\n {\r\n \"relationshipType\": \"Type xx\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n },\r\n \"customerAccount\": [\r\n {\r\n \"id\": \"1\",\r\n \"href\": \"http://serverlocation:port/customerManagement/customerAccount/1\",\r\n \"name\": \"CustomerAccount1\",\r\n \"description\": \"CustomerAccountDesc1\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"contact\": [\r\n {\r\n \"type\": \"primary\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n },\r\n \"name\": \"DisplayName\",\r\n \"partyRoleType\": \"CustomerAccountRepresentative\",\r\n \"medium\": [\r\n {\r\n \"type\": \"Email\",\r\n \"medium\": {\r\n \"emailAddress\": \"abc@tmforum.com\"\r\n }\r\n },\r\n {\r\n \"type\": \"PostalAddress\",\r\n \"medium\": {\r\n \"city\": \"Wien\",\r\n \"country\": \"Austria\",\r\n \"postcode\": \"1020\",\r\n \"stateOrProvince\": \"Quebec\",\r\n \"streetOne\": \"Lassallestrasse7\"\r\n }\r\n },\r\n {\r\n \"type\": \"TelephoneNumber\",\r\n \"medium\": {\r\n \"type\": \"mobile\",\r\n \"number\": \"+436641234567\"\r\n }\r\n },\r\n {\r\n \"preferred\": true,\r\n \"type\": \"TelephoneNumber\",\r\n \"medium\": {\r\n \"type\": \"business\",\r\n \"number\": \"+436641234567\"\r\n }\r\n }\r\n ],\r\n \"relatedParty\": {\r\n \"id\": \"1\",\r\n \"href\": \"http://serverlocation:port/partyManagement/individual/1\",\r\n \"role\": \"customer\"\r\n }\r\n }\r\n ],\r\n \"customer\": {\r\n \"id\": \"1\",\r\n \"href\": \"http://serverlocation:port/customerManagement/customer/1\",\r\n \"name\": \"Customer1\",\r\n \"description\": \"CustomerDesc1\"\r\n },\r\n \"customerAccountBalance\": [\r\n {\r\n \"type\": \"ReceivableBalance\",\r\n \"amount\": 52.3,\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n },\r\n \"status\": \"Due\"\r\n },\r\n {\r\n \"type\": \"DepositBalance\",\r\n \"amount\": 52.3,\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n },\r\n \"status\": \"Paid\"\r\n }\r\n ],\r\n \"paymentPlan\": [\r\n {\r\n \"status\": \"Effective\",\r\n \"type\": \"Type1\",\r\n \"priority\": 1,\r\n \"amount\": 15.3,\r\n \"paymentFrequency\": \"monthly\",\r\n \"numberOfPayments\": 4,\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n },\r\n {\r\n \"status\": \"Ineffective\",\r\n \"type\": \"Type2\",\r\n \"priority\": 2,\r\n \"amount\": 20,\r\n \"paymentFrequency\": \"monthly\",\r\n \"numberOfPayments\": 2,\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n },\r\n \"paymentMean\": {\r\n \"id\": \"70\",\r\n \"href\": \"http://serverlocation:port/customerManagement/paymentMean/70\"\r\n }\r\n }\r\n ]\r\n}" + }, + "url": "{{customerManagementApi}}/customerAccount", + "description": "create a customerAccount" + }, + "response": [] + }, + { + "name": "/customerAccount/{id}", + "request": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"description\": \"Description string MODIFIED PATCH\",\r\n \"creditLimit\": 999999,\r\n \"pin\": \"pin9\",\r\n \"customerAccountTaxExemption\": [\r\n {\r\n \"issuingJurisdiction\": \"SampleJurisdiction\",\r\n \"certificateNumber\": \"CATaxExemptionMODIFIED\",\r\n \"reason\": \"Reason\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n },\r\n {\r\n \"issuingJurisdiction\": \"SampleJurisdiction\",\r\n \"certificateNumber\": \"CATaxExemption1\",\r\n \"reason\": \"Reason\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n }\r\n ],\r\n \"customer\": {\r\n \"id\": \"1\",\r\n \"href\": \"http://serverlocation:port/customerManagement/customer/1\",\r\n \"name\": \"CustomerPATCH\",\r\n \"description\": \"CustomerDescPATCH\"\r\n }\r\n}" + }, + "url": { + "raw": "{{customerManagementApi}}/customerAccount/:id", + "host": [ + "{{customerManagementApi}}" + ], + "path": [ + "customerAccount", + ":id" + ], + "variable": [ + { + "value": "1", + "key": "id" + } + ] + }, + "description": "total update of customerAccount with id" + }, + "response": [] + }, + { + "name": "/customerAccount/{id}", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "{{customerManagementApi}}/customerAccount/:id", + "host": [ + "{{customerManagementApi}}" + ], + "path": [ + "customerAccount", + ":id" + ], + "variable": [ + { + "value": "1", + "key": "id" + } + ] + }, + "description": "Delete one customerAccount with id" + }, + "response": [] + } + ] + }, + { + "name": "customer", + "item": [ + { + "name": "/customer", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "tests[\"Status code is 200\"] = responseCode.code === 200;" + ] + } + } + ], + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{customerManagementApi}}/customer", + "description": "retrieve a collection of customers" + }, + "response": [] + }, + { + "name": "/customer attribute selection", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "tests[\"Status code is 200\"] = responseCode.code === 200;" + ] + } + } + ], + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{customerManagementApi}}/customer/?fields=name,status", + "host": [ + "{{customerManagementApi}}" + ], + "path": [ + "customer", + "" + ], + "query": [ + { + "key": "fields", + "value": "name,status" + } + ] + }, + "description": "retrieve a collection of customers" + }, + "response": [] + }, + { + "name": "/customer filtering", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "tests[\"Status code is 200\"] = responseCode.code === 200;", + "", + "", + "tests[\"Body does not contain Hjid\"] = !responseBody.has(\"Hjid\");", + "", + "var bodyData = JSON.parse(responseBody);", + "tests[\"Response contains status Active\"] = bodyData[0].status === \"Active\";" + ] + } + } + ], + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{customerManagementApi}}/customer/?status=active&fields=name", + "host": [ + "{{customerManagementApi}}" + ], + "path": [ + "customer", + "" + ], + "query": [ + { + "key": "status", + "value": "active" + }, + { + "key": "fields", + "value": "name" + } + ] + }, + "description": "retrieve a collection of customers" + }, + "response": [] + }, + { + "name": "get a customer/{id}", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "tests[\"Status code is 200\"] = responseCode.code === 200;" + ] + } + } + ], + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{customerManagementApi}}/customer/:id", + "host": [ + "{{customerManagementApi}}" + ], + "path": [ + "customer", + ":id" + ], + "variable": [ + { + "value": "1", + "key": "id" + } + ] + }, + "description": "select one customer with id" + }, + "response": [] + }, + { + "name": "/customer", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "tests[\"Successful POST request\"] = responseCode.code === 201 || responseCode.code === 202;" + ] + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"name\": \"DisplayName\",\r\n \"status\": \"Active\",\r\n \"description\": \"Description string\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-06-19T04:00:00.0Z\",\r\n \"endDateTime\": \"2013-04-19T20:42:23.0Z\"\r\n },\r\n \"customerRank\": \"3\",\r\n \"relatedParty\": {\r\n \"id\": \"1\",\r\n \"href\": \"http://serverlocation:port/partyManagement/individual/1\",\r\n \"role\": \"customer\",\r\n \"name\": \"John Doe\"\r\n },\r\n \"characteristic\": [\r\n {\r\n \"name\": \"characteristicname1\",\r\n \"value\": \"characteristicvalue1\"\r\n },\r\n {\r\n \"name\": \"characteristicname2\",\r\n \"value\": \"characteristicvalue2\"\r\n }\r\n ],\r\n \"contactMedium\": [\r\n {\r\n \"type\": \"Email\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T20:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"emailAddress\": \"abc@tmforum.com\"\r\n }\r\n },\r\n {\r\n \"type\": \"PostalAddress\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T20:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"city\": \"Wien\",\r\n \"country\": \"Austria\",\r\n \"postcode\": \"1020\",\r\n \"stateOrProvince\": \"Quebec\",\r\n \"streetOne\": \"Lassallestrasse7\",\r\n \"streetTwo\": \"\"\r\n }\r\n },\r\n {\r\n \"type\": \"TelephoneNumber\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T20:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"type\": \"mobile\",\r\n \"number\": \"+436641234567\"\r\n }\r\n },\r\n {\r\n \"preferred\": true,\r\n \"type\": \"TelephoneNumber\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T20:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"type\": \"business\",\r\n \"number\": \"+436641234567\"\r\n }\r\n }\r\n ],\r\n \"customerAccount\": [\r\n {\r\n \"id\" : \"1\",\r\n \"href\": \"http://serverlocation:port/customerManagement/customerAccount/1\",\r\n \"name\": \"CustomerAccount1\",\r\n \"description\": \"CustomerAccountDesc1\",\r\n \"status\": \"Active\"\r\n },\r\n {\r\n \"id\" :\"2\",\r\n \"href\": \"http://serverlocation:port/customerManagement/customerAccount/2\",\r\n \"name\": \"CustomerAccount2\",\r\n \"description\": \"CustomerAccountDesc2\",\r\n \"status\": \"Active\"\r\n }\r\n ],\r\n \"customerCreditProfile\": [\r\n {\r\n \"creditProfileDate\": \"2013-04-19T20:42:23.0Z\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T20:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T04:00:00.0Z\"\r\n },\r\n \"creditRiskRating\": 1,\r\n \"creditScore\": 1\r\n },\r\n {\r\n \"creditProfileDate\": \"2013-04-19T20:42:23.0Z\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T20:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T04:00:00.0Z\"\r\n },\r\n \"creditRiskRating\": 1,\r\n \"creditScore\": 1\r\n }\r\n ],\r\n \"paymentMean\": [\r\n {\r\n \"id\" : \"45\",\r\n \"href\": \"http://serverlocation:port/customerManagement/paymentMean/45\",\r\n \"name\": \"my favourite payment mean\"\r\n },\r\n {\r\n \"id\" : \"64\",\r\n \"href\": \"http://serverlocation:port/customerManagement/paymentMean/64\",\r\n \"name\": \"my credit card payment mean\"\r\n }\r\n ]\r\n}" + }, + "url": "{{customerManagementApi}}/customer", + "description": "create a customer" + }, + "response": [] + }, + { + "name": "/customer/{id}", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "tests[\"Status code is 200\"] = responseCode.code === 200;" + ] + } + } + ], + "request": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"name\": \"DisplayNameTOTO\",\r\n \"status\": \"PENDING\",\r\n \"description\": \"Description string TITI\",\r\n \"relatedParty\": {\r\n \"id\": \"1\",\r\n \"href\": \"http://serverlocation:port/partyManagement/individual/1\",\r\n \"role\": \"customer\",\r\n \"name\": \"John Doe MAGIC\"\r\n },\r\n \"characteristic\": [\r\n {\r\n \"name\": \"characteristicPATCH1\",\r\n \"value\": \"characteristicPATCH1\"\r\n }\r\n ],\r\n \"contactMedium\": [\r\n {\r\n \"preferred\": true,\r\n \"type\": \"TelephoneNumber\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T20:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"type\": \"business\",\r\n \"number\": \"+999999999\"\r\n }\r\n }\r\n ]\r\n \r\n}" + }, + "url": { + "raw": "{{customerManagementApi}}/customer/:id", + "host": [ + "{{customerManagementApi}}" + ], + "path": [ + "customer", + ":id" + ], + "variable": [ + { + "value": "1", + "key": "id" + } + ] + }, + "description": "partial update of customer with id" + }, + "response": [] + }, + { + "name": "/customer/{id}", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "tests[\"Successful DELETE request\"] = responseCode.code === 204;" + ] + } + } + ], + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "{{customerManagementApi}}/customer/:id", + "host": [ + "{{customerManagementApi}}" + ], + "path": [ + "customer", + ":id" + ], + "variable": [ + { + "value": "1", + "key": "id" + } + ] + }, + "description": "Delete one customer with id" + }, + "response": [] + } + ] + }, + { + "name": "event subscriber", + "item": [ + { + "name": "/current", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{customerManagementSubscriberApi}}/current", + "description": "get last event" + }, + "response": [] + }, + { + "name": "/history", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{customerManagementSubscriberApi}}/history", + "description": "List all" + }, + "response": [] + }, + { + "name": "/history", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{customerManagementSubscriberApi}}/history", + "description": "delete all" + }, + "response": [] + } + ] + }, + { + "name": "hub", + "item": [ + { + "name": "/hub", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "tests[\"Successful POST request\"] = responseCode.code === 201 || responseCode.code === 202;" + ] + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"callback\":\"{{customerManagementSubscriberApi}}/event\"\n \n}" + }, + "url": "{{customerManagementApi}}/hub", + "description": "create a hub" + }, + "response": [] + }, + { + "name": "/hub", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{customerManagementApi}}/hub", + "description": "select all hubs" + }, + "response": [] + }, + { + "name": "/hub/:{id}", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{customerManagementApi}}/hub/:id", + "host": [ + "{{customerManagementApi}}" + ], + "path": [ + "hub", + ":id" + ], + "variable": [ + { + "value": "", + "key": "id" + } + ] + }, + "description": "select one hub" + }, + "response": [] + }, + { + "name": "delete hub by id", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "tests[\"Successful DELETE request\"] = responseCode.code === 204;" + ] + } + } + ], + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "file", + "file": {} + }, + "url": { + "raw": "{{customerManagementApi}}/hub/:id", + "host": [ + "{{customerManagementApi}}" + ], + "path": [ + "hub", + ":id" + ], + "variable": [ + { + "value": "", + "key": "id" + } + ] + }, + "description": "delete hub" + }, + "response": [] + } + ] + }, + { + "name": "paymentMean", + "item": [ + { + "name": "/paymentMean/{id}", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{customerManagementApi}}/paymentMean/:id", + "host": [ + "{{customerManagementApi}}" + ], + "path": [ + "paymentMean", + ":id" + ], + "variable": [ + { + "value": "1", + "key": "id" + } + ] + }, + "description": "select one paymentMean with id" + }, + "response": [] + }, + { + "name": "/paymentMean", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{customerManagementApi}}/paymentMean", + "description": "Retrieve a collection of paymentMeans" + }, + "response": [] + }, + { + "name": "/paymentMean", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"name\": \"My favourite payment mean\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n },\r\n \"type\": \"BankAccountDebit\",\r\n \"bankAccount\": {\r\n \"bic\": \"PSSTFRPPPAR\",\r\n \"domiciliation\": \"LaBanquePostale–75900ParixCedex15\",\r\n \"iban\": \"FR4620061009010835927F33098\",\r\n \"accountHolder\": \"Mr.GustaveFlaubert\"\r\n },\r\n \"relatedParty\": {\r\n \"id\": \"1\",\r\n \"href\": \"http://serverlocation:port/partyManagement/individual/1\",\r\n \"role\": \"customer\",\r\n \"name\": \"Gustave Flaubert\"\r\n }\r\n}" + }, + "url": "{{customerManagementApi}}/paymentMean", + "description": "create a paymentMean" + }, + "response": [] + }, + { + "name": "/paymentMean/{id}", + "request": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"name\": \"My favourite payment mean PATCH\",\r\n \"bankAccount\": {\r\n \"bic\": \"PSSTFRPPPAR\",\r\n \"domiciliation\": \"LaBanquePostale–75900ParixCedex15\",\r\n \"iban\": \"FR4620061009010835927F33098\",\r\n \"accountHolder\": \"Mr.GustaveFlaubert PATCHE\"\r\n }\r\n}" + }, + "url": { + "raw": "{{customerManagementApi}}/paymentMean/:id", + "host": [ + "{{customerManagementApi}}" + ], + "path": [ + "paymentMean", + ":id" + ], + "variable": [ + { + "value": "24", + "key": "id" + } + ] + }, + "description": "partial update of paymentMean with id" + }, + "response": [] + }, + { + "name": "/paymentMean/{id}", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "{{customerManagementApi}}/paymentMean/:id", + "host": [ + "{{customerManagementApi}}" + ], + "path": [ + "paymentMean", + ":id" + ], + "variable": [ + { + "value": "1", + "key": "id" + } + ] + }, + "description": "Delete one paymentMean with id" + }, + "response": [] + } + ] + } + ] } \ No newline at end of file diff --git a/TMFPartyManagementAPI.json.postman_collection b/TMFPartyManagementAPI.json.postman_collection index dc91aba..a6815ca 100644 --- a/TMFPartyManagementAPI.json.postman_collection +++ b/TMFPartyManagementAPI.json.postman_collection @@ -1,577 +1,692 @@ { - "id": "0f79bd46-7c55-de98-5784-eff53159cc42", - "name": "TMF Party Management API", - "description": "", - "order": [], - "folders": [ - { - "id": "ec4dc5a4-057a-eccc-8929-66c39f864bd9", - "name": "event subscriber", - "description": "", - "order": [ - "aa0dd8d0-3828-4cd6-9767-4d65090d86e1", - "338b5e98-437e-8e2a-a49d-d092b805a987", - "984302c0-d864-53b9-cb06-f79c44e2a93b" - ], - "collection_name": "TMF Party Management API", - "collection_id": "0f79bd46-7c55-de98-5784-eff53159cc42", - "collection_owner": 0, - "write": true, - "owner": 0, - "collection": "237a5c93-e297-d606-0173-ad4065a70595", - "collectionId": "237a5c93-e297-d606-0173-ad4065a70595" - }, - { - "id": "1921e70c-9611-60de-7cad-fafce29418a4", - "name": "hub", - "description": "", - "write": true, - "order": [ - "795c54fc-8dab-b8db-7713-8f05f2e8f708", - "bc1ca740-9140-1783-1440-39f8be220e8e", - "aab6257e-bf1b-89ea-731f-174370769d1a", - "f4a2983f-e85f-fcb4-0d45-d72c808e4c36" - ], - "collection_name": "TMF Party Management API", - "collection_owner": 0, - "collection_id": "0f79bd46-7c55-de98-5784-eff53159cc42", - "collection": "237a5c93-e297-d606-0173-ad4065a70595", - "owner": 0 - }, - { - "id": "acce9b4b-6bc4-10f1-4b34-8d01f11ef5ae", - "name": "individual", - "description": "", - "order": [ - "6469efff-f531-0314-0e0d-986fdd8f7761", - "64b8aa78-2b45-a48c-080f-bdb790d9c76f", - "7598287c-6da2-72bf-a63b-aeeb98b54be5", - "16919cb3-4d1f-c86e-487b-fdfeab144078", - "495337ab-c1a6-a8a4-83be-be09421c4450", - "c02f91d8-efaf-ff51-1cbe-93e25f041467", - "ddefeee3-f498-eb08-70ba-8c954509468b" - ], - "collection_name": "TMF Party Management API", - "collection_id": "0f79bd46-7c55-de98-5784-eff53159cc42", - "collection_owner": 0, - "write": true, - "owner": 0, - "collection": "237a5c93-e297-d606-0173-ad4065a70595", - "collectionId": "237a5c93-e297-d606-0173-ad4065a70595" - }, - { - "id": "67196655-52e3-cbb1-02db-54240041f914", - "name": "organization", - "description": "", - "order": [ - "b2a1d8ea-61b0-554d-cff6-b72bafb0d004", - "08668571-3edd-95ac-6933-4f1762d33e6c", - "7d2baf95-5275-9c94-d647-a795faf91b18", - "e8a4f0bb-d25a-40e6-00b3-50c592d7f89a", - "0ea2b674-21de-7396-b7c5-f472678a7c8c", - "4c9058ab-f08a-2fb0-dfcd-453431ea8196", - "a69293b3-96bd-9bd8-3048-99d004a81a81" - ], - "collection_name": "TMF Party Management API", - "collection_id": "0f79bd46-7c55-de98-5784-eff53159cc42", - "collection_owner": 0, - "write": true, - "owner": 0, - "collection": "237a5c93-e297-d606-0173-ad4065a70595", - "collectionId": "237a5c93-e297-d606-0173-ad4065a70595" - } - ], - "timestamp": 1426756967055, - "synced": false, - "owner": 0, - "sharedWithTeam": false, - "subscribed": false, - "remoteLink": "https://www.getpostman.com/collections/554f222e2c1b2128317e", - "public": false, - "write": true, - "requests": [ - { - "id": "08668571-3edd-95ac-6933-4f1762d33e6c", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{partyManagementApi}}/organization", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1429716006444, - "name": "/organization attribute selection", - "description": "select a collection of organizations", - "collectionId": "0f79bd46-7c55-de98-5784-eff53159cc42", - "responses": [], - "synced": false, - "folder": "67196655-52e3-cbb1-02db-54240041f914", - "owner": 0 - }, - { - "id": "0ea2b674-21de-7396-b7c5-f472678a7c8c", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{partyManagementApi}}/organization", - "preRequestScript": "", - "pathVariables": {}, - "method": "POST", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1429716019005, - "name": "/organization", - "description": "create a organization", - "collectionId": "0f79bd46-7c55-de98-5784-eff53159cc42", - "responses": [], - "synced": false, - "rawModeData": "{\r\n \"isLegalEntity\": true,\r\n \"type\": \"Company\",\r\n \"existsDuring\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\"\r\n },\r\n \"tradingName\": \"Telekom\",\r\n \"nameType\": \"Co.\",\r\n \"status\": \"Initialized\",\r\n \"otherName\": {\r\n \"nameType\": \"Co.\",\r\n \"tradingName\": \"Orange\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n },\r\n \"characteristic\": {\r\n \"name\": \"industry\",\r\n \"value\": \"telecom\"\r\n },\r\n \"organizationIdentification\": {\r\n \"type\": \"CompanyRegistrationNumber\",\r\n \"identificationId\": \"374748328\",\r\n \"issuingAuthority\": \"\",\r\n \"issuingDate\": \"2013-06-19T00:00:00.0Z\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n },\r\n \"externalReference\": [\r\n {\r\n \"href\": \"http://facebook.com/17263635\",\r\n \"type\": \"FacebookID\"\r\n },\r\n {\r\n \"href\": \"http://google.com/17263635\",\r\n \"type\": \"GoogleID\"\r\n }\r\n ],\r\n \"relatedParty\": {\r\n \"id\": \"12\",\r\n \"href\": \"http://serverlocation:port/partyManagement/organization/12\",\r\n \"role\": \"Vendor\",\r\n \"name\": \"Richard Cole\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n },\r\n \"organizationParentRelationship\": {\r\n \"relationshipType\": \"Juridical\",\r\n \"id\": \"13\",\r\n \"href\": \"http://serverlocation:port/partyManagement/organization/13\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n },\r\n \"organizationChildRelationship\": {\r\n \"relationshipType\": \"Juridical\",\r\n \"id\": \"16\",\r\n \"href\": \"http://serverlocation:port/partyManagement/organization/16\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n },\r\n \"contactMedium\": [\r\n {\r\n \"type\": \"Email\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"emailAddress\": \"abc@tmforum.com\"\r\n }\r\n },\r\n {\r\n \"type\": \"PostalAddress\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"city\": \"Wien\",\r\n \"country\": \"Austria\",\r\n \"postcode\": \"1020\",\r\n \"stateOrProvince\": \"Quebec\",\r\n \"streetOne\": \"Lassallestrasse7\",\r\n \"streetTwo\": \"\"\r\n }\r\n },\r\n {\r\n \"type\": \"TelephoneNumber\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"type\": \"mobile\",\r\n \"number\": \"+436641234567\"\r\n }\r\n },\r\n {\r\n \"preferred\": true,\r\n \"type\": \"TelephoneNumber\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"type\": \"business\",\r\n \"number\": \"+436641234567\"\r\n }\r\n }\r\n ]\r\n}", - "owner": 0, - "folder": "67196655-52e3-cbb1-02db-54240041f914" - }, - { - "id": "16919cb3-4d1f-c86e-487b-fdfeab144078", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{partyManagementApi}}/individual/:id", - "preRequestScript": "", - "pathVariables": { - "id": "1" - }, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1427136020684, - "name": "/individual/{id}", - "description": "select one individual with id", - "collectionId": "0f79bd46-7c55-de98-5784-eff53159cc42", - "responses": [], - "synced": false, - "owner": 0, - "folder": "acce9b4b-6bc4-10f1-4b34-8d01f11ef5ae" - }, - { - "id": "338b5e98-437e-8e2a-a49d-d092b805a987", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{partyManagementSubscriberApi}}/history", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1426759336252, - "name": "/history", - "description": "List all", - "collectionId": "0f79bd46-7c55-de98-5784-eff53159cc42", - "responses": [], - "synced": false, - "owner": 0, - "folder": "ec4dc5a4-057a-eccc-8929-66c39f864bd9" - }, - { - "id": "495337ab-c1a6-a8a4-83be-be09421c4450", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{partyManagementApi}}/individual", - "preRequestScript": "", - "pathVariables": {}, - "method": "POST", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432739868683, - "name": "/individual", - "description": "create a individual", - "collectionId": "0f79bd46-7c55-de98-5784-eff53159cc42", - "responses": [], - "synced": false, - "rawModeData": "{\r\n \"gender\": \"male\",\r\n \"placeOfBirth\": \"http://goo.gl/maps/l8F9L\",\r\n \"countryOfBirth\": \"Austria\",\r\n \"nationality\": \"Canadian\",\r\n \"maritalStatus\": \"never married\",\r\n \"disability\": [\r\n {\r\n \"disability\": \"blind\"\r\n }\r\n ],\r\n \"birthDate\": \"1961-03-05T00:00:00.0Z\",\r\n \"characteristic\": [\r\n {\r\n \"name\": \"hobby\",\r\n \"value\": \"hockey\"\r\n }\r\n ],\r\n \"title\": \"\",\r\n \"givenName\": \"John\",\r\n \"familyName\": \"Smith\",\r\n \"middleName\": \"\",\r\n \"fullName\": \"\",\r\n \"formattedName\": \"\",\r\n \"otherName\": [\r\n {\r\n \"title\": \"\",\r\n \"givenName\": \"\",\r\n \"familyName\": \"\",\r\n \"middleName\": \"\",\r\n \"fullName\": \"\",\r\n \"formattedName\": \"\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n }\r\n ],\r\n \"location\": \"http://goo.gl/maps/l8F9L\",\r\n \"status\": \"Initialized\",\r\n \"individualIdentification\": [\r\n {\r\n \"type\": \"Passport\",\r\n \"identificationId\": \"73736625252\",\r\n \"issuingAuthority\": \"\",\r\n \"issuingDate\": \"2013-06-19T00:00:00.0Z\"\r\n },\r\n {\r\n \"type\": \"SocialSecurityNumber\",\r\n \"identificationId\": \"33636363\",\r\n \"issuingAuthority\": \"\",\r\n \"issuingDate\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n ],\r\n \"externalReference\": [\r\n {\r\n \"href\": \"http://facebook.com/17263635\",\r\n \"type\": \"FacebookID\"\r\n },\r\n {\r\n \"href\": \"http://google.com/17263635\",\r\n \"type\": \"GoogleID\"\r\n }\r\n ],\r\n \"relatedParty\": [\r\n {\r\n \"id\": \"1\",\r\n \"href\": \"http://serverlocation:port/partyManagement/organization/1\",\r\n \"role\": \"Employee\",\r\n \"name\": \"Richard Cole\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n }\r\n ],\r\n \"contactMedium\": [\r\n {\r\n \"type\": \"Email\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"emailAddress\": \"abc@tmforum.com\"\r\n }\r\n },\r\n {\r\n \"type\": \"PostalAddress\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"city\": \"Wien\",\r\n \"country\": \"Austria\",\r\n \"postcode\": \"1020\",\r\n \"stateOrProvince\": \"Quebec\",\r\n \"streetOne\": \"Lassallestrasse7\",\r\n \"streetTwo\": \"\"\r\n }\r\n },\r\n {\r\n \"type\": \"TelephoneNumber\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"type\": \"mobile\",\r\n \"number\": \"+436641234567\"\r\n }\r\n },\r\n {\r\n \"preferred\": true,\r\n \"type\": \"TelephoneNumber\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"type\": \"business\",\r\n \"number\": \"+436641234567\"\r\n }\r\n }\r\n ]\r\n}" - }, - { - "id": "4c9058ab-f08a-2fb0-dfcd-453431ea8196", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{partyManagementApi}}/organization/:id", - "preRequestScript": "", - "pathVariables": { - "id": "1" - }, - "method": "PUT", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1427194463423, - "name": "/organization/{id}", - "description": "total update of organization with id", - "collectionId": "0f79bd46-7c55-de98-5784-eff53159cc42", - "responses": [], - "synced": false, - "rawModeData": "{\r\n \"href\": \"http://serverlocation:port/partyManagement/organization/MODIFIED\",\r\n \"isLegalEntity\": true,\r\n \"type\": \"Company MODIFIED\",\r\n \"existsDuring\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\"\r\n },\r\n \"tradingName\": \"Telekom\",\r\n \"nameType\": \"Co.\",\r\n \"status\": \"Initialized\",\r\n \"otherName\": {\r\n \"nameType\": \"Co.\",\r\n \"tradingName\": \"Orange\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n },\r\n \"characteristic\": {\r\n \"name\": \"industry\",\r\n \"value\": \"telecom\"\r\n },\r\n \"organizationIdentification\": {\r\n \"type\": \"CompanyRegistrationNumber\",\r\n \"identificationId\": \"374748328\",\r\n \"issuingAuthority\": \"\",\r\n \"issuingDate\": \"2013-06-19T00:00:00.0Z\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n },\r\n \"externalReference\": [\r\n {\r\n \"href\": \"http://facebook.com/17263635\",\r\n \"type\": \"FacebookID\"\r\n },\r\n {\r\n \"href\": \"http://google.com/17263635\",\r\n \"type\": \"GoogleID\"\r\n }\r\n ],\r\n \"relatedParty\": {\r\n \"id\": \"12\",\r\n \"href\": \"http://serverlocation:port/partyManagement/organization/12\",\r\n \"role\": \"Vendor\",\r\n \"name\": \"Richard Cole\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n },\r\n \"organizationParentRelationship\": {\r\n \"relationshipType\": \"Juridical\",\r\n \"id\": \"13\",\r\n \"href\": \"http://serverlocation:port/partyManagement/organization/13\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n },\r\n \"organizationChildRelationship\": {\r\n \"relationshipType\": \"Juridical\",\r\n \"id\": \"16\",\r\n \"href\": \"http://serverlocation:port/partyManagement/organization/16\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n },\r\n \"contactMedium\": [\r\n {\r\n \"type\": \"Email\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"emailAddress\": \"abc@tmforum.com\"\r\n }\r\n },\r\n {\r\n \"type\": \"PostalAddress\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"city\": \"Wien\",\r\n \"country\": \"Austria\",\r\n \"postcode\": \"1020\",\r\n \"stateOrProvince\": \"Quebec\",\r\n \"streetOne\": \"Lassallestrasse7\",\r\n \"streetTwo\": \"\"\r\n }\r\n },\r\n {\r\n \"type\": \"TelephoneNumber\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"type\": \"mobile\",\r\n \"number\": \"+436641234567\"\r\n }\r\n },\r\n {\r\n \"preferred\": true,\r\n \"type\": \"TelephoneNumber\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"type\": \"business\",\r\n \"number\": \"+436641234567\"\r\n }\r\n }\r\n ]\r\n}", - "owner": 0, - "folder": "67196655-52e3-cbb1-02db-54240041f914" - }, - { - "id": "6469efff-f531-0314-0e0d-986fdd8f7761", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{partyManagementApi}}/individual", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1429715947681, - "name": "/individual", - "description": "select a collection of individuals", - "collectionId": "0f79bd46-7c55-de98-5784-eff53159cc42", - "responses": [], - "synced": false, - "owner": 0, - "folder": "acce9b4b-6bc4-10f1-4b34-8d01f11ef5ae" - }, - { - "id": "64b8aa78-2b45-a48c-080f-bdb790d9c76f", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{partyManagementApi}}/individual/?fields=gender,givenName", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1429802730616, - "name": "/individual attribute selection", - "description": "select a collection of individuals", - "collectionId": "0f79bd46-7c55-de98-5784-eff53159cc42", - "responses": [], - "synced": false, - "owner": 0, - "folder": "acce9b4b-6bc4-10f1-4b34-8d01f11ef5ae" - }, - { - "id": "7598287c-6da2-72bf-a63b-aeeb98b54be5", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{partyManagementApi}}/individual/?gender=female", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1429802789240, - "name": "/individual filtering", - "description": "select a collection of individuals", - "collectionId": "0f79bd46-7c55-de98-5784-eff53159cc42", - "responses": [], - "synced": false, - "owner": 0, - "folder": "acce9b4b-6bc4-10f1-4b34-8d01f11ef5ae" - }, - { - "id": "795c54fc-8dab-b8db-7713-8f05f2e8f708", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{partyManagementApi}}/hub", - "preRequestScript": "", - "pathVariables": {}, - "method": "POST", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432739963509, - "name": "/hub", - "description": "create a hub", - "collectionId": "0f79bd46-7c55-de98-5784-eff53159cc42", - "responses": [], - "synced": false, - "rawModeData": "{\n \"callback\":\"{{partyManagementSubscriberApi}}/event\"\n}" - }, - { - "id": "7d2baf95-5275-9c94-d647-a795faf91b18", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{partyManagementApi}}/organization/?isLegalEntity=true", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1429802931813, - "name": "/organization filtering", - "description": "select a collection of organizations", - "collectionId": "0f79bd46-7c55-de98-5784-eff53159cc42", - "responses": [], - "synced": false, - "owner": 0, - "folder": "67196655-52e3-cbb1-02db-54240041f914" - }, - { - "id": "984302c0-d864-53b9-cb06-f79c44e2a93b", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{partyManagementSubscriberApi}}/history", - "preRequestScript": "", - "pathVariables": {}, - "method": "DELETE", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1426759343459, - "name": "/history", - "description": "delete all", - "collectionId": "0f79bd46-7c55-de98-5784-eff53159cc42", - "responses": [], - "synced": false, - "owner": 0, - "folder": "ec4dc5a4-057a-eccc-8929-66c39f864bd9" - }, - { - "id": "a69293b3-96bd-9bd8-3048-99d004a81a81", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{partyManagementApi}}/organization/:id", - "preRequestScript": "", - "pathVariables": { - "id": "1" - }, - "method": "PATCH", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1427194860011, - "name": "/organization/{id}", - "description": "partial update of organization with id", - "collectionId": "0f79bd46-7c55-de98-5784-eff53159cc42", - "responses": [], - "synced": false, - "rawModeData": "{\r\n \"isLegalEntity\": false,\r\n \"tradingName\": \"Telekom PATCH\",\r\n \"status\": \"Cancelled\",\r\n \"otherName\": {\r\n \"nameType\": \"Co.\",\r\n \"tradingName\": \"Orange PATCH\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n },\r\n \"externalReference\": [\r\n {\r\n \"href\": \"http://facebook.com/17263635\",\r\n \"type\": \"FacebookID PATCH\"\r\n }\r\n ]\r\n}", - "owner": 0, - "folder": "67196655-52e3-cbb1-02db-54240041f914" - }, - { - "id": "aa0dd8d0-3828-4cd6-9767-4d65090d86e1", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{partyManagementSubscriberApi}}/current", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1426759131749, - "name": "/current", - "description": "get last event", - "collectionId": "0f79bd46-7c55-de98-5784-eff53159cc42", - "responses": [], - "synced": false, - "owner": 0, - "folder": "ec4dc5a4-057a-eccc-8929-66c39f864bd9" - }, - { - "id": "aab6257e-bf1b-89ea-731f-174370769d1a", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{partyManagementApi}}/hub/:id", - "preRequestScript": "", - "pathVariables": { - "id": "" - }, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432221624020, - "name": "/hub/:{id}", - "description": "select one hub", - "collectionId": "0f79bd46-7c55-de98-5784-eff53159cc42", - "responses": [], - "synced": false, - "owner": 0, - "folder": "1921e70c-9611-60de-7cad-fafce29418a4" - }, - { - "id": "b2a1d8ea-61b0-554d-cff6-b72bafb0d004", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{partyManagementApi}}/organization/?fields=tradingName,otherName.tradingName", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1429802889629, - "name": "/organization", - "description": "select a collection of organizations", - "collectionId": "0f79bd46-7c55-de98-5784-eff53159cc42", - "responses": [], - "synced": false, - "owner": 0, - "folder": "67196655-52e3-cbb1-02db-54240041f914" - }, - { - "id": "bc1ca740-9140-1783-1440-39f8be220e8e", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{partyManagementApi}}/hub", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1427191315611, - "name": "/hub", - "description": "select all hubs", - "collectionId": "0f79bd46-7c55-de98-5784-eff53159cc42", - "responses": [], - "synced": false, - "owner": 0, - "folder": "1921e70c-9611-60de-7cad-fafce29418a4", - "write": true - }, - { - "id": "c02f91d8-efaf-ff51-1cbe-93e25f041467", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{partyManagementApi}}/individual/:id", - "preRequestScript": "", - "pathVariables": { - "id": "1" - }, - "method": "PUT", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1427191260114, - "name": "/individual/{id}", - "description": "partiel update of individual with id", - "collectionId": "0f79bd46-7c55-de98-5784-eff53159cc42", - "responses": [], - "synced": false, - "rawModeData": "{\r\n \"href\": \"http://serverlocation:port/partyManagement/individual/i42\",\r\n \"gender\": \"male\",\r\n \"placeOfBirth\": \"http://goo.gl/maps/l8F9L\",\r\n \"countryOfBirth\": \"France\",\r\n \"nationality\": \"française\",\r\n \"maritalStatus\": \"never married EN COURS\",\r\n \"disability\": [\r\n {\r\n \"disability\": \"blind\"\r\n }\r\n ],\r\n \"birthDate\": \"1961-03-05T00:00:00.0Z\",\r\n \"characteristic\": [\r\n {\r\n \"name\": \"hobby\",\r\n \"value\": \"hockey\"\r\n },\r\n {\r\n \"name\": \"\",\r\n \"value\": \"\"\r\n }\r\n ],\r\n \"title\": \"\",\r\n \"givenName\": \"John\",\r\n \"familyName\": \"Smith\",\r\n \"middleName\": \"\",\r\n \"fullName\": \"\",\r\n \"formattedName\": \"\",\r\n \"otherName\": [\r\n {\r\n \"title\": \"\",\r\n \"givenName\": \"\",\r\n \"familyName\": \"\",\r\n \"middleName\": \"\",\r\n \"fullName\": \"\",\r\n \"formattedName\": \"\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n }\r\n ],\r\n \"location\": \"http://goo.gl/maps/l8F9L\",\r\n \"status\": \"Initialized\",\r\n \"individualIdentification\": [\r\n {\r\n \"type\": \"Passport\",\r\n \"identificationId\": \"73736625252\",\r\n \"issuingAuthority\": \"\",\r\n \"issuingDate\": \"2013-06-19T00:00:00.0Z\"\r\n },\r\n {\r\n \"type\": \"SocialSecurityNumber\",\r\n \"identificationId\": \"33636363\",\r\n \"issuingAuthority\": \"\",\r\n \"issuingDate\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n ],\r\n \"externalReference\": [\r\n {\r\n \"href\": \"http://facebook.com/17263635\",\r\n \"type\": \"FacebookID\"\r\n },\r\n {\r\n \"href\": \"http://google.com/17263635\",\r\n \"type\": \"GoogleID\"\r\n }\r\n ],\r\n \"relatedParty\": [\r\n {\r\n \"id\": \"1\",\r\n \"href\": \"http://serverlocation:port/partyManagement/organization/1\",\r\n \"role\": \"Employee\",\r\n \"name\": \"Richard Cole\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n }\r\n ],\r\n \"contactMedium\": [\r\n {\r\n \"type\": \"Email\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"emailAddress\": \"abc@tmforum.com\"\r\n }\r\n },\r\n {\r\n \"type\": \"PostalAddress\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"city\": \"Wien\",\r\n \"country\": \"Austria\",\r\n \"postcode\": \"1020\",\r\n \"stateOrProvince\": \"Quebec\",\r\n \"streetOne\": \"Lassallestrasse7\",\r\n \"streetTwo\": \"\"\r\n }\r\n },\r\n {\r\n \"type\": \"TelephoneNumber\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"type\": \"mobile\",\r\n \"number\": \"+436641234567\"\r\n }\r\n },\r\n {\r\n \"preferred\": true,\r\n \"type\": \"TelephoneNumber\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"type\": \"business\",\r\n \"number\": \"+436641234567\"\r\n }\r\n }\r\n ]\r\n}", - "owner": 0, - "folder": "acce9b4b-6bc4-10f1-4b34-8d01f11ef5ae" - }, - { - "id": "ddefeee3-f498-eb08-70ba-8c954509468b", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{partyManagementApi}}/individual/:id", - "preRequestScript": "", - "pathVariables": { - "id": "26" - }, - "method": "PATCH", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1429717701587, - "name": "/individual/{id}", - "description": "total update of individual with id", - "collectionId": "0f79bd46-7c55-de98-5784-eff53159cc42", - "responses": [], - "synced": false, - "rawModeData": "{\r\n \"gender\": \"female\"\r\n}", - "owner": 0, - "folder": "acce9b4b-6bc4-10f1-4b34-8d01f11ef5ae" - }, - { - "id": "e8a4f0bb-d25a-40e6-00b3-50c592d7f89a", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{partyManagementApi}}/organization/:id", - "preRequestScript": "", - "pathVariables": { - "id": "1" - }, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1427191572601, - "name": "/organization/{id}", - "description": "select one organization with id", - "collectionId": "0f79bd46-7c55-de98-5784-eff53159cc42", - "responses": [], - "synced": false, - "owner": 0, - "folder": "67196655-52e3-cbb1-02db-54240041f914" - }, - { - "id": "f4a2983f-e85f-fcb4-0d45-d72c808e4c36", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{partyManagementApi}}/hub/:id", - "preRequestScript": "", - "pathVariables": { - "id": "" - }, - "method": "DELETE", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432220720490, - "name": "delete hub by id", - "description": "delete a hub", - "collectionId": "0f79bd46-7c55-de98-5784-eff53159cc42", - "responses": [], - "synced": false, - "rawModeData": "", - "owner": 0, - "folder": "1921e70c-9611-60de-7cad-fafce29418a4" - } - ] + "info": { + "_postman_id": "0f79bd46-7c55-de98-5784-eff53159cc42", + "name": "TMF Party Management API", + "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" + }, + "item": [ + { + "name": "event subscriber", + "item": [ + { + "name": "/current", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{partyManagementSubscriberApi}}/current", + "description": "get last event" + }, + "response": [] + }, + { + "name": "/history", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{partyManagementSubscriberApi}}/history", + "description": "List all" + }, + "response": [] + }, + { + "name": "/history", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{partyManagementSubscriberApi}}/history", + "description": "delete all" + }, + "response": [] + } + ] + }, + { + "name": "hub", + "item": [ + { + "name": "/hub", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"callback\":\"{{partyManagementSubscriberApi}}/event\"\n}" + }, + "url": "{{partyManagementApi}}/hub", + "description": "create a hub" + }, + "response": [] + }, + { + "name": "/hub", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{partyManagementApi}}/hub", + "description": "select all hubs" + }, + "response": [] + }, + { + "name": "/hub/:{id}", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{partyManagementApi}}/hub/:id", + "host": [ + "{{partyManagementApi}}" + ], + "path": [ + "hub", + ":id" + ], + "variable": [ + { + "value": "", + "key": "id" + } + ] + }, + "description": "select one hub" + }, + "response": [] + }, + { + "name": "delete hub by id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "{{partyManagementApi}}/hub/:id", + "host": [ + "{{partyManagementApi}}" + ], + "path": [ + "hub", + ":id" + ], + "variable": [ + { + "value": "", + "key": "id" + } + ] + }, + "description": "delete a hub" + }, + "response": [] + } + ] + }, + { + "name": "individual", + "item": [ + { + "name": "/individual", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{partyManagementApi}}/individual", + "description": "select a collection of individuals" + }, + "response": [] + }, + { + "name": "/individual attribute selection", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{partyManagementApi}}/individual/?fields=gender,givenName", + "host": [ + "{{partyManagementApi}}" + ], + "path": [ + "individual", + "" + ], + "query": [ + { + "key": "fields", + "value": "gender,givenName" + } + ] + }, + "description": "select a collection of individuals" + }, + "response": [] + }, + { + "name": "/individual filtering", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{partyManagementApi}}/individual/?gender=female", + "host": [ + "{{partyManagementApi}}" + ], + "path": [ + "individual", + "" + ], + "query": [ + { + "key": "gender", + "value": "female" + } + ] + }, + "description": "select a collection of individuals" + }, + "response": [] + }, + { + "name": "/individual/{id}", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{partyManagementApi}}/individual/:id", + "host": [ + "{{partyManagementApi}}" + ], + "path": [ + "individual", + ":id" + ], + "variable": [ + { + "value": "1", + "key": "id" + } + ] + }, + "description": "select one individual with id" + }, + "response": [] + }, + { + "name": "/individual", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"gender\": \"male\",\r\n \"placeOfBirth\": \"http://goo.gl/maps/l8F9L\",\r\n \"countryOfBirth\": \"Austria\",\r\n \"nationality\": \"Canadian\",\r\n \"maritalStatus\": \"never married\",\r\n \"disability\": [\r\n {\r\n \"disability\": \"blind\"\r\n }\r\n ],\r\n \"birthDate\": \"1961-03-05T00:00:00.0Z\",\r\n \"characteristic\": [\r\n {\r\n \"name\": \"hobby\",\r\n \"value\": \"hockey\"\r\n }\r\n ],\r\n \"title\": \"\",\r\n \"givenName\": \"John\",\r\n \"familyName\": \"Smith\",\r\n \"middleName\": \"\",\r\n \"fullName\": \"\",\r\n \"formattedName\": \"\",\r\n \"otherName\": [\r\n {\r\n \"title\": \"\",\r\n \"givenName\": \"\",\r\n \"familyName\": \"\",\r\n \"middleName\": \"\",\r\n \"fullName\": \"\",\r\n \"formattedName\": \"\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n }\r\n ],\r\n \"location\": \"http://goo.gl/maps/l8F9L\",\r\n \"status\": \"Initialized\",\r\n \"individualIdentification\": [\r\n {\r\n \"type\": \"Passport\",\r\n \"identificationId\": \"73736625252\",\r\n \"issuingAuthority\": \"\",\r\n \"issuingDate\": \"2013-06-19T00:00:00.0Z\"\r\n },\r\n {\r\n \"type\": \"SocialSecurityNumber\",\r\n \"identificationId\": \"33636363\",\r\n \"issuingAuthority\": \"\",\r\n \"issuingDate\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n ],\r\n \"externalReference\": [\r\n {\r\n \"href\": \"http://facebook.com/17263635\",\r\n \"type\": \"FacebookID\"\r\n },\r\n {\r\n \"href\": \"http://google.com/17263635\",\r\n \"type\": \"GoogleID\"\r\n }\r\n ],\r\n \"relatedParty\": [\r\n {\r\n \"id\": \"1\",\r\n \"href\": \"http://serverlocation:port/partyManagement/organization/1\",\r\n \"role\": \"Employee\",\r\n \"name\": \"Richard Cole\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n }\r\n ],\r\n \"contactMedium\": [\r\n {\r\n \"type\": \"Email\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"emailAddress\": \"abc@tmforum.com\"\r\n }\r\n },\r\n {\r\n \"type\": \"PostalAddress\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"city\": \"Wien\",\r\n \"country\": \"Austria\",\r\n \"postcode\": \"1020\",\r\n \"stateOrProvince\": \"Quebec\",\r\n \"streetOne\": \"Lassallestrasse7\",\r\n \"streetTwo\": \"\"\r\n }\r\n },\r\n {\r\n \"type\": \"TelephoneNumber\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"type\": \"mobile\",\r\n \"number\": \"+436641234567\"\r\n }\r\n },\r\n {\r\n \"preferred\": true,\r\n \"type\": \"TelephoneNumber\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"type\": \"business\",\r\n \"number\": \"+436641234567\"\r\n }\r\n }\r\n ]\r\n}" + }, + "url": "{{partyManagementApi}}/individual", + "description": "create a individual" + }, + "response": [] + }, + { + "name": "/individual/{id}", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"href\": \"http://serverlocation:port/partyManagement/individual/i42\",\r\n \"gender\": \"male\",\r\n \"placeOfBirth\": \"http://goo.gl/maps/l8F9L\",\r\n \"countryOfBirth\": \"France\",\r\n \"nationality\": \"française\",\r\n \"maritalStatus\": \"never married EN COURS\",\r\n \"disability\": [\r\n {\r\n \"disability\": \"blind\"\r\n }\r\n ],\r\n \"birthDate\": \"1961-03-05T00:00:00.0Z\",\r\n \"characteristic\": [\r\n {\r\n \"name\": \"hobby\",\r\n \"value\": \"hockey\"\r\n },\r\n {\r\n \"name\": \"\",\r\n \"value\": \"\"\r\n }\r\n ],\r\n \"title\": \"\",\r\n \"givenName\": \"John\",\r\n \"familyName\": \"Smith\",\r\n \"middleName\": \"\",\r\n \"fullName\": \"\",\r\n \"formattedName\": \"\",\r\n \"otherName\": [\r\n {\r\n \"title\": \"\",\r\n \"givenName\": \"\",\r\n \"familyName\": \"\",\r\n \"middleName\": \"\",\r\n \"fullName\": \"\",\r\n \"formattedName\": \"\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n }\r\n ],\r\n \"location\": \"http://goo.gl/maps/l8F9L\",\r\n \"status\": \"Initialized\",\r\n \"individualIdentification\": [\r\n {\r\n \"type\": \"Passport\",\r\n \"identificationId\": \"73736625252\",\r\n \"issuingAuthority\": \"\",\r\n \"issuingDate\": \"2013-06-19T00:00:00.0Z\"\r\n },\r\n {\r\n \"type\": \"SocialSecurityNumber\",\r\n \"identificationId\": \"33636363\",\r\n \"issuingAuthority\": \"\",\r\n \"issuingDate\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n ],\r\n \"externalReference\": [\r\n {\r\n \"href\": \"http://facebook.com/17263635\",\r\n \"type\": \"FacebookID\"\r\n },\r\n {\r\n \"href\": \"http://google.com/17263635\",\r\n \"type\": \"GoogleID\"\r\n }\r\n ],\r\n \"relatedParty\": [\r\n {\r\n \"id\": \"1\",\r\n \"href\": \"http://serverlocation:port/partyManagement/organization/1\",\r\n \"role\": \"Employee\",\r\n \"name\": \"Richard Cole\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n }\r\n ],\r\n \"contactMedium\": [\r\n {\r\n \"type\": \"Email\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"emailAddress\": \"abc@tmforum.com\"\r\n }\r\n },\r\n {\r\n \"type\": \"PostalAddress\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"city\": \"Wien\",\r\n \"country\": \"Austria\",\r\n \"postcode\": \"1020\",\r\n \"stateOrProvince\": \"Quebec\",\r\n \"streetOne\": \"Lassallestrasse7\",\r\n \"streetTwo\": \"\"\r\n }\r\n },\r\n {\r\n \"type\": \"TelephoneNumber\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"type\": \"mobile\",\r\n \"number\": \"+436641234567\"\r\n }\r\n },\r\n {\r\n \"preferred\": true,\r\n \"type\": \"TelephoneNumber\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"type\": \"business\",\r\n \"number\": \"+436641234567\"\r\n }\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "{{partyManagementApi}}/individual/:id", + "host": [ + "{{partyManagementApi}}" + ], + "path": [ + "individual", + ":id" + ], + "variable": [ + { + "value": "1", + "key": "id" + } + ] + }, + "description": "partiel update of individual with id" + }, + "response": [] + }, + { + "name": "/individual/{id}", + "request": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"gender\": \"female\"\r\n}" + }, + "url": { + "raw": "{{partyManagementApi}}/individual/:id", + "host": [ + "{{partyManagementApi}}" + ], + "path": [ + "individual", + ":id" + ], + "variable": [ + { + "value": "26", + "key": "id" + } + ] + }, + "description": "total update of individual with id" + }, + "response": [] + } + ] + }, + { + "name": "organization", + "item": [ + { + "name": "/organization", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{partyManagementApi}}/organization/?fields=tradingName,otherName.tradingName", + "host": [ + "{{partyManagementApi}}" + ], + "path": [ + "organization", + "" + ], + "query": [ + { + "key": "fields", + "value": "tradingName,otherName.tradingName" + } + ] + }, + "description": "select a collection of organizations" + }, + "response": [] + }, + { + "name": "/organization attribute selection", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{partyManagementApi}}/organization", + "description": "select a collection of organizations" + }, + "response": [] + }, + { + "name": "/organization filtering", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{partyManagementApi}}/organization/?isLegalEntity=true", + "host": [ + "{{partyManagementApi}}" + ], + "path": [ + "organization", + "" + ], + "query": [ + { + "key": "isLegalEntity", + "value": "true" + } + ] + }, + "description": "select a collection of organizations" + }, + "response": [] + }, + { + "name": "/organization/{id}", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{partyManagementApi}}/organization/:id", + "host": [ + "{{partyManagementApi}}" + ], + "path": [ + "organization", + ":id" + ], + "variable": [ + { + "value": "1", + "key": "id" + } + ] + }, + "description": "select one organization with id" + }, + "response": [] + }, + { + "name": "/organization", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"isLegalEntity\": true,\r\n \"type\": \"Company\",\r\n \"existsDuring\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\"\r\n },\r\n \"tradingName\": \"Telekom\",\r\n \"nameType\": \"Co.\",\r\n \"status\": \"Initialized\",\r\n \"otherName\": {\r\n \"nameType\": \"Co.\",\r\n \"tradingName\": \"Orange\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n },\r\n \"characteristic\": {\r\n \"name\": \"industry\",\r\n \"value\": \"telecom\"\r\n },\r\n \"organizationIdentification\": {\r\n \"type\": \"CompanyRegistrationNumber\",\r\n \"identificationId\": \"374748328\",\r\n \"issuingAuthority\": \"\",\r\n \"issuingDate\": \"2013-06-19T00:00:00.0Z\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n },\r\n \"externalReference\": [\r\n {\r\n \"href\": \"http://facebook.com/17263635\",\r\n \"type\": \"FacebookID\"\r\n },\r\n {\r\n \"href\": \"http://google.com/17263635\",\r\n \"type\": \"GoogleID\"\r\n }\r\n ],\r\n \"relatedParty\": {\r\n \"id\": \"12\",\r\n \"href\": \"http://serverlocation:port/partyManagement/organization/12\",\r\n \"role\": \"Vendor\",\r\n \"name\": \"Richard Cole\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n },\r\n \"organizationParentRelationship\": {\r\n \"relationshipType\": \"Juridical\",\r\n \"id\": \"13\",\r\n \"href\": \"http://serverlocation:port/partyManagement/organization/13\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n },\r\n \"organizationChildRelationship\": {\r\n \"relationshipType\": \"Juridical\",\r\n \"id\": \"16\",\r\n \"href\": \"http://serverlocation:port/partyManagement/organization/16\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n },\r\n \"contactMedium\": [\r\n {\r\n \"type\": \"Email\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"emailAddress\": \"abc@tmforum.com\"\r\n }\r\n },\r\n {\r\n \"type\": \"PostalAddress\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"city\": \"Wien\",\r\n \"country\": \"Austria\",\r\n \"postcode\": \"1020\",\r\n \"stateOrProvince\": \"Quebec\",\r\n \"streetOne\": \"Lassallestrasse7\",\r\n \"streetTwo\": \"\"\r\n }\r\n },\r\n {\r\n \"type\": \"TelephoneNumber\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"type\": \"mobile\",\r\n \"number\": \"+436641234567\"\r\n }\r\n },\r\n {\r\n \"preferred\": true,\r\n \"type\": \"TelephoneNumber\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"type\": \"business\",\r\n \"number\": \"+436641234567\"\r\n }\r\n }\r\n ]\r\n}" + }, + "url": "{{partyManagementApi}}/organization", + "description": "create a organization" + }, + "response": [] + }, + { + "name": "/organization/{id}", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"href\": \"http://serverlocation:port/partyManagement/organization/MODIFIED\",\r\n \"isLegalEntity\": true,\r\n \"type\": \"Company MODIFIED\",\r\n \"existsDuring\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\"\r\n },\r\n \"tradingName\": \"Telekom\",\r\n \"nameType\": \"Co.\",\r\n \"status\": \"Initialized\",\r\n \"otherName\": {\r\n \"nameType\": \"Co.\",\r\n \"tradingName\": \"Orange\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n },\r\n \"characteristic\": {\r\n \"name\": \"industry\",\r\n \"value\": \"telecom\"\r\n },\r\n \"organizationIdentification\": {\r\n \"type\": \"CompanyRegistrationNumber\",\r\n \"identificationId\": \"374748328\",\r\n \"issuingAuthority\": \"\",\r\n \"issuingDate\": \"2013-06-19T00:00:00.0Z\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n },\r\n \"externalReference\": [\r\n {\r\n \"href\": \"http://facebook.com/17263635\",\r\n \"type\": \"FacebookID\"\r\n },\r\n {\r\n \"href\": \"http://google.com/17263635\",\r\n \"type\": \"GoogleID\"\r\n }\r\n ],\r\n \"relatedParty\": {\r\n \"id\": \"12\",\r\n \"href\": \"http://serverlocation:port/partyManagement/organization/12\",\r\n \"role\": \"Vendor\",\r\n \"name\": \"Richard Cole\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n },\r\n \"organizationParentRelationship\": {\r\n \"relationshipType\": \"Juridical\",\r\n \"id\": \"13\",\r\n \"href\": \"http://serverlocation:port/partyManagement/organization/13\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n },\r\n \"organizationChildRelationship\": {\r\n \"relationshipType\": \"Juridical\",\r\n \"id\": \"16\",\r\n \"href\": \"http://serverlocation:port/partyManagement/organization/16\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n },\r\n \"contactMedium\": [\r\n {\r\n \"type\": \"Email\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"emailAddress\": \"abc@tmforum.com\"\r\n }\r\n },\r\n {\r\n \"type\": \"PostalAddress\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"city\": \"Wien\",\r\n \"country\": \"Austria\",\r\n \"postcode\": \"1020\",\r\n \"stateOrProvince\": \"Quebec\",\r\n \"streetOne\": \"Lassallestrasse7\",\r\n \"streetTwo\": \"\"\r\n }\r\n },\r\n {\r\n \"type\": \"TelephoneNumber\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"type\": \"mobile\",\r\n \"number\": \"+436641234567\"\r\n }\r\n },\r\n {\r\n \"preferred\": true,\r\n \"type\": \"TelephoneNumber\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\"\r\n },\r\n \"medium\": {\r\n \"type\": \"business\",\r\n \"number\": \"+436641234567\"\r\n }\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "{{partyManagementApi}}/organization/:id", + "host": [ + "{{partyManagementApi}}" + ], + "path": [ + "organization", + ":id" + ], + "variable": [ + { + "value": "1", + "key": "id" + } + ] + }, + "description": "total update of organization with id" + }, + "response": [] + }, + { + "name": "/organization/{id}", + "request": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"isLegalEntity\": false,\r\n \"tradingName\": \"Telekom PATCH\",\r\n \"status\": \"Cancelled\",\r\n \"otherName\": {\r\n \"nameType\": \"Co.\",\r\n \"tradingName\": \"Orange PATCH\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-06-19T00:00:00.0Z\"\r\n }\r\n },\r\n \"externalReference\": [\r\n {\r\n \"href\": \"http://facebook.com/17263635\",\r\n \"type\": \"FacebookID PATCH\"\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "{{partyManagementApi}}/organization/:id", + "host": [ + "{{partyManagementApi}}" + ], + "path": [ + "organization", + ":id" + ], + "variable": [ + { + "value": "1", + "key": "id" + } + ] + }, + "description": "partial update of organization with id" + }, + "response": [] + } + ] + } + ] } \ No newline at end of file diff --git a/TMFProductCatalogAPI.json.postman_collection b/TMFProductCatalogAPI.json.postman_collection index 92c99de..59541dc 100644 --- a/TMFProductCatalogAPI.json.postman_collection +++ b/TMFProductCatalogAPI.json.postman_collection @@ -1,1999 +1,1996 @@ { - "id": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "name": "TMF Product Catalog API", - "description": "", - "order": [], - "folders": [ - { - "id": "07586f44-693d-04d2-9b30-cff3f71bc8cf", - "name": "catalog api", - "description": "", - "write": true, - "order": [ - "26edbf15-e3bb-30eb-85a1-7ea320cd48ed", - "08babb54-787e-6dad-8f7c-ad746751ba86", - "e6000750-43a7-bdc5-7b42-36913a371ca5", - "2cd04c5e-90b8-9412-b38c-96e45f5d9179", - "8e925ca8-e769-3e9b-8844-3671700b35b4" - ], - "collection_name": "TMF Product Catalog API", - "collection_owner": 0, - "collection_id": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "collection": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "owner": 0 - }, - { - "id": "60dba6c8-7495-03e8-3dc3-dcdd65f37d2d", - "name": "category api", - "description": "", - "write": true, - "order": [ - "3362028c-6e4b-e6ed-262d-f4def5e44355", - "7ea9e26a-6864-7142-d314-49c06a92cb06", - "fde5ee40-2559-a3ca-a712-e2cb23307d05", - "7eac8edc-ad61-2cfb-258d-bcf68008676c", - "3a0159fe-2f19-2b80-bdf5-a93d9a785e1f" - ], - "collection_name": "TMF Product Catalog API", - "collection_owner": 0, - "collection_id": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "collection": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "owner": 0 - }, - { - "id": "1c0994ff-c748-79ed-68a9-5029c469312b", - "name": "event subscriber test api", - "description": "", - "write": true, - "order": [ - "3cefc583-c10d-b7ec-c484-bb51d8de16ec", - "9d12700a-0b82-9caf-305c-1aa311588b24", - "a63d427d-ed72-4546-2967-07515632b77f" - ], - "collection_name": "TMF Product Catalog API", - "collection_owner": 0, - "collection_id": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "collection": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "owner": 0 - }, - { - "id": "188367d1-c88c-90b7-6fce-8654cedaa2a0", - "name": "hub api", - "description": "", - "write": true, - "order": [ - "4e522c34-4be4-0021-290f-be7b8625f64d", - "07fde079-8c30-9a61-023f-5b8b58581eff", - "b5541ff3-5e4d-9be0-5431-bdf05449619f", - "838228b7-acd0-2c93-88b5-48098f7a163d" - ], - "collection_name": "TMF Product Catalog API", - "collection_owner": 0, - "collection_id": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "collection": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "owner": 0 - }, - { - "id": "cd3a193b-31d0-4e51-da82-8567b85f5785", - "name": "productOffering api", - "description": "", - "write": true, - "order": [ - "2bdfebe6-4ce5-e94c-1bcf-cd2131d49987", - "f6885caf-f105-07a5-a935-34e026cdc8a2", - "8c482e22-4534-0109-fae8-3ff89197ea7b", - "c4ce0e2f-2857-2349-2a77-d2d76e10e4e1", - "a69c5aa7-cb98-2440-4b83-4e430790b568" - ], - "collection_name": "TMF Product Catalog API", - "collection_owner": 0, - "collection_id": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "collection": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "owner": 0 - }, - { - "id": "08c5ce97-114b-2910-09a2-7ae8425626c4", - "name": "productSpecification api", - "description": "", - "write": true, - "order": [ - "0c5b7221-1394-00fe-e687-f84757edda24", - "db742d97-1d42-aae7-a14e-d288d2d0af4b", - "ff709a91-5694-d61e-4cb5-aeaeb7dee572", - "6211de10-e5da-9cc3-ed06-a7b4888d68b9", - "578c10d0-3176-8954-07b3-66b2ce9afe6c" - ], - "collection_name": "TMF Product Catalog API", - "collection_owner": 0, - "collection_id": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "collection": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "owner": 0 - } - ], - "timestamp": 1430346783940, - "synced": false, - "owner": 0, - "sharedWithTeam": false, - "subscribed": false, - "remoteLink": "", - "public": false, - "write": true, - "requests": [ - { - "id": "07fde079-8c30-9a61-023f-5b8b58581eff", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{catalogManagementApi}}/hub", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1430351375759, - "name": "/hub", - "description": "select all hubs", - "collectionId": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "responses": [], - "synced": false - }, - { - "id": "08babb54-787e-6dad-8f7c-ad746751ba86", - "headers": "Accept: application/json\nContent-Type: application/json\n", - "url": "{{catalogManagementApi}}/catalog/:id", - "preRequestScript": "", - "pathVariables": { - "id": "" - }, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1430412271795, - "name": "/catalog/:id", - "description": "", - "collectionId": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "responses": [ - { - "status": "", - "responseCode": { - "code": 200, - "name": "OK", - "detail": "Standard response for successful HTTP requests. The actual response will depend on the request method used. In a GET request, the response will contain an entity corresponding to the requested resource. In a POST request the response will contain an entity describing or containing the result of the action." - }, - "time": 73, - "headers": [ - { - "name": "Content-Type", - "key": "Content-Type", - "value": "application/json", - "description": "The mime type of this content" - }, - { - "name": "Date", - "key": "Date", - "value": "Mon, 29 Dec 2014 17:04:54 GMT", - "description": "The date and time that the message was sent" - }, - { - "name": "Server", - "key": "Server", - "value": "GlassFish Server Open Source Edition 3.1.2.2", - "description": "A name for the server" - }, - { - "name": "Transfer-Encoding", - "key": "Transfer-Encoding", - "value": "chunked", - "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." - }, - { - "name": "X-Powered-By", - "key": "X-Powered-By", - "value": "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7)", - "description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)" - } - ], - "cookies": [], - "mime": "", - "text": "{\"id\":\"CATL-002\",\"version\":\"1.5\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/catalog/CATL-002:(1.5)\",\"name\":\"Catalog Wholesale Business\",\"description\":\"Contains Wholesale products, services, and resources for Businesses\",\"lastUpdate\":\"2014-12-29T17:04:36.849+0000\",\"lifecycleStatus\":\"In Study\",\"validFor\":{\"endDateTime\":\"2014-04-19T20:42:23.000+0000\"},\"type\":\"Service Catalog\",\"category\":[{\"id\":\"CATGR-001\",\"version\":\"2.0\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/CATGR-001:(2.0)\",\"name\":\"Cloud offerings\",\"description\":\" A category to hold all available cloud service offers \"}],\"relatedParty\":[{\"id\":\"1234\",\"href\":\"http ://serverLocation:port/partyManagement/partyRole/1234\",\"role\":\"Owner\"},{\"id\":\"128\",\"href\":\"http ://serverLocation:port/partyManagement/partyRole/1234\",\"role\":\"Reviser\"}]}", - "language": "javascript", - "rawDataType": "text", - "state": { - "size": "normal" - }, - "previewType": "html", - "searchResultScrolledTo": -1, - "forceRaw": false, - "id": "84cd336e-23b5-c8ec-9f60-3b65b0b53824", - "name": "Response", - "request": { - "url": "http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/catalog/CATL-002", - "pathVariables": {}, - "data": [], - "headers": "Accept: application/json\nContent-Type: application/json\n", - "dataMode": "params", - "method": "GET", - "tests": "", - "version": 2 - }, - "write": true - } - ], - "synced": false - }, - { - "id": "0c5b7221-1394-00fe-e687-f84757edda24", - "headers": "Accept: application/json\nContent-Type: application/json\n", - "url": "{{catalogManagementApi}}/productSpecification", - "preRequestScript": "", - "pathVariables": {}, - "method": "POST", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1430344281369, - "name": "/productSpecification", - "description": "Auto generated ID.", - "collectionId": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "responses": [ - { - "status": "", - "responseCode": { - "code": 201, - "name": "Created", - "detail": "The request has been fulfilled and resulted in a new resource being created." - }, - "time": 227, - "headers": [ - { - "name": "Content-Type", - "key": "Content-Type", - "value": "application/json", - "description": "The mime type of this content" - }, - { - "name": "Date", - "key": "Date", - "value": "Tue, 30 Dec 2014 17:00:55 GMT", - "description": "The date and time that the message was sent" - }, - { - "name": "Server", - "key": "Server", - "value": "GlassFish Server Open Source Edition 3.1.2.2", - "description": "A name for the server" - }, - { - "name": "Transfer-Encoding", - "key": "Transfer-Encoding", - "value": "chunked", - "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." - }, - { - "name": "X-Powered-By", - "key": "X-Powered-By", - "value": "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7)", - "description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)" - } - ], - "cookies": [], - "mime": "", - "text": "{\"id\":\"2\",\"version\":\"2.0\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/productSpecification/2:(2.0)\",\"name\":\"iPhone 42\",\"description\":\"Siri works on this iPhone\",\"lastUpdate\":\"2014-12-30T17:00:55.588+0000\",\"lifecycleStatus\":\"Active\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2013-06-19T04:00:00.000+0000\"},\"productNumber\":\"I42-340-DX\",\"isBundle\":true,\"brand\":\"Apple\",\"attachment\":[{\"id\":\"22\",\"href\":\"http://serverlocation:port/documentManagement/attachment/22\",\"type\":\"Picture\",\"url\":\"http://xxxxx\"}],\"relatedParty\":[{\"id\":\"1234\",\"href\":\"http ://serverLocation:port/partyManagement/partyRole/1234\",\"role\":\"Owner\"}],\"bundledProductSpecification\":[{\"id\":\"15\",\"href\":\"http://serverlocation:port/catalogManagement/productSpecification/15\",\"name\":\"Product specification 15\",\"lifecycleStatus\":\"Active\"},{\"id\":\"64\",\"href\":\"http://serverlocation:port/catalogManagement/productSpecification/64\",\"name\":\"Product specification 64\",\"lifecycleStatus\":\"Active\"}],\"productSpecificationRelationship\":[{\"id\":\"23\",\"href\":\" http://serverlocation:port/catalogManagement/productSpecification/23\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"type\":\"dependency\"}],\"serviceSpecification\":[{\"id\":\"13\",\"version\":\"1.1\",\"href\":\"http://serverlocation:port/catalogManagement/serviceSpecification/13\",\"name\":\"specification 1\"}],\"resourceSpecification\":[{\"id\":\"13\",\"version\":\"1.1\",\"href\":\"http://serverlocation:port/catalogManagement/resourceSpecification/13\",\"name\":\"specification 1\"}],\"productSpecCharacteristic\":[{\"id\":\"42\",\"name\":\"Screen Size\",\"description\":\"Screen size\",\"valueType\":\"number\",\"configurable\":false,\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"productSpecCharRelationship\":[{\"id\":\"43\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"type\":\"dependency\"}],\"productSpecCharacteristicValue\":[{\"valueType\":\"number\",\"value\":\"4.2\",\"unitOfMeasure\":\"inches\",\"valueFrom\":\"\",\"valueTo\":\"\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"default\":true}]},{\"id\":\"34\",\"name\":\"Colour\",\"description\":\"Colour\",\"valueType\":\"string\",\"configurable\":true,\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"productSpecCharacteristicValue\":[{\"valueType\":\"string\",\"value\":\"Black\",\"unitOfMeasure\":\"\",\"valueFrom\":\"\",\"valueTo\":\"\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"default\":true},{\"valueType\":\"string\",\"value\":\"White\",\"unitOfMeasure\":\"\",\"valueFrom\":\"\",\"valueTo\":\"\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"default\":false}]}]}", - "language": "javascript", - "rawDataType": "text", - "state": { - "size": "normal" - }, - "previewType": "html", - "searchResultScrolledTo": -1, - "forceRaw": false, - "id": "d0718708-9c26-da0c-1e15-75c12d84fbd9", - "name": "Response", - "request": { - "url": "http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/productSpecification", - "pathVariables": {}, - "data": "{\n\t\"href\": \"http://serverlocation:port/catalogManagement/productSpecification/22\",\n\t\"productNumber\": \"I42-340-DX\",\n\t\"version\": \"2.0\",\n\t\"lastUpdate\": \"2013-04-19T16:42:23-04:00\",\n\t\"name\": \"iPhone 42\",\n\t\"description\": \"Siri works on this iPhone\",\n\t\"isBundle\": true,\n\t\"brand\": \"Apple\",\n\t\"lifecycleStatus\": \"Active\",\n\t\"validFor\": {\n\t\t\"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n\t\t\"endDateTime\": \"2013-06-19T00:00:00-04:00\"\n\t},\n\t\"relatedParty\": [\n\t\t{\n\t\t\t\"role\": \"Owner\",\n\t\t\t\"id\": \"1234\",\n\t\t\t\"href\": \"http ://serverLocation:port/partyManagement/partyRole/1234\"\n\t\t}\n\t],\n\t\"attachment\": [\n\t\t{\n\t\t\t\"id\": \"22\",\n\t\t\t\"href\": \"http://serverlocation:port/documentManagement/attachment/22\",\n\t\t\t\"type\": \"Picture\",\n\t\t\t\"url\": \"http://xxxxx\"\n\t\t}\n\t],\n\t\"bundledProductSpecification\": [\n\t\t{\n\t\t\t\"id\": \"15\",\n\t\t\t\"href\": \"http://serverlocation:port/catalogManagement/productSpecification/15\",\n\t\t\t\"lifecycleStatus\": \"Active\",\n\t\t\t\"name\": \"Product specification 15\"\n\t\t}, {\n\t\t\t\"id\": \"64\",\n\t\t\t\"href\": \"http://serverlocation:port/catalogManagement/productSpecification/64\",\n\t\t\t\"lifecycleStatus\": \"Active\",\n\t\t\t\"name\": \"Product specification 64\"\n\t\t}\n\t],\n\t\"productSpecificationRelationship\": [\n\t\t{\n\t\t\t\"type\": \"dependency\",\n\t\t\t\"id\": \"23\",\n\t\t\t\"href\": \" http://serverlocation:port/catalogManagement/productSpecification/23\",\t\t\t\"validFor\": {\n\t\t\t\t\"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n\t\t\t\t\"endDateTime\": \"\"\n\t\t\t}\n\t\t}\n\t],\n\t\"serviceSpecification\": [\n\t\t{\n\t\t\t\"id\": \"13\",\n\t\t\t\"href\": \"http://serverlocation:port/catalogManagement/serviceSpecification/13\",\n\t\t\t\"name\": \"specification 1\",\n\t\t\t\"version\": \"1.1\"\n\t\t}\n\t],\n\t\"resourceSpecification\": [\n\t\t{\n\t\t\t\"id\": \"13\",\n\t\t\t\"href\": \"http://serverlocation:port/catalogManagement/resourceSpecification/13\",\n\t\t\t\"name\": \"specification 1\",\n\t\t\t\"version\": \"1.1\"\n\t\t}\n\t],\n\t\"productSpecCharacteristic\": [\n\t\t{\n\t\t\t\"id\": \"42\",\n\t\t\t\"name\": \"Screen Size\",\n\t\t\t\"description\": \"Screen size\",\n\t\t\t\"valueType\": \"number\",\n\t\t\t\"configurable\": false,\n\t\t\t\"validFor\": {\n\t\t\t\t\"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n\t\t\t\t\"endDateTime\": \"\"\n\t\t\t},\n\t\t\t\"productSpecCharRelationship\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"dependency\",\n\t\t\t\t\t\"id\": \"43\",\n\t\t\t\t\t\"validFor\": {\n\t\t\t\t\t\t\"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n\t\t\t\t\t\t\"endDateTime\": \"\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"productSpecCharacteristicValue\": [\n\t\t\t\t{\n\t\t\t\t\t\"valueType\": \"number\",\n\t\t\t\t\t\"default\": true,\n\t\t\t\t\t\"value\": \"4.2\",\n\t\t\t\t\t\"unitOfMeasure\": \"inches\",\n\t\t\t\t\t\"valueFrom\": \"\",\n\t\t\t\t\t\"valueTo\": \"\",\n\t\t\t\t\t\"validFor\": {\n\t\t\t\t\t\t\"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n\t\t\t\t\t\t\"endDateTime\": \"\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t}, {\n\t\t\t\"id\": \"34\",\n\t\t\t\"name\": \"Colour\",\n\t\t\t\"description\": \"Colour\",\n\t\t\t\"valueType\": \"string\",\n\t\t\t\"configurable\": true,\n\t\t\t\"validFor\": {\n\t\t\t\t\"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n\t\t\t\t\"endDateTime\": \"\"\n\t\t\t},\n\t\t\t\"productSpecCharacteristicValue\": [\n\t\t\t\t{\n\t\t\t\t\t\"valueType\": \"string\",\n\t\t\t\t\t\"default\": true,\n\t\t\t\t\t\"value\": \"Black\",\n\t\t\t\t\t\"unitOfMeasure\": \"\",\n\t\t\t\t\t\"valueFrom\": \"\",\n\t\t\t\t\t\"valueTo\": \"\",\n\t\t\t\t\t\"validFor\": {\n\t\t\t\t\t\t\"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n\t\t\t\t\t\t\"endDateTime\": \"\"\n\t\t\t\t\t}\n\t\t\t\t}, {\n\t\t\t\t\t\"valueType\": \"string\",\n\t\t\t\t\t\"default\": false,\n\t\t\t\t\t\"value\": \"White\",\n\t\t\t\t\t\"unitOfMeasure\": \"\",\n\t\t\t\t\t\"valueFrom\": \"\",\n\t\t\t\t\t\"valueTo\": \"\",\n\t\t\t\t\t\"validFor\": {\n\t\t\t\t\t\t\"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n\t\t\t\t\t\t\"endDateTime\": \"\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t]\n}\n", - "headers": "Accept: application/json\nContent-Type: application/json\n", - "dataMode": "raw", - "method": "POST", - "tests": "", - "version": 2 - }, - "write": true - } - ], - "synced": false, - "write": true, - "collection": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "folder": "08c5ce97-114b-2910-09a2-7ae8425626c4", - "owner": 0, - "rawModeData": "{\n\t\"href\": \"http://serverlocation:port/catalogManagement/productSpecification/22\",\n\t\"productNumber\": \"I42-340-DX\",\n\t\"version\": \"2.0\",\n\t\"lastUpdate\": \"2013-04-19T16:42:23-04:00\",\n\t\"name\": \"iPhone 42\",\n\t\"description\": \"Siri works on this iPhone\",\n\t\"isBundle\": true,\n\t\"brand\": \"Apple\",\n\t\"lifecycleStatus\": \"Active\",\n\t\"validFor\": {\n\t\t\"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n\t\t\"endDateTime\": \"2013-06-19T00:00:00-04:00\"\n\t},\n\t\"relatedParty\": [\n\t\t{\n\t\t\t\"role\": \"Owner\",\n\t\t\t\"id\": \"1234\",\n\t\t\t\"href\": \"http ://serverLocation:port/partyManagement/partyRole/1234\"\n\t\t}\n\t],\n\t\"attachment\": [\n\t\t{\n\t\t\t\"id\": \"22\",\n\t\t\t\"href\": \"http://serverlocation:port/documentManagement/attachment/22\",\n\t\t\t\"type\": \"Picture\",\n\t\t\t\"url\": \"http://xxxxx\"\n\t\t}\n\t],\n\t\"bundledProductSpecification\": [\n\t\t{\n\t\t\t\"id\": \"15\",\n\t\t\t\"href\": \"http://serverlocation:port/catalogManagement/productSpecification/15\",\n\t\t\t\"lifecycleStatus\": \"Active\",\n\t\t\t\"name\": \"Product specification 15\"\n\t\t}, {\n\t\t\t\"id\": \"64\",\n\t\t\t\"href\": \"http://serverlocation:port/catalogManagement/productSpecification/64\",\n\t\t\t\"lifecycleStatus\": \"Active\",\n\t\t\t\"name\": \"Product specification 64\"\n\t\t}\n\t],\n\t\"productSpecificationRelationship\": [\n\t\t{\n\t\t\t\"type\": \"dependency\",\n\t\t\t\"id\": \"23\",\n\t\t\t\"href\": \" http://serverlocation:port/catalogManagement/productSpecification/23\",\t\t\t\"validFor\": {\n\t\t\t\t\"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n\t\t\t\t\"endDateTime\": \"\"\n\t\t\t}\n\t\t}\n\t],\n\t\"serviceSpecification\": [\n\t\t{\n\t\t\t\"id\": \"13\",\n\t\t\t\"href\": \"http://serverlocation:port/catalogManagement/serviceSpecification/13\",\n\t\t\t\"name\": \"specification 1\",\n\t\t\t\"version\": \"1.1\"\n\t\t}\n\t],\n\t\"resourceSpecification\": [\n\t\t{\n\t\t\t\"id\": \"13\",\n\t\t\t\"href\": \"http://serverlocation:port/catalogManagement/resourceSpecification/13\",\n\t\t\t\"name\": \"specification 1\",\n\t\t\t\"version\": \"1.1\"\n\t\t}\n\t],\n\t\"productSpecCharacteristic\": [\n\t\t{\n\t\t\t\"id\": \"42\",\n\t\t\t\"name\": \"Screen Size\",\n\t\t\t\"description\": \"Screen size\",\n\t\t\t\"valueType\": \"number\",\n\t\t\t\"configurable\": false,\n\t\t\t\"validFor\": {\n\t\t\t\t\"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n\t\t\t\t\"endDateTime\": \"\"\n\t\t\t},\n\t\t\t\"productSpecCharRelationship\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"dependency\",\n\t\t\t\t\t\"id\": \"43\",\n\t\t\t\t\t\"validFor\": {\n\t\t\t\t\t\t\"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n\t\t\t\t\t\t\"endDateTime\": \"\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"productSpecCharacteristicValue\": [\n\t\t\t\t{\n\t\t\t\t\t\"valueType\": \"number\",\n\t\t\t\t\t\"default\": true,\n\t\t\t\t\t\"value\": \"4.2\",\n\t\t\t\t\t\"unitOfMeasure\": \"inches\",\n\t\t\t\t\t\"valueFrom\": \"\",\n\t\t\t\t\t\"valueTo\": \"\",\n\t\t\t\t\t\"validFor\": {\n\t\t\t\t\t\t\"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n\t\t\t\t\t\t\"endDateTime\": \"\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t}, {\n\t\t\t\"id\": \"34\",\n\t\t\t\"name\": \"Colour\",\n\t\t\t\"description\": \"Colour\",\n\t\t\t\"valueType\": \"string\",\n\t\t\t\"configurable\": true,\n\t\t\t\"validFor\": {\n\t\t\t\t\"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n\t\t\t\t\"endDateTime\": \"\"\n\t\t\t},\n\t\t\t\"productSpecCharacteristicValue\": [\n\t\t\t\t{\n\t\t\t\t\t\"valueType\": \"string\",\n\t\t\t\t\t\"default\": true,\n\t\t\t\t\t\"value\": \"Black\",\n\t\t\t\t\t\"unitOfMeasure\": \"\",\n\t\t\t\t\t\"valueFrom\": \"\",\n\t\t\t\t\t\"valueTo\": \"\",\n\t\t\t\t\t\"validFor\": {\n\t\t\t\t\t\t\"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n\t\t\t\t\t\t\"endDateTime\": \"\"\n\t\t\t\t\t}\n\t\t\t\t}, {\n\t\t\t\t\t\"valueType\": \"string\",\n\t\t\t\t\t\"default\": false,\n\t\t\t\t\t\"value\": \"White\",\n\t\t\t\t\t\"unitOfMeasure\": \"\",\n\t\t\t\t\t\"valueFrom\": \"\",\n\t\t\t\t\t\"valueTo\": \"\",\n\t\t\t\t\t\"validFor\": {\n\t\t\t\t\t\t\"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n\t\t\t\t\t\t\"endDateTime\": \"\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t]\n}\n" - }, - { - "id": "26edbf15-e3bb-30eb-85a1-7ea320cd48ed", - "headers": "Accept: application/json\nContent-Type: application/json\n", - "url": "{{catalogManagementApi}}/catalog", - "preRequestScript": "", - "pathVariables": {}, - "method": "POST", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432764528963, - "name": "/catalog", - "description": "", - "collectionId": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "responses": [ - { - "status": "", - "responseCode": { - "code": 201, - "name": "Created", - "detail": "The request has been fulfilled and resulted in a new resource being created." - }, - "time": 1505, - "headers": [ - { - "name": "Content-Type", - "key": "Content-Type", - "value": "application/json", - "description": "The mime type of this content" - }, - { - "name": "Date", - "key": "Date", - "value": "Mon, 29 Dec 2014 17:02:20 GMT", - "description": "The date and time that the message was sent" - }, - { - "name": "Server", - "key": "Server", - "value": "GlassFish Server Open Source Edition 3.1.2.2", - "description": "A name for the server" - }, - { - "name": "Transfer-Encoding", - "key": "Transfer-Encoding", - "value": "chunked", - "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." - }, - { - "name": "X-Powered-By", - "key": "X-Powered-By", - "value": "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7)", - "description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)" - } - ], - "cookies": [], - "mime": "", - "text": "{\"id\":\"1\",\"version\":\"\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/catalog/1\",\"name\":\"Catalog Wholesale Business\",\"description\":\"Contains Wholesale products, services, and resources for Businesses\",\"lastUpdate\":\"2014-12-29T17:02:20.416+0000\",\"lifecycleStatus\":\"Active\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2014-04-19T20:42:23.000+0000\"},\"type\":\"Product Catalog\",\"category\":[{\"id\":\"CATGR-001\",\"version\":\"2.0\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/CATGR-001:(2.0)\",\"name\":\"Cloud offerings\",\"description\":\" A category to hold all available cloud service offers \"}],\"relatedParty\":[{\"id\":\"1234\",\"href\":\"http ://serverLocation:port/partyManagement/partyRole/1234\",\"role\":\"Owner\"},{\"id\":\"128\",\"href\":\"http ://serverLocation:port/partyManagement/partyRole/1234\",\"role\":\"Reviser\"}]}", - "language": "javascript", - "rawDataType": "text", - "state": { - "size": "normal" - }, - "previewType": "html", - "searchResultScrolledTo": -1, - "forceRaw": false, - "id": "ac417707-3aae-9f1e-acba-34d7d6a0c15b", - "name": "Response", - "request": { - "url": "http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/catalog", - "pathVariables": {}, - "data": "{\n \"href\": \"http://serverlocation:port/catalogManagement/catalog/10\",\n \"lastUpdate\": \"2013-04-19T16:42:23-04:00\",\n \"type\": \"Product Catalog\",\n \"category\": [\n {\n \"id\": \"CATGR-001\",\n \"href\": \"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/CATGR-001:(2.0)\",\n \"version\": \"2.0\",\n \"name\": \"Cloud offerings\",\n \"description\": \" A category to hold all available cloud service offers \"\n }\n ],\n \"name\": \"Catalog Wholesale Business\",\n \"description\": \"Contains Wholesale products, services, and resources for Businesses\",\n \"lifecycleStatus\": \"Active\",\n \"validFor\": {\n \"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n \"endDateTime\": \"2014-04-19T16:42:23-04:00\"\n },\n \"relatedParty\": [\n {\n \"role\": \"Owner\",\n \"id\": \"1234\",\n \"href\": \"http ://serverLocation:port/partyManagement/partyRole/1234\"\n },\n {\n \"role\": \"Reviser\",\n \"href\": \"http ://serverLocation:port/partyManagement/partyRole/1234\",\n \"id\": \"128\"\n }\n ]\n}", - "headers": "Accept: application/json\nContent-Type: application/json\n", - "dataMode": "raw", - "method": "POST", - "tests": "", - "version": 2 - }, - "write": true - } - ], - "synced": false, - "rawModeData": "{\n \n \"lastUpdate\": \"2013-04-19T16:42:23-04:00\",\n \"type\": \"Product Catalog\",\n \"category\": [\n {\n \"id\": \"CATGR-001\",\n \"href\": \"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/CATGR-001:(2.0)\",\n \"version\": \"2.0\",\n \"name\": \"Cloud offerings\",\n \"description\": \" A category to hold all available cloud service offers \"\n }\n ],\n \"name\": \"Catalog Wholesale Business\",\n \"description\": \"Contains Wholesale products, services, and resources for Businesses\",\n \"lifecycleStatus\": \"Active\",\n \"validFor\": {\n \"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n \"endDateTime\": \"2014-04-19T16:42:23-04:00\"\n },\n \"relatedParty\": [\n {\n \"role\": \"Owner\",\n \"id\": \"1234\",\n \"href\": \"http ://serverLocation:port/partyManagement/partyRole/1234\"\n },\n {\n \"role\": \"Reviser\",\n \"href\": \"http ://serverLocation:port/partyManagement/partyRole/1234\",\n \"id\": \"128\"\n }\n ]\n}" - }, - { - "id": "2bdfebe6-4ce5-e94c-1bcf-cd2131d49987", - "headers": "Accept: application/json\nContent-Type: application/json\n", - "url": "{{catalogManagementApi}}/productOffering", - "preRequestScript": "", - "pathVariables": {}, - "method": "POST", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1430342864143, - "name": "/productOffering", - "description": "Auto generated ID.", - "collectionId": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "responses": [ - { - "status": "", - "responseCode": { - "code": 201, - "name": "Created", - "detail": "The request has been fulfilled and resulted in a new resource being created." - }, - "time": 1838, - "headers": [ - { - "name": "Content-Type", - "key": "Content-Type", - "value": "application/json", - "description": "The mime type of this content" - }, - { - "name": "Date", - "key": "Date", - "value": "Tue, 30 Dec 2014 16:41:05 GMT", - "description": "The date and time that the message was sent" - }, - { - "name": "Server", - "key": "Server", - "value": "GlassFish Server Open Source Edition 3.1.2.2", - "description": "A name for the server" - }, - { - "name": "Transfer-Encoding", - "key": "Transfer-Encoding", - "value": "chunked", - "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." - }, - { - "name": "X-Powered-By", - "key": "X-Powered-By", - "value": "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7)", - "description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)" - } - ], - "cookies": [], - "mime": "", - "text": "{\"id\":\"1\",\"version\":\"2.0\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/productOffering/1:(2.0)\",\"name\":\"Virtual Storage Medium\",\"description\":\"Virtual Storage Medium\",\"lastUpdate\":\"2014-12-30T16:41:05.746+0000\",\"lifecycleStatus\":\"Active\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2013-06-19T04:00:00.000+0000\"},\"isBundle\":true,\"category\":[{\"id\":\"12\",\"version\":\"2.0\",\"href\":\"http://serverlocation:port/catalogManagement/category/12\",\"name\":\"Cloud offerings\"}],\"channel\":[{\"id\":\"13\",\"href\":\"http://serverlocation:port/marketSales/channel/13\",\"name\":\"Online Channel\"}],\"place\":[{\"id\":\"12\",\"href\":\"http://serverlocation:port/marketSales/place/12\",\"name\":\"France\"}],\"bundledProductOffering\":[{\"id\":\"15\",\"href\":\"http://serverlocation:port/catalogManagement/productOffering/15\",\"name\":\"Offering 15\",\"lifecycleStatus\":\"Active\"},{\"id\":\"64\",\"href\":\"http://serverlocation:port/catalogManagement/productOffering/64\",\"name\":\"Offering 64\",\"lifecycleStatus\":\"Active\"}],\"serviceLevelAgreement\":{\"id\":\"28\",\"href\":\"http://serverlocation:port/slaManagement/serviceLevelAgreement/28\",\"name\":\"Standard SLA\"},\"productSpecification\":{\"id\":\"13\",\"version\":\"2.0\",\"href\":\"http://serverlocation:port/catalogManagement/productSpecification/13\",\"name\":\"specification product 1\"},\"serviceCandidate\":{\"id\":\"13\",\"version\":\"2.0\",\"href\":\"http://serverlocation:port/catalogManagement/serviceCandidate/13\",\"name\":\"specification service 1\"},\"resourceCandidate\":{\"id\":\"13\",\"version\":\"2.0\",\"href\":\"http://serverlocation:port/catalogManagement/resourceCandidate/13\",\"name\":\"specification resource 1\"},\"productOfferingTerm\":[{\"name\":\"12 Month\",\"description\":\"12 month contract\",\"duration\":\"12\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2013-06-19T04:00:00.000+0000\"}}],\"productOfferingPrice\":[{\"priceType\":\"recurring\",\"unitOfMeasure\":\"\",\"price\":{\"taxIncludedAmount\":\"12.00\",\"dutyFreeAmount\":\"10.00\",\"taxRate\":\"20.00\",\"currencyCode\":\"EUR\",\"percentage\":0},\"recurringChargePeriod\":\"monthly\",\"name\":\"Monthly Price\",\"description\":\"monthlyprice\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2013-06-19T04:00:00.000+0000\"}},{\"priceType\":\"usage\",\"unitOfMeasure\":\"second\",\"price\":{\"taxIncludedAmount\":\"12.00\",\"dutyFreeAmount\":\"10.00\",\"taxRate\":\"20.00\",\"currencyCode\":\"EUR\",\"percentage\":0},\"recurringChargePeriod\":\"\",\"productOfferPriceAlteration\":{\"name\":\"Shipping Discount\",\"description\":\"One time shipping discount\",\"validFor\":{\"startDateTime\":\"2013-04-19T16:42:23.000+0000\"},\"priceType\":\"one time\",\"unitOfMeasure\":\"\",\"price\":{\"percentage\":\"100\"},\"recurringChargePeriod\":\"\",\"priceCondition\":\"apply if total amount of the order is greater than 300.00\"},\"name\":\"Usage Price\",\"description\":\"usageprice\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2013-06-19T04:00:00.000+0000\"}}]}", - "language": "javascript", - "rawDataType": "text", - "state": { - "size": "normal" - }, - "previewType": "html", - "searchResultScrolledTo": -1, - "forceRaw": false, - "id": "8b2fbb73-23b4-c2ea-c65e-26035dddcd6b", - "name": "Response", - "request": "41513987-b3fa-c13f-7495-0b300eb345fe", - "write": true, - "owner": 0, - "collectionId": "f79c4d38-c22f-5f70-d78c-00691e6b5417" - } - ], - "synced": false, - "write": true, - "collection": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "folder": "cd3a193b-31d0-4e51-da82-8567b85f5785", - "owner": 0, - "rawModeData": "{\n \"href\": \"http://serverlocation:port/catalogManagement/productOffering/42\",\n \"version\": \"2.0\",\n \"lastUpdate\": \"2013-04-19T16:42:23-04:00\",\n \"name\": \"Virtual Storage Medium\",\n \"description\": \"Virtual Storage Medium\",\n \"isBundle\": true,\n \"lifecycleStatus\": \"Active\",\n \"validFor\": {\n \"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n \"endDateTime\": \"2013-06-19T00:00:00-04:00\"\n },\n \"category\": [\n {\n \"id\": \"12\",\n \"href\": \"http://serverlocation:port/catalogManagement/category/12\",\n \"version\": \"2.0\",\n \"name\": \"Cloud offerings\"\n }\n ],\n \"channel\": [\n {\n \"id\": \"13\",\n \"href\": \"http://serverlocation:port/marketSales/channel/13\",\n \"name\": \"Online Channel\"\n }\n ],\n \"place\": [\n {\n \"id\": \"12\",\n \"href\": \"http://serverlocation:port/marketSales/place/12\",\n \"name\": \"France\"\n }\n ],\n \"bundledProductOffering\": [\n {\n \"id\": \"15\",\n \"href\": \"http://serverlocation:port/catalogManagement/productOffering/15\",\n \"lifecycleStatus\": \"Active\",\n \"name\": \"Offering 15\"\n },\n {\n \"id\": \"64\",\n \"href\": \"http://serverlocation:port/catalogManagement/productOffering/64\",\n \"lifecycleStatus\": \"Active\",\n \"name\": \"Offering 64\"\n }\n ],\n \"serviceLevelAgreement\": {\n \"id\": \"28\",\n \"href\": \"http://serverlocation:port/slaManagement/serviceLevelAgreement/28\",\n \"name\": \"Standard SLA\"\n },\n \"productSpecification\": {\n \"id\": \"13\",\n \"href\": \"http://serverlocation:port/catalogManagement/productSpecification/13\",\n \"version\": \"2.0\",\n \"name\": \"specification product 1\"\n },\n \"serviceCandidate\": {\n \"id\": \"13\",\n \"href\": \"http://serverlocation:port/catalogManagement/serviceCandidate/13\",\n \"version\": \"2.0\",\n \"name\": \"specification service 1\"\n },\n \"resourceCandidate\": {\n \"id\": \"13\",\n \"href\": \"http://serverlocation:port/catalogManagement/resourceCandidate/13\",\n \"version\": \"2.0\",\n \"name\": \"specification resource 1\"\n },\n \"productOfferingTerm\": [\n {\n \"name\": \"12 Month\",\n \"description\": \"12 month contract\",\n \"duration\": \"12\",\n \"validFor\": {\n \"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n \"endDateTime\": \"2013-06-19T00:00:00-04:00\"\n }\n }\n ],\n \"productOfferingPrice\": [\n {\n \"name\": \"Monthly Price\",\n \"description\": \"monthlyprice\",\n \"validFor\": {\n \"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n \"endDateTime\": \"2013-06-19T00:00:00-04:00\"\n },\n \"priceType\": \"recurring\",\n \"unitOfMeasure\": \"\",\n \"price\": {\n \"taxIncludedAmount\": \"12.00\",\n \"dutyFreeAmount\": \"10.00\",\n \"taxRate\": \"20.00\",\n \"currencyCode\": \"EUR\",\n \"percentage\": 0\n },\n \"recurringChargePeriod\": \"monthly\"\n },\n {\n \"name\": \"Usage Price\",\n \"description\": \"usageprice\",\n \"validFor\": {\n \"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n \"endDateTime\": \"2013-06-19T00:00:00-04:00\"\n },\n \"priceType\": \"usage\",\n \"unitOfMeasure\": \"second\",\n \"price\": {\n \"taxIncludedAmount\": \"12.00\",\n \"dutyFreeAmount\": \"10.00\",\n \"taxRate\": \"20.00\",\n \"currencyCode\": \"EUR\",\n \"percentage\": 0\n },\n \"recurringChargePeriod\": \"\",\n \"productOfferPriceAlteration\": {\n \"name\": \"Shipping Discount\",\n \"description\": \"One time shipping discount\",\n \"validFor\": {\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\"\n },\n \"priceType\": \"one time\",\n \"unitOfMeasure\": \"\",\n \"price\": {\n \"percentage\": 100\n },\n \"recurringChargePeriod\": \"\",\n \"priceCondition\": \"apply if total amount of the order is greater than 300.00\"\n }\n\n }\n ]\n}" - }, - { - "id": "2cd04c5e-90b8-9412-b38c-96e45f5d9179", - "headers": "Accept: application/json\nContent-Type: application/json\n", - "url": "{{catalogManagementApi}}/catalog/:id", - "preRequestScript": "", - "pathVariables": { - "id": "" - }, - "method": "PATCH", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1430412991223, - "name": "/catalog/:id", - "description": "Bad URL; Missing close paran at end.", - "collectionId": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "responses": [ - { - "status": "", - "responseCode": { - "code": 404, - "name": "Not Found", - "detail": "The requested resource could not be found but may be available again in the future. Subsequent requests by the client are permissible." - }, - "time": 19, - "headers": [ - { - "name": "Content-Length", - "key": "Content-Length", - "value": "1098", - "description": "The length of the response body in octets (8-bit bytes)" - }, - { - "name": "Content-Type", - "key": "Content-Type", - "value": "text/html", - "description": "The mime type of this content" - }, - { - "name": "Date", - "key": "Date", - "value": "Mon, 29 Dec 2014 17:08:28 GMT", - "description": "The date and time that the message was sent" - }, - { - "name": "Server", - "key": "Server", - "value": "GlassFish Server Open Source Edition 3.1.2.2", - "description": "A name for the server" - }, - { - "name": "X-Powered-By", - "key": "X-Powered-By", - "value": "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7)", - "description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)" - } - ], - "cookies": [], - "mime": "", - "text": "GlassFish Server Open Source Edition 3.1.2.2 - Error report

HTTP Status 404 - Not Found


type Status report

messageNot Found

descriptionThe requested resource (Not Found) is not available.


GlassFish Server Open Source Edition 3.1.2.2

", - "language": "html", - "rawDataType": "text", - "state": { - "size": "normal" - }, - "previewType": "html", - "searchResultScrolledTo": -1, - "forceRaw": false, - "id": "43487971-6d93-6b8f-88bc-11397bb934e6", - "name": "Response", - "request": { - "url": "http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/catalog/CATL-002:(1.9", - "pathVariables": {}, - "data": "{\n \"id\": \"CATL-002\",\n \"version\":\"1.5\",\n \"href\": \"http://serverlocation:port/catalogManagement/catalog/10\",\n \"lastUpdate\": \"2013-04-19T16:42:23-04:00\",\n \"type\": \"Service Catalog\",\n \"validFor\": {\n \"endDateTime\": \"2014-04-19T16:42:23-04:00\"\n },\n \"category\": [\n {\n \"id\": \"CATGR-001\",\n \"href\": \"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/CATGR-001:(2.0)\",\n \"version\": 2.0,\n \"name\": \"Cloud offerings\",\n \"description\": \" A category to hold all available cloud service offers \"\n }\n ],\n \"name\": \"Catalog Wholesale Business\",\n \"description\": \"Contains Wholesale products, services, and resources for Businesses\",\n \"relatedParty\": [\n {\n \"role\": \"Owner\",\n \"id\": \"1234\",\n \"href\": \"http ://serverLocation:port/partyManagement/partyRole/1234\"\n },\n {\n \"role\": \"Reviser\",\n \"href\": \"http ://serverLocation:port/partyManagement/partyRole/1234\",\n \"id\": \"128\"\n }\n ]\n}", - "headers": "Accept: application/json\nContent-Type: application/json\n", - "dataMode": "raw", - "method": "PATCH", - "tests": "", - "version": 2 - }, - "write": true - } - ], - "synced": false, - "rawModeData": "{\n \"lifecycleStatus\": \"Launched\"\n}" - }, - { - "id": "3362028c-6e4b-e6ed-262d-f4def5e44355", - "headers": "Accept: application/json\nContent-Type: application/json\n", - "url": "{{catalogManagementApi}}/category", - "preRequestScript": "", - "pathVariables": {}, - "method": "POST", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1430346055922, - "name": "/category", - "description": "ID: auto gen\nchild category\nlifecyclestatus: In Design\n", - "collectionId": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "responses": [ - { - "status": "", - "responseCode": { - "code": 201, - "name": "Created", - "detail": "The request has been fulfilled and resulted in a new resource being created." - }, - "time": 383, - "headers": [ - { - "name": "Content-Type", - "key": "Content-Type", - "value": "application/json", - "description": "The mime type of this content" - }, - { - "name": "Date", - "key": "Date", - "value": "Mon, 29 Dec 2014 17:44:12 GMT", - "description": "The date and time that the message was sent" - }, - { - "name": "Server", - "key": "Server", - "value": "GlassFish Server Open Source Edition 3.1.2.2", - "description": "A name for the server" - }, - { - "name": "Transfer-Encoding", - "key": "Transfer-Encoding", - "value": "chunked", - "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." - }, - { - "name": "X-Powered-By", - "key": "X-Powered-By", - "value": "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7)", - "description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)" - } - ], - "cookies": [], - "mime": "", - "text": "{\"id\":\"1\",\"version\":\"1.0\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/1:(1.0)\",\"name\":\"Cloud Services\",\"description\":\"A category to hold all available cloud service offers\",\"lastUpdate\":\"2014-12-29T17:44:11.987+0000\",\"lifecycleStatus\":\"In Design\",\"parentId\":\"41\",\"isRoot\":false}", - "language": "javascript", - "rawDataType": "text", - "state": { - "size": "normal" - }, - "previewType": "html", - "searchResultScrolledTo": -1, - "forceRaw": false, - "id": "ee125b5c-643d-ff96-8dc8-780bb0b3ba4b", - "name": "Response", - "request": { - "url": "http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category", - "pathVariables": {}, - "data": "{\n \"href\": \"http://serverlocation:port/catalogManagement/category/42\",\n \"version\": \"1.0\",\n \"lastUpdate\": \"2013-04-19T16:42:23-04:00\",\n \"version\": \"1.0\",\n \"parentId\": \"41\",\n \"isRoot\": false,\n \"name\": \"Cloud Services\",\n \"description\": \"A category to hold all available cloud service offers\",\n \"lifecycleStatus\": \"In Design\"\n}", - "headers": "Accept: application/json\nContent-Type: application/json\n", - "dataMode": "raw", - "method": "POST", - "tests": "", - "version": 2 - }, - "write": true - } - ], - "synced": false, - "write": true, - "collection": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "folder": "60dba6c8-7495-03e8-3dc3-dcdd65f37d2d", - "owner": 0, - "rawModeData": "{\n \"href\": \"http://serverlocation:port/catalogManagement/category/42\",\n \"version\": \"1.0\",\n \"lastUpdate\": \"2013-04-19T16:42:23-04:00\",\n \"version\": \"1.0\",\n \"parentId\": \"41\",\n \"isRoot\": false,\n \"name\": \"Cloud Services\",\n \"description\": \"A category to hold all available cloud service offers\",\n \"lifecycleStatus\": \"In Design\"\n}" - }, - { - "id": "3a0159fe-2f19-2b80-bdf5-a93d9a785e1f", - "headers": "Accept: application/json\nContent-Type: application/json\n", - "url": "{{catalogManagementApi}}/category/:id", - "preRequestScript": "", - "pathVariables": { - "id": "" - }, - "method": "DELETE", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1430412062309, - "name": "/category/:id", - "description": "\n", - "collectionId": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "responses": [ - { - "status": "", - "responseCode": { - "code": 405, - "name": "Method Not Allowed", - "detail": "A request was made of a resource using a request method not supported by that resource; for example, using GET on a form which requires data to be presented via POST, or using PUT on a read-only resource." - }, - "time": 16, - "headers": [ - { - "name": "Allow", - "key": "Allow", - "value": "POST,GET,OPTIONS,HEAD", - "description": "Valid actions for a specified resource. To be used for a 405 Method not allowed" - }, - { - "name": "Content-Length", - "key": "Content-Length", - "value": "1153", - "description": "The length of the response body in octets (8-bit bytes)" - }, - { - "name": "Content-Type", - "key": "Content-Type", - "value": "text/html", - "description": "The mime type of this content" - }, - { - "name": "Date", - "key": "Date", - "value": "Mon, 29 Dec 2014 17:55:11 GMT", - "description": "The date and time that the message was sent" - }, - { - "name": "Server", - "key": "Server", - "value": "GlassFish Server Open Source Edition 3.1.2.2", - "description": "A name for the server" - }, - { - "name": "X-Powered-By", - "key": "X-Powered-By", - "value": "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7)", - "description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)" - } - ], - "cookies": [], - "mime": "", - "text": "GlassFish Server Open Source Edition 3.1.2.2 - Error report

HTTP Status 405 - Method Not Allowed


type Status report

messageMethod Not Allowed

descriptionThe specified HTTP method is not allowed for the requested resource (Method Not Allowed).


GlassFish Server Open Source Edition 3.1.2.2

", - "language": "html", - "rawDataType": "text", - "state": { - "size": "normal" - }, - "previewType": "html", - "searchResultScrolledTo": -1, - "forceRaw": false, - "id": "cad5340e-d3dc-58df-c091-46b80969c381", - "name": "Response", - "request": { - "url": "http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category", - "pathVariables": {}, - "data": [], - "headers": "Accept: application/json\nContent-Type: application/json\n", - "dataMode": "params", - "method": "DELETE", - "tests": "", - "version": 2 - }, - "write": true - } - ], - "synced": false - }, - { - "id": "3cefc583-c10d-b7ec-c484-bb51d8de16ec", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{catalogManagementSubscriberApi}}/current", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1430351487823, - "name": "/current", - "description": "get last event", - "collectionId": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "responses": [], - "synced": false - }, - { - "id": "4e522c34-4be4-0021-290f-be7b8625f64d", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{catalogManagementApi}}/hub", - "preRequestScript": "", - "pathVariables": {}, - "method": "POST", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1430406438294, - "name": "/hub", - "description": "create a hub", - "collectionId": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "responses": [], - "synced": false, - "rawModeData": "{\n \"callback\":\"{{catalogManagementSubscriberApi}}/event\"\n}" - }, - { - "id": "578c10d0-3176-8954-07b3-66b2ce9afe6c", - "headers": "", - "url": "{{catalogManagementApi}}/productSpecification/:id", - "preRequestScript": "", - "pathVariables": { - "id": "" - }, - "method": "DELETE", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1430411378010, - "name": "/productSpecification/:id", - "description": "latest & only version.", - "collectionId": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "responses": [ - { - "status": "", - "responseCode": { - "code": 200, - "name": "OK", - "detail": "Standard response for successful HTTP requests. The actual response will depend on the request method used. In a GET request, the response will contain an entity corresponding to the requested resource. In a POST request the response will contain an entity describing or containing the result of the action." - }, - "time": 59, - "headers": [ - { - "name": "Content-Length", - "key": "Content-Length", - "value": "0", - "description": "The length of the response body in octets (8-bit bytes)" - }, - { - "name": "Date", - "key": "Date", - "value": "Tue, 30 Dec 2014 17:11:01 GMT", - "description": "The date and time that the message was sent" - }, - { - "name": "Server", - "key": "Server", - "value": "GlassFish Server Open Source Edition 3.1.2.2", - "description": "A name for the server" - }, - { - "name": "X-Powered-By", - "key": "X-Powered-By", - "value": "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7)", - "description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)" - } - ], - "cookies": [], - "mime": "", - "text": "", - "language": "html", - "rawDataType": "text", - "state": { - "size": "normal" - }, - "previewType": "html", - "searchResultScrolledTo": -1, - "forceRaw": false, - "id": "8de275c2-9411-f246-5fce-b29bc471f79d", - "name": "Response", - "request": { - "url": "http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/productSpecification/PSPEC-800", - "pathVariables": {}, - "data": [], - "headers": "", - "dataMode": "params", - "method": "DELETE", - "tests": "", - "version": 2 - }, - "write": true - } - ], - "synced": false - }, - { - "id": "6211de10-e5da-9cc3-ed06-a7b4888d68b9", - "headers": "Accept: application/json\nContent-Type: application/json\n", - "url": "{{catalogManagementApi}}/productSpecification/:id", - "preRequestScript": "", - "pathVariables": { - "id": "" - }, - "method": "PATCH", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1430411263717, - "name": "/productSpecification/:id", - "description": "update life cycle of latest version (should be 12.17) to valid value.\n\n----\n\nupdated version is 12.17", - "collectionId": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "responses": [ - { - "status": "", - "responseCode": { - "code": 201, - "name": "Created", - "detail": "The request has been fulfilled and resulted in a new resource being created." - }, - "time": 104, - "headers": [ - { - "name": "Content-Type", - "key": "Content-Type", - "value": "application/json", - "description": "The mime type of this content" - }, - { - "name": "Date", - "key": "Date", - "value": "Tue, 30 Dec 2014 17:08:11 GMT", - "description": "The date and time that the message was sent" - }, - { - "name": "Server", - "key": "Server", - "value": "GlassFish Server Open Source Edition 3.1.2.2", - "description": "A name for the server" - }, - { - "name": "Transfer-Encoding", - "key": "Transfer-Encoding", - "value": "chunked", - "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." - }, - { - "name": "X-Powered-By", - "key": "X-Powered-By", - "value": "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7)", - "description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)" - } - ], - "cookies": [], - "mime": "", - "text": "{\"id\":\"PSPEC-900\",\"version\":\"12.17\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/productSpecification/PSPEC-900:(12.17)\",\"name\":\"iPhone 42\",\"description\":\"Siri works on this iPhone\",\"lastUpdate\":\"2014-12-30T17:08:10.928+0000\",\"lifecycleStatus\":\"Launched\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2013-06-19T04:00:00.000+0000\"},\"productNumber\":\"I42-340-DX\",\"isBundle\":true,\"brand\":\"Apple\",\"attachment\":[{\"id\":\"22\",\"href\":\"http://serverlocation:port/documentManagement/attachment/22\",\"type\":\"Picture\",\"url\":\"http://xxxxx\"}],\"relatedParty\":[{\"id\":\"1234\",\"href\":\"http ://serverLocation:port/partyManagement/partyRole/1234\",\"role\":\"Owner\"}],\"bundledProductSpecification\":[{\"id\":\"PSPECK-03-N\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/productSpecification/PSPECK-03-N:(0.4)\",\"name\":\"Product specification 15\",\"lifecycleStatus\":\"Active\"},{\"id\":\"PSPECK-04-B\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/productSpecification/PSPECK-04-B:(0.4)\",\"name\":\"Product specification 64\",\"lifecycleStatus\":\"In Study\"}],\"productSpecificationRelationship\":[{\"id\":\"23\",\"href\":\" http://serverlocation:port/catalogManagement/productSpecification/23\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"type\":\"dependency\"}],\"serviceSpecification\":[{\"id\":\"13\",\"version\":\"1.1\",\"href\":\"http://serverlocation:port/catalogManagement/serviceSpecification/13\",\"name\":\"specification 1\"}],\"resourceSpecification\":[{\"id\":\"RSPECK-02\",\"version\":\"1.0\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/resourceSpecification/RSPECK-02:(1.0),\",\"name\":\"specification 1\"}],\"productSpecCharacteristic\":[{\"id\":\"42\",\"name\":\"Screen Size\",\"description\":\"Screen size\",\"valueType\":\"number\",\"configurable\":false,\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"productSpecCharRelationship\":[{\"id\":\"43\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"type\":\"dependency\"}],\"productSpecCharacteristicValue\":[{\"valueType\":\"number\",\"value\":\"4.2\",\"unitOfMeasure\":\"inches\",\"valueFrom\":\"\",\"valueTo\":\"\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"default\":true}]},{\"id\":\"34\",\"name\":\"Colour\",\"description\":\"Colour\",\"valueType\":\"string\",\"configurable\":true,\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"productSpecCharacteristicValue\":[{\"valueType\":\"string\",\"value\":\"Black\",\"unitOfMeasure\":\"\",\"valueFrom\":\"\",\"valueTo\":\"\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"default\":true},{\"valueType\":\"string\",\"value\":\"White\",\"unitOfMeasure\":\"\",\"valueFrom\":\"\",\"valueTo\":\"\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"default\":false}]}]}", - "language": "javascript", - "rawDataType": "text", - "state": { - "size": "normal" - }, - "previewType": "html", - "searchResultScrolledTo": -1, - "forceRaw": false, - "id": "2da4dabd-5956-f093-059b-5fcfb7ff8b55", - "name": "Response", - "request": { - "url": "http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/productSpecification/PSPEC-900", - "pathVariables": {}, - "data": "{\n \"lifecycleStatus\": \"Launched\"\n}", - "headers": "Accept: application/json\nContent-Type: application/json\n", - "dataMode": "raw", - "method": "PATCH", - "tests": "", - "version": 2 - }, - "write": true - } - ], - "synced": false, - "rawModeData": "{\n \"lifecycleStatus\": \"Launched\"\n}" - }, - { - "id": "7ea9e26a-6864-7142-d314-49c06a92cb06", - "headers": "Accept: application/json\nContent-Type: application/json\n", - "url": "{{catalogManagementApi}}/category/:id", - "preRequestScript": "", - "pathVariables": { - "id": "6" - }, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1430354552088, - "name": "/category/:id", - "description": "ID: CATG-001\n\nReturns version 11.0 (latest).", - "collectionId": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "responses": [ - { - "status": "", - "responseCode": { - "code": 200, - "name": "OK", - "detail": "Standard response for successful HTTP requests. The actual response will depend on the request method used. In a GET request, the response will contain an entity corresponding to the requested resource. In a POST request the response will contain an entity describing or containing the result of the action." - }, - "time": 84, - "headers": [ - { - "name": "Content-Type", - "key": "Content-Type", - "value": "application/json", - "description": "The mime type of this content" - }, - { - "name": "Date", - "key": "Date", - "value": "Mon, 29 Dec 2014 17:47:32 GMT", - "description": "The date and time that the message was sent" - }, - { - "name": "Server", - "key": "Server", - "value": "GlassFish Server Open Source Edition 3.1.2.2", - "description": "A name for the server" - }, - { - "name": "Transfer-Encoding", - "key": "Transfer-Encoding", - "value": "chunked", - "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." - }, - { - "name": "X-Powered-By", - "key": "X-Powered-By", - "value": "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7)", - "description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)" - } - ], - "cookies": [], - "mime": "", - "text": "{\"id\":\"CATG-001\",\"version\":\"11.0\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/CATG-001:(11.0)\",\"name\":\"Cloud Services\",\"description\":\"A category to hold all available cloud service offers\",\"lastUpdate\":\"2014-12-29T17:46:38.348+0000\",\"lifecycleStatus\":\"Active\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"isRoot\":true}", - "language": "javascript", - "rawDataType": "text", - "state": { - "size": "normal" - }, - "previewType": "html", - "searchResultScrolledTo": -1, - "forceRaw": false, - "id": "89d98522-0651-00d0-0093-fced90f5265a", - "name": "Response", - "request": { - "url": "http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/CATG-001", - "pathVariables": {}, - "data": [], - "headers": "Accept: application/json\nContent-Type: application/json\n", - "dataMode": "params", - "method": "GET", - "tests": "", - "version": 2 - }, - "write": true - } - ], - "synced": false - }, - { - "id": "7eac8edc-ad61-2cfb-258d-bcf68008676c", - "headers": "Accept: application/json\nContent-Type: application/json\n", - "url": "{{catalogManagementApi}}/category/CATG-052:(2.1)", - "preRequestScript": "", - "pathVariables": {}, - "method": "PATCH", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1430346236918, - "name": "/category/:id", - "description": "", - "collectionId": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "responses": [ - { - "status": "", - "responseCode": { - "code": 500, - "name": "Internal Server Error", - "detail": "A generic error message, given when no more specific message is suitable." - }, - "time": 23, - "headers": [ - { - "name": "Connection", - "key": "Connection", - "value": "close", - "description": "Options that are desired for the connection" - }, - { - "name": "Content-Length", - "key": "Content-Length", - "value": "1737", - "description": "The length of the response body in octets (8-bit bytes)" - }, - { - "name": "Content-Type", - "key": "Content-Type", - "value": "text/html", - "description": "The mime type of this content" - }, - { - "name": "Date", - "key": "Date", - "value": "Mon, 29 Dec 2014 17:51:25 GMT", - "description": "The date and time that the message was sent" - } - ], - "cookies": [], - "mime": "", - "text": "GlassFish Server Open Source Edition 3.1.2.2 - Error report

HTTP Status 500 -


type Exception report

message

descriptionThe server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: org.tmf.dsmapi.catalog.exception.IllegalLifecycleStatusException: LifecycleStatus can only transition to one of [In Design, Active, Rejected] from the current status of 'In Test'

root cause

org.tmf.dsmapi.catalog.exception.IllegalLifecycleStatusException: LifecycleStatus can only transition to one of [In Design, Active, Rejected] from the current status of 'In Test'

note The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 3.1.2.2 logs.


GlassFish Server Open Source Edition 3.1.2.2

", - "language": "html", - "rawDataType": "text", - "state": { - "size": "normal" - }, - "previewType": "html", - "searchResultScrolledTo": -1, - "forceRaw": false, - "id": "50b35314-1d14-a7be-4919-d03e2ddf748f", - "name": "Response", - "request": { - "url": "http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/CATG-052:(2.1)", - "pathVariables": {}, - "data": "{\n\n \"lifecycleStatus\": \"In Study\",\n \"description\": \"A category to hold all available cloud service offers new\"\n}", - "headers": "Accept: application/json\nContent-Type: application/json\n", - "dataMode": "raw", - "method": "PATCH", - "tests": "", - "version": 2 - }, - "write": true - } - ], - "synced": false, - "write": true, - "collection": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "folder": "60dba6c8-7495-03e8-3dc3-dcdd65f37d2d", - "owner": 0, - "rawModeData": "{\n\n \"lifecycleStatus\": \"In Study\",\n \"description\": \"A category to hold all available cloud service offers new\"\n}" - }, - { - "id": "838228b7-acd0-2c93-88b5-48098f7a163d", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{catalogManagementApi}}/hub/:id", - "preRequestScript": "", - "pathVariables": { - "id": "" - }, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1430351356555, - "name": "/hub/:id", - "description": "get hub by id", - "collectionId": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "responses": [], - "synced": false - }, - { - "id": "8c482e22-4534-0109-fae8-3ff89197ea7b", - "headers": "Accept: application/json\n", - "url": "{{catalogManagementApi}}/productOffering", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432735044132, - "name": "/productOffering", - "description": "Get by ID with extraneous criteria selection parameters.\n\n\n----\n\nreturns version 0.12;\nignores the criteria selection parameters.\nProcesses the field selection request.", - "collectionId": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "responses": [ - { - "status": "", - "responseCode": { - "code": 200, - "name": "OK", - "detail": "Standard response for successful HTTP requests. The actual response will depend on the request method used. In a GET request, the response will contain an entity corresponding to the requested resource. In a POST request the response will contain an entity describing or containing the result of the action." - }, - "time": 24, - "headers": [ - { - "name": "Content-Type", - "key": "Content-Type", - "value": "application/json", - "description": "The mime type of this content" - }, - { - "name": "Date", - "key": "Date", - "value": "Tue, 30 Dec 2014 16:42:49 GMT", - "description": "The date and time that the message was sent" - }, - { - "name": "Server", - "key": "Server", - "value": "GlassFish Server Open Source Edition 3.1.2.2", - "description": "A name for the server" - }, - { - "name": "Transfer-Encoding", - "key": "Transfer-Encoding", - "value": "chunked", - "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." - }, - { - "name": "X-Powered-By", - "key": "X-Powered-By", - "value": "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7)", - "description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)" - } - ], - "cookies": [], - "mime": "", - "text": "{\"id\":\"POFER-640\",\"version\":\"0.12\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/productOffering/POFER-640:(0.12)\",\"name\":\"Virtual Storage Medium\",\"description\":\"Virtual Storage Medium\",\"lastUpdate\":\"2014-12-30T16:41:49.428+0000\",\"lifecycleStatus\":\"In Design\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2019-01-01T04:00:02.000+0000\"},\"isBundle\":true,\"category\":[{\"id\":\"12\",\"version\":\"2.0\",\"href\":\"http://serverlocation:port/catalogManagement/category/12\",\"name\":\"Cloud offerings\"}],\"channel\":[{\"id\":\"13\",\"href\":\"http://serverlocation:port/marketSales/channel/13\",\"name\":\"Online Channel\"}],\"place\":[{\"id\":\"12\",\"href\":\"http://serverlocation:port/marketSales/place/12\",\"name\":\"France\"}],\"bundledProductOffering\":[{\"id\":\"15\",\"href\":\"http://serverlocation:port/catalogManagement/productOffering/15\",\"name\":\"Offering 15\",\"lifecycleStatus\":\"Active\"},{\"id\":\"64\",\"href\":\"http://serverlocation:port/catalogManagement/productOffering/64\",\"name\":\"Offering 64\",\"lifecycleStatus\":\"Active\"}],\"serviceLevelAgreement\":{\"id\":\"28\",\"href\":\"http://serverlocation:port/slaManagement/serviceLevelAgreement/28\",\"name\":\"Standard SLA\"},\"productSpecification\":{\"id\":\"13\",\"version\":\"2.0\",\"href\":\"http://serverlocation:port/catalogManagement/productSpecification/13\",\"name\":\"specification product 1\"},\"serviceCandidate\":{\"id\":\"13\",\"version\":\"2.0\",\"href\":\"http://serverlocation:port/catalogManagement/serviceCandidate/13\",\"name\":\"specification service 1\"},\"resourceCandidate\":{\"id\":\"13\",\"version\":\"2.0\",\"href\":\"http://serverlocation:port/catalogManagement/resourceCandidate/13\",\"name\":\"specification resource 1\"},\"productOfferingTerm\":[{\"name\":\"12 Month\",\"description\":\"12 month contract\",\"duration\":\"12\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2013-06-19T04:00:00.000+0000\"}}],\"productOfferingPrice\":[{\"priceType\":\"recurring\",\"unitOfMeasure\":\"\",\"price\":{\"taxIncludedAmount\":\"12.02\",\"dutyFreeAmount\":\"10.02\",\"taxRate\":\"20.02\",\"currencyCode\":\"USD\",\"percentage\":0},\"recurringChargePeriod\":\"monthly\",\"name\":\"Monthly Price\",\"description\":\"monthlyprice\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2013-06-19T04:00:00.000+0000\"}},{\"priceType\":\"usage\",\"unitOfMeasure\":\"second\",\"price\":{\"taxIncludedAmount\":\"12.02\",\"dutyFreeAmount\":\"10.02\",\"taxRate\":\"20.02\",\"currencyCode\":\"EUR\",\"percentage\":0},\"recurringChargePeriod\":\"\",\"productOfferPriceAlteration\":{\"name\":\"Shipping Discount\",\"description\":\"One time shipping discount\",\"validFor\":{\"startDateTime\":\"2013-04-19T16:42:23.000+0000\"},\"priceType\":\"one time\",\"unitOfMeasure\":\"\",\"price\":{\"percentage\":\"100\"},\"recurringChargePeriod\":\"\",\"priceCondition\":\"apply if total amount of the order is greater than 300.00\"},\"name\":\"Usage Price\",\"description\":\"usageprice\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2013-06-19T04:00:00.000+0000\"}}]}", - "language": "javascript", - "rawDataType": "text", - "state": { - "size": "normal" - }, - "previewType": "html", - "searchResultScrolledTo": -1, - "forceRaw": false, - "id": "312f29bc-6450-05db-81b3-ae86c542fe5f", - "name": "Response", - "request": "a5817d0b-ea42-d6c2-93ce-11998e68a587", - "write": true, - "owner": 0, - "collectionId": "f79c4d38-c22f-5f70-d78c-00691e6b5417" - } - ], - "synced": false - }, - { - "id": "8e925ca8-e769-3e9b-8844-3671700b35b4", - "headers": "Accept: application/json\nContent-Type: application/json\n", - "url": "{{catalogManagementApi}}/category/:id", - "preRequestScript": "", - "pathVariables": { - "id": "" - }, - "method": "DELETE", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1430412062309, - "name": "/catalog/:id", - "description": "\n", - "collectionId": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "responses": [ - { - "status": "", - "responseCode": { - "code": 405, - "name": "Method Not Allowed", - "detail": "A request was made of a resource using a request method not supported by that resource; for example, using GET on a form which requires data to be presented via POST, or using PUT on a read-only resource." - }, - "time": 16, - "headers": [ - { - "name": "Allow", - "key": "Allow", - "value": "POST,GET,OPTIONS,HEAD", - "description": "Valid actions for a specified resource. To be used for a 405 Method not allowed" - }, - { - "name": "Content-Length", - "key": "Content-Length", - "value": "1153", - "description": "The length of the response body in octets (8-bit bytes)" - }, - { - "name": "Content-Type", - "key": "Content-Type", - "value": "text/html", - "description": "The mime type of this content" - }, - { - "name": "Date", - "key": "Date", - "value": "Mon, 29 Dec 2014 17:55:11 GMT", - "description": "The date and time that the message was sent" - }, - { - "name": "Server", - "key": "Server", - "value": "GlassFish Server Open Source Edition 3.1.2.2", - "description": "A name for the server" - }, - { - "name": "X-Powered-By", - "key": "X-Powered-By", - "value": "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7)", - "description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)" - } - ], - "cookies": [], - "mime": "", - "text": "GlassFish Server Open Source Edition 3.1.2.2 - Error report

HTTP Status 405 - Method Not Allowed


type Status report

messageMethod Not Allowed

descriptionThe specified HTTP method is not allowed for the requested resource (Method Not Allowed).


GlassFish Server Open Source Edition 3.1.2.2

", - "language": "html", - "rawDataType": "text", - "state": { - "size": "normal" - }, - "previewType": "html", - "searchResultScrolledTo": -1, - "forceRaw": false, - "id": "2caee27c-4592-0f0b-8bde-d187187ca6ed", - "name": "Response", - "request": "8e925ca8-e769-3e9b-8844-3671700b35b4", - "write": true, - "collectionId": "74d5739b-2ebe-2972-07d8-7a378fca266b" - } - ], - "synced": false, - "folder": "07586f44-693d-04d2-9b30-cff3f71bc8cf", - "isFromCollection": true, - "collectionRequestId": "8e925ca8-e769-3e9b-8844-3671700b35b4" - }, - { - "id": "9d12700a-0b82-9caf-305c-1aa311588b24", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{catalogManagementSubscriberApi}}/history", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1430351493017, - "name": "/history", - "description": "List all", - "collectionId": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "responses": [], - "synced": false - }, - { - "id": "a63d427d-ed72-4546-2967-07515632b77f", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{catalogManagementSubscriberApi}}/history", - "preRequestScript": "", - "pathVariables": {}, - "method": "DELETE", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1430351498073, - "name": "/history", - "description": "delete all", - "collectionId": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "responses": [], - "synced": false - }, - { - "id": "a69c5aa7-cb98-2440-4b83-4e430790b568", - "headers": "", - "url": "{{catalogManagementApi}}/productSpecification/:id", - "preRequestScript": "", - "pathVariables": { - "id": "" - }, - "method": "DELETE", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1430411378010, - "name": "/productOffering/:id", - "description": "", - "collectionId": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "responses": [ - { - "status": "", - "responseCode": { - "code": 200, - "name": "OK", - "detail": "Standard response for successful HTTP requests. The actual response will depend on the request method used. In a GET request, the response will contain an entity corresponding to the requested resource. In a POST request the response will contain an entity describing or containing the result of the action." - }, - "time": 59, - "headers": [ - { - "name": "Content-Length", - "key": "Content-Length", - "value": "0", - "description": "The length of the response body in octets (8-bit bytes)" - }, - { - "name": "Date", - "key": "Date", - "value": "Tue, 30 Dec 2014 17:11:01 GMT", - "description": "The date and time that the message was sent" - }, - { - "name": "Server", - "key": "Server", - "value": "GlassFish Server Open Source Edition 3.1.2.2", - "description": "A name for the server" - }, - { - "name": "X-Powered-By", - "key": "X-Powered-By", - "value": "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7)", - "description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)" - } - ], - "cookies": [], - "mime": "", - "text": "", - "language": "html", - "rawDataType": "text", - "state": { - "size": "normal" - }, - "previewType": "html", - "searchResultScrolledTo": -1, - "forceRaw": false, - "id": "fcf5ee3d-51cd-75a1-a7af-078e41266468", - "name": "Response", - "request": "a69c5aa7-cb98-2440-4b83-4e430790b568", - "write": true, - "collectionId": "74d5739b-2ebe-2972-07d8-7a378fca266b" - } - ], - "synced": false, - "folder": "cd3a193b-31d0-4e51-da82-8567b85f5785", - "isFromCollection": true, - "collectionRequestId": "a69c5aa7-cb98-2440-4b83-4e430790b568" - }, - { - "id": "b5541ff3-5e4d-9be0-5431-bdf05449619f", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{catalogManagementApi}}/hub/:id", - "preRequestScript": "", - "pathVariables": { - "id": "" - }, - "method": "DELETE", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1430353339285, - "name": "/hub/:id ", - "description": "delete hub", - "collectionId": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "responses": [], - "synced": false - }, - { - "id": "c4ce0e2f-2857-2349-2a77-d2d76e10e4e1", - "headers": "Accept: application/json\nContent-Type: application/json\n", - "url": "{{catalogManagementApi}}/productOffering/:id", - "preRequestScript": "", - "pathVariables": { - "id": "" - }, - "method": "PATCH", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1430411656952, - "name": "/productOffering/:id", - "description": "", - "collectionId": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "responses": [ - { - "status": "", - "responseCode": { - "code": 201, - "name": "Created", - "detail": "The request has been fulfilled and resulted in a new resource being created." - }, - "time": 104, - "headers": [ - { - "name": "Content-Type", - "key": "Content-Type", - "value": "application/json", - "description": "The mime type of this content" - }, - { - "name": "Date", - "key": "Date", - "value": "Tue, 30 Dec 2014 17:08:11 GMT", - "description": "The date and time that the message was sent" - }, - { - "name": "Server", - "key": "Server", - "value": "GlassFish Server Open Source Edition 3.1.2.2", - "description": "A name for the server" - }, - { - "name": "Transfer-Encoding", - "key": "Transfer-Encoding", - "value": "chunked", - "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." - }, - { - "name": "X-Powered-By", - "key": "X-Powered-By", - "value": "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7)", - "description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)" - } - ], - "cookies": [], - "mime": "", - "text": "{\"id\":\"PSPEC-900\",\"version\":\"12.17\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/productSpecification/PSPEC-900:(12.17)\",\"name\":\"iPhone 42\",\"description\":\"Siri works on this iPhone\",\"lastUpdate\":\"2014-12-30T17:08:10.928+0000\",\"lifecycleStatus\":\"Launched\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2013-06-19T04:00:00.000+0000\"},\"productNumber\":\"I42-340-DX\",\"isBundle\":true,\"brand\":\"Apple\",\"attachment\":[{\"id\":\"22\",\"href\":\"http://serverlocation:port/documentManagement/attachment/22\",\"type\":\"Picture\",\"url\":\"http://xxxxx\"}],\"relatedParty\":[{\"id\":\"1234\",\"href\":\"http ://serverLocation:port/partyManagement/partyRole/1234\",\"role\":\"Owner\"}],\"bundledProductSpecification\":[{\"id\":\"PSPECK-03-N\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/productSpecification/PSPECK-03-N:(0.4)\",\"name\":\"Product specification 15\",\"lifecycleStatus\":\"Active\"},{\"id\":\"PSPECK-04-B\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/productSpecification/PSPECK-04-B:(0.4)\",\"name\":\"Product specification 64\",\"lifecycleStatus\":\"In Study\"}],\"productSpecificationRelationship\":[{\"id\":\"23\",\"href\":\" http://serverlocation:port/catalogManagement/productSpecification/23\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"type\":\"dependency\"}],\"serviceSpecification\":[{\"id\":\"13\",\"version\":\"1.1\",\"href\":\"http://serverlocation:port/catalogManagement/serviceSpecification/13\",\"name\":\"specification 1\"}],\"resourceSpecification\":[{\"id\":\"RSPECK-02\",\"version\":\"1.0\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/resourceSpecification/RSPECK-02:(1.0),\",\"name\":\"specification 1\"}],\"productSpecCharacteristic\":[{\"id\":\"42\",\"name\":\"Screen Size\",\"description\":\"Screen size\",\"valueType\":\"number\",\"configurable\":false,\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"productSpecCharRelationship\":[{\"id\":\"43\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"type\":\"dependency\"}],\"productSpecCharacteristicValue\":[{\"valueType\":\"number\",\"value\":\"4.2\",\"unitOfMeasure\":\"inches\",\"valueFrom\":\"\",\"valueTo\":\"\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"default\":true}]},{\"id\":\"34\",\"name\":\"Colour\",\"description\":\"Colour\",\"valueType\":\"string\",\"configurable\":true,\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"productSpecCharacteristicValue\":[{\"valueType\":\"string\",\"value\":\"Black\",\"unitOfMeasure\":\"\",\"valueFrom\":\"\",\"valueTo\":\"\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"default\":true},{\"valueType\":\"string\",\"value\":\"White\",\"unitOfMeasure\":\"\",\"valueFrom\":\"\",\"valueTo\":\"\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"default\":false}]}]}", - "language": "javascript", - "rawDataType": "text", - "state": { - "size": "normal" - }, - "previewType": "html", - "searchResultScrolledTo": -1, - "forceRaw": false, - "id": "5194c169-e78f-cea7-b576-758e88f09777", - "name": "Response", - "request": "c4ce0e2f-2857-2349-2a77-d2d76e10e4e1", - "write": true, - "collectionId": "74d5739b-2ebe-2972-07d8-7a378fca266b" - } - ], - "synced": false, - "rawModeData": "{\n \"lifecycleStatus\": \"Launched\"\n}" - }, - { - "id": "db742d97-1d42-aae7-a14e-d288d2d0af4b", - "headers": "Accept: application/json\nContent-Type: application/json\n", - "url": "{{catalogManagementApi}}/productSpecification/PSPEC-900", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1430344389506, - "name": "/productSpecification/:id", - "description": "latest version is still 12.15", - "collectionId": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "responses": [ - { - "status": "", - "responseCode": { - "code": 200, - "name": "OK", - "detail": "Standard response for successful HTTP requests. The actual response will depend on the request method used. In a GET request, the response will contain an entity corresponding to the requested resource. In a POST request the response will contain an entity describing or containing the result of the action." - }, - "time": 24, - "headers": [ - { - "name": "Content-Type", - "key": "Content-Type", - "value": "application/json", - "description": "The mime type of this content" - }, - { - "name": "Date", - "key": "Date", - "value": "Tue, 30 Dec 2014 17:01:34 GMT", - "description": "The date and time that the message was sent" - }, - { - "name": "Server", - "key": "Server", - "value": "GlassFish Server Open Source Edition 3.1.2.2", - "description": "A name for the server" - }, - { - "name": "Transfer-Encoding", - "key": "Transfer-Encoding", - "value": "chunked", - "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." - }, - { - "name": "X-Powered-By", - "key": "X-Powered-By", - "value": "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7)", - "description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)" - } - ], - "cookies": [], - "mime": "", - "text": "{\"id\":\"PSPEC-900\",\"version\":\"12.15\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/productSpecification/PSPEC-900:(12.15)\",\"name\":\"iPhone 42\",\"description\":\"Siri works on this iPhone\",\"lastUpdate\":\"2014-12-30T17:01:20.464+0000\",\"lifecycleStatus\":\"Active\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2013-06-19T04:00:00.000+0000\"},\"productNumber\":\"I42-340-DX\",\"isBundle\":true,\"brand\":\"Apple\",\"attachment\":[{\"id\":\"22\",\"href\":\"http://serverlocation:port/documentManagement/attachment/22\",\"type\":\"Picture\",\"url\":\"http://xxxxx\"}],\"relatedParty\":[{\"id\":\"1234\",\"href\":\"http ://serverLocation:port/partyManagement/partyRole/1234\",\"role\":\"Owner\"}],\"bundledProductSpecification\":[{\"id\":\"15\",\"href\":\"http://serverlocation:port/catalogManagement/productSpecification/15\",\"name\":\"Product specification 15\",\"lifecycleStatus\":\"Active\"},{\"id\":\"64\",\"href\":\"http://serverlocation:port/catalogManagement/productSpecification/64\",\"name\":\"Product specification 64\",\"lifecycleStatus\":\"Active\"}],\"productSpecificationRelationship\":[{\"id\":\"23\",\"href\":\" http://serverlocation:port/catalogManagement/productSpecification/23\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"type\":\"dependency\"}],\"serviceSpecification\":[{\"id\":\"13\",\"version\":\"1.1\",\"href\":\"http://serverlocation:port/catalogManagement/serviceSpecification/13\",\"name\":\"specification 1\"}],\"resourceSpecification\":[{\"id\":\"13\",\"version\":\"1.1\",\"href\":\"http://serverlocation:port/catalogManagement/resourceSpecification/13\",\"name\":\"specification 1\"}],\"productSpecCharacteristic\":[{\"id\":\"42\",\"name\":\"Screen Size\",\"description\":\"Screen size\",\"valueType\":\"number\",\"configurable\":false,\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"productSpecCharRelationship\":[{\"id\":\"43\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"type\":\"dependency\"}],\"productSpecCharacteristicValue\":[{\"valueType\":\"number\",\"value\":\"4.2\",\"unitOfMeasure\":\"inches\",\"valueFrom\":\"\",\"valueTo\":\"\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"default\":true}]},{\"id\":\"34\",\"name\":\"Colour\",\"description\":\"Colour\",\"valueType\":\"string\",\"configurable\":true,\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"productSpecCharacteristicValue\":[{\"valueType\":\"string\",\"value\":\"Black\",\"unitOfMeasure\":\"\",\"valueFrom\":\"\",\"valueTo\":\"\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"default\":true},{\"valueType\":\"string\",\"value\":\"White\",\"unitOfMeasure\":\"\",\"valueFrom\":\"\",\"valueTo\":\"\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"default\":false}]}]}", - "language": "javascript", - "rawDataType": "text", - "state": { - "size": "normal" - }, - "previewType": "html", - "searchResultScrolledTo": -1, - "forceRaw": false, - "id": "7aa962b4-7467-c78c-9080-7823628d93ec", - "name": "Response", - "request": { - "url": "http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/productSpecification/PSPEC-900", - "pathVariables": {}, - "data": [], - "headers": "Accept: application/json\nContent-Type: application/json\n", - "dataMode": "params", - "method": "GET", - "tests": "", - "version": 2 - }, - "write": true - } - ], - "synced": false, - "write": true, - "collection": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "folder": "08c5ce97-114b-2910-09a2-7ae8425626c4", - "owner": 0 - }, - { - "id": "e6000750-43a7-bdc5-7b42-36913a371ca5", - "headers": "Accept: application/json\nContent-Type: application/json\n", - "url": "{{catalogManagementApi}}/catalog", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1430412303851, - "name": "/catalog", - "description": "", - "collectionId": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "responses": [ - { - "status": "", - "responseCode": { - "code": 200, - "name": "OK", - "detail": "Standard response for successful HTTP requests. The actual response will depend on the request method used. In a GET request, the response will contain an entity corresponding to the requested resource. In a POST request the response will contain an entity describing or containing the result of the action." - }, - "time": 30, - "headers": [ - { - "name": "Content-Type", - "key": "Content-Type", - "value": "application/json", - "description": "The mime type of this content" - }, - { - "name": "Date", - "key": "Date", - "value": "Mon, 29 Dec 2014 17:05:06 GMT", - "description": "The date and time that the message was sent" - }, - { - "name": "Server", - "key": "Server", - "value": "GlassFish Server Open Source Edition 3.1.2.2", - "description": "A name for the server" - }, - { - "name": "Transfer-Encoding", - "key": "Transfer-Encoding", - "value": "chunked", - "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." - }, - { - "name": "X-Powered-By", - "key": "X-Powered-By", - "value": "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7)", - "description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)" - } - ], - "cookies": [], - "mime": "", - "text": "[{\"id\":\"1\",\"version\":\"\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/catalog/1\",\"name\":\"Catalog Wholesale Business\",\"description\":\"Contains Wholesale products, services, and resources for Businesses\",\"lastUpdate\":\"2014-12-29T17:02:20.416+0000\",\"lifecycleStatus\":\"Active\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2014-04-19T20:42:23.000+0000\"},\"type\":\"Product Catalog\",\"category\":[{\"id\":\"CATGR-001\",\"version\":\"2.0\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/CATGR-001:(2.0)\",\"name\":\"Cloud offerings\",\"description\":\" A category to hold all available cloud service offers \"}],\"relatedParty\":[{\"id\":\"1234\",\"href\":\"http ://serverLocation:port/partyManagement/partyRole/1234\",\"role\":\"Owner\"},{\"id\":\"128\",\"href\":\"http ://serverLocation:port/partyManagement/partyRole/1234\",\"role\":\"Reviser\"}]},{\"id\":\"2\",\"version\":\"\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/catalog/2\",\"name\":\"Catalog Wholesale Business\",\"description\":\"Contains Wholesale products, services, and resources for Businesses\",\"lastUpdate\":\"2014-12-29T17:02:48.802+0000\",\"lifecycleStatus\":\"Active\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2014-04-19T20:42:23.000+0000\"},\"type\":\"Product Catalog\"},{\"id\":\"3\",\"version\":\"\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/catalog/3\",\"name\":\"Catalog Wholesale Business\",\"description\":\"Contains Wholesale products, services, and resources for Businesses\",\"lastUpdate\":\"2014-12-29T17:03:09.334+0000\",\"lifecycleStatus\":\"Active\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2014-04-19T20:42:23.000+0000\"},\"type\":\"Product Catalog\"},{\"id\":\"CATL-001\",\"version\":\"\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/catalog/CATL-001\",\"name\":\"Catalog Wholesale Business\",\"description\":\"Contains Wholesale products, services, and resources for Businesses\",\"lastUpdate\":\"2014-12-29T17:03:31.607+0000\",\"lifecycleStatus\":\"In Study\",\"type\":\"Product Catalog\",\"category\":[{\"id\":\"CATGR-001\",\"version\":\"2.0\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/CATGR-001:(2.0)\",\"name\":\"Cloud offerings\",\"description\":\" A category to hold all available cloud service offers \"}],\"relatedParty\":[{\"id\":\"1234\",\"href\":\"http ://serverLocation:port/partyManagement/partyRole/1234\",\"role\":\"Owner\"},{\"id\":\"128\",\"href\":\"http ://serverLocation:port/partyManagement/partyRole/1234\",\"role\":\"Reviser\"}]},{\"id\":\"CATL-002\",\"version\":\"1.2\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/catalog/CATL-002:(1.2)\",\"name\":\"Catalog Wholesale Business\",\"description\":\"Contains Wholesale products, services, and resources for Businesses\",\"lastUpdate\":\"2014-12-29T17:03:55.772+0000\",\"lifecycleStatus\":\"In Study\",\"type\":\"Service Catalog\",\"category\":[{\"id\":\"CATGR-001\",\"version\":\"2.0\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/CATGR-001:(2.0)\",\"name\":\"Cloud offerings\",\"description\":\" A category to hold all available cloud service offers \"}],\"relatedParty\":[{\"id\":\"1234\",\"href\":\"http ://serverLocation:port/partyManagement/partyRole/1234\",\"role\":\"Owner\"},{\"id\":\"128\",\"href\":\"http ://serverLocation:port/partyManagement/partyRole/1234\",\"role\":\"Reviser\"}]},{\"id\":\"CATL-002\",\"version\":\"1.5\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/catalog/CATL-002:(1.5)\",\"name\":\"Catalog Wholesale Business\",\"description\":\"Contains Wholesale products, services, and resources for Businesses\",\"lastUpdate\":\"2014-12-29T17:04:36.849+0000\",\"lifecycleStatus\":\"In Study\",\"validFor\":{\"endDateTime\":\"2014-04-19T20:42:23.000+0000\"},\"type\":\"Service Catalog\",\"category\":[{\"id\":\"CATGR-001\",\"version\":\"2.0\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/CATGR-001:(2.0)\",\"name\":\"Cloud offerings\",\"description\":\" A category to hold all available cloud service offers \"}],\"relatedParty\":[{\"id\":\"1234\",\"href\":\"http ://serverLocation:port/partyManagement/partyRole/1234\",\"role\":\"Owner\"},{\"id\":\"128\",\"href\":\"http ://serverLocation:port/partyManagement/partyRole/1234\",\"role\":\"Reviser\"}]}]", - "language": "javascript", - "rawDataType": "text", - "state": { - "size": "normal" - }, - "previewType": "html", - "searchResultScrolledTo": -1, - "forceRaw": false, - "id": "88a88e88-dfa2-d21f-7519-880fd7555024", - "name": "Response", - "request": { - "url": "http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/catalog", - "pathVariables": {}, - "data": [], - "headers": "Accept: application/json\nContent-Type: application/json\n", - "dataMode": "params", - "method": "GET", - "tests": "", - "version": 2 - }, - "write": true - } - ], - "synced": false - }, - { - "id": "f6885caf-f105-07a5-a935-34e026cdc8a2", - "headers": "Accept: application/json\n", - "url": "{{catalogManagementApi}}/productOffering/:id", - "preRequestScript": "", - "pathVariables": { - "id": "51" - }, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1430343028672, - "name": "/productOffering/:id", - "description": "Get latest version (internal version processing test).\n\nshould return latest version (0.12) NOT the version with the highest numerical value (0.9).", - "collectionId": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "responses": [ - { - "status": "", - "responseCode": { - "code": 200, - "name": "OK", - "detail": "Standard response for successful HTTP requests. The actual response will depend on the request method used. In a GET request, the response will contain an entity corresponding to the requested resource. In a POST request the response will contain an entity describing or containing the result of the action." - }, - "time": 28, - "headers": [ - { - "name": "Content-Type", - "key": "Content-Type", - "value": "application/json", - "description": "The mime type of this content" - }, - { - "name": "Date", - "key": "Date", - "value": "Tue, 30 Dec 2014 16:42:42 GMT", - "description": "The date and time that the message was sent" - }, - { - "name": "Server", - "key": "Server", - "value": "GlassFish Server Open Source Edition 3.1.2.2", - "description": "A name for the server" - }, - { - "name": "Transfer-Encoding", - "key": "Transfer-Encoding", - "value": "chunked", - "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." - }, - { - "name": "X-Powered-By", - "key": "X-Powered-By", - "value": "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7)", - "description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)" - } - ], - "cookies": [], - "mime": "", - "text": "{\"id\":\"POFER-640\",\"version\":\"0.12\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/productOffering/POFER-640:(0.12)\",\"name\":\"Virtual Storage Medium\",\"description\":\"Virtual Storage Medium\",\"lastUpdate\":\"2014-12-30T16:41:49.428+0000\",\"lifecycleStatus\":\"In Design\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2019-01-01T04:00:02.000+0000\"},\"isBundle\":true,\"category\":[{\"id\":\"12\",\"version\":\"2.0\",\"href\":\"http://serverlocation:port/catalogManagement/category/12\",\"name\":\"Cloud offerings\"}],\"channel\":[{\"id\":\"13\",\"href\":\"http://serverlocation:port/marketSales/channel/13\",\"name\":\"Online Channel\"}],\"place\":[{\"id\":\"12\",\"href\":\"http://serverlocation:port/marketSales/place/12\",\"name\":\"France\"}],\"bundledProductOffering\":[{\"id\":\"15\",\"href\":\"http://serverlocation:port/catalogManagement/productOffering/15\",\"name\":\"Offering 15\",\"lifecycleStatus\":\"Active\"},{\"id\":\"64\",\"href\":\"http://serverlocation:port/catalogManagement/productOffering/64\",\"name\":\"Offering 64\",\"lifecycleStatus\":\"Active\"}],\"serviceLevelAgreement\":{\"id\":\"28\",\"href\":\"http://serverlocation:port/slaManagement/serviceLevelAgreement/28\",\"name\":\"Standard SLA\"},\"productSpecification\":{\"id\":\"13\",\"version\":\"2.0\",\"href\":\"http://serverlocation:port/catalogManagement/productSpecification/13\",\"name\":\"specification product 1\"},\"serviceCandidate\":{\"id\":\"13\",\"version\":\"2.0\",\"href\":\"http://serverlocation:port/catalogManagement/serviceCandidate/13\",\"name\":\"specification service 1\"},\"resourceCandidate\":{\"id\":\"13\",\"version\":\"2.0\",\"href\":\"http://serverlocation:port/catalogManagement/resourceCandidate/13\",\"name\":\"specification resource 1\"},\"productOfferingTerm\":[{\"name\":\"12 Month\",\"description\":\"12 month contract\",\"duration\":\"12\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2013-06-19T04:00:00.000+0000\"}}],\"productOfferingPrice\":[{\"priceType\":\"recurring\",\"unitOfMeasure\":\"\",\"price\":{\"taxIncludedAmount\":\"12.02\",\"dutyFreeAmount\":\"10.02\",\"taxRate\":\"20.02\",\"currencyCode\":\"USD\",\"percentage\":0},\"recurringChargePeriod\":\"monthly\",\"name\":\"Monthly Price\",\"description\":\"monthlyprice\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2013-06-19T04:00:00.000+0000\"}},{\"priceType\":\"usage\",\"unitOfMeasure\":\"second\",\"price\":{\"taxIncludedAmount\":\"12.02\",\"dutyFreeAmount\":\"10.02\",\"taxRate\":\"20.02\",\"currencyCode\":\"EUR\",\"percentage\":0},\"recurringChargePeriod\":\"\",\"productOfferPriceAlteration\":{\"name\":\"Shipping Discount\",\"description\":\"One time shipping discount\",\"validFor\":{\"startDateTime\":\"2013-04-19T16:42:23.000+0000\"},\"priceType\":\"one time\",\"unitOfMeasure\":\"\",\"price\":{\"percentage\":\"100\"},\"recurringChargePeriod\":\"\",\"priceCondition\":\"apply if total amount of the order is greater than 300.00\"},\"name\":\"Usage Price\",\"description\":\"usageprice\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2013-06-19T04:00:00.000+0000\"}}]}", - "language": "javascript", - "rawDataType": "text", - "state": { - "size": "normal" - }, - "previewType": "html", - "searchResultScrolledTo": -1, - "forceRaw": false, - "id": "ccff13a4-80de-18cb-4cae-8d96ef8c5d1b", - "name": "Response", - "request": "c0e9deb0-04b2-edc0-a9ca-7234790ef76f", - "write": true, - "owner": 0, - "collectionId": "f79c4d38-c22f-5f70-d78c-00691e6b5417" - } - ], - "synced": false, - "write": true, - "collection": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "folder": "cd3a193b-31d0-4e51-da82-8567b85f5785", - "owner": 0 - }, - { - "id": "fde5ee40-2559-a3ca-a712-e2cb23307d05", - "headers": "Accept: application/json\nContent-Type: application/json\n", - "url": "{{catalogManagementApi}}/category", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1430346170571, - "name": "/category", - "description": "returns 5 CATG-001 (1.0, 1.1, 1.10, 11.0, and 2.0)", - "collectionId": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "responses": [ - { - "status": "", - "responseCode": { - "code": 200, - "name": "OK", - "detail": "Standard response for successful HTTP requests. The actual response will depend on the request method used. In a GET request, the response will contain an entity corresponding to the requested resource. In a POST request the response will contain an entity describing or containing the result of the action." - }, - "time": 35, - "headers": [ - { - "name": "Content-Type", - "key": "Content-Type", - "value": "application/json", - "description": "The mime type of this content" - }, - { - "name": "Date", - "key": "Date", - "value": "Mon, 29 Dec 2014 17:47:43 GMT", - "description": "The date and time that the message was sent" - }, - { - "name": "Server", - "key": "Server", - "value": "GlassFish Server Open Source Edition 3.1.2.2", - "description": "A name for the server" - }, - { - "name": "Transfer-Encoding", - "key": "Transfer-Encoding", - "value": "chunked", - "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." - }, - { - "name": "X-Powered-By", - "key": "X-Powered-By", - "value": "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7)", - "description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)" - } - ], - "cookies": [], - "mime": "", - "text": "[{\"id\":\"1\",\"version\":\"1.0\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/1:(1.0)\",\"name\":\"Cloud Services\",\"description\":\"A category to hold all available cloud service offers\",\"lastUpdate\":\"2014-12-29T17:44:11.987+0000\",\"lifecycleStatus\":\"In Design\",\"parentId\":\"41\",\"isRoot\":false},{\"id\":\"CATG-052\",\"version\":\"2.0\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/CATG-052:(2.0)\",\"name\":\"Cloud Services\",\"description\":\"A category to hold all available cloud service offers\",\"lastUpdate\":\"2014-12-29T17:44:20.682+0000\",\"lifecycleStatus\":\"In Design\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"parentId\":\"41\",\"isRoot\":false},{\"id\":\"CATG-001\",\"version\":\"1.0\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/CATG-001:(1.0)\",\"name\":\"Cloud Services\",\"description\":\"A category to hold all available cloud service offers\",\"lastUpdate\":\"2014-12-29T17:44:29.046+0000\",\"lifecycleStatus\":\"In Design\",\"parentId\":\"41\",\"isRoot\":false},{\"id\":\"CATG-001\",\"version\":\"1.1\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/CATG-001:(1.1)\",\"name\":\"Cloud Services\",\"description\":\"A category to hold all available cloud service offers\",\"lastUpdate\":\"2014-12-29T17:44:37.861+0000\",\"lifecycleStatus\":\"In Test\",\"validFor\":{\"endDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"isRoot\":true},{\"id\":\"CATG-001\",\"version\":\"11.0\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/CATG-001:(11.0)\",\"name\":\"Cloud Services\",\"description\":\"A category to hold all available cloud service offers\",\"lastUpdate\":\"2014-12-29T17:46:38.348+0000\",\"lifecycleStatus\":\"Active\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"isRoot\":true},{\"id\":\"CATG-001\",\"version\":\"2.0\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/CATG-001:(2.0)\",\"name\":\"Cloud Services\",\"description\":\"A category to hold all available cloud service offers\",\"lastUpdate\":\"2014-12-29T17:46:48.164+0000\",\"lifecycleStatus\":\"Active\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2013-04-19T20:42:24.000+0000\"},\"parentId\":\"R72\",\"isRoot\":false},{\"id\":\"CATG-001\",\"version\":\"1.10\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/CATG-001:(1.10)\",\"name\":\"Cloud Services\",\"description\":\"A category to hold all available cloud service offers\",\"lastUpdate\":\"2014-12-29T17:47:01.677+0000\",\"lifecycleStatus\":\"Active\",\"isRoot\":true}]", - "language": "javascript", - "rawDataType": "text", - "state": { - "size": "normal" - }, - "previewType": "html", - "searchResultScrolledTo": -1, - "forceRaw": false, - "id": "513a1183-0e49-ad8b-52a6-8b491cb4f30a", - "name": "Response", - "request": { - "url": "http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category", - "pathVariables": {}, - "data": [], - "headers": "Accept: application/json\nContent-Type: application/json\n", - "dataMode": "params", - "method": "GET", - "tests": "", - "version": 2 - }, - "write": true - } - ], - "synced": false, - "write": true, - "collection": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "folder": "60dba6c8-7495-03e8-3dc3-dcdd65f37d2d", - "owner": 0 - }, - { - "id": "ff709a91-5694-d61e-4cb5-aeaeb7dee572", - "headers": "Accept: application/json\nContent-Type: application/json\n", - "url": "{{catalogManagementApi}}/productSpecification", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432734873727, - "name": "/productSpecification", - "description": "latest version is now 12.16", - "collectionId": "74d5739b-2ebe-2972-07d8-7a378fca266b", - "responses": [ - { - "status": "", - "responseCode": { - "code": 200, - "name": "OK", - "detail": "Standard response for successful HTTP requests. The actual response will depend on the request method used. In a GET request, the response will contain an entity corresponding to the requested resource. In a POST request the response will contain an entity describing or containing the result of the action." - }, - "time": 30, - "headers": [ - { - "name": "Content-Type", - "key": "Content-Type", - "value": "application/json", - "description": "The mime type of this content" - }, - { - "name": "Date", - "key": "Date", - "value": "Tue, 30 Dec 2014 17:01:48 GMT", - "description": "The date and time that the message was sent" - }, - { - "name": "Server", - "key": "Server", - "value": "GlassFish Server Open Source Edition 3.1.2.2", - "description": "A name for the server" - }, - { - "name": "Transfer-Encoding", - "key": "Transfer-Encoding", - "value": "chunked", - "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." - }, - { - "name": "X-Powered-By", - "key": "X-Powered-By", - "value": "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7)", - "description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)" - } - ], - "cookies": [], - "mime": "", - "text": "{\"id\":\"PSPEC-900\",\"version\":\"12.16\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/productSpecification/PSPEC-900:(12.16)\",\"name\":\"iPhone 42\",\"description\":\"Siri works on this iPhone\",\"lastUpdate\":\"2014-12-30T17:01:41.763+0000\",\"lifecycleStatus\":\"Active\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2013-06-19T04:00:00.000+0000\"},\"productNumber\":\"I42-340-DX\",\"isBundle\":true,\"brand\":\"Apple\",\"attachment\":[{\"id\":\"22\",\"href\":\"http://serverlocation:port/documentManagement/attachment/22\",\"type\":\"Picture\",\"url\":\"http://xxxxx\"}],\"relatedParty\":[{\"id\":\"1234\",\"href\":\"http ://serverLocation:port/partyManagement/partyRole/1234\",\"role\":\"Owner\"}],\"bundledProductSpecification\":[{\"id\":\"15\",\"href\":\"http://serverlocation:port/catalogManagement/productSpecification/15\",\"name\":\"Product specification 15\",\"lifecycleStatus\":\"Active\"},{\"id\":\"64\",\"href\":\"http://serverlocation:port/catalogManagement/productSpecification/64\",\"name\":\"Product specification 64\",\"lifecycleStatus\":\"Active\"}],\"productSpecificationRelationship\":[{\"id\":\"23\",\"href\":\" http://serverlocation:port/catalogManagement/productSpecification/23\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"type\":\"dependency\"}],\"serviceSpecification\":[{\"id\":\"13\",\"version\":\"1.1\",\"href\":\"http://serverlocation:port/catalogManagement/serviceSpecification/13\",\"name\":\"specification 1\"}],\"resourceSpecification\":[{\"id\":\"13\",\"version\":\"1.1\",\"href\":\"http://serverlocation:port/catalogManagement/resourceSpecification/13\",\"name\":\"specification 1\"}],\"productSpecCharacteristic\":[{\"id\":\"42\",\"name\":\"Screen Size\",\"description\":\"Screen size\",\"valueType\":\"number\",\"configurable\":false,\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"productSpecCharRelationship\":[{\"id\":\"43\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"type\":\"dependency\"}],\"productSpecCharacteristicValue\":[{\"valueType\":\"number\",\"value\":\"4.2\",\"unitOfMeasure\":\"inches\",\"valueFrom\":\"\",\"valueTo\":\"\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"default\":true}]},{\"id\":\"34\",\"name\":\"Colour\",\"description\":\"Colour\",\"valueType\":\"string\",\"configurable\":true,\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"productSpecCharacteristicValue\":[{\"valueType\":\"string\",\"value\":\"Black\",\"unitOfMeasure\":\"\",\"valueFrom\":\"\",\"valueTo\":\"\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"default\":true},{\"valueType\":\"string\",\"value\":\"White\",\"unitOfMeasure\":\"\",\"valueFrom\":\"\",\"valueTo\":\"\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"default\":false}]}]}", - "language": "javascript", - "rawDataType": "text", - "state": { - "size": "normal" - }, - "previewType": "html", - "searchResultScrolledTo": -1, - "forceRaw": false, - "id": "07b8fa39-a0bf-2723-b615-dbde13e273f0", - "name": "Response", - "request": { - "url": "http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/productSpecification/PSPEC-900", - "pathVariables": {}, - "data": [], - "headers": "Accept: application/json\nContent-Type: application/json\n", - "dataMode": "params", - "method": "GET", - "tests": "", - "version": 2 - }, - "write": true - } - ], - "synced": false - } - ] + "info": { + "_postman_id": "74d5739b-2ebe-2972-07d8-7a378fca266b", + "name": "TMF Product Catalog API", + "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" + }, + "item": [ + { + "name": "catalog api", + "item": [ + { + "name": "/catalog", + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \n \"lastUpdate\": \"2013-04-19T16:42:23-04:00\",\n \"type\": \"Product Catalog\",\n \"category\": [\n {\n \"id\": \"CATGR-001\",\n \"href\": \"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/CATGR-001:(2.0)\",\n \"version\": \"2.0\",\n \"name\": \"Cloud offerings\",\n \"description\": \" A category to hold all available cloud service offers \"\n }\n ],\n \"name\": \"Catalog Wholesale Business\",\n \"description\": \"Contains Wholesale products, services, and resources for Businesses\",\n \"lifecycleStatus\": \"Active\",\n \"validFor\": {\n \"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n \"endDateTime\": \"2014-04-19T16:42:23-04:00\"\n },\n \"relatedParty\": [\n {\n \"role\": \"Owner\",\n \"id\": \"1234\",\n \"href\": \"http ://serverLocation:port/partyManagement/partyRole/1234\"\n },\n {\n \"role\": \"Reviser\",\n \"href\": \"http ://serverLocation:port/partyManagement/partyRole/1234\",\n \"id\": \"128\"\n }\n ]\n}" + }, + "url": "{{catalogManagementApi}}/catalog" + }, + "response": [ + { + "name": "Response", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"href\": \"http://serverlocation:port/catalogManagement/catalog/10\",\n \"lastUpdate\": \"2013-04-19T16:42:23-04:00\",\n \"type\": \"Product Catalog\",\n \"category\": [\n {\n \"id\": \"CATGR-001\",\n \"href\": \"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/CATGR-001:(2.0)\",\n \"version\": \"2.0\",\n \"name\": \"Cloud offerings\",\n \"description\": \" A category to hold all available cloud service offers \"\n }\n ],\n \"name\": \"Catalog Wholesale Business\",\n \"description\": \"Contains Wholesale products, services, and resources for Businesses\",\n \"lifecycleStatus\": \"Active\",\n \"validFor\": {\n \"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n \"endDateTime\": \"2014-04-19T16:42:23-04:00\"\n },\n \"relatedParty\": [\n {\n \"role\": \"Owner\",\n \"id\": \"1234\",\n \"href\": \"http ://serverLocation:port/partyManagement/partyRole/1234\"\n },\n {\n \"role\": \"Reviser\",\n \"href\": \"http ://serverLocation:port/partyManagement/partyRole/1234\",\n \"id\": \"128\"\n }\n ]\n}" + }, + "url": "http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/catalog" + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "javascript", + "_postman_previewtype": "html", + "header": [ + { + "name": "Content-Type", + "key": "Content-Type", + "value": "application/json", + "description": "The mime type of this content" + }, + { + "name": "Date", + "key": "Date", + "value": "Mon, 29 Dec 2014 17:02:20 GMT", + "description": "The date and time that the message was sent" + }, + { + "name": "Server", + "key": "Server", + "value": "GlassFish Server Open Source Edition 3.1.2.2", + "description": "A name for the server" + }, + { + "name": "Transfer-Encoding", + "key": "Transfer-Encoding", + "value": "chunked", + "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." + }, + { + "name": "X-Powered-By", + "key": "X-Powered-By", + "value": "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7)", + "description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)" + } + ], + "cookie": [], + "responseTime": 1505, + "body": "{\"id\":\"1\",\"version\":\"\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/catalog/1\",\"name\":\"Catalog Wholesale Business\",\"description\":\"Contains Wholesale products, services, and resources for Businesses\",\"lastUpdate\":\"2014-12-29T17:02:20.416+0000\",\"lifecycleStatus\":\"Active\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2014-04-19T20:42:23.000+0000\"},\"type\":\"Product Catalog\",\"category\":[{\"id\":\"CATGR-001\",\"version\":\"2.0\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/CATGR-001:(2.0)\",\"name\":\"Cloud offerings\",\"description\":\" A category to hold all available cloud service offers \"}],\"relatedParty\":[{\"id\":\"1234\",\"href\":\"http ://serverLocation:port/partyManagement/partyRole/1234\",\"role\":\"Owner\"},{\"id\":\"128\",\"href\":\"http ://serverLocation:port/partyManagement/partyRole/1234\",\"role\":\"Reviser\"}]}" + } + ] + }, + { + "name": "/catalog/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{catalogManagementApi}}/catalog/:id", + "host": [ + "{{catalogManagementApi}}" + ], + "path": [ + "catalog", + ":id" + ], + "variable": [ + { + "value": "", + "key": "id" + } + ] + } + }, + "response": [ + { + "name": "Response", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/catalog/CATL-002" + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "javascript", + "_postman_previewtype": "html", + "header": [ + { + "name": "Content-Type", + "key": "Content-Type", + "value": "application/json", + "description": "The mime type of this content" + }, + { + "name": "Date", + "key": "Date", + "value": "Mon, 29 Dec 2014 17:04:54 GMT", + "description": "The date and time that the message was sent" + }, + { + "name": "Server", + "key": "Server", + "value": "GlassFish Server Open Source Edition 3.1.2.2", + "description": "A name for the server" + }, + { + "name": "Transfer-Encoding", + "key": "Transfer-Encoding", + "value": "chunked", + "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." + }, + { + "name": "X-Powered-By", + "key": "X-Powered-By", + "value": "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7)", + "description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)" + } + ], + "cookie": [], + "responseTime": 73, + "body": "{\"id\":\"CATL-002\",\"version\":\"1.5\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/catalog/CATL-002:(1.5)\",\"name\":\"Catalog Wholesale Business\",\"description\":\"Contains Wholesale products, services, and resources for Businesses\",\"lastUpdate\":\"2014-12-29T17:04:36.849+0000\",\"lifecycleStatus\":\"In Study\",\"validFor\":{\"endDateTime\":\"2014-04-19T20:42:23.000+0000\"},\"type\":\"Service Catalog\",\"category\":[{\"id\":\"CATGR-001\",\"version\":\"2.0\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/CATGR-001:(2.0)\",\"name\":\"Cloud offerings\",\"description\":\" A category to hold all available cloud service offers \"}],\"relatedParty\":[{\"id\":\"1234\",\"href\":\"http ://serverLocation:port/partyManagement/partyRole/1234\",\"role\":\"Owner\"},{\"id\":\"128\",\"href\":\"http ://serverLocation:port/partyManagement/partyRole/1234\",\"role\":\"Reviser\"}]}" + } + ] + }, + { + "name": "/catalog", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{catalogManagementApi}}/catalog" + }, + "response": [ + { + "name": "Response", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/catalog" + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "javascript", + "_postman_previewtype": "html", + "header": [ + { + "name": "Content-Type", + "key": "Content-Type", + "value": "application/json", + "description": "The mime type of this content" + }, + { + "name": "Date", + "key": "Date", + "value": "Mon, 29 Dec 2014 17:05:06 GMT", + "description": "The date and time that the message was sent" + }, + { + "name": "Server", + "key": "Server", + "value": "GlassFish Server Open Source Edition 3.1.2.2", + "description": "A name for the server" + }, + { + "name": "Transfer-Encoding", + "key": "Transfer-Encoding", + "value": "chunked", + "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." + }, + { + "name": "X-Powered-By", + "key": "X-Powered-By", + "value": "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7)", + "description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)" + } + ], + "cookie": [], + "responseTime": 30, + "body": "[{\"id\":\"1\",\"version\":\"\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/catalog/1\",\"name\":\"Catalog Wholesale Business\",\"description\":\"Contains Wholesale products, services, and resources for Businesses\",\"lastUpdate\":\"2014-12-29T17:02:20.416+0000\",\"lifecycleStatus\":\"Active\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2014-04-19T20:42:23.000+0000\"},\"type\":\"Product Catalog\",\"category\":[{\"id\":\"CATGR-001\",\"version\":\"2.0\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/CATGR-001:(2.0)\",\"name\":\"Cloud offerings\",\"description\":\" A category to hold all available cloud service offers \"}],\"relatedParty\":[{\"id\":\"1234\",\"href\":\"http ://serverLocation:port/partyManagement/partyRole/1234\",\"role\":\"Owner\"},{\"id\":\"128\",\"href\":\"http ://serverLocation:port/partyManagement/partyRole/1234\",\"role\":\"Reviser\"}]},{\"id\":\"2\",\"version\":\"\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/catalog/2\",\"name\":\"Catalog Wholesale Business\",\"description\":\"Contains Wholesale products, services, and resources for Businesses\",\"lastUpdate\":\"2014-12-29T17:02:48.802+0000\",\"lifecycleStatus\":\"Active\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2014-04-19T20:42:23.000+0000\"},\"type\":\"Product Catalog\"},{\"id\":\"3\",\"version\":\"\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/catalog/3\",\"name\":\"Catalog Wholesale Business\",\"description\":\"Contains Wholesale products, services, and resources for Businesses\",\"lastUpdate\":\"2014-12-29T17:03:09.334+0000\",\"lifecycleStatus\":\"Active\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2014-04-19T20:42:23.000+0000\"},\"type\":\"Product Catalog\"},{\"id\":\"CATL-001\",\"version\":\"\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/catalog/CATL-001\",\"name\":\"Catalog Wholesale Business\",\"description\":\"Contains Wholesale products, services, and resources for Businesses\",\"lastUpdate\":\"2014-12-29T17:03:31.607+0000\",\"lifecycleStatus\":\"In Study\",\"type\":\"Product Catalog\",\"category\":[{\"id\":\"CATGR-001\",\"version\":\"2.0\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/CATGR-001:(2.0)\",\"name\":\"Cloud offerings\",\"description\":\" A category to hold all available cloud service offers \"}],\"relatedParty\":[{\"id\":\"1234\",\"href\":\"http ://serverLocation:port/partyManagement/partyRole/1234\",\"role\":\"Owner\"},{\"id\":\"128\",\"href\":\"http ://serverLocation:port/partyManagement/partyRole/1234\",\"role\":\"Reviser\"}]},{\"id\":\"CATL-002\",\"version\":\"1.2\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/catalog/CATL-002:(1.2)\",\"name\":\"Catalog Wholesale Business\",\"description\":\"Contains Wholesale products, services, and resources for Businesses\",\"lastUpdate\":\"2014-12-29T17:03:55.772+0000\",\"lifecycleStatus\":\"In Study\",\"type\":\"Service Catalog\",\"category\":[{\"id\":\"CATGR-001\",\"version\":\"2.0\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/CATGR-001:(2.0)\",\"name\":\"Cloud offerings\",\"description\":\" A category to hold all available cloud service offers \"}],\"relatedParty\":[{\"id\":\"1234\",\"href\":\"http ://serverLocation:port/partyManagement/partyRole/1234\",\"role\":\"Owner\"},{\"id\":\"128\",\"href\":\"http ://serverLocation:port/partyManagement/partyRole/1234\",\"role\":\"Reviser\"}]},{\"id\":\"CATL-002\",\"version\":\"1.5\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/catalog/CATL-002:(1.5)\",\"name\":\"Catalog Wholesale Business\",\"description\":\"Contains Wholesale products, services, and resources for Businesses\",\"lastUpdate\":\"2014-12-29T17:04:36.849+0000\",\"lifecycleStatus\":\"In Study\",\"validFor\":{\"endDateTime\":\"2014-04-19T20:42:23.000+0000\"},\"type\":\"Service Catalog\",\"category\":[{\"id\":\"CATGR-001\",\"version\":\"2.0\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/CATGR-001:(2.0)\",\"name\":\"Cloud offerings\",\"description\":\" A category to hold all available cloud service offers \"}],\"relatedParty\":[{\"id\":\"1234\",\"href\":\"http ://serverLocation:port/partyManagement/partyRole/1234\",\"role\":\"Owner\"},{\"id\":\"128\",\"href\":\"http ://serverLocation:port/partyManagement/partyRole/1234\",\"role\":\"Reviser\"}]}]" + } + ] + }, + { + "name": "/catalog/:id", + "request": { + "method": "PATCH", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"lifecycleStatus\": \"Launched\"\n}" + }, + "url": { + "raw": "{{catalogManagementApi}}/catalog/:id", + "host": [ + "{{catalogManagementApi}}" + ], + "path": [ + "catalog", + ":id" + ], + "variable": [ + { + "value": "", + "key": "id" + } + ] + }, + "description": "Bad URL; Missing close paran at end." + }, + "response": [ + { + "name": "Response", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"id\": \"CATL-002\",\n \"version\":\"1.5\",\n \"href\": \"http://serverlocation:port/catalogManagement/catalog/10\",\n \"lastUpdate\": \"2013-04-19T16:42:23-04:00\",\n \"type\": \"Service Catalog\",\n \"validFor\": {\n \"endDateTime\": \"2014-04-19T16:42:23-04:00\"\n },\n \"category\": [\n {\n \"id\": \"CATGR-001\",\n \"href\": \"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/CATGR-001:(2.0)\",\n \"version\": 2.0,\n \"name\": \"Cloud offerings\",\n \"description\": \" A category to hold all available cloud service offers \"\n }\n ],\n \"name\": \"Catalog Wholesale Business\",\n \"description\": \"Contains Wholesale products, services, and resources for Businesses\",\n \"relatedParty\": [\n {\n \"role\": \"Owner\",\n \"id\": \"1234\",\n \"href\": \"http ://serverLocation:port/partyManagement/partyRole/1234\"\n },\n {\n \"role\": \"Reviser\",\n \"href\": \"http ://serverLocation:port/partyManagement/partyRole/1234\",\n \"id\": \"128\"\n }\n ]\n}" + }, + "url": "http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/catalog/CATL-002:(1.9" + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "html", + "_postman_previewtype": "html", + "header": [ + { + "name": "Content-Length", + "key": "Content-Length", + "value": "1098", + "description": "The length of the response body in octets (8-bit bytes)" + }, + { + "name": "Content-Type", + "key": "Content-Type", + "value": "text/html", + "description": "The mime type of this content" + }, + { + "name": "Date", + "key": "Date", + "value": "Mon, 29 Dec 2014 17:08:28 GMT", + "description": "The date and time that the message was sent" + }, + { + "name": "Server", + "key": "Server", + "value": "GlassFish Server Open Source Edition 3.1.2.2", + "description": "A name for the server" + }, + { + "name": "X-Powered-By", + "key": "X-Powered-By", + "value": "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7)", + "description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)" + } + ], + "cookie": [], + "responseTime": 19, + "body": "GlassFish Server Open Source Edition 3.1.2.2 - Error report

HTTP Status 404 - Not Found


type Status report

messageNot Found

descriptionThe requested resource (Not Found) is not available.


GlassFish Server Open Source Edition 3.1.2.2

" + } + ] + }, + { + "name": "/catalog/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{catalogManagementApi}}/category/:id", + "host": [ + "{{catalogManagementApi}}" + ], + "path": [ + "category", + ":id" + ], + "variable": [ + { + "value": "", + "key": "id" + } + ] + }, + "description": "\n" + }, + "response": [ + { + "name": "Response", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{catalogManagementApi}}/category/:id", + "host": [ + "{{catalogManagementApi}}" + ], + "path": [ + "category", + ":id" + ], + "variable": [ + { + "value": "", + "key": "id" + } + ] + }, + "description": "\n" + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "html", + "_postman_previewtype": "html", + "header": [ + { + "name": "Allow", + "key": "Allow", + "value": "POST,GET,OPTIONS,HEAD", + "description": "Valid actions for a specified resource. To be used for a 405 Method not allowed" + }, + { + "name": "Content-Length", + "key": "Content-Length", + "value": "1153", + "description": "The length of the response body in octets (8-bit bytes)" + }, + { + "name": "Content-Type", + "key": "Content-Type", + "value": "text/html", + "description": "The mime type of this content" + }, + { + "name": "Date", + "key": "Date", + "value": "Mon, 29 Dec 2014 17:55:11 GMT", + "description": "The date and time that the message was sent" + }, + { + "name": "Server", + "key": "Server", + "value": "GlassFish Server Open Source Edition 3.1.2.2", + "description": "A name for the server" + }, + { + "name": "X-Powered-By", + "key": "X-Powered-By", + "value": "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7)", + "description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)" + } + ], + "cookie": [], + "responseTime": 16, + "body": "GlassFish Server Open Source Edition 3.1.2.2 - Error report

HTTP Status 405 - Method Not Allowed


type Status report

messageMethod Not Allowed

descriptionThe specified HTTP method is not allowed for the requested resource (Method Not Allowed).


GlassFish Server Open Source Edition 3.1.2.2

" + } + ] + } + ] + }, + { + "name": "category api", + "item": [ + { + "name": "/category", + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"href\": \"http://serverlocation:port/catalogManagement/category/42\",\n \"version\": \"1.0\",\n \"lastUpdate\": \"2013-04-19T16:42:23-04:00\",\n \"version\": \"1.0\",\n \"parentId\": \"41\",\n \"isRoot\": false,\n \"name\": \"Cloud Services\",\n \"description\": \"A category to hold all available cloud service offers\",\n \"lifecycleStatus\": \"In Design\"\n}" + }, + "url": "{{catalogManagementApi}}/category", + "description": "ID: auto gen\nchild category\nlifecyclestatus: In Design\n" + }, + "response": [ + { + "name": "Response", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"href\": \"http://serverlocation:port/catalogManagement/category/42\",\n \"version\": \"1.0\",\n \"lastUpdate\": \"2013-04-19T16:42:23-04:00\",\n \"version\": \"1.0\",\n \"parentId\": \"41\",\n \"isRoot\": false,\n \"name\": \"Cloud Services\",\n \"description\": \"A category to hold all available cloud service offers\",\n \"lifecycleStatus\": \"In Design\"\n}" + }, + "url": "http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category" + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "javascript", + "_postman_previewtype": "html", + "header": [ + { + "name": "Content-Type", + "key": "Content-Type", + "value": "application/json", + "description": "The mime type of this content" + }, + { + "name": "Date", + "key": "Date", + "value": "Mon, 29 Dec 2014 17:44:12 GMT", + "description": "The date and time that the message was sent" + }, + { + "name": "Server", + "key": "Server", + "value": "GlassFish Server Open Source Edition 3.1.2.2", + "description": "A name for the server" + }, + { + "name": "Transfer-Encoding", + "key": "Transfer-Encoding", + "value": "chunked", + "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." + }, + { + "name": "X-Powered-By", + "key": "X-Powered-By", + "value": "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7)", + "description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)" + } + ], + "cookie": [], + "responseTime": 383, + "body": "{\"id\":\"1\",\"version\":\"1.0\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/1:(1.0)\",\"name\":\"Cloud Services\",\"description\":\"A category to hold all available cloud service offers\",\"lastUpdate\":\"2014-12-29T17:44:11.987+0000\",\"lifecycleStatus\":\"In Design\",\"parentId\":\"41\",\"isRoot\":false}" + } + ] + }, + { + "name": "/category/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{catalogManagementApi}}/category/:id", + "host": [ + "{{catalogManagementApi}}" + ], + "path": [ + "category", + ":id" + ], + "variable": [ + { + "value": "6", + "key": "id" + } + ] + }, + "description": "ID: CATG-001\n\nReturns version 11.0 (latest)." + }, + "response": [ + { + "name": "Response", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/CATG-001" + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "javascript", + "_postman_previewtype": "html", + "header": [ + { + "name": "Content-Type", + "key": "Content-Type", + "value": "application/json", + "description": "The mime type of this content" + }, + { + "name": "Date", + "key": "Date", + "value": "Mon, 29 Dec 2014 17:47:32 GMT", + "description": "The date and time that the message was sent" + }, + { + "name": "Server", + "key": "Server", + "value": "GlassFish Server Open Source Edition 3.1.2.2", + "description": "A name for the server" + }, + { + "name": "Transfer-Encoding", + "key": "Transfer-Encoding", + "value": "chunked", + "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." + }, + { + "name": "X-Powered-By", + "key": "X-Powered-By", + "value": "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7)", + "description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)" + } + ], + "cookie": [], + "responseTime": 84, + "body": "{\"id\":\"CATG-001\",\"version\":\"11.0\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/CATG-001:(11.0)\",\"name\":\"Cloud Services\",\"description\":\"A category to hold all available cloud service offers\",\"lastUpdate\":\"2014-12-29T17:46:38.348+0000\",\"lifecycleStatus\":\"Active\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"isRoot\":true}" + } + ] + }, + { + "name": "/category", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{catalogManagementApi}}/category", + "description": "returns 5 CATG-001 (1.0, 1.1, 1.10, 11.0, and 2.0)" + }, + "response": [ + { + "name": "Response", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category" + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "javascript", + "_postman_previewtype": "html", + "header": [ + { + "name": "Content-Type", + "key": "Content-Type", + "value": "application/json", + "description": "The mime type of this content" + }, + { + "name": "Date", + "key": "Date", + "value": "Mon, 29 Dec 2014 17:47:43 GMT", + "description": "The date and time that the message was sent" + }, + { + "name": "Server", + "key": "Server", + "value": "GlassFish Server Open Source Edition 3.1.2.2", + "description": "A name for the server" + }, + { + "name": "Transfer-Encoding", + "key": "Transfer-Encoding", + "value": "chunked", + "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." + }, + { + "name": "X-Powered-By", + "key": "X-Powered-By", + "value": "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7)", + "description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)" + } + ], + "cookie": [], + "responseTime": 35, + "body": "[{\"id\":\"1\",\"version\":\"1.0\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/1:(1.0)\",\"name\":\"Cloud Services\",\"description\":\"A category to hold all available cloud service offers\",\"lastUpdate\":\"2014-12-29T17:44:11.987+0000\",\"lifecycleStatus\":\"In Design\",\"parentId\":\"41\",\"isRoot\":false},{\"id\":\"CATG-052\",\"version\":\"2.0\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/CATG-052:(2.0)\",\"name\":\"Cloud Services\",\"description\":\"A category to hold all available cloud service offers\",\"lastUpdate\":\"2014-12-29T17:44:20.682+0000\",\"lifecycleStatus\":\"In Design\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"parentId\":\"41\",\"isRoot\":false},{\"id\":\"CATG-001\",\"version\":\"1.0\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/CATG-001:(1.0)\",\"name\":\"Cloud Services\",\"description\":\"A category to hold all available cloud service offers\",\"lastUpdate\":\"2014-12-29T17:44:29.046+0000\",\"lifecycleStatus\":\"In Design\",\"parentId\":\"41\",\"isRoot\":false},{\"id\":\"CATG-001\",\"version\":\"1.1\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/CATG-001:(1.1)\",\"name\":\"Cloud Services\",\"description\":\"A category to hold all available cloud service offers\",\"lastUpdate\":\"2014-12-29T17:44:37.861+0000\",\"lifecycleStatus\":\"In Test\",\"validFor\":{\"endDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"isRoot\":true},{\"id\":\"CATG-001\",\"version\":\"11.0\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/CATG-001:(11.0)\",\"name\":\"Cloud Services\",\"description\":\"A category to hold all available cloud service offers\",\"lastUpdate\":\"2014-12-29T17:46:38.348+0000\",\"lifecycleStatus\":\"Active\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"isRoot\":true},{\"id\":\"CATG-001\",\"version\":\"2.0\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/CATG-001:(2.0)\",\"name\":\"Cloud Services\",\"description\":\"A category to hold all available cloud service offers\",\"lastUpdate\":\"2014-12-29T17:46:48.164+0000\",\"lifecycleStatus\":\"Active\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2013-04-19T20:42:24.000+0000\"},\"parentId\":\"R72\",\"isRoot\":false},{\"id\":\"CATG-001\",\"version\":\"1.10\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/CATG-001:(1.10)\",\"name\":\"Cloud Services\",\"description\":\"A category to hold all available cloud service offers\",\"lastUpdate\":\"2014-12-29T17:47:01.677+0000\",\"lifecycleStatus\":\"Active\",\"isRoot\":true}]" + } + ] + }, + { + "name": "/category/:id", + "request": { + "method": "PATCH", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n\n \"lifecycleStatus\": \"In Study\",\n \"description\": \"A category to hold all available cloud service offers new\"\n}" + }, + "url": "{{catalogManagementApi}}/category/CATG-052:(2.1)" + }, + "response": [ + { + "name": "Response", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n\n \"lifecycleStatus\": \"In Study\",\n \"description\": \"A category to hold all available cloud service offers new\"\n}" + }, + "url": "http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category/CATG-052:(2.1)" + }, + "status": "Internal Server Error", + "code": 500, + "_postman_previewlanguage": "html", + "_postman_previewtype": "html", + "header": [ + { + "name": "Connection", + "key": "Connection", + "value": "close", + "description": "Options that are desired for the connection" + }, + { + "name": "Content-Length", + "key": "Content-Length", + "value": "1737", + "description": "The length of the response body in octets (8-bit bytes)" + }, + { + "name": "Content-Type", + "key": "Content-Type", + "value": "text/html", + "description": "The mime type of this content" + }, + { + "name": "Date", + "key": "Date", + "value": "Mon, 29 Dec 2014 17:51:25 GMT", + "description": "The date and time that the message was sent" + } + ], + "cookie": [], + "responseTime": 23, + "body": "GlassFish Server Open Source Edition 3.1.2.2 - Error report

HTTP Status 500 -


type Exception report

message

descriptionThe server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: org.tmf.dsmapi.catalog.exception.IllegalLifecycleStatusException: LifecycleStatus can only transition to one of [In Design, Active, Rejected] from the current status of 'In Test'

root cause

org.tmf.dsmapi.catalog.exception.IllegalLifecycleStatusException: LifecycleStatus can only transition to one of [In Design, Active, Rejected] from the current status of 'In Test'

note The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 3.1.2.2 logs.


GlassFish Server Open Source Edition 3.1.2.2

" + } + ] + }, + { + "name": "/category/:id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{catalogManagementApi}}/category/:id", + "host": [ + "{{catalogManagementApi}}" + ], + "path": [ + "category", + ":id" + ], + "variable": [ + { + "value": "", + "key": "id" + } + ] + }, + "description": "\n" + }, + "response": [ + { + "name": "Response", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/category" + }, + "status": "Method Not Allowed", + "code": 405, + "_postman_previewlanguage": "html", + "_postman_previewtype": "html", + "header": [ + { + "name": "Allow", + "key": "Allow", + "value": "POST,GET,OPTIONS,HEAD", + "description": "Valid actions for a specified resource. To be used for a 405 Method not allowed" + }, + { + "name": "Content-Length", + "key": "Content-Length", + "value": "1153", + "description": "The length of the response body in octets (8-bit bytes)" + }, + { + "name": "Content-Type", + "key": "Content-Type", + "value": "text/html", + "description": "The mime type of this content" + }, + { + "name": "Date", + "key": "Date", + "value": "Mon, 29 Dec 2014 17:55:11 GMT", + "description": "The date and time that the message was sent" + }, + { + "name": "Server", + "key": "Server", + "value": "GlassFish Server Open Source Edition 3.1.2.2", + "description": "A name for the server" + }, + { + "name": "X-Powered-By", + "key": "X-Powered-By", + "value": "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7)", + "description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)" + } + ], + "cookie": [], + "responseTime": 16, + "body": "GlassFish Server Open Source Edition 3.1.2.2 - Error report

HTTP Status 405 - Method Not Allowed


type Status report

messageMethod Not Allowed

descriptionThe specified HTTP method is not allowed for the requested resource (Method Not Allowed).


GlassFish Server Open Source Edition 3.1.2.2

" + } + ] + } + ] + }, + { + "name": "event subscriber test api", + "item": [ + { + "name": "/current", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{catalogManagementSubscriberApi}}/current", + "description": "get last event" + }, + "response": [] + }, + { + "name": "/history", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{catalogManagementSubscriberApi}}/history", + "description": "List all" + }, + "response": [] + }, + { + "name": "/history", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{catalogManagementSubscriberApi}}/history", + "description": "delete all" + }, + "response": [] + } + ] + }, + { + "name": "hub api", + "item": [ + { + "name": "/hub", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"callback\":\"{{catalogManagementSubscriberApi}}/event\"\n}" + }, + "url": "{{catalogManagementApi}}/hub", + "description": "create a hub" + }, + "response": [] + }, + { + "name": "/hub", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{catalogManagementApi}}/hub", + "description": "select all hubs" + }, + "response": [] + }, + { + "name": "/hub/:id ", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{catalogManagementApi}}/hub/:id", + "host": [ + "{{catalogManagementApi}}" + ], + "path": [ + "hub", + ":id" + ], + "variable": [ + { + "value": "", + "key": "id" + } + ] + }, + "description": "delete hub" + }, + "response": [] + }, + { + "name": "/hub/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{catalogManagementApi}}/hub/:id", + "host": [ + "{{catalogManagementApi}}" + ], + "path": [ + "hub", + ":id" + ], + "variable": [ + { + "value": "", + "key": "id" + } + ] + }, + "description": "get hub by id" + }, + "response": [] + } + ] + }, + { + "name": "productOffering api", + "item": [ + { + "name": "/productOffering", + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"href\": \"http://serverlocation:port/catalogManagement/productOffering/42\",\n \"version\": \"2.0\",\n \"lastUpdate\": \"2013-04-19T16:42:23-04:00\",\n \"name\": \"Virtual Storage Medium\",\n \"description\": \"Virtual Storage Medium\",\n \"isBundle\": true,\n \"lifecycleStatus\": \"Active\",\n \"validFor\": {\n \"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n \"endDateTime\": \"2013-06-19T00:00:00-04:00\"\n },\n \"category\": [\n {\n \"id\": \"12\",\n \"href\": \"http://serverlocation:port/catalogManagement/category/12\",\n \"version\": \"2.0\",\n \"name\": \"Cloud offerings\"\n }\n ],\n \"channel\": [\n {\n \"id\": \"13\",\n \"href\": \"http://serverlocation:port/marketSales/channel/13\",\n \"name\": \"Online Channel\"\n }\n ],\n \"place\": [\n {\n \"id\": \"12\",\n \"href\": \"http://serverlocation:port/marketSales/place/12\",\n \"name\": \"France\"\n }\n ],\n \"bundledProductOffering\": [\n {\n \"id\": \"15\",\n \"href\": \"http://serverlocation:port/catalogManagement/productOffering/15\",\n \"lifecycleStatus\": \"Active\",\n \"name\": \"Offering 15\"\n },\n {\n \"id\": \"64\",\n \"href\": \"http://serverlocation:port/catalogManagement/productOffering/64\",\n \"lifecycleStatus\": \"Active\",\n \"name\": \"Offering 64\"\n }\n ],\n \"serviceLevelAgreement\": {\n \"id\": \"28\",\n \"href\": \"http://serverlocation:port/slaManagement/serviceLevelAgreement/28\",\n \"name\": \"Standard SLA\"\n },\n \"productSpecification\": {\n \"id\": \"13\",\n \"href\": \"http://serverlocation:port/catalogManagement/productSpecification/13\",\n \"version\": \"2.0\",\n \"name\": \"specification product 1\"\n },\n \"serviceCandidate\": {\n \"id\": \"13\",\n \"href\": \"http://serverlocation:port/catalogManagement/serviceCandidate/13\",\n \"version\": \"2.0\",\n \"name\": \"specification service 1\"\n },\n \"resourceCandidate\": {\n \"id\": \"13\",\n \"href\": \"http://serverlocation:port/catalogManagement/resourceCandidate/13\",\n \"version\": \"2.0\",\n \"name\": \"specification resource 1\"\n },\n \"productOfferingTerm\": [\n {\n \"name\": \"12 Month\",\n \"description\": \"12 month contract\",\n \"duration\": \"12\",\n \"validFor\": {\n \"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n \"endDateTime\": \"2013-06-19T00:00:00-04:00\"\n }\n }\n ],\n \"productOfferingPrice\": [\n {\n \"name\": \"Monthly Price\",\n \"description\": \"monthlyprice\",\n \"validFor\": {\n \"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n \"endDateTime\": \"2013-06-19T00:00:00-04:00\"\n },\n \"priceType\": \"recurring\",\n \"unitOfMeasure\": \"\",\n \"price\": {\n \"taxIncludedAmount\": \"12.00\",\n \"dutyFreeAmount\": \"10.00\",\n \"taxRate\": \"20.00\",\n \"currencyCode\": \"EUR\",\n \"percentage\": 0\n },\n \"recurringChargePeriod\": \"monthly\"\n },\n {\n \"name\": \"Usage Price\",\n \"description\": \"usageprice\",\n \"validFor\": {\n \"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n \"endDateTime\": \"2013-06-19T00:00:00-04:00\"\n },\n \"priceType\": \"usage\",\n \"unitOfMeasure\": \"second\",\n \"price\": {\n \"taxIncludedAmount\": \"12.00\",\n \"dutyFreeAmount\": \"10.00\",\n \"taxRate\": \"20.00\",\n \"currencyCode\": \"EUR\",\n \"percentage\": 0\n },\n \"recurringChargePeriod\": \"\",\n \"productOfferPriceAlteration\": {\n \"name\": \"Shipping Discount\",\n \"description\": \"One time shipping discount\",\n \"validFor\": {\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\"\n },\n \"priceType\": \"one time\",\n \"unitOfMeasure\": \"\",\n \"price\": {\n \"percentage\": 100\n },\n \"recurringChargePeriod\": \"\",\n \"priceCondition\": \"apply if total amount of the order is greater than 300.00\"\n }\n\n }\n ]\n}" + }, + "url": "{{catalogManagementApi}}/productOffering", + "description": "Auto generated ID." + }, + "response": [ + { + "name": "Response", + "status": "Created", + "code": 201, + "_postman_previewlanguage": "javascript", + "_postman_previewtype": "html", + "header": [ + { + "name": "Content-Type", + "key": "Content-Type", + "value": "application/json", + "description": "The mime type of this content" + }, + { + "name": "Date", + "key": "Date", + "value": "Tue, 30 Dec 2014 16:41:05 GMT", + "description": "The date and time that the message was sent" + }, + { + "name": "Server", + "key": "Server", + "value": "GlassFish Server Open Source Edition 3.1.2.2", + "description": "A name for the server" + }, + { + "name": "Transfer-Encoding", + "key": "Transfer-Encoding", + "value": "chunked", + "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." + }, + { + "name": "X-Powered-By", + "key": "X-Powered-By", + "value": "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7)", + "description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)" + } + ], + "cookie": [], + "responseTime": 1838, + "body": "{\"id\":\"1\",\"version\":\"2.0\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/productOffering/1:(2.0)\",\"name\":\"Virtual Storage Medium\",\"description\":\"Virtual Storage Medium\",\"lastUpdate\":\"2014-12-30T16:41:05.746+0000\",\"lifecycleStatus\":\"Active\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2013-06-19T04:00:00.000+0000\"},\"isBundle\":true,\"category\":[{\"id\":\"12\",\"version\":\"2.0\",\"href\":\"http://serverlocation:port/catalogManagement/category/12\",\"name\":\"Cloud offerings\"}],\"channel\":[{\"id\":\"13\",\"href\":\"http://serverlocation:port/marketSales/channel/13\",\"name\":\"Online Channel\"}],\"place\":[{\"id\":\"12\",\"href\":\"http://serverlocation:port/marketSales/place/12\",\"name\":\"France\"}],\"bundledProductOffering\":[{\"id\":\"15\",\"href\":\"http://serverlocation:port/catalogManagement/productOffering/15\",\"name\":\"Offering 15\",\"lifecycleStatus\":\"Active\"},{\"id\":\"64\",\"href\":\"http://serverlocation:port/catalogManagement/productOffering/64\",\"name\":\"Offering 64\",\"lifecycleStatus\":\"Active\"}],\"serviceLevelAgreement\":{\"id\":\"28\",\"href\":\"http://serverlocation:port/slaManagement/serviceLevelAgreement/28\",\"name\":\"Standard SLA\"},\"productSpecification\":{\"id\":\"13\",\"version\":\"2.0\",\"href\":\"http://serverlocation:port/catalogManagement/productSpecification/13\",\"name\":\"specification product 1\"},\"serviceCandidate\":{\"id\":\"13\",\"version\":\"2.0\",\"href\":\"http://serverlocation:port/catalogManagement/serviceCandidate/13\",\"name\":\"specification service 1\"},\"resourceCandidate\":{\"id\":\"13\",\"version\":\"2.0\",\"href\":\"http://serverlocation:port/catalogManagement/resourceCandidate/13\",\"name\":\"specification resource 1\"},\"productOfferingTerm\":[{\"name\":\"12 Month\",\"description\":\"12 month contract\",\"duration\":\"12\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2013-06-19T04:00:00.000+0000\"}}],\"productOfferingPrice\":[{\"priceType\":\"recurring\",\"unitOfMeasure\":\"\",\"price\":{\"taxIncludedAmount\":\"12.00\",\"dutyFreeAmount\":\"10.00\",\"taxRate\":\"20.00\",\"currencyCode\":\"EUR\",\"percentage\":0},\"recurringChargePeriod\":\"monthly\",\"name\":\"Monthly Price\",\"description\":\"monthlyprice\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2013-06-19T04:00:00.000+0000\"}},{\"priceType\":\"usage\",\"unitOfMeasure\":\"second\",\"price\":{\"taxIncludedAmount\":\"12.00\",\"dutyFreeAmount\":\"10.00\",\"taxRate\":\"20.00\",\"currencyCode\":\"EUR\",\"percentage\":0},\"recurringChargePeriod\":\"\",\"productOfferPriceAlteration\":{\"name\":\"Shipping Discount\",\"description\":\"One time shipping discount\",\"validFor\":{\"startDateTime\":\"2013-04-19T16:42:23.000+0000\"},\"priceType\":\"one time\",\"unitOfMeasure\":\"\",\"price\":{\"percentage\":\"100\"},\"recurringChargePeriod\":\"\",\"priceCondition\":\"apply if total amount of the order is greater than 300.00\"},\"name\":\"Usage Price\",\"description\":\"usageprice\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2013-06-19T04:00:00.000+0000\"}}]}" + } + ] + }, + { + "name": "/productOffering/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{catalogManagementApi}}/productOffering/:id", + "host": [ + "{{catalogManagementApi}}" + ], + "path": [ + "productOffering", + ":id" + ], + "variable": [ + { + "value": "51", + "key": "id" + } + ] + }, + "description": "Get latest version (internal version processing test).\n\nshould return latest version (0.12) NOT the version with the highest numerical value (0.9)." + }, + "response": [ + { + "name": "Response", + "status": "OK", + "code": 200, + "_postman_previewlanguage": "javascript", + "_postman_previewtype": "html", + "header": [ + { + "name": "Content-Type", + "key": "Content-Type", + "value": "application/json", + "description": "The mime type of this content" + }, + { + "name": "Date", + "key": "Date", + "value": "Tue, 30 Dec 2014 16:42:42 GMT", + "description": "The date and time that the message was sent" + }, + { + "name": "Server", + "key": "Server", + "value": "GlassFish Server Open Source Edition 3.1.2.2", + "description": "A name for the server" + }, + { + "name": "Transfer-Encoding", + "key": "Transfer-Encoding", + "value": "chunked", + "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." + }, + { + "name": "X-Powered-By", + "key": "X-Powered-By", + "value": "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7)", + "description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)" + } + ], + "cookie": [], + "responseTime": 28, + "body": "{\"id\":\"POFER-640\",\"version\":\"0.12\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/productOffering/POFER-640:(0.12)\",\"name\":\"Virtual Storage Medium\",\"description\":\"Virtual Storage Medium\",\"lastUpdate\":\"2014-12-30T16:41:49.428+0000\",\"lifecycleStatus\":\"In Design\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2019-01-01T04:00:02.000+0000\"},\"isBundle\":true,\"category\":[{\"id\":\"12\",\"version\":\"2.0\",\"href\":\"http://serverlocation:port/catalogManagement/category/12\",\"name\":\"Cloud offerings\"}],\"channel\":[{\"id\":\"13\",\"href\":\"http://serverlocation:port/marketSales/channel/13\",\"name\":\"Online Channel\"}],\"place\":[{\"id\":\"12\",\"href\":\"http://serverlocation:port/marketSales/place/12\",\"name\":\"France\"}],\"bundledProductOffering\":[{\"id\":\"15\",\"href\":\"http://serverlocation:port/catalogManagement/productOffering/15\",\"name\":\"Offering 15\",\"lifecycleStatus\":\"Active\"},{\"id\":\"64\",\"href\":\"http://serverlocation:port/catalogManagement/productOffering/64\",\"name\":\"Offering 64\",\"lifecycleStatus\":\"Active\"}],\"serviceLevelAgreement\":{\"id\":\"28\",\"href\":\"http://serverlocation:port/slaManagement/serviceLevelAgreement/28\",\"name\":\"Standard SLA\"},\"productSpecification\":{\"id\":\"13\",\"version\":\"2.0\",\"href\":\"http://serverlocation:port/catalogManagement/productSpecification/13\",\"name\":\"specification product 1\"},\"serviceCandidate\":{\"id\":\"13\",\"version\":\"2.0\",\"href\":\"http://serverlocation:port/catalogManagement/serviceCandidate/13\",\"name\":\"specification service 1\"},\"resourceCandidate\":{\"id\":\"13\",\"version\":\"2.0\",\"href\":\"http://serverlocation:port/catalogManagement/resourceCandidate/13\",\"name\":\"specification resource 1\"},\"productOfferingTerm\":[{\"name\":\"12 Month\",\"description\":\"12 month contract\",\"duration\":\"12\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2013-06-19T04:00:00.000+0000\"}}],\"productOfferingPrice\":[{\"priceType\":\"recurring\",\"unitOfMeasure\":\"\",\"price\":{\"taxIncludedAmount\":\"12.02\",\"dutyFreeAmount\":\"10.02\",\"taxRate\":\"20.02\",\"currencyCode\":\"USD\",\"percentage\":0},\"recurringChargePeriod\":\"monthly\",\"name\":\"Monthly Price\",\"description\":\"monthlyprice\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2013-06-19T04:00:00.000+0000\"}},{\"priceType\":\"usage\",\"unitOfMeasure\":\"second\",\"price\":{\"taxIncludedAmount\":\"12.02\",\"dutyFreeAmount\":\"10.02\",\"taxRate\":\"20.02\",\"currencyCode\":\"EUR\",\"percentage\":0},\"recurringChargePeriod\":\"\",\"productOfferPriceAlteration\":{\"name\":\"Shipping Discount\",\"description\":\"One time shipping discount\",\"validFor\":{\"startDateTime\":\"2013-04-19T16:42:23.000+0000\"},\"priceType\":\"one time\",\"unitOfMeasure\":\"\",\"price\":{\"percentage\":\"100\"},\"recurringChargePeriod\":\"\",\"priceCondition\":\"apply if total amount of the order is greater than 300.00\"},\"name\":\"Usage Price\",\"description\":\"usageprice\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2013-06-19T04:00:00.000+0000\"}}]}" + } + ] + }, + { + "name": "/productOffering", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{catalogManagementApi}}/productOffering", + "description": "Get by ID with extraneous criteria selection parameters.\n\n\n----\n\nreturns version 0.12;\nignores the criteria selection parameters.\nProcesses the field selection request." + }, + "response": [ + { + "name": "Response", + "status": "OK", + "code": 200, + "_postman_previewlanguage": "javascript", + "_postman_previewtype": "html", + "header": [ + { + "name": "Content-Type", + "key": "Content-Type", + "value": "application/json", + "description": "The mime type of this content" + }, + { + "name": "Date", + "key": "Date", + "value": "Tue, 30 Dec 2014 16:42:49 GMT", + "description": "The date and time that the message was sent" + }, + { + "name": "Server", + "key": "Server", + "value": "GlassFish Server Open Source Edition 3.1.2.2", + "description": "A name for the server" + }, + { + "name": "Transfer-Encoding", + "key": "Transfer-Encoding", + "value": "chunked", + "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." + }, + { + "name": "X-Powered-By", + "key": "X-Powered-By", + "value": "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7)", + "description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)" + } + ], + "cookie": [], + "responseTime": 24, + "body": "{\"id\":\"POFER-640\",\"version\":\"0.12\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/productOffering/POFER-640:(0.12)\",\"name\":\"Virtual Storage Medium\",\"description\":\"Virtual Storage Medium\",\"lastUpdate\":\"2014-12-30T16:41:49.428+0000\",\"lifecycleStatus\":\"In Design\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2019-01-01T04:00:02.000+0000\"},\"isBundle\":true,\"category\":[{\"id\":\"12\",\"version\":\"2.0\",\"href\":\"http://serverlocation:port/catalogManagement/category/12\",\"name\":\"Cloud offerings\"}],\"channel\":[{\"id\":\"13\",\"href\":\"http://serverlocation:port/marketSales/channel/13\",\"name\":\"Online Channel\"}],\"place\":[{\"id\":\"12\",\"href\":\"http://serverlocation:port/marketSales/place/12\",\"name\":\"France\"}],\"bundledProductOffering\":[{\"id\":\"15\",\"href\":\"http://serverlocation:port/catalogManagement/productOffering/15\",\"name\":\"Offering 15\",\"lifecycleStatus\":\"Active\"},{\"id\":\"64\",\"href\":\"http://serverlocation:port/catalogManagement/productOffering/64\",\"name\":\"Offering 64\",\"lifecycleStatus\":\"Active\"}],\"serviceLevelAgreement\":{\"id\":\"28\",\"href\":\"http://serverlocation:port/slaManagement/serviceLevelAgreement/28\",\"name\":\"Standard SLA\"},\"productSpecification\":{\"id\":\"13\",\"version\":\"2.0\",\"href\":\"http://serverlocation:port/catalogManagement/productSpecification/13\",\"name\":\"specification product 1\"},\"serviceCandidate\":{\"id\":\"13\",\"version\":\"2.0\",\"href\":\"http://serverlocation:port/catalogManagement/serviceCandidate/13\",\"name\":\"specification service 1\"},\"resourceCandidate\":{\"id\":\"13\",\"version\":\"2.0\",\"href\":\"http://serverlocation:port/catalogManagement/resourceCandidate/13\",\"name\":\"specification resource 1\"},\"productOfferingTerm\":[{\"name\":\"12 Month\",\"description\":\"12 month contract\",\"duration\":\"12\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2013-06-19T04:00:00.000+0000\"}}],\"productOfferingPrice\":[{\"priceType\":\"recurring\",\"unitOfMeasure\":\"\",\"price\":{\"taxIncludedAmount\":\"12.02\",\"dutyFreeAmount\":\"10.02\",\"taxRate\":\"20.02\",\"currencyCode\":\"USD\",\"percentage\":0},\"recurringChargePeriod\":\"monthly\",\"name\":\"Monthly Price\",\"description\":\"monthlyprice\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2013-06-19T04:00:00.000+0000\"}},{\"priceType\":\"usage\",\"unitOfMeasure\":\"second\",\"price\":{\"taxIncludedAmount\":\"12.02\",\"dutyFreeAmount\":\"10.02\",\"taxRate\":\"20.02\",\"currencyCode\":\"EUR\",\"percentage\":0},\"recurringChargePeriod\":\"\",\"productOfferPriceAlteration\":{\"name\":\"Shipping Discount\",\"description\":\"One time shipping discount\",\"validFor\":{\"startDateTime\":\"2013-04-19T16:42:23.000+0000\"},\"priceType\":\"one time\",\"unitOfMeasure\":\"\",\"price\":{\"percentage\":\"100\"},\"recurringChargePeriod\":\"\",\"priceCondition\":\"apply if total amount of the order is greater than 300.00\"},\"name\":\"Usage Price\",\"description\":\"usageprice\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2013-06-19T04:00:00.000+0000\"}}]}" + } + ] + }, + { + "name": "/productOffering/:id", + "request": { + "method": "PATCH", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"lifecycleStatus\": \"Launched\"\n}" + }, + "url": { + "raw": "{{catalogManagementApi}}/productOffering/:id", + "host": [ + "{{catalogManagementApi}}" + ], + "path": [ + "productOffering", + ":id" + ], + "variable": [ + { + "value": "", + "key": "id" + } + ] + } + }, + "response": [ + { + "name": "Response", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"lifecycleStatus\": \"Launched\"\n}" + }, + "url": { + "raw": "{{catalogManagementApi}}/productOffering/:id", + "host": [ + "{{catalogManagementApi}}" + ], + "path": [ + "productOffering", + ":id" + ], + "variable": [ + { + "value": "", + "key": "id" + } + ] + } + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "javascript", + "_postman_previewtype": "html", + "header": [ + { + "name": "Content-Type", + "key": "Content-Type", + "value": "application/json", + "description": "The mime type of this content" + }, + { + "name": "Date", + "key": "Date", + "value": "Tue, 30 Dec 2014 17:08:11 GMT", + "description": "The date and time that the message was sent" + }, + { + "name": "Server", + "key": "Server", + "value": "GlassFish Server Open Source Edition 3.1.2.2", + "description": "A name for the server" + }, + { + "name": "Transfer-Encoding", + "key": "Transfer-Encoding", + "value": "chunked", + "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." + }, + { + "name": "X-Powered-By", + "key": "X-Powered-By", + "value": "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7)", + "description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)" + } + ], + "cookie": [], + "responseTime": 104, + "body": "{\"id\":\"PSPEC-900\",\"version\":\"12.17\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/productSpecification/PSPEC-900:(12.17)\",\"name\":\"iPhone 42\",\"description\":\"Siri works on this iPhone\",\"lastUpdate\":\"2014-12-30T17:08:10.928+0000\",\"lifecycleStatus\":\"Launched\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2013-06-19T04:00:00.000+0000\"},\"productNumber\":\"I42-340-DX\",\"isBundle\":true,\"brand\":\"Apple\",\"attachment\":[{\"id\":\"22\",\"href\":\"http://serverlocation:port/documentManagement/attachment/22\",\"type\":\"Picture\",\"url\":\"http://xxxxx\"}],\"relatedParty\":[{\"id\":\"1234\",\"href\":\"http ://serverLocation:port/partyManagement/partyRole/1234\",\"role\":\"Owner\"}],\"bundledProductSpecification\":[{\"id\":\"PSPECK-03-N\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/productSpecification/PSPECK-03-N:(0.4)\",\"name\":\"Product specification 15\",\"lifecycleStatus\":\"Active\"},{\"id\":\"PSPECK-04-B\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/productSpecification/PSPECK-04-B:(0.4)\",\"name\":\"Product specification 64\",\"lifecycleStatus\":\"In Study\"}],\"productSpecificationRelationship\":[{\"id\":\"23\",\"href\":\" http://serverlocation:port/catalogManagement/productSpecification/23\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"type\":\"dependency\"}],\"serviceSpecification\":[{\"id\":\"13\",\"version\":\"1.1\",\"href\":\"http://serverlocation:port/catalogManagement/serviceSpecification/13\",\"name\":\"specification 1\"}],\"resourceSpecification\":[{\"id\":\"RSPECK-02\",\"version\":\"1.0\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/resourceSpecification/RSPECK-02:(1.0),\",\"name\":\"specification 1\"}],\"productSpecCharacteristic\":[{\"id\":\"42\",\"name\":\"Screen Size\",\"description\":\"Screen size\",\"valueType\":\"number\",\"configurable\":false,\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"productSpecCharRelationship\":[{\"id\":\"43\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"type\":\"dependency\"}],\"productSpecCharacteristicValue\":[{\"valueType\":\"number\",\"value\":\"4.2\",\"unitOfMeasure\":\"inches\",\"valueFrom\":\"\",\"valueTo\":\"\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"default\":true}]},{\"id\":\"34\",\"name\":\"Colour\",\"description\":\"Colour\",\"valueType\":\"string\",\"configurable\":true,\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"productSpecCharacteristicValue\":[{\"valueType\":\"string\",\"value\":\"Black\",\"unitOfMeasure\":\"\",\"valueFrom\":\"\",\"valueTo\":\"\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"default\":true},{\"valueType\":\"string\",\"value\":\"White\",\"unitOfMeasure\":\"\",\"valueFrom\":\"\",\"valueTo\":\"\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"default\":false}]}]}" + } + ] + }, + { + "name": "/productOffering/:id", + "request": { + "method": "DELETE", + "header": [], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{catalogManagementApi}}/productSpecification/:id", + "host": [ + "{{catalogManagementApi}}" + ], + "path": [ + "productSpecification", + ":id" + ], + "variable": [ + { + "value": "", + "key": "id" + } + ] + } + }, + "response": [ + { + "name": "Response", + "originalRequest": { + "method": "DELETE", + "header": [], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{catalogManagementApi}}/productSpecification/:id", + "host": [ + "{{catalogManagementApi}}" + ], + "path": [ + "productSpecification", + ":id" + ], + "variable": [ + { + "value": "", + "key": "id" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "html", + "_postman_previewtype": "html", + "header": [ + { + "name": "Content-Length", + "key": "Content-Length", + "value": "0", + "description": "The length of the response body in octets (8-bit bytes)" + }, + { + "name": "Date", + "key": "Date", + "value": "Tue, 30 Dec 2014 17:11:01 GMT", + "description": "The date and time that the message was sent" + }, + { + "name": "Server", + "key": "Server", + "value": "GlassFish Server Open Source Edition 3.1.2.2", + "description": "A name for the server" + }, + { + "name": "X-Powered-By", + "key": "X-Powered-By", + "value": "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7)", + "description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)" + } + ], + "cookie": [], + "responseTime": 59, + "body": "" + } + ] + } + ] + }, + { + "name": "productSpecification api", + "item": [ + { + "name": "/productSpecification", + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n\t\"href\": \"http://serverlocation:port/catalogManagement/productSpecification/22\",\n\t\"productNumber\": \"I42-340-DX\",\n\t\"version\": \"2.0\",\n\t\"lastUpdate\": \"2013-04-19T16:42:23-04:00\",\n\t\"name\": \"iPhone 42\",\n\t\"description\": \"Siri works on this iPhone\",\n\t\"isBundle\": true,\n\t\"brand\": \"Apple\",\n\t\"lifecycleStatus\": \"Active\",\n\t\"validFor\": {\n\t\t\"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n\t\t\"endDateTime\": \"2013-06-19T00:00:00-04:00\"\n\t},\n\t\"relatedParty\": [\n\t\t{\n\t\t\t\"role\": \"Owner\",\n\t\t\t\"id\": \"1234\",\n\t\t\t\"href\": \"http ://serverLocation:port/partyManagement/partyRole/1234\"\n\t\t}\n\t],\n\t\"attachment\": [\n\t\t{\n\t\t\t\"id\": \"22\",\n\t\t\t\"href\": \"http://serverlocation:port/documentManagement/attachment/22\",\n\t\t\t\"type\": \"Picture\",\n\t\t\t\"url\": \"http://xxxxx\"\n\t\t}\n\t],\n\t\"bundledProductSpecification\": [\n\t\t{\n\t\t\t\"id\": \"15\",\n\t\t\t\"href\": \"http://serverlocation:port/catalogManagement/productSpecification/15\",\n\t\t\t\"lifecycleStatus\": \"Active\",\n\t\t\t\"name\": \"Product specification 15\"\n\t\t}, {\n\t\t\t\"id\": \"64\",\n\t\t\t\"href\": \"http://serverlocation:port/catalogManagement/productSpecification/64\",\n\t\t\t\"lifecycleStatus\": \"Active\",\n\t\t\t\"name\": \"Product specification 64\"\n\t\t}\n\t],\n\t\"productSpecificationRelationship\": [\n\t\t{\n\t\t\t\"type\": \"dependency\",\n\t\t\t\"id\": \"23\",\n\t\t\t\"href\": \" http://serverlocation:port/catalogManagement/productSpecification/23\",\t\t\t\"validFor\": {\n\t\t\t\t\"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n\t\t\t\t\"endDateTime\": \"\"\n\t\t\t}\n\t\t}\n\t],\n\t\"serviceSpecification\": [\n\t\t{\n\t\t\t\"id\": \"13\",\n\t\t\t\"href\": \"http://serverlocation:port/catalogManagement/serviceSpecification/13\",\n\t\t\t\"name\": \"specification 1\",\n\t\t\t\"version\": \"1.1\"\n\t\t}\n\t],\n\t\"resourceSpecification\": [\n\t\t{\n\t\t\t\"id\": \"13\",\n\t\t\t\"href\": \"http://serverlocation:port/catalogManagement/resourceSpecification/13\",\n\t\t\t\"name\": \"specification 1\",\n\t\t\t\"version\": \"1.1\"\n\t\t}\n\t],\n\t\"productSpecCharacteristic\": [\n\t\t{\n\t\t\t\"id\": \"42\",\n\t\t\t\"name\": \"Screen Size\",\n\t\t\t\"description\": \"Screen size\",\n\t\t\t\"valueType\": \"number\",\n\t\t\t\"configurable\": false,\n\t\t\t\"validFor\": {\n\t\t\t\t\"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n\t\t\t\t\"endDateTime\": \"\"\n\t\t\t},\n\t\t\t\"productSpecCharRelationship\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"dependency\",\n\t\t\t\t\t\"id\": \"43\",\n\t\t\t\t\t\"validFor\": {\n\t\t\t\t\t\t\"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n\t\t\t\t\t\t\"endDateTime\": \"\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"productSpecCharacteristicValue\": [\n\t\t\t\t{\n\t\t\t\t\t\"valueType\": \"number\",\n\t\t\t\t\t\"default\": true,\n\t\t\t\t\t\"value\": \"4.2\",\n\t\t\t\t\t\"unitOfMeasure\": \"inches\",\n\t\t\t\t\t\"valueFrom\": \"\",\n\t\t\t\t\t\"valueTo\": \"\",\n\t\t\t\t\t\"validFor\": {\n\t\t\t\t\t\t\"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n\t\t\t\t\t\t\"endDateTime\": \"\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t}, {\n\t\t\t\"id\": \"34\",\n\t\t\t\"name\": \"Colour\",\n\t\t\t\"description\": \"Colour\",\n\t\t\t\"valueType\": \"string\",\n\t\t\t\"configurable\": true,\n\t\t\t\"validFor\": {\n\t\t\t\t\"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n\t\t\t\t\"endDateTime\": \"\"\n\t\t\t},\n\t\t\t\"productSpecCharacteristicValue\": [\n\t\t\t\t{\n\t\t\t\t\t\"valueType\": \"string\",\n\t\t\t\t\t\"default\": true,\n\t\t\t\t\t\"value\": \"Black\",\n\t\t\t\t\t\"unitOfMeasure\": \"\",\n\t\t\t\t\t\"valueFrom\": \"\",\n\t\t\t\t\t\"valueTo\": \"\",\n\t\t\t\t\t\"validFor\": {\n\t\t\t\t\t\t\"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n\t\t\t\t\t\t\"endDateTime\": \"\"\n\t\t\t\t\t}\n\t\t\t\t}, {\n\t\t\t\t\t\"valueType\": \"string\",\n\t\t\t\t\t\"default\": false,\n\t\t\t\t\t\"value\": \"White\",\n\t\t\t\t\t\"unitOfMeasure\": \"\",\n\t\t\t\t\t\"valueFrom\": \"\",\n\t\t\t\t\t\"valueTo\": \"\",\n\t\t\t\t\t\"validFor\": {\n\t\t\t\t\t\t\"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n\t\t\t\t\t\t\"endDateTime\": \"\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t]\n}\n" + }, + "url": "{{catalogManagementApi}}/productSpecification", + "description": "Auto generated ID." + }, + "response": [ + { + "name": "Response", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n\t\"href\": \"http://serverlocation:port/catalogManagement/productSpecification/22\",\n\t\"productNumber\": \"I42-340-DX\",\n\t\"version\": \"2.0\",\n\t\"lastUpdate\": \"2013-04-19T16:42:23-04:00\",\n\t\"name\": \"iPhone 42\",\n\t\"description\": \"Siri works on this iPhone\",\n\t\"isBundle\": true,\n\t\"brand\": \"Apple\",\n\t\"lifecycleStatus\": \"Active\",\n\t\"validFor\": {\n\t\t\"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n\t\t\"endDateTime\": \"2013-06-19T00:00:00-04:00\"\n\t},\n\t\"relatedParty\": [\n\t\t{\n\t\t\t\"role\": \"Owner\",\n\t\t\t\"id\": \"1234\",\n\t\t\t\"href\": \"http ://serverLocation:port/partyManagement/partyRole/1234\"\n\t\t}\n\t],\n\t\"attachment\": [\n\t\t{\n\t\t\t\"id\": \"22\",\n\t\t\t\"href\": \"http://serverlocation:port/documentManagement/attachment/22\",\n\t\t\t\"type\": \"Picture\",\n\t\t\t\"url\": \"http://xxxxx\"\n\t\t}\n\t],\n\t\"bundledProductSpecification\": [\n\t\t{\n\t\t\t\"id\": \"15\",\n\t\t\t\"href\": \"http://serverlocation:port/catalogManagement/productSpecification/15\",\n\t\t\t\"lifecycleStatus\": \"Active\",\n\t\t\t\"name\": \"Product specification 15\"\n\t\t}, {\n\t\t\t\"id\": \"64\",\n\t\t\t\"href\": \"http://serverlocation:port/catalogManagement/productSpecification/64\",\n\t\t\t\"lifecycleStatus\": \"Active\",\n\t\t\t\"name\": \"Product specification 64\"\n\t\t}\n\t],\n\t\"productSpecificationRelationship\": [\n\t\t{\n\t\t\t\"type\": \"dependency\",\n\t\t\t\"id\": \"23\",\n\t\t\t\"href\": \" http://serverlocation:port/catalogManagement/productSpecification/23\",\t\t\t\"validFor\": {\n\t\t\t\t\"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n\t\t\t\t\"endDateTime\": \"\"\n\t\t\t}\n\t\t}\n\t],\n\t\"serviceSpecification\": [\n\t\t{\n\t\t\t\"id\": \"13\",\n\t\t\t\"href\": \"http://serverlocation:port/catalogManagement/serviceSpecification/13\",\n\t\t\t\"name\": \"specification 1\",\n\t\t\t\"version\": \"1.1\"\n\t\t}\n\t],\n\t\"resourceSpecification\": [\n\t\t{\n\t\t\t\"id\": \"13\",\n\t\t\t\"href\": \"http://serverlocation:port/catalogManagement/resourceSpecification/13\",\n\t\t\t\"name\": \"specification 1\",\n\t\t\t\"version\": \"1.1\"\n\t\t}\n\t],\n\t\"productSpecCharacteristic\": [\n\t\t{\n\t\t\t\"id\": \"42\",\n\t\t\t\"name\": \"Screen Size\",\n\t\t\t\"description\": \"Screen size\",\n\t\t\t\"valueType\": \"number\",\n\t\t\t\"configurable\": false,\n\t\t\t\"validFor\": {\n\t\t\t\t\"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n\t\t\t\t\"endDateTime\": \"\"\n\t\t\t},\n\t\t\t\"productSpecCharRelationship\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"dependency\",\n\t\t\t\t\t\"id\": \"43\",\n\t\t\t\t\t\"validFor\": {\n\t\t\t\t\t\t\"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n\t\t\t\t\t\t\"endDateTime\": \"\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"productSpecCharacteristicValue\": [\n\t\t\t\t{\n\t\t\t\t\t\"valueType\": \"number\",\n\t\t\t\t\t\"default\": true,\n\t\t\t\t\t\"value\": \"4.2\",\n\t\t\t\t\t\"unitOfMeasure\": \"inches\",\n\t\t\t\t\t\"valueFrom\": \"\",\n\t\t\t\t\t\"valueTo\": \"\",\n\t\t\t\t\t\"validFor\": {\n\t\t\t\t\t\t\"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n\t\t\t\t\t\t\"endDateTime\": \"\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t}, {\n\t\t\t\"id\": \"34\",\n\t\t\t\"name\": \"Colour\",\n\t\t\t\"description\": \"Colour\",\n\t\t\t\"valueType\": \"string\",\n\t\t\t\"configurable\": true,\n\t\t\t\"validFor\": {\n\t\t\t\t\"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n\t\t\t\t\"endDateTime\": \"\"\n\t\t\t},\n\t\t\t\"productSpecCharacteristicValue\": [\n\t\t\t\t{\n\t\t\t\t\t\"valueType\": \"string\",\n\t\t\t\t\t\"default\": true,\n\t\t\t\t\t\"value\": \"Black\",\n\t\t\t\t\t\"unitOfMeasure\": \"\",\n\t\t\t\t\t\"valueFrom\": \"\",\n\t\t\t\t\t\"valueTo\": \"\",\n\t\t\t\t\t\"validFor\": {\n\t\t\t\t\t\t\"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n\t\t\t\t\t\t\"endDateTime\": \"\"\n\t\t\t\t\t}\n\t\t\t\t}, {\n\t\t\t\t\t\"valueType\": \"string\",\n\t\t\t\t\t\"default\": false,\n\t\t\t\t\t\"value\": \"White\",\n\t\t\t\t\t\"unitOfMeasure\": \"\",\n\t\t\t\t\t\"valueFrom\": \"\",\n\t\t\t\t\t\"valueTo\": \"\",\n\t\t\t\t\t\"validFor\": {\n\t\t\t\t\t\t\"startDateTime\": \"2013-04-19T16:42:23-04:00\",\n\t\t\t\t\t\t\"endDateTime\": \"\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t]\n}\n" + }, + "url": "http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/productSpecification" + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "javascript", + "_postman_previewtype": "html", + "header": [ + { + "name": "Content-Type", + "key": "Content-Type", + "value": "application/json", + "description": "The mime type of this content" + }, + { + "name": "Date", + "key": "Date", + "value": "Tue, 30 Dec 2014 17:00:55 GMT", + "description": "The date and time that the message was sent" + }, + { + "name": "Server", + "key": "Server", + "value": "GlassFish Server Open Source Edition 3.1.2.2", + "description": "A name for the server" + }, + { + "name": "Transfer-Encoding", + "key": "Transfer-Encoding", + "value": "chunked", + "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." + }, + { + "name": "X-Powered-By", + "key": "X-Powered-By", + "value": "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7)", + "description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)" + } + ], + "cookie": [], + "responseTime": 227, + "body": "{\"id\":\"2\",\"version\":\"2.0\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/productSpecification/2:(2.0)\",\"name\":\"iPhone 42\",\"description\":\"Siri works on this iPhone\",\"lastUpdate\":\"2014-12-30T17:00:55.588+0000\",\"lifecycleStatus\":\"Active\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2013-06-19T04:00:00.000+0000\"},\"productNumber\":\"I42-340-DX\",\"isBundle\":true,\"brand\":\"Apple\",\"attachment\":[{\"id\":\"22\",\"href\":\"http://serverlocation:port/documentManagement/attachment/22\",\"type\":\"Picture\",\"url\":\"http://xxxxx\"}],\"relatedParty\":[{\"id\":\"1234\",\"href\":\"http ://serverLocation:port/partyManagement/partyRole/1234\",\"role\":\"Owner\"}],\"bundledProductSpecification\":[{\"id\":\"15\",\"href\":\"http://serverlocation:port/catalogManagement/productSpecification/15\",\"name\":\"Product specification 15\",\"lifecycleStatus\":\"Active\"},{\"id\":\"64\",\"href\":\"http://serverlocation:port/catalogManagement/productSpecification/64\",\"name\":\"Product specification 64\",\"lifecycleStatus\":\"Active\"}],\"productSpecificationRelationship\":[{\"id\":\"23\",\"href\":\" http://serverlocation:port/catalogManagement/productSpecification/23\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"type\":\"dependency\"}],\"serviceSpecification\":[{\"id\":\"13\",\"version\":\"1.1\",\"href\":\"http://serverlocation:port/catalogManagement/serviceSpecification/13\",\"name\":\"specification 1\"}],\"resourceSpecification\":[{\"id\":\"13\",\"version\":\"1.1\",\"href\":\"http://serverlocation:port/catalogManagement/resourceSpecification/13\",\"name\":\"specification 1\"}],\"productSpecCharacteristic\":[{\"id\":\"42\",\"name\":\"Screen Size\",\"description\":\"Screen size\",\"valueType\":\"number\",\"configurable\":false,\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"productSpecCharRelationship\":[{\"id\":\"43\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"type\":\"dependency\"}],\"productSpecCharacteristicValue\":[{\"valueType\":\"number\",\"value\":\"4.2\",\"unitOfMeasure\":\"inches\",\"valueFrom\":\"\",\"valueTo\":\"\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"default\":true}]},{\"id\":\"34\",\"name\":\"Colour\",\"description\":\"Colour\",\"valueType\":\"string\",\"configurable\":true,\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"productSpecCharacteristicValue\":[{\"valueType\":\"string\",\"value\":\"Black\",\"unitOfMeasure\":\"\",\"valueFrom\":\"\",\"valueTo\":\"\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"default\":true},{\"valueType\":\"string\",\"value\":\"White\",\"unitOfMeasure\":\"\",\"valueFrom\":\"\",\"valueTo\":\"\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"default\":false}]}]}" + } + ] + }, + { + "name": "/productSpecification/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{catalogManagementApi}}/productSpecification/PSPEC-900", + "description": "latest version is still 12.15" + }, + "response": [ + { + "name": "Response", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/productSpecification/PSPEC-900" + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "javascript", + "_postman_previewtype": "html", + "header": [ + { + "name": "Content-Type", + "key": "Content-Type", + "value": "application/json", + "description": "The mime type of this content" + }, + { + "name": "Date", + "key": "Date", + "value": "Tue, 30 Dec 2014 17:01:34 GMT", + "description": "The date and time that the message was sent" + }, + { + "name": "Server", + "key": "Server", + "value": "GlassFish Server Open Source Edition 3.1.2.2", + "description": "A name for the server" + }, + { + "name": "Transfer-Encoding", + "key": "Transfer-Encoding", + "value": "chunked", + "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." + }, + { + "name": "X-Powered-By", + "key": "X-Powered-By", + "value": "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7)", + "description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)" + } + ], + "cookie": [], + "responseTime": 24, + "body": "{\"id\":\"PSPEC-900\",\"version\":\"12.15\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/productSpecification/PSPEC-900:(12.15)\",\"name\":\"iPhone 42\",\"description\":\"Siri works on this iPhone\",\"lastUpdate\":\"2014-12-30T17:01:20.464+0000\",\"lifecycleStatus\":\"Active\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2013-06-19T04:00:00.000+0000\"},\"productNumber\":\"I42-340-DX\",\"isBundle\":true,\"brand\":\"Apple\",\"attachment\":[{\"id\":\"22\",\"href\":\"http://serverlocation:port/documentManagement/attachment/22\",\"type\":\"Picture\",\"url\":\"http://xxxxx\"}],\"relatedParty\":[{\"id\":\"1234\",\"href\":\"http ://serverLocation:port/partyManagement/partyRole/1234\",\"role\":\"Owner\"}],\"bundledProductSpecification\":[{\"id\":\"15\",\"href\":\"http://serverlocation:port/catalogManagement/productSpecification/15\",\"name\":\"Product specification 15\",\"lifecycleStatus\":\"Active\"},{\"id\":\"64\",\"href\":\"http://serverlocation:port/catalogManagement/productSpecification/64\",\"name\":\"Product specification 64\",\"lifecycleStatus\":\"Active\"}],\"productSpecificationRelationship\":[{\"id\":\"23\",\"href\":\" http://serverlocation:port/catalogManagement/productSpecification/23\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"type\":\"dependency\"}],\"serviceSpecification\":[{\"id\":\"13\",\"version\":\"1.1\",\"href\":\"http://serverlocation:port/catalogManagement/serviceSpecification/13\",\"name\":\"specification 1\"}],\"resourceSpecification\":[{\"id\":\"13\",\"version\":\"1.1\",\"href\":\"http://serverlocation:port/catalogManagement/resourceSpecification/13\",\"name\":\"specification 1\"}],\"productSpecCharacteristic\":[{\"id\":\"42\",\"name\":\"Screen Size\",\"description\":\"Screen size\",\"valueType\":\"number\",\"configurable\":false,\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"productSpecCharRelationship\":[{\"id\":\"43\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"type\":\"dependency\"}],\"productSpecCharacteristicValue\":[{\"valueType\":\"number\",\"value\":\"4.2\",\"unitOfMeasure\":\"inches\",\"valueFrom\":\"\",\"valueTo\":\"\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"default\":true}]},{\"id\":\"34\",\"name\":\"Colour\",\"description\":\"Colour\",\"valueType\":\"string\",\"configurable\":true,\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"productSpecCharacteristicValue\":[{\"valueType\":\"string\",\"value\":\"Black\",\"unitOfMeasure\":\"\",\"valueFrom\":\"\",\"valueTo\":\"\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"default\":true},{\"valueType\":\"string\",\"value\":\"White\",\"unitOfMeasure\":\"\",\"valueFrom\":\"\",\"valueTo\":\"\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"default\":false}]}]}" + } + ] + }, + { + "name": "/productSpecification", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{catalogManagementApi}}/productSpecification", + "description": "latest version is now 12.16" + }, + "response": [ + { + "name": "Response", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/productSpecification/PSPEC-900" + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "javascript", + "_postman_previewtype": "html", + "header": [ + { + "name": "Content-Type", + "key": "Content-Type", + "value": "application/json", + "description": "The mime type of this content" + }, + { + "name": "Date", + "key": "Date", + "value": "Tue, 30 Dec 2014 17:01:48 GMT", + "description": "The date and time that the message was sent" + }, + { + "name": "Server", + "key": "Server", + "value": "GlassFish Server Open Source Edition 3.1.2.2", + "description": "A name for the server" + }, + { + "name": "Transfer-Encoding", + "key": "Transfer-Encoding", + "value": "chunked", + "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." + }, + { + "name": "X-Powered-By", + "key": "X-Powered-By", + "value": "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7)", + "description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)" + } + ], + "cookie": [], + "responseTime": 30, + "body": "{\"id\":\"PSPEC-900\",\"version\":\"12.16\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/productSpecification/PSPEC-900:(12.16)\",\"name\":\"iPhone 42\",\"description\":\"Siri works on this iPhone\",\"lastUpdate\":\"2014-12-30T17:01:41.763+0000\",\"lifecycleStatus\":\"Active\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2013-06-19T04:00:00.000+0000\"},\"productNumber\":\"I42-340-DX\",\"isBundle\":true,\"brand\":\"Apple\",\"attachment\":[{\"id\":\"22\",\"href\":\"http://serverlocation:port/documentManagement/attachment/22\",\"type\":\"Picture\",\"url\":\"http://xxxxx\"}],\"relatedParty\":[{\"id\":\"1234\",\"href\":\"http ://serverLocation:port/partyManagement/partyRole/1234\",\"role\":\"Owner\"}],\"bundledProductSpecification\":[{\"id\":\"15\",\"href\":\"http://serverlocation:port/catalogManagement/productSpecification/15\",\"name\":\"Product specification 15\",\"lifecycleStatus\":\"Active\"},{\"id\":\"64\",\"href\":\"http://serverlocation:port/catalogManagement/productSpecification/64\",\"name\":\"Product specification 64\",\"lifecycleStatus\":\"Active\"}],\"productSpecificationRelationship\":[{\"id\":\"23\",\"href\":\" http://serverlocation:port/catalogManagement/productSpecification/23\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"type\":\"dependency\"}],\"serviceSpecification\":[{\"id\":\"13\",\"version\":\"1.1\",\"href\":\"http://serverlocation:port/catalogManagement/serviceSpecification/13\",\"name\":\"specification 1\"}],\"resourceSpecification\":[{\"id\":\"13\",\"version\":\"1.1\",\"href\":\"http://serverlocation:port/catalogManagement/resourceSpecification/13\",\"name\":\"specification 1\"}],\"productSpecCharacteristic\":[{\"id\":\"42\",\"name\":\"Screen Size\",\"description\":\"Screen size\",\"valueType\":\"number\",\"configurable\":false,\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"productSpecCharRelationship\":[{\"id\":\"43\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"type\":\"dependency\"}],\"productSpecCharacteristicValue\":[{\"valueType\":\"number\",\"value\":\"4.2\",\"unitOfMeasure\":\"inches\",\"valueFrom\":\"\",\"valueTo\":\"\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"default\":true}]},{\"id\":\"34\",\"name\":\"Colour\",\"description\":\"Colour\",\"valueType\":\"string\",\"configurable\":true,\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"productSpecCharacteristicValue\":[{\"valueType\":\"string\",\"value\":\"Black\",\"unitOfMeasure\":\"\",\"valueFrom\":\"\",\"valueTo\":\"\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"default\":true},{\"valueType\":\"string\",\"value\":\"White\",\"unitOfMeasure\":\"\",\"valueFrom\":\"\",\"valueTo\":\"\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"default\":false}]}]}" + } + ] + }, + { + "name": "/productSpecification/:id", + "request": { + "method": "PATCH", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"lifecycleStatus\": \"Launched\"\n}" + }, + "url": { + "raw": "{{catalogManagementApi}}/productSpecification/:id", + "host": [ + "{{catalogManagementApi}}" + ], + "path": [ + "productSpecification", + ":id" + ], + "variable": [ + { + "value": "", + "key": "id" + } + ] + }, + "description": "update life cycle of latest version (should be 12.17) to valid value.\n\n----\n\nupdated version is 12.17" + }, + "response": [ + { + "name": "Response", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"lifecycleStatus\": \"Launched\"\n}" + }, + "url": "http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/productSpecification/PSPEC-900" + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "javascript", + "_postman_previewtype": "html", + "header": [ + { + "name": "Content-Type", + "key": "Content-Type", + "value": "application/json", + "description": "The mime type of this content" + }, + { + "name": "Date", + "key": "Date", + "value": "Tue, 30 Dec 2014 17:08:11 GMT", + "description": "The date and time that the message was sent" + }, + { + "name": "Server", + "key": "Server", + "value": "GlassFish Server Open Source Edition 3.1.2.2", + "description": "A name for the server" + }, + { + "name": "Transfer-Encoding", + "key": "Transfer-Encoding", + "value": "chunked", + "description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity." + }, + { + "name": "X-Powered-By", + "key": "X-Powered-By", + "value": "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7)", + "description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)" + } + ], + "cookie": [], + "responseTime": 104, + "body": "{\"id\":\"PSPEC-900\",\"version\":\"12.17\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/productSpecification/PSPEC-900:(12.17)\",\"name\":\"iPhone 42\",\"description\":\"Siri works on this iPhone\",\"lastUpdate\":\"2014-12-30T17:08:10.928+0000\",\"lifecycleStatus\":\"Launched\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\",\"endDateTime\":\"2013-06-19T04:00:00.000+0000\"},\"productNumber\":\"I42-340-DX\",\"isBundle\":true,\"brand\":\"Apple\",\"attachment\":[{\"id\":\"22\",\"href\":\"http://serverlocation:port/documentManagement/attachment/22\",\"type\":\"Picture\",\"url\":\"http://xxxxx\"}],\"relatedParty\":[{\"id\":\"1234\",\"href\":\"http ://serverLocation:port/partyManagement/partyRole/1234\",\"role\":\"Owner\"}],\"bundledProductSpecification\":[{\"id\":\"PSPECK-03-N\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/productSpecification/PSPECK-03-N:(0.4)\",\"name\":\"Product specification 15\",\"lifecycleStatus\":\"Active\"},{\"id\":\"PSPECK-04-B\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/productSpecification/PSPECK-04-B:(0.4)\",\"name\":\"Product specification 64\",\"lifecycleStatus\":\"In Study\"}],\"productSpecificationRelationship\":[{\"id\":\"23\",\"href\":\" http://serverlocation:port/catalogManagement/productSpecification/23\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"type\":\"dependency\"}],\"serviceSpecification\":[{\"id\":\"13\",\"version\":\"1.1\",\"href\":\"http://serverlocation:port/catalogManagement/serviceSpecification/13\",\"name\":\"specification 1\"}],\"resourceSpecification\":[{\"id\":\"RSPECK-02\",\"version\":\"1.0\",\"href\":\"http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/resourceSpecification/RSPECK-02:(1.0),\",\"name\":\"specification 1\"}],\"productSpecCharacteristic\":[{\"id\":\"42\",\"name\":\"Screen Size\",\"description\":\"Screen size\",\"valueType\":\"number\",\"configurable\":false,\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"productSpecCharRelationship\":[{\"id\":\"43\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"type\":\"dependency\"}],\"productSpecCharacteristicValue\":[{\"valueType\":\"number\",\"value\":\"4.2\",\"unitOfMeasure\":\"inches\",\"valueFrom\":\"\",\"valueTo\":\"\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"default\":true}]},{\"id\":\"34\",\"name\":\"Colour\",\"description\":\"Colour\",\"valueType\":\"string\",\"configurable\":true,\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"productSpecCharacteristicValue\":[{\"valueType\":\"string\",\"value\":\"Black\",\"unitOfMeasure\":\"\",\"valueFrom\":\"\",\"valueTo\":\"\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"default\":true},{\"valueType\":\"string\",\"value\":\"White\",\"unitOfMeasure\":\"\",\"valueFrom\":\"\",\"valueTo\":\"\",\"validFor\":{\"startDateTime\":\"2013-04-19T20:42:23.000+0000\"},\"default\":false}]}]}" + } + ] + }, + { + "name": "/productSpecification/:id", + "request": { + "method": "DELETE", + "header": [], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{catalogManagementApi}}/productSpecification/:id", + "host": [ + "{{catalogManagementApi}}" + ], + "path": [ + "productSpecification", + ":id" + ], + "variable": [ + { + "value": "", + "key": "id" + } + ] + }, + "description": "latest & only version." + }, + "response": [ + { + "name": "Response", + "originalRequest": { + "method": "DELETE", + "header": [], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "http://localhost:8080/DSPRODUCTCATALOG2/catalogManagement/productSpecification/PSPEC-800" + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "html", + "_postman_previewtype": "html", + "header": [ + { + "name": "Content-Length", + "key": "Content-Length", + "value": "0", + "description": "The length of the response body in octets (8-bit bytes)" + }, + { + "name": "Date", + "key": "Date", + "value": "Tue, 30 Dec 2014 17:11:01 GMT", + "description": "The date and time that the message was sent" + }, + { + "name": "Server", + "key": "Server", + "value": "GlassFish Server Open Source Edition 3.1.2.2", + "description": "A name for the server" + }, + { + "name": "X-Powered-By", + "key": "X-Powered-By", + "value": "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7)", + "description": "Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)" + } + ], + "cookie": [], + "responseTime": 59, + "body": "" + } + ] + } + ] + } + ] } \ No newline at end of file diff --git a/TMFProductInventoryAPI.json.postman_collection b/TMFProductInventoryAPI.json.postman_collection index 844e0a1..2d54263 100644 --- a/TMFProductInventoryAPI.json.postman_collection +++ b/TMFProductInventoryAPI.json.postman_collection @@ -1,339 +1,359 @@ { - "id": "6cfd30b8-5d0c-508f-d10b-eae3390c0bc7", - "name": "TMF Product Inventory API", - "description": "", - "order": [], - "folders": [ - { - "id": "e2333dc8-7a2b-5179-399a-f296504c8b65", - "name": "event subscriber", - "description": "", - "order": [ - "1f26cf4c-e339-7185-63a9-27d990a96994", - "b8cb2822-bd73-e474-15f6-f28e130e46bf", - "fd645603-0d00-adaa-1e9f-d219252aadd9" - ], - "collection_name": "TMF Product Inventory API", - "collection_id": "6cfd30b8-5d0c-508f-d10b-eae3390c0bc7", - "collection_owner": 0, - "write": true, - "owner": 0, - "collectionId": "adaf9839-ad06-63b7-b995-c0425ac0d85b" - }, - { - "id": "997d480f-3aac-51bb-507e-20a0dae5b55f", - "name": "hub", - "description": "", - "order": [ - "8a79a6bb-ec72-f2da-36b8-15e0b54e4188", - "9b5a9ea3-e6c7-bf26-c5d1-5a64656401d6", - "da814030-f0bd-30de-f59f-11c3375d3cd9", - "69d9d1bf-7730-9054-1ce2-5cd10fc05e09" - ], - "collection_name": "TMF Product Inventory API", - "collection_id": "6cfd30b8-5d0c-508f-d10b-eae3390c0bc7", - "collection_owner": 0, - "write": true, - "owner": 0, - "collectionId": "adaf9839-ad06-63b7-b995-c0425ac0d85b" - }, - { - "id": "250ad832-9bac-2762-e2f0-2df5fbb5b26a", - "name": "product", - "description": "", - "order": [ - "a550fbd6-e76e-ca8c-8fd3-b663981befc7", - "89342f95-55c5-c5bd-bcce-aaeaa07d52bb", - "8a51a6d5-1393-c910-ca42-2bac038d209a", - "137716f6-270f-e8c3-6088-ea79f08ce4a9", - "82c111dd-3eef-699c-1a58-7ede3ea39ef1" - ], - "collection_name": "TMF Product Inventory API", - "collection_id": "6cfd30b8-5d0c-508f-d10b-eae3390c0bc7", - "collection_owner": 0, - "write": true, - "owner": 0, - "collectionId": "adaf9839-ad06-63b7-b995-c0425ac0d85b" - } - ], - "timestamp": 1413747046613, - "synced": false, - "owner": 0, - "sharedWithTeam": false, - "subscribed": false, - "remoteLink": "https://www.getpostman.com/collections/6b6d0f9bd10d6ecf6b88", - "public": false, - "write": true, - "requests": [ - { - "id": "137716f6-270f-e8c3-6088-ea79f08ce4a9", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{productInventoryApi}}/product/:id", - "preRequestScript": "", - "pathVariables": { - "id": "1" - }, - "method": "DELETE", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432210947602, - "name": "/product/{id}", - "description": "delete one products with id", - "collectionId": "6cfd30b8-5d0c-508f-d10b-eae3390c0bc7", - "responses": [], - "synced": false, - "owner": 0, - "folder": "250ad832-9bac-2762-e2f0-2df5fbb5b26a" - }, - { - "id": "1f26cf4c-e339-7185-63a9-27d990a96994", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{productInventorySubscriberApi}}/current", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432210900887, - "name": "/current", - "description": "get last event", - "collectionId": "6cfd30b8-5d0c-508f-d10b-eae3390c0bc7", - "responses": [], - "synced": false, - "owner": 0, - "folder": "e2333dc8-7a2b-5179-399a-f296504c8b65" - }, - { - "id": "69d9d1bf-7730-9054-1ce2-5cd10fc05e09", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{productInventoryApi}}/hub/:id", - "preRequestScript": "", - "pathVariables": { - "id": "" - }, - "method": "DELETE", - "dataMode": "binary", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432221584607, - "name": "delete hub by id", - "description": "delete one hub", - "collectionId": "6cfd30b8-5d0c-508f-d10b-eae3390c0bc7", - "responses": [], - "synced": false, - "owner": 0, - "folder": "997d480f-3aac-51bb-507e-20a0dae5b55f" - }, - { - "id": "82c111dd-3eef-699c-1a58-7ede3ea39ef1", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{productInventoryApi}}/product", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432329847320, - "name": "/product", - "description": "get all products", - "collectionId": "6cfd30b8-5d0c-508f-d10b-eae3390c0bc7", - "responses": [], - "synced": false - }, - { - "id": "89342f95-55c5-c5bd-bcce-aaeaa07d52bb", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{productInventoryApi}}/product", - "preRequestScript": "", - "pathVariables": {}, - "method": "POST", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432210937580, - "name": "/product", - "description": "create a product", - "collectionId": "6cfd30b8-5d0c-508f-d10b-eae3390c0bc7", - "responses": [], - "synced": false, - "rawModeData": "{\n \"name\": \"Broadband\",\n \"description\": \"Description of the instantiated broadband product\",\n \"status\": \"Created\",\n \"isCustomerVisible\": true,\n \"isBundle\" : true,\n \"productSerialNumber\": \"Not useful in this case, we are describing a service\",\n \"startDate\": \"2014-04-25T12:16:43.0Z\",\n \"orderDate\": \"2014-04-25T12:16:43.0Z\",\n \"terminationDate\": \"\",\n \"productOffering\": \n {\n \"id\": \"http://server:port/catalogApi/productOffering/4\",\n \"name\": \"My Quick BB Offer\" \n },\n \"productSpecification\": \n {\n \"id\": \"http://server:port/catalogApi/productOffering/4\"\n },\n \"productCharacteristic\":[ \n { \n \"name\":\"speed\", \n \"value\":\"16M\" \n }], \n \"productRelationship\":[ \n { \n \"type\":\"contains\", \n \"product\":{ \n \"href\":\"http://server:port/inventoryApi/product/59\"\n } \n }],\n \"billingAccount\": [\n {\n \"id\": \"http://server:port/billingApi/billingAccount/678\",\n \"name\" : \"account name\"\n }],\n \"relatedParty\": [\n {\n \"id\": \"42\",\n \"role\":\"partner\", \n \"href\":\"http://serverlocation:port/partnerManagement/partner/42\" \n }],\n \"agreement\" : [{\n \"id\" : \"\"\n }],\n \"place\":\"http://map.google.com/.../1234112GDE\",\n \"realizingResource\": [ \n {\n \"id\": \"not useful in this case, we are describing a service\"\n }],\n \"realizingService\": [\n {\n \"id\": \"http://server:port/inventoryApi/service/46779\"\n }],\n \"productPrice\" : [{\n \"name\" : \"\",\n \"description\" : \"\",\n \"validFor\":{\n \"startDateTime\":\"2014-04-25T12:16:43.0Z\",\n \"endDateTime\":\"2014-04-25T12:16:43.0Z\"\n },\n \"priceType\":\"recurring\",\n \"recurringChargePeriod\":\"monthly\",\n \"unitOfMeasure\":\"\",\n \"price\":{\n \"amount\":\"12\",\n \"currency\":\"$\"\n }\n }]\n}\n", - "owner": 0, - "folder": "250ad832-9bac-2762-e2f0-2df5fbb5b26a" - }, - { - "id": "8a51a6d5-1393-c910-ca42-2bac038d209a", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{productInventoryApi}}/product/:id", - "preRequestScript": "", - "pathVariables": { - "id": "2" - }, - "method": "PATCH", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432210943313, - "name": "/product/{id}", - "description": "", - "collectionId": "6cfd30b8-5d0c-508f-d10b-eae3390c0bc7", - "responses": [], - "synced": false, - "rawModeData": "{\n \"name\": \"Broadband MODIFIED\",\n \"description\": \"Description AAAAAAAAAAAAAAAA\",\n \"status\": \"Active\",\n \"productOffering\": \n {\n \"id\": \"http://server:port/catalogApi/productOffering/4\",\n \"name\": \"My Quick TOTO\" \n },\n \"productRelationship\":[ \n { \n \"type\":\"contains\", \n \"product\":{ \n \"href\":\"http://server:port/inventoryApi/product/NOUVEAU\"\n } \n },\n { \n \"type\":\"contains\", \n \"product\":{ \n \"href\":\"22222222222222222222222\"\n } \n }\n ],\n \"billingAccount\": []\n \n}\n", - "owner": 0, - "folder": "250ad832-9bac-2762-e2f0-2df5fbb5b26a" - }, - { - "id": "8a79a6bb-ec72-f2da-36b8-15e0b54e4188", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{productInventoryApi}}/hub", - "preRequestScript": "", - "pathVariables": {}, - "method": "POST", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432730705921, - "name": "/hub", - "description": "create a hub", - "collectionId": "6cfd30b8-5d0c-508f-d10b-eae3390c0bc7", - "responses": [], - "synced": false, - "rawModeData": "{\n \"callback\":\"{{productInventorySubscriberApi}}/event\"\n \n}" - }, - { - "id": "9b5a9ea3-e6c7-bf26-c5d1-5a64656401d6", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{productInventoryApi}}/hub", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432210925674, - "name": "/hub", - "description": "select all hubs", - "collectionId": "6cfd30b8-5d0c-508f-d10b-eae3390c0bc7", - "responses": [], - "synced": false, - "owner": 0, - "folder": "997d480f-3aac-51bb-507e-20a0dae5b55f" - }, - { - "id": "a550fbd6-e76e-ca8c-8fd3-b663981befc7", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{productInventoryApi}}/product/:id", - "preRequestScript": "", - "pathVariables": { - "id": "1" - }, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432210934371, - "name": "/product/{id}", - "description": "select one products with id", - "collectionId": "6cfd30b8-5d0c-508f-d10b-eae3390c0bc7", - "responses": [], - "synced": false, - "owner": 0, - "folder": "250ad832-9bac-2762-e2f0-2df5fbb5b26a" - }, - { - "id": "b8cb2822-bd73-e474-15f6-f28e130e46bf", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{productInventorySubscriberApi}}/history", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432210904007, - "name": "/history", - "description": "List all", - "collectionId": "6cfd30b8-5d0c-508f-d10b-eae3390c0bc7", - "responses": [], - "synced": false, - "owner": 0, - "folder": "e2333dc8-7a2b-5179-399a-f296504c8b65" - }, - { - "id": "da814030-f0bd-30de-f59f-11c3375d3cd9", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{productInventoryApi}}/hub", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432210925674, - "name": "/hub/{id}", - "description": "select one hub", - "collectionId": "6cfd30b8-5d0c-508f-d10b-eae3390c0bc7", - "responses": [], - "synced": false, - "folder": "997d480f-3aac-51bb-507e-20a0dae5b55f", - "owner": 0 - }, - { - "id": "fd645603-0d00-adaa-1e9f-d219252aadd9", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{productInventorySubscriberApi}}/history", - "preRequestScript": "", - "pathVariables": {}, - "method": "DELETE", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432210906906, - "name": "/history", - "description": "delete all", - "collectionId": "6cfd30b8-5d0c-508f-d10b-eae3390c0bc7", - "responses": [], - "synced": false, - "owner": 0, - "folder": "e2333dc8-7a2b-5179-399a-f296504c8b65" - } - ] + "info": { + "_postman_id": "6cfd30b8-5d0c-508f-d10b-eae3390c0bc7", + "name": "TMF Product Inventory API", + "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" + }, + "item": [ + { + "name": "event subscriber", + "item": [ + { + "name": "/current", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{productInventorySubscriberApi}}/current", + "description": "get last event" + }, + "response": [] + }, + { + "name": "/history", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{productInventorySubscriberApi}}/history", + "description": "List all" + }, + "response": [] + }, + { + "name": "/history", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{productInventorySubscriberApi}}/history", + "description": "delete all" + }, + "response": [] + } + ] + }, + { + "name": "hub", + "item": [ + { + "name": "/hub", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"callback\":\"{{productInventorySubscriberApi}}/event\"\n \n}" + }, + "url": "{{productInventoryApi}}/hub", + "description": "create a hub" + }, + "response": [] + }, + { + "name": "/hub", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{productInventoryApi}}/hub", + "description": "select all hubs" + }, + "response": [] + }, + { + "name": "/hub/{id}", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{productInventoryApi}}/hub", + "description": "select one hub" + }, + "response": [] + }, + { + "name": "delete hub by id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "file", + "file": {} + }, + "url": { + "raw": "{{productInventoryApi}}/hub/:id", + "host": [ + "{{productInventoryApi}}" + ], + "path": [ + "hub", + ":id" + ], + "variable": [ + { + "value": "", + "key": "id" + } + ] + }, + "description": "delete one hub" + }, + "response": [] + } + ] + }, + { + "name": "product", + "item": [ + { + "name": "/product/{id}", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{productInventoryApi}}/product/:id", + "host": [ + "{{productInventoryApi}}" + ], + "path": [ + "product", + ":id" + ], + "variable": [ + { + "value": "1", + "key": "id" + } + ] + }, + "description": "select one products with id" + }, + "response": [] + }, + { + "name": "/product", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"Broadband\",\n \"description\": \"Description of the instantiated broadband product\",\n \"status\": \"Created\",\n \"isCustomerVisible\": true,\n \"isBundle\" : true,\n \"productSerialNumber\": \"Not useful in this case, we are describing a service\",\n \"startDate\": \"2014-04-25T12:16:43.0Z\",\n \"orderDate\": \"2014-04-25T12:16:43.0Z\",\n \"terminationDate\": \"\",\n \"productOffering\": \n {\n \"id\": \"http://server:port/catalogApi/productOffering/4\",\n \"name\": \"My Quick BB Offer\" \n },\n \"productSpecification\": \n {\n \"id\": \"http://server:port/catalogApi/productOffering/4\"\n },\n \"productCharacteristic\":[ \n { \n \"name\":\"speed\", \n \"value\":\"16M\" \n }], \n \"productRelationship\":[ \n { \n \"type\":\"contains\", \n \"product\":{ \n \"href\":\"http://server:port/inventoryApi/product/59\"\n } \n }],\n \"billingAccount\": [\n {\n \"id\": \"http://server:port/billingApi/billingAccount/678\",\n \"name\" : \"account name\"\n }],\n \"relatedParty\": [\n {\n \"id\": \"42\",\n \"role\":\"partner\", \n \"href\":\"http://serverlocation:port/partnerManagement/partner/42\" \n }],\n \"agreement\" : [{\n \"id\" : \"\"\n }],\n \"place\":\"http://map.google.com/.../1234112GDE\",\n \"realizingResource\": [ \n {\n \"id\": \"not useful in this case, we are describing a service\"\n }],\n \"realizingService\": [\n {\n \"id\": \"http://server:port/inventoryApi/service/46779\"\n }],\n \"productPrice\" : [{\n \"name\" : \"\",\n \"description\" : \"\",\n \"validFor\":{\n \"startDateTime\":\"2014-04-25T12:16:43.0Z\",\n \"endDateTime\":\"2014-04-25T12:16:43.0Z\"\n },\n \"priceType\":\"recurring\",\n \"recurringChargePeriod\":\"monthly\",\n \"unitOfMeasure\":\"\",\n \"price\":{\n \"amount\":\"12\",\n \"currency\":\"$\"\n }\n }]\n}\n" + }, + "url": "{{productInventoryApi}}/product", + "description": "create a product" + }, + "response": [] + }, + { + "name": "/product/{id}", + "request": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"Broadband MODIFIED\",\n \"description\": \"Description AAAAAAAAAAAAAAAA\",\n \"status\": \"Active\",\n \"productOffering\": \n {\n \"id\": \"http://server:port/catalogApi/productOffering/4\",\n \"name\": \"My Quick TOTO\" \n },\n \"productRelationship\":[ \n { \n \"type\":\"contains\", \n \"product\":{ \n \"href\":\"http://server:port/inventoryApi/product/NOUVEAU\"\n } \n },\n { \n \"type\":\"contains\", \n \"product\":{ \n \"href\":\"22222222222222222222222\"\n } \n }\n ],\n \"billingAccount\": []\n \n}\n" + }, + "url": { + "raw": "{{productInventoryApi}}/product/:id", + "host": [ + "{{productInventoryApi}}" + ], + "path": [ + "product", + ":id" + ], + "variable": [ + { + "value": "2", + "key": "id" + } + ] + } + }, + "response": [] + }, + { + "name": "/product/{id}", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{productInventoryApi}}/product/:id", + "host": [ + "{{productInventoryApi}}" + ], + "path": [ + "product", + ":id" + ], + "variable": [ + { + "value": "1", + "key": "id" + } + ] + }, + "description": "delete one products with id" + }, + "response": [] + }, + { + "name": "/product", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{productInventoryApi}}/product", + "description": "get all products" + }, + "response": [] + } + ] + } + ] } \ No newline at end of file diff --git a/TMFProductOrderingAPI.json.postman_collection b/TMFProductOrderingAPI.json.postman_collection index dafd8ac..a63b88a 100644 --- a/TMFProductOrderingAPI.json.postman_collection +++ b/TMFProductOrderingAPI.json.postman_collection @@ -1,373 +1,413 @@ { - "id": "04c51eef-a602-e95e-280f-90a696591809", - "name": "TMF Product Ordering API", - "description": "", - "order": [], - "folders": [ - { - "id": "175eef29-000b-4886-cd97-b4d52a1504c6", - "name": "event subscriber", - "description": "", - "write": true, - "order": [ - "a159b9c8-b053-a8c6-d996-b0e208f8db3a", - "eb135252-0be8-a456-243a-9a2290937b91", - "e6147696-37c0-9520-e316-c07a4ee5b95a" - ], - "collection_name": "TMF Product Ordering API", - "collection_owner": 0, - "collection_id": "04c51eef-a602-e95e-280f-90a696591809", - "collection": "14341c91-f1dd-62d1-de58-b4ffbcbdf901", - "owner": 0, - "collectionId": "a0420e2d-06bc-b530-f910-0194ea860736" - }, - { - "id": "3ca80180-b5b0-3209-27da-c9703916c2df", - "name": "hub", - "description": "", - "write": true, - "order": [ - "1163c6da-1274-dc8d-57a9-1d4b3058dddf", - "2d943acd-5ea0-78ed-ddde-2aa8813a6ea8", - "f33babf6-6a9e-3333-0f3f-d5288b61a452", - "f401278c-8949-fe3f-9ed6-09e6508786bb" - ], - "collection_name": "TMF Product Ordering API", - "collection_owner": 0, - "collection_id": "04c51eef-a602-e95e-280f-90a696591809", - "collection": "a0420e2d-06bc-b530-f910-0194ea860736", - "owner": 0 - }, - { - "id": "c586b930-e8f7-d714-22af-fc5e2dee15b2", - "name": "product ordering", - "description": "", - "write": true, - "order": [ - "28b51b04-beeb-5268-0d36-87e0a5e2387d", - "d6ca925a-b9c3-4c0d-6eb1-0afa31e0b145", - "9fbd6fa7-cfb4-960f-cd96-83bc3b576da0", - "1c81aa7f-0469-ca06-73ca-3460e11b2a02", - "5d1e73ee-fde2-0300-8fd9-261128e12127", - "5660903e-0667-11f1-9d51-c3bdf47d718f" - ], - "collection_name": "TMF Product Ordering API", - "collection_owner": 0, - "collection_id": "04c51eef-a602-e95e-280f-90a696591809", - "collection": "14341c91-f1dd-62d1-de58-b4ffbcbdf901", - "owner": 0, - "collectionId": "a0420e2d-06bc-b530-f910-0194ea860736" - } - ], - "timestamp": 1426112374855, - "synced": false, - "owner": 0, - "sharedWithTeam": false, - "subscribed": false, - "remoteLink": "https://www.getpostman.com/collections/3087c1a23c75ec99f9e2", - "public": false, - "write": true, - "requests": [ - { - "id": "1163c6da-1274-dc8d-57a9-1d4b3058dddf", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{productOrderingApi}}/hub", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1427466961748, - "name": "/hub", - "description": "list hub", - "collectionId": "04c51eef-a602-e95e-280f-90a696591809", - "responses": [], - "synced": false, - "folder": "3ca80180-b5b0-3209-27da-c9703916c2df", - "owner": 0, - "write": true - }, - { - "id": "1c81aa7f-0469-ca06-73ca-3460e11b2a02", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{productOrderingApi}}/productOrder/:id", - "preRequestScript": "", - "pathVariables": { - "id": "1" - }, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1427466344740, - "name": "/productOrder/:id", - "description": "get product order by id", - "collectionId": "04c51eef-a602-e95e-280f-90a696591809", - "responses": [], - "synced": false, - "owner": 0, - "folder": "c586b930-e8f7-d714-22af-fc5e2dee15b2" - }, - { - "id": "28b51b04-beeb-5268-0d36-87e0a5e2387d", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{productOrderingApi}}/productOrder", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1427466306181, - "name": "/productOrder", - "description": "list product order", - "collectionId": "04c51eef-a602-e95e-280f-90a696591809", - "responses": [], - "synced": false, - "owner": 0, - "folder": "c586b930-e8f7-d714-22af-fc5e2dee15b2" - }, - { - "id": "2d943acd-5ea0-78ed-ddde-2aa8813a6ea8", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{productOrderingApi}}/hub", - "preRequestScript": "", - "pathVariables": {}, - "method": "POST", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1429745732564, - "name": "/hub", - "description": "create a hub", - "collectionId": "04c51eef-a602-e95e-280f-90a696591809", - "responses": [], - "synced": false, - "rawModeData": "{\n \"callback\":\"{{productOrderingSubscriberApi}}/event\"\n}", - "owner": 0, - "folder": "3ca80180-b5b0-3209-27da-c9703916c2df", - "write": true - }, - { - "id": "5660903e-0667-11f1-9d51-c3bdf47d718f", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{productOrderingApi}}/productOrder/:id", - "preRequestScript": "", - "pathVariables": { - "id": "1" - }, - "method": "PATCH", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432765758048, - "name": "/productOrder/(id)", - "description": "partial update of product order", - "collectionId": "04c51eef-a602-e95e-280f-90a696591809", - "responses": [], - "synced": false, - "rawModeData": "{ \r\n \r\n \"state\":\"Pending\",\r\n \"priority\":\"4\",\r\n \"description\":\"reference implementation description\",\r\n \"category\":\"uncategorized\",\r\n \"requestedStartDate\":\"2015-04-01T16:42:23.0Z\",\r\n \"requestedCompletionDate\":\"2015-04-03T16:42:23.0Z\",\r\n \"notificationContact\":\"Mr Brun\",\r\n \"note\":[\r\n {\r\n \"text\":\"A free text detailing the note PATCHED\"\r\n }\r\n ],\r\n \"orderItem\":[\r\n {\r\n \"id\":\"1\",\r\n \"action\":\"add\",\r\n \r\n \"productOffering\":{\r\n \"id\":\"42\",\r\n \"href\":\"http: //serverlocation: port/catalogManagement/productOffering/42\"\r\n },\r\n \"product\":{\r\n \"productCharacteristic\":[\r\n {\r\n \"name\":\"Colour\",\r\n \"value\":\"PATCHED\"\r\n },\r\n {\r\n \"name\":\"Memory\",\r\n \"value\":\"32\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\":\"2\",\r\n \"action\":\"modify\",\r\n \"product\":{\r\n \"id\":\"456\",\r\n \"href\":\"http: //serverlocation: port/inventoryManagement/product/456\",\r\n \"relatedParty\":[\r\n {\r\n \"role\":\"user\",\r\n \"id\":\"5667443\",\r\n \"href\":\"http://serverlocation:port/partyManagement/user/5667443\",\r\n \"name\":\"Jimmy Doe\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}\r\n" - }, - { - "id": "5d1e73ee-fde2-0300-8fd9-261128e12127", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{productOrderingApi}}/productOrder", - "preRequestScript": "", - "pathVariables": {}, - "method": "POST", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1428045199561, - "name": "/productOrder", - "description": "create a product order", - "collectionId": "04c51eef-a602-e95e-280f-90a696591809", - "responses": [], - "synced": false, - "rawModeData": "{ \r\n \"externalId\":\"2\",\r\n \"state\":\"Acknowledged\",\r\n \"priority\":\"4\",\r\n \"description\":\"reference implementation description\",\r\n \"category\":\"uncategorized\",\r\n \"requestedStartDate\":\"2015-04-01T16:42:23.0Z\",\r\n \"requestedCompletionDate\":\"2015-04-03T16:42:23.0Z\",\r\n \"notificationContact\":\"Mr Brun\",\r\n \"note\":[\r\n {\r\n \"text\":\"A free text detailing the note\"\r\n }\r\n ],\r\n \"relatedParty\":[\r\n {\r\n \"role\":\"customer\",\r\n \"id\":\"345221\",\r\n \"href\":\"http://serverlocation:port/partyManagement/customer/345221\",\r\n \"name\":\"John Doe\"\r\n },\r\n {\r\n \"role\":\"seller\",\r\n \"id\":\"4563\",\r\n \"href\":\"http://serverlocation:port/partnerManagement/partner/4563\"\r\n }\r\n ],\r\n \"orderItem\":[\r\n {\r\n \"id\":\"1\",\r\n \"action\":\"add\",\r\n \"billingAccount\":[{\r\n \"id\":\"1789\",\r\n \"href\":\"http://serverlocation:port/billingManagement/billingAccount/1789\"\r\n }],\r\n \"productOffering\":{\r\n \"id\":\"42\",\r\n \"href\":\"http: //serverlocation: port/catalogManagement/productOffering/42\"\r\n },\r\n \"product\":{\r\n \"productCharacteristic\":[\r\n {\r\n \"name\":\"Colour\",\r\n \"value\":\"White\"\r\n },\r\n {\r\n \"name\":\"Memory\",\r\n \"value\":\"16\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\":\"2\",\r\n \"action\":\"modify\",\r\n \"product\":{\r\n \"id\":\"456\",\r\n \"href\":\"http: //serverlocation: port/inventoryManagement/product/456\",\r\n \"relatedParty\":[\r\n {\r\n \"role\":\"user\",\r\n \"id\":\"5667443\",\r\n \"href\":\"http://serverlocation:port/partyManagement/user/5667443\",\r\n \"name\":\"Jimmy Doe\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\":\"3\",\r\n \"action\":\"delete\",\r\n \"product\":{\r\n \"id\":\"456\",\r\n \"href\":\"http: //serverlocation: port/inventoryManagement/product/456\"\r\n }\r\n }\r\n ]\r\n}\r\n", - "owner": 0, - "folder": "c586b930-e8f7-d714-22af-fc5e2dee15b2" - }, - { - "id": "9fbd6fa7-cfb4-960f-cd96-83bc3b576da0", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{productOrderingApi}}/productOrder/?state=failed", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1429805808886, - "name": "/productOrder filtering", - "description": "list product order", - "collectionId": "04c51eef-a602-e95e-280f-90a696591809", - "responses": [], - "synced": false, - "owner": 0, - "folder": "c586b930-e8f7-d714-22af-fc5e2dee15b2" - }, - { - "id": "a159b9c8-b053-a8c6-d996-b0e208f8db3a", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{productOrderingSubscriberApi}}/current", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1429564149843, - "name": "/current", - "description": "get last event", - "collectionId": "04c51eef-a602-e95e-280f-90a696591809", - "responses": [], - "synced": false, - "owner": 0, - "folder": "175eef29-000b-4886-cd97-b4d52a1504c6" - }, - { - "id": "d6ca925a-b9c3-4c0d-6eb1-0afa31e0b145", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{productOrderingApi}}/productOrder/?fields=relatedParty", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1429805502790, - "name": "/productOrder attribute selection", - "description": "list product order", - "collectionId": "04c51eef-a602-e95e-280f-90a696591809", - "responses": [], - "synced": false, - "owner": 0, - "folder": "c586b930-e8f7-d714-22af-fc5e2dee15b2" - }, - { - "id": "e6147696-37c0-9520-e316-c07a4ee5b95a", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{productOrderingSubscriberApi}}/history", - "preRequestScript": "", - "pathVariables": {}, - "method": "DELETE", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1429564165677, - "name": "/history", - "description": "delete all", - "collectionId": "04c51eef-a602-e95e-280f-90a696591809", - "responses": [], - "synced": false, - "owner": 0, - "folder": "175eef29-000b-4886-cd97-b4d52a1504c6" - }, - { - "id": "eb135252-0be8-a456-243a-9a2290937b91", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{productOrderingSubscriberApi}}/history", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1429564157532, - "name": "/history", - "description": "List all", - "collectionId": "04c51eef-a602-e95e-280f-90a696591809", - "responses": [], - "synced": false, - "owner": 0, - "folder": "175eef29-000b-4886-cd97-b4d52a1504c6" - }, - { - "id": "f33babf6-6a9e-3333-0f3f-d5288b61a452", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{productOrderingApi}}/hub/:id", - "pathVariables": { - "id": "" - }, - "preRequestScript": "", - "method": "DELETE", - "collectionId": "04c51eef-a602-e95e-280f-90a696591809", - "data": [], - "dataMode": "params", - "name": "delete hub by id", - "description": "delete hub", - "descriptionFormat": "html", - "time": 1429565281288, - "version": 2, - "responses": [], - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "folder": "3ca80180-b5b0-3209-27da-c9703916c2df", - "synced": false, - "owner": 0, - "write": true - }, - { - "id": "f401278c-8949-fe3f-9ed6-09e6508786bb", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{productOrderingApi}}/hub/:id", - "pathVariables": { - "id": "" - }, - "preRequestScript": "", - "method": "GET", - "collectionId": "04c51eef-a602-e95e-280f-90a696591809", - "data": [], - "dataMode": "params", - "name": "/hub/:id", - "description": "get hub by id", - "descriptionFormat": "html", - "time": 1429565327905, - "version": 2, - "responses": [], - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "folder": "3ca80180-b5b0-3209-27da-c9703916c2df", - "synced": false, - "owner": 0, - "write": true - } - ] + "info": { + "_postman_id": "04c51eef-a602-e95e-280f-90a696591809", + "name": "TMF Product Ordering API", + "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" + }, + "item": [ + { + "name": "event subscriber", + "item": [ + { + "name": "/current", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{productOrderingSubscriberApi}}/current", + "description": "get last event" + }, + "response": [] + }, + { + "name": "/history", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{productOrderingSubscriberApi}}/history", + "description": "List all" + }, + "response": [] + }, + { + "name": "/history", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{productOrderingSubscriberApi}}/history", + "description": "delete all" + }, + "response": [] + } + ] + }, + { + "name": "hub", + "item": [ + { + "name": "/hub", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{productOrderingApi}}/hub", + "description": "list hub" + }, + "response": [] + }, + { + "name": "/hub", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"callback\":\"{{productOrderingSubscriberApi}}/event\"\n}" + }, + "url": "{{productOrderingApi}}/hub", + "description": "create a hub" + }, + "response": [] + }, + { + "name": "delete hub by id", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{productOrderingApi}}/hub/:id", + "host": [ + "{{productOrderingApi}}" + ], + "path": [ + "hub", + ":id" + ], + "variable": [ + { + "value": "", + "key": "id" + } + ] + }, + "description": "delete hub" + }, + "response": [] + }, + { + "name": "/hub/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{productOrderingApi}}/hub/:id", + "host": [ + "{{productOrderingApi}}" + ], + "path": [ + "hub", + ":id" + ], + "variable": [ + { + "value": "", + "key": "id" + } + ] + }, + "description": "get hub by id" + }, + "response": [] + } + ] + }, + { + "name": "product ordering", + "item": [ + { + "name": "/productOrder", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{productOrderingApi}}/productOrder", + "description": "list product order" + }, + "response": [] + }, + { + "name": "/productOrder attribute selection", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{productOrderingApi}}/productOrder/?fields=relatedParty", + "host": [ + "{{productOrderingApi}}" + ], + "path": [ + "productOrder", + "" + ], + "query": [ + { + "key": "fields", + "value": "relatedParty" + } + ] + }, + "description": "list product order" + }, + "response": [] + }, + { + "name": "/productOrder filtering", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{productOrderingApi}}/productOrder/?state=failed", + "host": [ + "{{productOrderingApi}}" + ], + "path": [ + "productOrder", + "" + ], + "query": [ + { + "key": "state", + "value": "failed" + } + ] + }, + "description": "list product order" + }, + "response": [] + }, + { + "name": "/productOrder/:id", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{productOrderingApi}}/productOrder/:id", + "host": [ + "{{productOrderingApi}}" + ], + "path": [ + "productOrder", + ":id" + ], + "variable": [ + { + "value": "1", + "key": "id" + } + ] + }, + "description": "get product order by id" + }, + "response": [] + }, + { + "name": "/productOrder", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{ \r\n \"externalId\":\"2\",\r\n \"state\":\"Acknowledged\",\r\n \"priority\":\"4\",\r\n \"description\":\"reference implementation description\",\r\n \"category\":\"uncategorized\",\r\n \"requestedStartDate\":\"2015-04-01T16:42:23.0Z\",\r\n \"requestedCompletionDate\":\"2015-04-03T16:42:23.0Z\",\r\n \"notificationContact\":\"Mr Brun\",\r\n \"note\":[\r\n {\r\n \"text\":\"A free text detailing the note\"\r\n }\r\n ],\r\n \"relatedParty\":[\r\n {\r\n \"role\":\"customer\",\r\n \"id\":\"345221\",\r\n \"href\":\"http://serverlocation:port/partyManagement/customer/345221\",\r\n \"name\":\"John Doe\"\r\n },\r\n {\r\n \"role\":\"seller\",\r\n \"id\":\"4563\",\r\n \"href\":\"http://serverlocation:port/partnerManagement/partner/4563\"\r\n }\r\n ],\r\n \"orderItem\":[\r\n {\r\n \"id\":\"1\",\r\n \"action\":\"add\",\r\n \"billingAccount\":[{\r\n \"id\":\"1789\",\r\n \"href\":\"http://serverlocation:port/billingManagement/billingAccount/1789\"\r\n }],\r\n \"productOffering\":{\r\n \"id\":\"42\",\r\n \"href\":\"http: //serverlocation: port/catalogManagement/productOffering/42\"\r\n },\r\n \"product\":{\r\n \"productCharacteristic\":[\r\n {\r\n \"name\":\"Colour\",\r\n \"value\":\"White\"\r\n },\r\n {\r\n \"name\":\"Memory\",\r\n \"value\":\"16\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\":\"2\",\r\n \"action\":\"modify\",\r\n \"product\":{\r\n \"id\":\"456\",\r\n \"href\":\"http: //serverlocation: port/inventoryManagement/product/456\",\r\n \"relatedParty\":[\r\n {\r\n \"role\":\"user\",\r\n \"id\":\"5667443\",\r\n \"href\":\"http://serverlocation:port/partyManagement/user/5667443\",\r\n \"name\":\"Jimmy Doe\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\":\"3\",\r\n \"action\":\"delete\",\r\n \"product\":{\r\n \"id\":\"456\",\r\n \"href\":\"http: //serverlocation: port/inventoryManagement/product/456\"\r\n }\r\n }\r\n ]\r\n}\r\n" + }, + "url": "{{productOrderingApi}}/productOrder", + "description": "create a product order" + }, + "response": [] + }, + { + "name": "/productOrder/(id)", + "request": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{ \r\n \r\n \"state\":\"Pending\",\r\n \"priority\":\"4\",\r\n \"description\":\"reference implementation description\",\r\n \"category\":\"uncategorized\",\r\n \"requestedStartDate\":\"2015-04-01T16:42:23.0Z\",\r\n \"requestedCompletionDate\":\"2015-04-03T16:42:23.0Z\",\r\n \"notificationContact\":\"Mr Brun\",\r\n \"note\":[\r\n {\r\n \"text\":\"A free text detailing the note PATCHED\"\r\n }\r\n ],\r\n \"orderItem\":[\r\n {\r\n \"id\":\"1\",\r\n \"action\":\"add\",\r\n \r\n \"productOffering\":{\r\n \"id\":\"42\",\r\n \"href\":\"http: //serverlocation: port/catalogManagement/productOffering/42\"\r\n },\r\n \"product\":{\r\n \"productCharacteristic\":[\r\n {\r\n \"name\":\"Colour\",\r\n \"value\":\"PATCHED\"\r\n },\r\n {\r\n \"name\":\"Memory\",\r\n \"value\":\"32\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\":\"2\",\r\n \"action\":\"modify\",\r\n \"product\":{\r\n \"id\":\"456\",\r\n \"href\":\"http: //serverlocation: port/inventoryManagement/product/456\",\r\n \"relatedParty\":[\r\n {\r\n \"role\":\"user\",\r\n \"id\":\"5667443\",\r\n \"href\":\"http://serverlocation:port/partyManagement/user/5667443\",\r\n \"name\":\"Jimmy Doe\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}\r\n" + }, + "url": { + "raw": "{{productOrderingApi}}/productOrder/:id", + "host": [ + "{{productOrderingApi}}" + ], + "path": [ + "productOrder", + ":id" + ], + "variable": [ + { + "value": "1", + "key": "id" + } + ] + }, + "description": "partial update of product order" + }, + "response": [] + } + ] + } + ] } \ No newline at end of file diff --git a/TMFSLAManagementAPI.json.postman_collection b/TMFSLAManagementAPI.json.postman_collection index ed6796a..64241e1 100644 --- a/TMFSLAManagementAPI.json.postman_collection +++ b/TMFSLAManagementAPI.json.postman_collection @@ -1,504 +1,578 @@ { - "id": "a402e650-a20a-6c01-608f-5d4c88b8efbb", - "name": "TMF SLA Management API", - "description": "", - "order": [], - "folders": [ - { - "id": "1a0f11ee-d472-2231-c6cd-383536830c4f", - "name": "event subcriber", - "description": "", - "order": [ - "4c32f75c-531a-f7d2-3bbd-52b6e19e65ed", - "98b52c00-d694-6658-6b2c-ec3550f62912", - "a46558b8-d38e-a38a-7846-2a1fb048cf06" - ], - "collection_name": "TMF SLA Management API", - "collection_id": "a402e650-a20a-6c01-608f-5d4c88b8efbb", - "collection_owner": 0, - "write": true, - "owner": 0, - "collection": "a402e650-a20a-6c01-608f-5d4c88b8efbb", - "collectionId": "a402e650-a20a-6c01-608f-5d4c88b8efbb" - }, - { - "id": "a222e050-5b84-878f-1fb3-cd9f0b153f4a", - "name": "hub", - "description": "", - "order": [ - "4c6c22a5-f8d4-1dfc-85dd-0c19a9ccedab", - "aa222726-8ed6-8400-2bd3-44c1a05983e4", - "abd4dba6-f499-2c2b-ffc5-d0ccc605ad97" - ], - "collection_name": "TMF SLA Management API", - "collection_id": "a402e650-a20a-6c01-608f-5d4c88b8efbb", - "collection_owner": 0, - "write": true, - "owner": 0, - "collection": "a402e650-a20a-6c01-608f-5d4c88b8efbb", - "collectionId": "a402e650-a20a-6c01-608f-5d4c88b8efbb" - }, - { - "id": "47852edd-20ae-b0ff-d2bb-e734417580cc", - "name": "slaViolation", - "description": "", - "order": [ - "738cbff5-cf0c-fd11-d42b-97da3ac23bd9", - "ec9bb46a-0422-3130-f457-c3ad63adf61c", - "2066d545-fb2d-e283-6eab-9af339ee2062", - "834906b0-7d4b-4848-7e37-27febc6f3a35", - "a6bb0bfe-2bbb-7233-7684-a3dbf4064df5", - "f59f3a79-fb55-de82-a355-b43ff2692b0a" - ], - "collection_name": "TMF SLA Management API", - "collection_id": "a402e650-a20a-6c01-608f-5d4c88b8efbb", - "collection_owner": 0, - "write": true, - "owner": 0, - "collection": "a402e650-a20a-6c01-608f-5d4c88b8efbb", - "collectionId": "a402e650-a20a-6c01-608f-5d4c88b8efbb" - }, - { - "id": "81a0b21f-3ae3-76ad-02f8-090f98832129", - "name": "sla", - "description": "", - "order": [ - "f1950660-4dbc-9a03-45cf-07607ed7b285", - "aac2b348-15e4-b961-2adb-2dabc6be0cb9", - "5883e22f-d57c-870c-bb12-0579d602a648", - "34f3a370-0c33-f1e5-2e2b-aebdad7c50b4", - "458ab5a1-8c64-2088-32ad-379f3a60cde2", - "19c43ad4-1d83-940a-e604-6cca7eacd181" - ], - "collection_name": "TMF SLA Management API", - "collection_id": "a402e650-a20a-6c01-608f-5d4c88b8efbb", - "collection_owner": 0, - "write": true, - "owner": 0, - "collection": "a402e650-a20a-6c01-608f-5d4c88b8efbb", - "collectionId": "a402e650-a20a-6c01-608f-5d4c88b8efbb" - } - ], - "timestamp": 1426687922863, - "synced": false, - "owner": 0, - "sharedWithTeam": false, - "subscribed": false, - "remoteLink": "https://www.getpostman.com/collections/f93ea2f0518e57f94bf0", - "public": false, - "write": true, - "requests": [ - { - "id": "19c43ad4-1d83-940a-e604-6cca7eacd181", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{slaManagementApi}}/sla/:id", - "preRequestScript": "", - "pathVariables": { - "id": "1" - }, - "method": "DELETE", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1431438517657, - "name": "/sla/{id}", - "description": "Delete one sla with id", - "collectionId": "a402e650-a20a-6c01-608f-5d4c88b8efbb", - "responses": [], - "synced": false, - "rawModeData": "", - "owner": 0, - "folder": "81a0b21f-3ae3-76ad-02f8-090f98832129" - }, - { - "id": "2066d545-fb2d-e283-6eab-9af339ee2062", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{slaManagementApi}}/slaViolation", - "preRequestScript": "", - "pathVariables": {}, - "method": "POST", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432764904916, - "name": "/slaViolation", - "description": "create a slaViolation", - "collectionId": "a402e650-a20a-6c01-608f-5d4c88b8efbb", - "responses": [], - "synced": false, - "rawModeData": "{\r\n \r\n \"relatedParty\": [\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLAProvider\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLAConsumer\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLAAuditor\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLABusinessBroker\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLATechnicalBroker\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"ThirdPartySLAManager\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"EndUser\"\r\n }\r\n ],\r\n \"sla\": {\r\n \"href\": \"http/www.acme.com/slaManagement/sla/123444\",\r\n \"description\": \"sla of premium video\"\r\n },\r\n \"violation\": {\r\n \"unit\": \"string\",\r\n \"referenceValue\": \"available\",\r\n \"operator\": \".eq\",\r\n \"actualValue\": \"available\",\r\n \"tolerance\": \"0.05\",\r\n \"violationAverage\": \"0.1\",\r\n \"comment\": \"Availability below agreed level.\",\r\n \"consequence\": \"http://ww.acme.com/contract/clause/42\",\r\n \"attachment\": {\r\n \"href\": \"https://foo.bar/screenshot.123\",\r\n \"description\": \"availability statistics for August 2013\"\r\n },\r\n \"rule\": {\r\n \"href\": \"http/www.zak.com/slaManagement/sla/123444/rules/availability\",\r\n \"description\": \"availability\"\r\n }\r\n }\r\n}" - }, - { - "id": "34f3a370-0c33-f1e5-2e2b-aebdad7c50b4", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{slaManagementApi}}/sla/:id", - "preRequestScript": "", - "pathVariables": { - "id": "1" - }, - "method": "PUT", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1431438501126, - "name": "/sla/{id}", - "description": "total update of sla with id", - "collectionId": "a402e650-a20a-6c01-608f-5d4c88b8efbb", - "responses": [], - "synced": false, - "rawModeData": "{\r\n \"href\": \"http/www.acme.com/SlaManagement/sla/999999\",\r\n \"name\": \"HighSpeedDataSLA\",\r\n \"description\": \"SLA for high speed data MODIFIED\",\r\n \"version\": \"0.1\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2015-03-18T00:00:00.0Z\",\r\n \"endDateTime\": \"2015-03-18T01:00:00.0Z\"\r\n },\r\n \"relatedParty\": [\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLAProvider\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLAConsumer\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLAAuditor\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLABusinessBroker\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLATechnicalBroker\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"ThirdPartySLAManager\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"EndUser\"\r\n }\r\n ],\r\n \"rule\": [\r\n {\r\n \"id\": \"availability\",\r\n \"metric\": \"http://IEEE99.5/Availability\",\r\n \"unit\": \"string\",\r\n \"referenceValue\": \"available\",\r\n \"operator\": \".eq\",\r\n \"tolerance\": \"0.05\",\r\n \"consequence\": \"http://ww.acme.com/contract/clause/42\"\r\n },\r\n {\r\n \"id\": \"downstream_GBR\",\r\n \"metric\": \"http://IEEE99.5/Data/bitrates/GBR/down\",\r\n \"unit\": \"kbps\",\r\n \"referenceValue\": \"1024\",\r\n \"operator\": \".ge\",\r\n \"tolerance\": \"0.20\",\r\n \"consequence\": \"http://ww.acme.com/contract/clause/45\"\r\n }\r\n ],\r\n \"template\": {\r\n \"href\": \"http/www.acme.com/slaManagement/slaTemplate/42\",\r\n \"name\": \"DataSLATemplate\",\r\n \"description\": \"basic template for Data SLA\"\r\n }\r\n}", - "owner": 0, - "folder": "81a0b21f-3ae3-76ad-02f8-090f98832129" - }, - { - "id": "458ab5a1-8c64-2088-32ad-379f3a60cde2", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{slaManagementApi}}/sla/:id", - "preRequestScript": "", - "pathVariables": { - "id": "1" - }, - "method": "PATCH", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1431438508512, - "name": "/sla/{id}", - "description": "partial update of sla with id", - "collectionId": "a402e650-a20a-6c01-608f-5d4c88b8efbb", - "responses": [], - "synced": false, - "rawModeData": "{\r\n \"href\": \"http/www.acme.com/SlaManagement/sla/PATCH\",\r\n \"description\": \"SLA for high speed data PATCH\",\r\n \"version\": \"0.1\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2015-03-24T00:00:00.0Z\",\r\n \"endDateTime\": \"2015-03-24T01:00:00.0Z\"\r\n },\r\n \"relatedParty\": [\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLAProviderPATCH\"\r\n }\r\n ],\r\n \"template\": {\r\n \"href\": \"http/www.acme.com/slaManagement/slaTemplate/42\",\r\n \"name\": \"DataSLATemplatePATCH\",\r\n \"description\": \"basic template for Data SLA\"\r\n }\r\n}", - "owner": 0, - "folder": "81a0b21f-3ae3-76ad-02f8-090f98832129" - }, - { - "id": "4c32f75c-531a-f7d2-3bbd-52b6e19e65ed", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{slaManagementSubscriberApi}}/current", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1431439073383, - "name": "/current", - "description": "get last event", - "collectionId": "a402e650-a20a-6c01-608f-5d4c88b8efbb", - "responses": [], - "synced": false, - "owner": 0, - "folder": "1a0f11ee-d472-2231-c6cd-383536830c4f" - }, - { - "id": "4c6c22a5-f8d4-1dfc-85dd-0c19a9ccedab", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{slaManagementApi}}/hub", - "preRequestScript": "", - "pathVariables": {}, - "method": "POST", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432724503650, - "name": "/hub", - "description": "create a hub", - "collectionId": "a402e650-a20a-6c01-608f-5d4c88b8efbb", - "responses": [], - "synced": false, - "rawModeData": "{\n \"callback\":\"{{slaManagementSubscriberApi}}/event\"\n \n}" - }, - { - "id": "5883e22f-d57c-870c-bb12-0579d602a648", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{slaManagementApi}}/sla", - "preRequestScript": "", - "pathVariables": {}, - "method": "POST", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432764895822, - "name": "/sla", - "description": "create a sla", - "collectionId": "a402e650-a20a-6c01-608f-5d4c88b8efbb", - "responses": [], - "synced": false, - "rawModeData": "{\r\n \r\n \"name\": \"HighSpeedDataSLA\",\r\n \"description\": \"SLA for high speed data.\",\r\n \"version\": \"0.1\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-04-21T09:43:54.0Z\"\r\n },\r\n \"relatedParty\": [\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLAProvider\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLAConsumer\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLAAuditor\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLABusinessBroker\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLATechnicalBroker\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"ThirdPartySLAManager\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"EndUser\"\r\n }\r\n ],\r\n \"rule\": [\r\n {\r\n \"id\": \"availability\",\r\n \"metric\": \"http://IEEE99.5/Availability\",\r\n \"unit\": \"string\",\r\n \"referenceValue\": \"available\",\r\n \"operator\": \".eq\",\r\n \"tolerance\": \"0.05\",\r\n \"consequence\": \"http://ww.acme.com/contract/clause/42\"\r\n },\r\n {\r\n \"id\": \"downstream_GBR\",\r\n \"metric\": \"http://IEEE99.5/Data/bitrates/GBR/down\",\r\n \"unit\": \"kbps\",\r\n \"referenceValue\": \"1024\",\r\n \"operator\": \".ge\",\r\n \"tolerance\": \"0.20\",\r\n \"consequence\": \"http://ww.acme.com/contract/clause/45\"\r\n }\r\n ],\r\n \"template\": {\r\n \"href\": \"http/www.acme.com/slaManagement/slaTemplate/42\",\r\n \"name\": \"DataSLATemplate\",\r\n \"description\": \"basic template for Data SLA\"\r\n }\r\n}" - }, - { - "id": "738cbff5-cf0c-fd11-d42b-97da3ac23bd9", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{slaManagementApi}}/slaViolation/:id", - "preRequestScript": "", - "pathVariables": { - "id": "1" - }, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1431438821700, - "name": "/slaViolation/{id}", - "description": "select one slaViolation with id", - "collectionId": "a402e650-a20a-6c01-608f-5d4c88b8efbb", - "responses": [], - "synced": false, - "owner": 0, - "folder": "47852edd-20ae-b0ff-d2bb-e734417580cc" - }, - { - "id": "834906b0-7d4b-4848-7e37-27febc6f3a35", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{slaManagementApi}}/slaViolation/:id", - "preRequestScript": "", - "pathVariables": { - "id": "1" - }, - "method": "PUT", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1431438854758, - "name": "/slaViolation/{id}", - "description": "total update of slaViolation with id", - "collectionId": "a402e650-a20a-6c01-608f-5d4c88b8efbb", - "responses": [], - "synced": false, - "rawModeData": "{\r\n \"href\": \"http/www.acme.com/slaManagement/slaViolation/99999\",\r\n \"relatedParty\": [\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLAProvider\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLAConsumer\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLAAuditor\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLABusinessBroker\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLATechnicalBroker\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"ThirdPartySLAManager\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"EndUser\"\r\n }\r\n ],\r\n \"sla\": {\r\n \"href\": \"http/www.acme.com/slaManagement/sla/123444\",\r\n \"description\": \"sla of premium video\"\r\n },\r\n \"violation\": {\r\n \"unit\": \"string\",\r\n \"referenceValue\": \"unvailable\",\r\n \"operator\": \".eq\",\r\n \"actualValue\": \"unvailable\",\r\n \"tolerance\": \"0.05\",\r\n \"violationAverage\": \"0.1\",\r\n \"comment\": \"Availability below agreed level.\",\r\n \"consequence\": \"http://ww.acme.com/contract/clause/42\",\r\n \"attachment\": {\r\n \"href\": \"https://foo.bar/screenshot.123\",\r\n \"description\": \"availability statistics for August 2013\"\r\n },\r\n \"rule\": {\r\n \"href\": \"http/www.zak.com/slaManagement/sla/123444/rules/availability\",\r\n \"description\": \"availability\"\r\n }\r\n }\r\n}", - "owner": 0, - "folder": "47852edd-20ae-b0ff-d2bb-e734417580cc" - }, - { - "id": "98b52c00-d694-6658-6b2c-ec3550f62912", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{slaManagementSubscriberApi}}/history", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1431439081274, - "name": "/history", - "description": "List all", - "collectionId": "a402e650-a20a-6c01-608f-5d4c88b8efbb", - "responses": [], - "synced": false, - "owner": 0, - "folder": "1a0f11ee-d472-2231-c6cd-383536830c4f" - }, - { - "id": "a46558b8-d38e-a38a-7846-2a1fb048cf06", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{slaManagementSubscriberApi}}/history", - "preRequestScript": "", - "pathVariables": {}, - "method": "DELETE", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1431439089330, - "name": "/history", - "description": "delete all", - "collectionId": "a402e650-a20a-6c01-608f-5d4c88b8efbb", - "responses": [], - "synced": false, - "owner": 0, - "folder": "1a0f11ee-d472-2231-c6cd-383536830c4f" - }, - { - "id": "a6bb0bfe-2bbb-7233-7684-a3dbf4064df5", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{slaManagementApi}}/slaViolation/:id", - "preRequestScript": "", - "pathVariables": { - "id": "1" - }, - "method": "PATCH", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432724481637, - "name": "/slaViolation/{id}", - "description": "partial update of slaViolation with id", - "collectionId": "a402e650-a20a-6c01-608f-5d4c88b8efbb", - "responses": [], - "synced": false, - "rawModeData": "{\r\n \"href\": \"http/www.acme.com/slaManagement/slaViolation/PATCH\",\r\n \"relatedParty\": [\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLAProviderPATCH\"\r\n }\r\n ],\r\n \"sla\": {\r\n \"href\": \"http/www.acme.com/slaManagement/sla/123444\",\r\n \"description\": \"sla of premium video PATCH\"\r\n }\r\n \r\n}" - }, - { - "id": "aa222726-8ed6-8400-2bd3-44c1a05983e4", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{slaManagementApi}}/hub", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1431438681471, - "name": "/hub", - "description": "select all hubs", - "collectionId": "a402e650-a20a-6c01-608f-5d4c88b8efbb", - "responses": [], - "synced": false, - "owner": 0, - "folder": "a222e050-5b84-878f-1fb3-cd9f0b153f4a" - }, - { - "id": "aac2b348-15e4-b961-2adb-2dabc6be0cb9", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{slaManagementApi}}/sla", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1431438483171, - "name": "/sla", - "description": "select all slas", - "collectionId": "a402e650-a20a-6c01-608f-5d4c88b8efbb", - "responses": [], - "synced": false, - "owner": 0, - "folder": "81a0b21f-3ae3-76ad-02f8-090f98832129" - }, - { - "id": "abd4dba6-f499-2c2b-ffc5-d0ccc605ad97", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{slaManagementApi}}/hub/:id", - "preRequestScript": "", - "pathVariables": { - "id": "" - }, - "method": "DELETE", - "dataMode": "binary", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432724948901, - "name": "/hub/{id}", - "description": "delete all hubs", - "collectionId": "a402e650-a20a-6c01-608f-5d4c88b8efbb", - "responses": [], - "synced": false - }, - { - "id": "ec9bb46a-0422-3130-f457-c3ad63adf61c", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{slaManagementApi}}/slaViolation", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1431438828723, - "name": "/slaViolation", - "description": "select all slaViolations", - "collectionId": "a402e650-a20a-6c01-608f-5d4c88b8efbb", - "responses": [], - "synced": false, - "owner": 0, - "folder": "47852edd-20ae-b0ff-d2bb-e734417580cc" - }, - { - "id": "f1950660-4dbc-9a03-45cf-07607ed7b285", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{slaManagementApi}}/sla/:id", - "preRequestScript": "", - "pathVariables": { - "id": "1" - }, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1431438467063, - "name": "/sla/{id}", - "description": "select one sla with id", - "collectionId": "a402e650-a20a-6c01-608f-5d4c88b8efbb", - "responses": [], - "synced": false, - "owner": 0, - "folder": "81a0b21f-3ae3-76ad-02f8-090f98832129" - }, - { - "id": "f59f3a79-fb55-de82-a355-b43ff2692b0a", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{slaManagementApi}}/slaViolation/:id", - "preRequestScript": "", - "pathVariables": { - "id": "1" - }, - "method": "DELETE", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1431438901505, - "name": "/slaViolation/{id}", - "description": "Delete one slaViolation with id", - "collectionId": "a402e650-a20a-6c01-608f-5d4c88b8efbb", - "responses": [], - "synced": false, - "rawModeData": "", - "owner": 0, - "folder": "47852edd-20ae-b0ff-d2bb-e734417580cc" - } - ] + "info": { + "_postman_id": "a402e650-a20a-6c01-608f-5d4c88b8efbb", + "name": "TMF SLA Management API", + "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" + }, + "item": [ + { + "name": "event subcriber", + "item": [ + { + "name": "/current", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{slaManagementSubscriberApi}}/current", + "description": "get last event" + }, + "response": [] + }, + { + "name": "/history", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{slaManagementSubscriberApi}}/history", + "description": "List all" + }, + "response": [] + }, + { + "name": "/history", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{slaManagementSubscriberApi}}/history", + "description": "delete all" + }, + "response": [] + } + ] + }, + { + "name": "hub", + "item": [ + { + "name": "/hub", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"callback\":\"{{slaManagementSubscriberApi}}/event\"\n \n}" + }, + "url": "{{slaManagementApi}}/hub", + "description": "create a hub" + }, + "response": [] + }, + { + "name": "/hub", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{slaManagementApi}}/hub", + "description": "select all hubs" + }, + "response": [] + }, + { + "name": "/hub/{id}", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "file", + "file": {} + }, + "url": { + "raw": "{{slaManagementApi}}/hub/:id", + "host": [ + "{{slaManagementApi}}" + ], + "path": [ + "hub", + ":id" + ], + "variable": [ + { + "value": "", + "key": "id" + } + ] + }, + "description": "delete all hubs" + }, + "response": [] + } + ] + }, + { + "name": "slaViolation", + "item": [ + { + "name": "/slaViolation/{id}", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{slaManagementApi}}/slaViolation/:id", + "host": [ + "{{slaManagementApi}}" + ], + "path": [ + "slaViolation", + ":id" + ], + "variable": [ + { + "value": "1", + "key": "id" + } + ] + }, + "description": "select one slaViolation with id" + }, + "response": [] + }, + { + "name": "/slaViolation", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{slaManagementApi}}/slaViolation", + "description": "select all slaViolations" + }, + "response": [] + }, + { + "name": "/slaViolation", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \r\n \"relatedParty\": [\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLAProvider\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLAConsumer\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLAAuditor\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLABusinessBroker\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLATechnicalBroker\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"ThirdPartySLAManager\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"EndUser\"\r\n }\r\n ],\r\n \"sla\": {\r\n \"href\": \"http/www.acme.com/slaManagement/sla/123444\",\r\n \"description\": \"sla of premium video\"\r\n },\r\n \"violation\": {\r\n \"unit\": \"string\",\r\n \"referenceValue\": \"available\",\r\n \"operator\": \".eq\",\r\n \"actualValue\": \"available\",\r\n \"tolerance\": \"0.05\",\r\n \"violationAverage\": \"0.1\",\r\n \"comment\": \"Availability below agreed level.\",\r\n \"consequence\": \"http://ww.acme.com/contract/clause/42\",\r\n \"attachment\": {\r\n \"href\": \"https://foo.bar/screenshot.123\",\r\n \"description\": \"availability statistics for August 2013\"\r\n },\r\n \"rule\": {\r\n \"href\": \"http/www.zak.com/slaManagement/sla/123444/rules/availability\",\r\n \"description\": \"availability\"\r\n }\r\n }\r\n}" + }, + "url": "{{slaManagementApi}}/slaViolation", + "description": "create a slaViolation" + }, + "response": [] + }, + { + "name": "/slaViolation/{id}", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"href\": \"http/www.acme.com/slaManagement/slaViolation/99999\",\r\n \"relatedParty\": [\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLAProvider\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLAConsumer\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLAAuditor\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLABusinessBroker\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLATechnicalBroker\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"ThirdPartySLAManager\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"EndUser\"\r\n }\r\n ],\r\n \"sla\": {\r\n \"href\": \"http/www.acme.com/slaManagement/sla/123444\",\r\n \"description\": \"sla of premium video\"\r\n },\r\n \"violation\": {\r\n \"unit\": \"string\",\r\n \"referenceValue\": \"unvailable\",\r\n \"operator\": \".eq\",\r\n \"actualValue\": \"unvailable\",\r\n \"tolerance\": \"0.05\",\r\n \"violationAverage\": \"0.1\",\r\n \"comment\": \"Availability below agreed level.\",\r\n \"consequence\": \"http://ww.acme.com/contract/clause/42\",\r\n \"attachment\": {\r\n \"href\": \"https://foo.bar/screenshot.123\",\r\n \"description\": \"availability statistics for August 2013\"\r\n },\r\n \"rule\": {\r\n \"href\": \"http/www.zak.com/slaManagement/sla/123444/rules/availability\",\r\n \"description\": \"availability\"\r\n }\r\n }\r\n}" + }, + "url": { + "raw": "{{slaManagementApi}}/slaViolation/:id", + "host": [ + "{{slaManagementApi}}" + ], + "path": [ + "slaViolation", + ":id" + ], + "variable": [ + { + "value": "1", + "key": "id" + } + ] + }, + "description": "total update of slaViolation with id" + }, + "response": [] + }, + { + "name": "/slaViolation/{id}", + "request": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"href\": \"http/www.acme.com/slaManagement/slaViolation/PATCH\",\r\n \"relatedParty\": [\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLAProviderPATCH\"\r\n }\r\n ],\r\n \"sla\": {\r\n \"href\": \"http/www.acme.com/slaManagement/sla/123444\",\r\n \"description\": \"sla of premium video PATCH\"\r\n }\r\n \r\n}" + }, + "url": { + "raw": "{{slaManagementApi}}/slaViolation/:id", + "host": [ + "{{slaManagementApi}}" + ], + "path": [ + "slaViolation", + ":id" + ], + "variable": [ + { + "value": "1", + "key": "id" + } + ] + }, + "description": "partial update of slaViolation with id" + }, + "response": [] + }, + { + "name": "/slaViolation/{id}", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "{{slaManagementApi}}/slaViolation/:id", + "host": [ + "{{slaManagementApi}}" + ], + "path": [ + "slaViolation", + ":id" + ], + "variable": [ + { + "value": "1", + "key": "id" + } + ] + }, + "description": "Delete one slaViolation with id" + }, + "response": [] + } + ] + }, + { + "name": "sla", + "item": [ + { + "name": "/sla/{id}", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{slaManagementApi}}/sla/:id", + "host": [ + "{{slaManagementApi}}" + ], + "path": [ + "sla", + ":id" + ], + "variable": [ + { + "value": "1", + "key": "id" + } + ] + }, + "description": "select one sla with id" + }, + "response": [] + }, + { + "name": "/sla", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{slaManagementApi}}/sla", + "description": "select all slas" + }, + "response": [] + }, + { + "name": "/sla", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \r\n \"name\": \"HighSpeedDataSLA\",\r\n \"description\": \"SLA for high speed data.\",\r\n \"version\": \"0.1\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2013-04-19T16:42:23.0Z\",\r\n \"endDateTime\": \"2013-04-21T09:43:54.0Z\"\r\n },\r\n \"relatedParty\": [\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLAProvider\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLAConsumer\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLAAuditor\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLABusinessBroker\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLATechnicalBroker\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"ThirdPartySLAManager\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"EndUser\"\r\n }\r\n ],\r\n \"rule\": [\r\n {\r\n \"id\": \"availability\",\r\n \"metric\": \"http://IEEE99.5/Availability\",\r\n \"unit\": \"string\",\r\n \"referenceValue\": \"available\",\r\n \"operator\": \".eq\",\r\n \"tolerance\": \"0.05\",\r\n \"consequence\": \"http://ww.acme.com/contract/clause/42\"\r\n },\r\n {\r\n \"id\": \"downstream_GBR\",\r\n \"metric\": \"http://IEEE99.5/Data/bitrates/GBR/down\",\r\n \"unit\": \"kbps\",\r\n \"referenceValue\": \"1024\",\r\n \"operator\": \".ge\",\r\n \"tolerance\": \"0.20\",\r\n \"consequence\": \"http://ww.acme.com/contract/clause/45\"\r\n }\r\n ],\r\n \"template\": {\r\n \"href\": \"http/www.acme.com/slaManagement/slaTemplate/42\",\r\n \"name\": \"DataSLATemplate\",\r\n \"description\": \"basic template for Data SLA\"\r\n }\r\n}" + }, + "url": "{{slaManagementApi}}/sla", + "description": "create a sla" + }, + "response": [] + }, + { + "name": "/sla/{id}", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"href\": \"http/www.acme.com/SlaManagement/sla/999999\",\r\n \"name\": \"HighSpeedDataSLA\",\r\n \"description\": \"SLA for high speed data MODIFIED\",\r\n \"version\": \"0.1\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2015-03-18T00:00:00.0Z\",\r\n \"endDateTime\": \"2015-03-18T01:00:00.0Z\"\r\n },\r\n \"relatedParty\": [\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLAProvider\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLAConsumer\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLAAuditor\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLABusinessBroker\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLATechnicalBroker\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"ThirdPartySLAManager\"\r\n },\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"EndUser\"\r\n }\r\n ],\r\n \"rule\": [\r\n {\r\n \"id\": \"availability\",\r\n \"metric\": \"http://IEEE99.5/Availability\",\r\n \"unit\": \"string\",\r\n \"referenceValue\": \"available\",\r\n \"operator\": \".eq\",\r\n \"tolerance\": \"0.05\",\r\n \"consequence\": \"http://ww.acme.com/contract/clause/42\"\r\n },\r\n {\r\n \"id\": \"downstream_GBR\",\r\n \"metric\": \"http://IEEE99.5/Data/bitrates/GBR/down\",\r\n \"unit\": \"kbps\",\r\n \"referenceValue\": \"1024\",\r\n \"operator\": \".ge\",\r\n \"tolerance\": \"0.20\",\r\n \"consequence\": \"http://ww.acme.com/contract/clause/45\"\r\n }\r\n ],\r\n \"template\": {\r\n \"href\": \"http/www.acme.com/slaManagement/slaTemplate/42\",\r\n \"name\": \"DataSLATemplate\",\r\n \"description\": \"basic template for Data SLA\"\r\n }\r\n}" + }, + "url": { + "raw": "{{slaManagementApi}}/sla/:id", + "host": [ + "{{slaManagementApi}}" + ], + "path": [ + "sla", + ":id" + ], + "variable": [ + { + "value": "1", + "key": "id" + } + ] + }, + "description": "total update of sla with id" + }, + "response": [] + }, + { + "name": "/sla/{id}", + "request": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"href\": \"http/www.acme.com/SlaManagement/sla/PATCH\",\r\n \"description\": \"SLA for high speed data PATCH\",\r\n \"version\": \"0.1\",\r\n \"validFor\": {\r\n \"startDateTime\": \"2015-03-24T00:00:00.0Z\",\r\n \"endDateTime\": \"2015-03-24T01:00:00.0Z\"\r\n },\r\n \"relatedParty\": [\r\n {\r\n \"href\": \"http://\",\r\n \"role\": \"SLAProviderPATCH\"\r\n }\r\n ],\r\n \"template\": {\r\n \"href\": \"http/www.acme.com/slaManagement/slaTemplate/42\",\r\n \"name\": \"DataSLATemplatePATCH\",\r\n \"description\": \"basic template for Data SLA\"\r\n }\r\n}" + }, + "url": { + "raw": "{{slaManagementApi}}/sla/:id", + "host": [ + "{{slaManagementApi}}" + ], + "path": [ + "sla", + ":id" + ], + "variable": [ + { + "value": "1", + "key": "id" + } + ] + }, + "description": "partial update of sla with id" + }, + "response": [] + }, + { + "name": "/sla/{id}", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "{{slaManagementApi}}/sla/:id", + "host": [ + "{{slaManagementApi}}" + ], + "path": [ + "sla", + ":id" + ], + "variable": [ + { + "value": "1", + "key": "id" + } + ] + }, + "description": "Delete one sla with id" + }, + "response": [] + } + ] + } + ] } \ No newline at end of file diff --git a/TMFTroubleTicketAPI.json.postman_collection b/TMFTroubleTicketAPI.json.postman_collection index a2e7cc8..8bc1a51 100644 --- a/TMFTroubleTicketAPI.json.postman_collection +++ b/TMFTroubleTicketAPI.json.postman_collection @@ -1,292 +1,299 @@ { - "id": "ca802258-0986-c507-95a0-40f4ca026aba", - "name": "TMF Trouble Ticket API", - "description": "", - "order": [], - "folders": [ - { - "id": "65417cb5-2fa1-9f7d-c2d0-c140bf18e17a", - "name": "event subscriber", - "description": "", - "order": [ - "b5294f33-2bc1-a8b8-db19-2928db77e274", - "ef7fbfee-ce27-738f-fa29-d3688b82b805", - "9687caa2-8705-99e5-e38b-f210a179ba96" - ], - "collection_name": "TMF Trouble Ticket API", - "collection_id": "ca802258-0986-c507-95a0-40f4ca026aba", - "owner": 0, - "collection_owner": 0, - "write": true, - "collectionId": "82b057ef-beff-3023-2784-a270a774cc3e" - }, - { - "id": "72fe1b2c-d48b-5d33-3863-662e8b475e9e", - "name": "hub", - "description": "", - "write": true, - "order": [ - "10cf0bb0-2a40-aab7-7041-30e5bf48ee63", - "39ec9253-a199-6dff-2a07-1745e936ff9a", - "eb77f41c-cccf-de1a-c384-57d25e0622bd" - ], - "collection_name": "TMF Trouble Ticket API", - "collection_owner": 0, - "collection_id": "ca802258-0986-c507-95a0-40f4ca026aba", - "collection": "82b057ef-beff-3023-2784-a270a774cc3e", - "owner": 0, - "collectionId": "82b057ef-beff-3023-2784-a270a774cc3e" - }, - { - "id": "02358ace-f91f-ab81-3bf7-7d510f4dc390", - "name": "trouble ticket", - "description": "", - "order": [ - "4238025d-842e-606a-8de9-caa41182499c", - "4dd9dd7e-b58e-13f3-365d-cf73a45e8d76", - "3054026a-12d8-297a-339b-9a030d7cdda7", - "5ce05b95-3193-985c-ad2b-5464ca9cce3f" - ], - "collection_name": "TMF Trouble Ticket API", - "collection_id": "ca802258-0986-c507-95a0-40f4ca026aba", - "owner": 0, - "collection_owner": 0, - "write": true, - "collectionId": "82b057ef-beff-3023-2784-a270a774cc3e" - } - ], - "timestamp": 1413895436131, - "synced": false, - "owner": 0, - "sharedWithTeam": false, - "subscribed": false, - "remoteLink": "https://www.getpostman.com/collections/73d825a324f61e3405cc", - "public": false, - "write": true, - "requests": [ - { - "id": "10cf0bb0-2a40-aab7-7041-30e5bf48ee63", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{troubleTicketingApi}}/hub/:id", - "preRequestScript": "", - "pathVariables": { - "id": "" - }, - "method": "POST", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432718995181, - "name": "/hub", - "description": "create a hub", - "collectionId": "ca802258-0986-c507-95a0-40f4ca026aba", - "responses": [], - "synced": false, - "rawModeData": "{\n \n \"callback\":\"{{troubleTicketingSubscriberApi}}/event\"\n \n}" - }, - { - "id": "3054026a-12d8-297a-339b-9a030d7cdda7", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{troubleTicketingApi}}/troubleTicket", - "preRequestScript": "", - "pathVariables": {}, - "method": "POST", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432332249855, - "name": "/troubleTicket", - "description": "create a troubleTicket", - "collectionId": "ca802258-0986-c507-95a0-40f4ca026aba", - "responses": [], - "synced": false, - "rawModeData": " {\n \"description\": \"Some Description\",\n \n \"severity\": \"High\",\n \"type\": \"Bills, charges or payment\",\n \"creationDate\": \"2015-04-14T17:14:29UTC\",\n \"targetResolutionDate\": \"2015-04-14T17:14:29UTC\",\n \"status\": \"Submitted\",\n \"relatedParty\": [\n {\n \"id\": \"any party identifer\",\n \"href\": \"http//.../party/42\",\n \"role\": \"role\"\n },\n {\n \"id\": \"any party identifer\",\n \"href\": \"http//.../party/42\",\n \"role\": \"role\"\n }\n ],\n \"relatedObject\": [\n {\n \"involvement\": \"involvment\",\n \"reference\": \"referenceobject\"\n },\n {\n \"involvement\": \"involvment\",\n \"reference\": \"referenceobject\"\n }\n ],\n \"note\": [\n {\n \"date\": \"2015-04-14T17:14:29.855+0000\",\n \"author\": \"author\",\n \"text\": \"text\"\n },\n {\n \"date\": \"2015-04-14T17:14:29.855+0000\",\n \"author\": \"author\",\n \"text\": \"text\"\n }\n ]\n}" - }, - { - "id": "39ec9253-a199-6dff-2a07-1745e936ff9a", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{troubleTicketingApi}}/hub", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1429747597201, - "name": "/hub", - "description": "create a hub", - "collectionId": "ca802258-0986-c507-95a0-40f4ca026aba", - "responses": [], - "synced": false, - "owner": 0, - "folder": "72fe1b2c-d48b-5d33-3863-662e8b475e9e", - "write": true - }, - { - "id": "4238025d-842e-606a-8de9-caa41182499c", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{troubleTicketingApi}}/troubleTicket", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1429747603821, - "name": "/troubleTicket", - "description": "select all troubleTickets", - "collectionId": "ca802258-0986-c507-95a0-40f4ca026aba", - "responses": [], - "synced": false, - "owner": 0, - "folder": "02358ace-f91f-ab81-3bf7-7d510f4dc390" - }, - { - "id": "4dd9dd7e-b58e-13f3-365d-cf73a45e8d76", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{troubleTicketingApi}}/troubleTicket/:id", - "preRequestScript": "", - "pathVariables": { - "id": "1" - }, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1429747610883, - "name": "/troubleTicket/{id}", - "description": "select one troubleTickets with id", - "collectionId": "ca802258-0986-c507-95a0-40f4ca026aba", - "responses": [], - "synced": false, - "owner": 0, - "folder": "02358ace-f91f-ab81-3bf7-7d510f4dc390" - }, - { - "id": "5ce05b95-3193-985c-ad2b-5464ca9cce3f", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{troubleTicketingApi}}/troubleTicket/1", - "preRequestScript": "", - "pathVariables": {}, - "method": "PATCH", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432718559431, - "name": "/troubleTicket/{id}", - "description": "PATCH Status\n\n \"Submitted\",\n \"Rejected\",\n \"Acknowledged\",\n \"InProgress\",\n \"InProgressHeld\",\n \"InProgressPending\",\n \"Resolved\",\n \"Closed\",\n \"Cancelled\"\nInitial State is\n\n Submitted\nFrom Submitted to\n\n Rejected \n\n Acknowledged \nFrom Acknowledged to\n\n InProgress \n\n InProgress_Held \n\n InProgress_Pending \n\n Cancelled \nFrom InProgress to\n\n InProgress_Held \n\n InProgress_Pending \n\n Resolved \n\n Cancelled \nFrom InProgress_Held to\n\n InProgress \n\n InProgress_Pending \n\n Resolved \n\n Cancelled \nFrom InProgress_Pending to\n\n InProgress \n\n InProgress_Held \n\n Resolved \n\n Cancelled \nFrom Resolved to\n\n Closed \n\n InProgress \n\n InProgress_Held \n\n InProgress_Pending \nFinal state are\n\n Closed \n\n Rejected \n\n Cancelled \n\n", - "collectionId": "ca802258-0986-c507-95a0-40f4ca026aba", - "responses": [], - "synced": false, - "rawModeData": " {\n \"status\": \"Acknowledged\",\n \"statusChangeReason\": \"Waiting for invoicing expert\",\n \"statusChangeDate\": \"2014-10-22T09:00:00UTC\"\n \n }" - }, - { - "id": "9687caa2-8705-99e5-e38b-f210a179ba96", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{troubleTicketingSubscriberApi}}/history", - "preRequestScript": "", - "pathVariables": {}, - "method": "DELETE", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1429750016836, - "name": "/history", - "description": "delete all", - "collectionId": "ca802258-0986-c507-95a0-40f4ca026aba", - "responses": [], - "synced": false, - "owner": 0, - "folder": "65417cb5-2fa1-9f7d-c2d0-c140bf18e17a" - }, - { - "id": "b5294f33-2bc1-a8b8-db19-2928db77e274", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{troubleTicketingSubscriberApi}}/current", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1429750005274, - "name": "/current", - "description": "get last event", - "collectionId": "ca802258-0986-c507-95a0-40f4ca026aba", - "responses": [], - "synced": false, - "owner": 0, - "folder": "65417cb5-2fa1-9f7d-c2d0-c140bf18e17a" - }, - { - "id": "eb77f41c-cccf-de1a-c384-57d25e0622bd", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{troubleTicketingApi}}/hub/:id", - "preRequestScript": "", - "pathVariables": { - "id": "" - }, - "method": "DELETE", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432221428147, - "name": "delete/{id}", - "description": "select a hub", - "collectionId": "ca802258-0986-c507-95a0-40f4ca026aba", - "responses": [], - "synced": false, - "owner": 0, - "folder": "72fe1b2c-d48b-5d33-3863-662e8b475e9e" - }, - { - "id": "ef7fbfee-ce27-738f-fa29-d3688b82b805", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{troubleTicketingSubscriberApi}}/history", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1429750011173, - "name": "/history", - "description": "List all", - "collectionId": "ca802258-0986-c507-95a0-40f4ca026aba", - "responses": [], - "synced": false, - "owner": 0, - "folder": "65417cb5-2fa1-9f7d-c2d0-c140bf18e17a" - } - ] + "info": { + "_postman_id": "ca802258-0986-c507-95a0-40f4ca026aba", + "name": "TMF Trouble Ticket API", + "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" + }, + "item": [ + { + "name": "event subscriber", + "item": [ + { + "name": "/current", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{troubleTicketingSubscriberApi}}/current", + "description": "get last event" + }, + "response": [] + }, + { + "name": "/history", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{troubleTicketingSubscriberApi}}/history", + "description": "List all" + }, + "response": [] + }, + { + "name": "/history", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{troubleTicketingSubscriberApi}}/history", + "description": "delete all" + }, + "response": [] + } + ] + }, + { + "name": "hub", + "item": [ + { + "name": "/hub", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \n \"callback\":\"{{troubleTicketingSubscriberApi}}/event\"\n \n}" + }, + "url": { + "raw": "{{troubleTicketingApi}}/hub/:id", + "host": [ + "{{troubleTicketingApi}}" + ], + "path": [ + "hub", + ":id" + ], + "variable": [ + { + "value": "", + "key": "id" + } + ] + }, + "description": "create a hub" + }, + "response": [] + }, + { + "name": "/hub", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{troubleTicketingApi}}/hub", + "description": "create a hub" + }, + "response": [] + }, + { + "name": "delete/{id}", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{troubleTicketingApi}}/hub/:id", + "host": [ + "{{troubleTicketingApi}}" + ], + "path": [ + "hub", + ":id" + ], + "variable": [ + { + "value": "", + "key": "id" + } + ] + }, + "description": "select a hub" + }, + "response": [] + } + ] + }, + { + "name": "trouble ticket", + "item": [ + { + "name": "/troubleTicket", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{troubleTicketingApi}}/troubleTicket", + "description": "select all troubleTickets" + }, + "response": [] + }, + { + "name": "/troubleTicket/{id}", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{troubleTicketingApi}}/troubleTicket/:id", + "host": [ + "{{troubleTicketingApi}}" + ], + "path": [ + "troubleTicket", + ":id" + ], + "variable": [ + { + "value": "1", + "key": "id" + } + ] + }, + "description": "select one troubleTickets with id" + }, + "response": [] + }, + { + "name": "/troubleTicket", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": " {\n \"description\": \"Some Description\",\n \n \"severity\": \"High\",\n \"type\": \"Bills, charges or payment\",\n \"creationDate\": \"2015-04-14T17:14:29UTC\",\n \"targetResolutionDate\": \"2015-04-14T17:14:29UTC\",\n \"status\": \"Submitted\",\n \"relatedParty\": [\n {\n \"id\": \"any party identifer\",\n \"href\": \"http//.../party/42\",\n \"role\": \"role\"\n },\n {\n \"id\": \"any party identifer\",\n \"href\": \"http//.../party/42\",\n \"role\": \"role\"\n }\n ],\n \"relatedObject\": [\n {\n \"involvement\": \"involvment\",\n \"reference\": \"referenceobject\"\n },\n {\n \"involvement\": \"involvment\",\n \"reference\": \"referenceobject\"\n }\n ],\n \"note\": [\n {\n \"date\": \"2015-04-14T17:14:29.855+0000\",\n \"author\": \"author\",\n \"text\": \"text\"\n },\n {\n \"date\": \"2015-04-14T17:14:29.855+0000\",\n \"author\": \"author\",\n \"text\": \"text\"\n }\n ]\n}" + }, + "url": "{{troubleTicketingApi}}/troubleTicket", + "description": "create a troubleTicket" + }, + "response": [] + }, + { + "name": "/troubleTicket/{id}", + "request": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": " {\n \"status\": \"Acknowledged\",\n \"statusChangeReason\": \"Waiting for invoicing expert\",\n \"statusChangeDate\": \"2014-10-22T09:00:00UTC\"\n \n }" + }, + "url": "{{troubleTicketingApi}}/troubleTicket/1", + "description": "PATCH Status\n\n \"Submitted\",\n \"Rejected\",\n \"Acknowledged\",\n \"InProgress\",\n \"InProgressHeld\",\n \"InProgressPending\",\n \"Resolved\",\n \"Closed\",\n \"Cancelled\"\nInitial State is\n\n Submitted\nFrom Submitted to\n\n Rejected \n\n Acknowledged \nFrom Acknowledged to\n\n InProgress \n\n InProgress_Held \n\n InProgress_Pending \n\n Cancelled \nFrom InProgress to\n\n InProgress_Held \n\n InProgress_Pending \n\n Resolved \n\n Cancelled \nFrom InProgress_Held to\n\n InProgress \n\n InProgress_Pending \n\n Resolved \n\n Cancelled \nFrom InProgress_Pending to\n\n InProgress \n\n InProgress_Held \n\n Resolved \n\n Cancelled \nFrom Resolved to\n\n Closed \n\n InProgress \n\n InProgress_Held \n\n InProgress_Pending \nFinal state are\n\n Closed \n\n Rejected \n\n Cancelled \n\n" + }, + "response": [] + } + ] + } + ] } \ No newline at end of file diff --git a/TMFUsageManagementAPI.json.postman_collection b/TMFUsageManagementAPI.json.postman_collection index c4dcc82..1926abc 100644 --- a/TMFUsageManagementAPI.json.postman_collection +++ b/TMFUsageManagementAPI.json.postman_collection @@ -1,392 +1,411 @@ { - "id": "4bf2fd51-87dd-0c5e-e780-3af2b43e8ded", - "name": "TMF Usage Management API", - "description": "", - "order": [], - "folders": [ - { - "id": "d4ac7c57-7943-aa0e-731d-d867b01f9115", - "name": "event subscriber", - "description": "", - "order": [ - "6b19ab9c-67f8-5cd1-3f2e-cc4f648c2603", - "582ca745-9cba-271d-08b0-25986904f0ff", - "26e6ca58-1e30-f89b-3825-ce56183d53a5" - ], - "collection_name": "TMF Usage Management API", - "collection_id": "4bf2fd51-87dd-0c5e-e780-3af2b43e8ded", - "collection_owner": 0, - "write": true, - "owner": 0, - "collection": "4bf2fd51-87dd-0c5e-e780-3af2b43e8ded", - "collectionId": "4bf2fd51-87dd-0c5e-e780-3af2b43e8ded" - }, - { - "id": "fd107b83-6832-7b62-0b2f-683679943a22", - "name": "hub", - "description": "", - "order": [ - "7b477e39-c4f8-8d29-1274-515004753a01", - "429f676b-ef1e-0933-e3ff-1f2f19618d73", - "84a67456-1392-08c2-24f7-8508aa5689ad" - ], - "collection_name": "TMF Usage Management API", - "collection_id": "4bf2fd51-87dd-0c5e-e780-3af2b43e8ded", - "collection_owner": 0, - "write": true, - "owner": 0, - "collection": "4bf2fd51-87dd-0c5e-e780-3af2b43e8ded", - "collectionId": "4bf2fd51-87dd-0c5e-e780-3af2b43e8ded" - }, - { - "id": "0d0f5cb1-39b5-2a6d-5e64-8bb81309dc5e", - "name": "usageSpecification", - "description": "", - "order": [ - "b3dd9dff-c8c5-e1b2-1a6c-35dae4f898fb", - "f3c25b37-14ce-1d7d-dd2a-7b22538c9e61", - "16e82a29-5eec-772d-bd84-8c3e8a55244f", - "65bbf577-1f1e-d66c-b2f7-ab1f328ebc18" - ], - "collection_name": "TMF Usage Management API", - "collection_id": "4bf2fd51-87dd-0c5e-e780-3af2b43e8ded", - "collection_owner": 0, - "write": true, - "owner": 0, - "collection": "4bf2fd51-87dd-0c5e-e780-3af2b43e8ded", - "collectionId": "4bf2fd51-87dd-0c5e-e780-3af2b43e8ded" - }, - { - "id": "96c8a9fd-bde7-34ec-b65f-81c09c99e926", - "name": "usage", - "description": "", - "order": [ - "550b6c8e-9b84-a748-85a4-4dc8160b7cdb", - "001fb8c5-a5ad-f511-c0a2-2fb6c3ace579", - "69c89d16-bcd4-8420-24c6-fddd85fd36a5", - "b915682a-70f7-30ca-51e0-7bac426ec14a" - ], - "collection_name": "TMF Usage Management API", - "collection_id": "4bf2fd51-87dd-0c5e-e780-3af2b43e8ded", - "collection_owner": 0, - "write": true, - "owner": 0, - "collection": "4bf2fd51-87dd-0c5e-e780-3af2b43e8ded", - "collectionId": "4bf2fd51-87dd-0c5e-e780-3af2b43e8ded" - } - ], - "timestamp": 1427701084154, - "synced": false, - "owner": 0, - "sharedWithTeam": false, - "subscribed": false, - "remoteLink": "https://www.getpostman.com/collections/baf222b1de0c6aecc59f", - "public": false, - "write": true, - "requests": [ - { - "id": "001fb8c5-a5ad-f511-c0a2-2fb6c3ace579", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{usageManagementApi}}/usage", - "preRequestScript": "", - "pathVariables": {}, - "method": "POST", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432741831602, - "name": "/usage", - "description": "create a usage", - "collectionId": "4bf2fd51-87dd-0c5e-e780-3af2b43e8ded", - "responses": [], - "synced": false, - "rawModeData": "{\r\n\r\n\t\"date\": \"2013-04-19T16:42:23-04:00\",\r\n\t\"type\": \"CloudCpuUsage\",\r\n\t\"description\": \"Description for individual usage content\",\r\n\t\"status\": \"Rated\",\r\n\t\"usageSpecification\": {\r\n\t\t\"href\": \"http://serverlocation:port/usageManagement/usageSpecification/234\",\r\n\t\t\"name\": \"Cloud CPU usage specification\"\r\n\t},\r\n\t\"usageCharacteristic\": [\r\n\t\t{\r\n\t\t\t\"name\": \"poolNumber\",\r\n\t\t\t\"value\": \"1\"\r\n\t\t}, {\r\n\t\t\t\"name\": \"characteristicType\",\r\n\t\t\t\"value\": \"Reserved\"\r\n\t\t}, {\r\n\t\t\t\"name\": \"value\",\r\n\t\t\t\"value\": \"2\"\r\n\t\t}, {\r\n\t\t\t\"name\": \"unit\",\r\n\t\t\t\"value\": \"GHZ\"\r\n\t\t}\r\n\t],\r\n\t\"relatedParty\": [{\r\n\t\t\"role\": \"customer\",\r\n\t\t\"id\": \"1\",\r\n\t\t\"href\": \"http://serverlocation:port/partyManagement/organization/1\"\r\n\t}],\r\n\t\"ratedProductUsage\": [\r\n\t\t{\r\n\t\t\t\"ratingDate\": \"2013-04-19T16:42:23-04:00\",\r\n\t\t\t\"usageRatingTag\": \"Usage\",\r\n\t\t\t\"isBilled\": \"false\",\r\n\t\t\t\"ratingAmountType\": \"Total\",\r\n\t\t\t\"taxIncludedRatingAmount\": \"12.00\",\r\n\t\t\t\"taxExcludedRatingAmount\": \"10.00\",\r\n\t\t\t\"taxRate\": \"20\",\r\n\t\t\t\"isTaxExempt\": \"false\",\r\n\t\t\t\"offerTariffType\": \"Normal\",\r\n\t\t\t\"bucketValueConvertedInAmount\": \"\",\r\n\t\t\t\"currencyCode\": \"EUR\",\r\n\t\t\t\"productRef\": \"http://serverlocation:port/catalogManagement/productSpecification/345\"\r\n\t\t}\r\n\t]\r\n}\r\n" - }, - { - "id": "16e82a29-5eec-772d-bd84-8c3e8a55244f", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{usageManagementApi}}/usageSpecification/:id", - "preRequestScript": "", - "pathVariables": { - "id": "1" - }, - "method": "DELETE", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432741872577, - "name": "/usageSpecification/{id}", - "description": "Delete one usageSpecification with id", - "collectionId": "4bf2fd51-87dd-0c5e-e780-3af2b43e8ded", - "responses": [], - "synced": false, - "rawModeData": "" - }, - { - "id": "26e6ca58-1e30-f89b-3825-ce56183d53a5", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "http://{{Host}}/DSUsageManagement/subscriber/api/history", - "preRequestScript": "", - "pathVariables": {}, - "method": "DELETE", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1427703608104, - "name": "/history", - "description": "delete all", - "collectionId": "4bf2fd51-87dd-0c5e-e780-3af2b43e8ded", - "responses": [], - "synced": false, - "owner": 0, - "folder": "d4ac7c57-7943-aa0e-731d-d867b01f9115" - }, - { - "id": "429f676b-ef1e-0933-e3ff-1f2f19618d73", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "http://{{Host}}/DSUsageManagement/api/usageManagement/v2/hub", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1427705714651, - "name": "/hub", - "description": "select all hubs", - "collectionId": "4bf2fd51-87dd-0c5e-e780-3af2b43e8ded", - "responses": [], - "synced": false, - "owner": 0, - "folder": "fd107b83-6832-7b62-0b2f-683679943a22" - }, - { - "id": "550b6c8e-9b84-a748-85a4-4dc8160b7cdb", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{usageManagementApi}}/usage/:id", - "preRequestScript": "", - "pathVariables": { - "id": "1" - }, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432741364364, - "name": "/usage/{id}", - "description": "select one usage with id", - "collectionId": "4bf2fd51-87dd-0c5e-e780-3af2b43e8ded", - "responses": [], - "synced": false - }, - { - "id": "582ca745-9cba-271d-08b0-25986904f0ff", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "http://{{Host}}/DSUsageManagement/subscriber/api/history", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1427703602006, - "name": "/history", - "description": "List all", - "collectionId": "4bf2fd51-87dd-0c5e-e780-3af2b43e8ded", - "responses": [], - "synced": false, - "owner": 0, - "folder": "d4ac7c57-7943-aa0e-731d-d867b01f9115" - }, - { - "id": "65bbf577-1f1e-d66c-b2f7-ab1f328ebc18", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{usageManagementApi}}/usageSpecification", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432741900196, - "name": "/usageSpecification", - "description": "get all usage specifictions", - "collectionId": "4bf2fd51-87dd-0c5e-e780-3af2b43e8ded", - "responses": [], - "synced": false - }, - { - "id": "69c89d16-bcd4-8420-24c6-fddd85fd36a5", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{usageManagementApi}}/usage/:id", - "preRequestScript": "", - "pathVariables": { - "id": "1" - }, - "method": "PATCH", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432741823330, - "name": "/usage/{id}", - "description": "partial update of usage with id", - "collectionId": "4bf2fd51-87dd-0c5e-e780-3af2b43e8ded", - "responses": [], - "synced": false, - "rawModeData": "{\r\n\r\n\t\"date\": \"2013-04-19T16:42:23-04:00\",\r\n\t\"type\": \"CloudCpuUsage\",\r\n\t\"description\": \"Description for individual usage content PATCHED\",\r\n\t\"status\": \"Rated\",\r\n\t\"usageSpecification\": {\r\n\t\t\"href\": \"http://serverlocation:port/usageManagement/usageSpecification/234\",\r\n\t\t\"name\": \"Cloud CPU usage specification\"\r\n\t},\r\n\t\"relatedParty\": [{\r\n\t\t\"role\": \"customerPATCHED\",\r\n\t\t\"id\": \"1\",\r\n\t\t\"href\": \"http://serverlocation:port/partyManagement/organization/1\"\r\n\t}],\r\n\t\"ratedProductUsage\": [\r\n{\r\n\"ratingDate\": \"2013-04-19T22:42:23+02:00\",\r\n\"usageRatingTag\": \"Usage\",\r\n\"isBilled\": false,\r\n\"ratingAmountType\": \"Total\",\r\n\"taxIncludedRatingAmount\": 12,\r\n\"taxExcludedRatingAmount\": 10,\r\n\"taxRate\": 20,\r\n\"isTaxExempt\": false,\r\n\"offerTariffType\": \"Normal\",\r\n\"currencyCode\": \"EUR\",\r\n\"productRef\": \"http://serverlocation:port/catalogManagement/productSpecification/345\"\r\n}\r\n]\r\n}\r\n" - }, - { - "id": "6b19ab9c-67f8-5cd1-3f2e-cc4f648c2603", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "http://{{Host}}/DSUsageManagement/subscriber/api/current", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1427703585692, - "name": "/current", - "description": "get last event", - "collectionId": "4bf2fd51-87dd-0c5e-e780-3af2b43e8ded", - "responses": [], - "synced": false, - "owner": 0, - "folder": "d4ac7c57-7943-aa0e-731d-d867b01f9115" - }, - { - "id": "7b477e39-c4f8-8d29-1274-515004753a01", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "http://{{Host}}/DSUsageManagement/api/usageManagement/v2/hub", - "preRequestScript": "", - "pathVariables": {}, - "method": "POST", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1427703686716, - "name": "/hub", - "description": "create a hub", - "collectionId": "4bf2fd51-87dd-0c5e-e780-3af2b43e8ded", - "responses": [], - "synced": false, - "rawModeData": "{\n \"callback\":\"http://localhost:8080/DSUsageManagement/subscriber/api/event\",\n \"query\":\"eventType=UsageCreationNotification,UsageUpdateNotification,UsageDeletionNotification,UsageValueChangeNotification,UsageStatusChangedNotification\"\n}", - "owner": 0, - "folder": "fd107b83-6832-7b62-0b2f-683679943a22" - }, - { - "id": "84a67456-1392-08c2-24f7-8508aa5689ad", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "http://{{Host}}/DSUsageManagement/api/usageManagement/v2/hub", - "preRequestScript": "", - "pathVariables": {}, - "method": "DELETE", - "dataMode": "binary", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1427705724713, - "name": "delete all hubs", - "description": "delete all hubs", - "collectionId": "4bf2fd51-87dd-0c5e-e780-3af2b43e8ded", - "responses": [], - "synced": false, - "owner": 0, - "folder": "fd107b83-6832-7b62-0b2f-683679943a22" - }, - { - "id": "b3dd9dff-c8c5-e1b2-1a6c-35dae4f898fb", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{usageManagementApi}}/usageSpecification/:id", - "preRequestScript": "", - "pathVariables": { - "id": "1" - }, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432741851482, - "name": "/usageSpecification/{id}", - "description": "select one usageSpecification with id", - "collectionId": "4bf2fd51-87dd-0c5e-e780-3af2b43e8ded", - "responses": [], - "synced": false - }, - { - "id": "b915682a-70f7-30ca-51e0-7bac426ec14a", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{usageManagementApi}}/usage/", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "params", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432741398324, - "name": "/usage", - "description": "get all usages", - "collectionId": "4bf2fd51-87dd-0c5e-e780-3af2b43e8ded", - "responses": [], - "synced": false - }, - { - "id": "f3c25b37-14ce-1d7d-dd2a-7b22538c9e61", - "headers": "Content-Type: application/json\nAccept: application/json\n", - "url": "{{usageManagementApi}}/usageSpecification", - "preRequestScript": "", - "pathVariables": {}, - "method": "POST", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1432741860191, - "name": "/usageSpecification", - "description": "create a usageSpecification", - "collectionId": "4bf2fd51-87dd-0c5e-e780-3af2b43e8ded", - "responses": [], - "synced": false, - "rawModeData": "{\r\n\t\"href\": \"http://serverlocation:port/usageManagement/usageSpecification/22\",\r\n\t\"name\": \"VoiceSpec\",\r\n\t\"description\": \"Spec for voice calls usage\",\r\n\t\"validFor\": {\r\n\t\t\"startDateTime\": \"2013-04-19T16:42:23-04:00\",\r\n\t\t\"endDateTime\": \"2099-06-19T00:00:00-04:00\"\r\n\t},\r\n\t\"usageSpecCharacteristic\": [\r\n\t\t{\r\n\t\t\t\"name\": \"originatingCountryCode\",\r\n\t\t\t\"description\": \"country code of the caller\",\r\n\t\t\t\"configurable\": \"true\",\r\n\t\t\t\"usageSpecCharacteristicValue\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"valueType\": \"number\",\r\n\t\t\t\t\t\"default\": \"false\",\r\n\t\t\t\t\t\"value\": \"\",\r\n\t\t\t\t\t\"valueFrom\": \"\",\r\n\t\t\t\t\t\"valueTo\": \"\"\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t}, {\r\n\t\t\t\"name\": \"originatingNumber\",\r\n\t\t\t\"description\": \"phone number of the caller\",\r\n\t\t\t\"configurable\": \"true\",\r\n\t\t\t\"usageSpecCharacteristicValue\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"valueType\": \"string\",\r\n\t\t\t\t\t\"default\": \"false\",\r\n\t\t\t\t\t\"value\": \"\",\r\n\t\t\t\t\t\"valueFrom\": \"\",\r\n\t\t\t\t\t\"valueTo\": \"\"\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t}, {\r\n\t\t\t\"name\": \"destinationCountryCode\",\r\n\t\t\t\"description\": \"country code of the called party\",\r\n\t\t\t\"configurable\": \"true\",\r\n\t\t\t\"usageSpecCharacteristicValue\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"valueType\": \"number\",\r\n\t\t\t\t\t\"default\": \"false\",\r\n\t\t\t\t\t\"value\": \"\",\r\n\t\t\t\t\t\"valueFrom\": \"\",\r\n\t\t\t\t\t\"valueTo\": \"\"\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t}, {\r\n\t\t\t\"name\": \"destinationNumber\",\r\n\t\t\t\"description\": \"phone number of the called party\",\r\n\t\t\t\"configurable\": \"true\",\r\n\t\t\t\"usageSpecCharacteristicValue\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"valueType\": \"string\",\r\n\t\t\t\t\t\"default\": \"false\",\r\n\t\t\t\t\t\"value\": \"\",\r\n\t\t\t\t\t\"valueFrom\": \"\",\r\n\t\t\t\t\t\"valueTo\": \"\"\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t}, {\r\n\t\t\t\"name\": \"duration\",\r\n\t\t\t\"description\": \"duration of the call\",\r\n\t\t\t\"configurable\": \"true\",\r\n\t\t\t\"usageSpecCharacteristicValue\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"valueType\": \"number\",\r\n\t\t\t\t\t\"default\": \"false\",\r\n\t\t\t\t\t\"value\": \"\",\r\n\t\t\t\t\t\"valueFrom\": \"0\",\r\n\t\t\t\t\t\"valueTo\": \"\"\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t}, {\r\n\t\t\t\"name\": \"unit\",\r\n\t\t\t\"description\": \"unit of the duration\",\r\n\t\t\t\"configurable\": \"true\",\r\n\t\t\t\"usageSpecCharacteristicValue\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"valueType\": \"number\",\r\n\t\t\t\t\t\"default\": \"false\",\r\n\t\t\t\t\t\"value\": \"SEC\",\r\n\t\t\t\t\t\"valueFrom\": \"\",\r\n\t\t\t\t\t\"valueTo\": \"\"\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t}, {\r\n\t\t\t\"name\": \"startDateTime\",\r\n\t\t\t\"description\": \"startdate and starttime of the call\",\r\n\t\t\t\"configurable\": \"true\",\r\n\t\t\t\"usageSpecCharacteristicValue\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"valueType\": \"dateTime\",\r\n\t\t\t\t\t\"default\": \"false\",\r\n\t\t\t\t\t\"value\": \"\",\r\n\t\t\t\t\t\"valueFrom\": \"\",\r\n\t\t\t\t\t\"valueTo\": \"\"\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t}, {\r\n\t\t\t\"name\": \"endDateTime\",\r\n\t\t\t\"description\": \"enddate and endtime of the call\",\r\n\t\t\t\"configurable\": \"true\",\r\n\t\t\t\"usageSpecCharacteristicValue\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"valueType\": \"dateTime\",\r\n\t\t\t\t\t\"default\": \"false\",\r\n\t\t\t\t\t\"value\": \"\",\r\n\t\t\t\t\t\"valueFrom\": \"\",\r\n\t\t\t\t\t\"valueTo\": \"\"\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t}\r\n\t]\r\n}\r\n" - } - ] + "info": { + "_postman_id": "4bf2fd51-87dd-0c5e-e780-3af2b43e8ded", + "name": "TMF Usage Management API", + "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" + }, + "item": [ + { + "name": "event subscriber", + "item": [ + { + "name": "/current", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "http://{{Host}}/DSUsageManagement/subscriber/api/current", + "description": "get last event" + }, + "response": [] + }, + { + "name": "/history", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "http://{{Host}}/DSUsageManagement/subscriber/api/history", + "description": "List all" + }, + "response": [] + }, + { + "name": "/history", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "http://{{Host}}/DSUsageManagement/subscriber/api/history", + "description": "delete all" + }, + "response": [] + } + ] + }, + { + "name": "hub", + "item": [ + { + "name": "/hub", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"callback\":\"http://localhost:8080/DSUsageManagement/subscriber/api/event\",\n \"query\":\"eventType=UsageCreationNotification,UsageUpdateNotification,UsageDeletionNotification,UsageValueChangeNotification,UsageStatusChangedNotification\"\n}" + }, + "url": "http://{{Host}}/DSUsageManagement/api/usageManagement/v2/hub", + "description": "create a hub" + }, + "response": [] + }, + { + "name": "/hub", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "http://{{Host}}/DSUsageManagement/api/usageManagement/v2/hub", + "description": "select all hubs" + }, + "response": [] + }, + { + "name": "delete all hubs", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "file", + "file": {} + }, + "url": "http://{{Host}}/DSUsageManagement/api/usageManagement/v2/hub", + "description": "delete all hubs" + }, + "response": [] + } + ] + }, + { + "name": "usageSpecification", + "item": [ + { + "name": "/usageSpecification/{id}", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{usageManagementApi}}/usageSpecification/:id", + "host": [ + "{{usageManagementApi}}" + ], + "path": [ + "usageSpecification", + ":id" + ], + "variable": [ + { + "value": "1", + "key": "id" + } + ] + }, + "description": "select one usageSpecification with id" + }, + "response": [] + }, + { + "name": "/usageSpecification", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n\t\"href\": \"http://serverlocation:port/usageManagement/usageSpecification/22\",\r\n\t\"name\": \"VoiceSpec\",\r\n\t\"description\": \"Spec for voice calls usage\",\r\n\t\"validFor\": {\r\n\t\t\"startDateTime\": \"2013-04-19T16:42:23-04:00\",\r\n\t\t\"endDateTime\": \"2099-06-19T00:00:00-04:00\"\r\n\t},\r\n\t\"usageSpecCharacteristic\": [\r\n\t\t{\r\n\t\t\t\"name\": \"originatingCountryCode\",\r\n\t\t\t\"description\": \"country code of the caller\",\r\n\t\t\t\"configurable\": \"true\",\r\n\t\t\t\"usageSpecCharacteristicValue\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"valueType\": \"number\",\r\n\t\t\t\t\t\"default\": \"false\",\r\n\t\t\t\t\t\"value\": \"\",\r\n\t\t\t\t\t\"valueFrom\": \"\",\r\n\t\t\t\t\t\"valueTo\": \"\"\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t}, {\r\n\t\t\t\"name\": \"originatingNumber\",\r\n\t\t\t\"description\": \"phone number of the caller\",\r\n\t\t\t\"configurable\": \"true\",\r\n\t\t\t\"usageSpecCharacteristicValue\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"valueType\": \"string\",\r\n\t\t\t\t\t\"default\": \"false\",\r\n\t\t\t\t\t\"value\": \"\",\r\n\t\t\t\t\t\"valueFrom\": \"\",\r\n\t\t\t\t\t\"valueTo\": \"\"\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t}, {\r\n\t\t\t\"name\": \"destinationCountryCode\",\r\n\t\t\t\"description\": \"country code of the called party\",\r\n\t\t\t\"configurable\": \"true\",\r\n\t\t\t\"usageSpecCharacteristicValue\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"valueType\": \"number\",\r\n\t\t\t\t\t\"default\": \"false\",\r\n\t\t\t\t\t\"value\": \"\",\r\n\t\t\t\t\t\"valueFrom\": \"\",\r\n\t\t\t\t\t\"valueTo\": \"\"\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t}, {\r\n\t\t\t\"name\": \"destinationNumber\",\r\n\t\t\t\"description\": \"phone number of the called party\",\r\n\t\t\t\"configurable\": \"true\",\r\n\t\t\t\"usageSpecCharacteristicValue\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"valueType\": \"string\",\r\n\t\t\t\t\t\"default\": \"false\",\r\n\t\t\t\t\t\"value\": \"\",\r\n\t\t\t\t\t\"valueFrom\": \"\",\r\n\t\t\t\t\t\"valueTo\": \"\"\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t}, {\r\n\t\t\t\"name\": \"duration\",\r\n\t\t\t\"description\": \"duration of the call\",\r\n\t\t\t\"configurable\": \"true\",\r\n\t\t\t\"usageSpecCharacteristicValue\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"valueType\": \"number\",\r\n\t\t\t\t\t\"default\": \"false\",\r\n\t\t\t\t\t\"value\": \"\",\r\n\t\t\t\t\t\"valueFrom\": \"0\",\r\n\t\t\t\t\t\"valueTo\": \"\"\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t}, {\r\n\t\t\t\"name\": \"unit\",\r\n\t\t\t\"description\": \"unit of the duration\",\r\n\t\t\t\"configurable\": \"true\",\r\n\t\t\t\"usageSpecCharacteristicValue\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"valueType\": \"number\",\r\n\t\t\t\t\t\"default\": \"false\",\r\n\t\t\t\t\t\"value\": \"SEC\",\r\n\t\t\t\t\t\"valueFrom\": \"\",\r\n\t\t\t\t\t\"valueTo\": \"\"\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t}, {\r\n\t\t\t\"name\": \"startDateTime\",\r\n\t\t\t\"description\": \"startdate and starttime of the call\",\r\n\t\t\t\"configurable\": \"true\",\r\n\t\t\t\"usageSpecCharacteristicValue\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"valueType\": \"dateTime\",\r\n\t\t\t\t\t\"default\": \"false\",\r\n\t\t\t\t\t\"value\": \"\",\r\n\t\t\t\t\t\"valueFrom\": \"\",\r\n\t\t\t\t\t\"valueTo\": \"\"\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t}, {\r\n\t\t\t\"name\": \"endDateTime\",\r\n\t\t\t\"description\": \"enddate and endtime of the call\",\r\n\t\t\t\"configurable\": \"true\",\r\n\t\t\t\"usageSpecCharacteristicValue\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"valueType\": \"dateTime\",\r\n\t\t\t\t\t\"default\": \"false\",\r\n\t\t\t\t\t\"value\": \"\",\r\n\t\t\t\t\t\"valueFrom\": \"\",\r\n\t\t\t\t\t\"valueTo\": \"\"\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t}\r\n\t]\r\n}\r\n" + }, + "url": "{{usageManagementApi}}/usageSpecification", + "description": "create a usageSpecification" + }, + "response": [] + }, + { + "name": "/usageSpecification/{id}", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "{{usageManagementApi}}/usageSpecification/:id", + "host": [ + "{{usageManagementApi}}" + ], + "path": [ + "usageSpecification", + ":id" + ], + "variable": [ + { + "value": "1", + "key": "id" + } + ] + }, + "description": "Delete one usageSpecification with id" + }, + "response": [] + }, + { + "name": "/usageSpecification", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{usageManagementApi}}/usageSpecification", + "description": "get all usage specifictions" + }, + "response": [] + } + ] + }, + { + "name": "usage", + "item": [ + { + "name": "/usage/{id}", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": { + "raw": "{{usageManagementApi}}/usage/:id", + "host": [ + "{{usageManagementApi}}" + ], + "path": [ + "usage", + ":id" + ], + "variable": [ + { + "value": "1", + "key": "id" + } + ] + }, + "description": "select one usage with id" + }, + "response": [] + }, + { + "name": "/usage", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n\r\n\t\"date\": \"2013-04-19T16:42:23-04:00\",\r\n\t\"type\": \"CloudCpuUsage\",\r\n\t\"description\": \"Description for individual usage content\",\r\n\t\"status\": \"Rated\",\r\n\t\"usageSpecification\": {\r\n\t\t\"href\": \"http://serverlocation:port/usageManagement/usageSpecification/234\",\r\n\t\t\"name\": \"Cloud CPU usage specification\"\r\n\t},\r\n\t\"usageCharacteristic\": [\r\n\t\t{\r\n\t\t\t\"name\": \"poolNumber\",\r\n\t\t\t\"value\": \"1\"\r\n\t\t}, {\r\n\t\t\t\"name\": \"characteristicType\",\r\n\t\t\t\"value\": \"Reserved\"\r\n\t\t}, {\r\n\t\t\t\"name\": \"value\",\r\n\t\t\t\"value\": \"2\"\r\n\t\t}, {\r\n\t\t\t\"name\": \"unit\",\r\n\t\t\t\"value\": \"GHZ\"\r\n\t\t}\r\n\t],\r\n\t\"relatedParty\": [{\r\n\t\t\"role\": \"customer\",\r\n\t\t\"id\": \"1\",\r\n\t\t\"href\": \"http://serverlocation:port/partyManagement/organization/1\"\r\n\t}],\r\n\t\"ratedProductUsage\": [\r\n\t\t{\r\n\t\t\t\"ratingDate\": \"2013-04-19T16:42:23-04:00\",\r\n\t\t\t\"usageRatingTag\": \"Usage\",\r\n\t\t\t\"isBilled\": \"false\",\r\n\t\t\t\"ratingAmountType\": \"Total\",\r\n\t\t\t\"taxIncludedRatingAmount\": \"12.00\",\r\n\t\t\t\"taxExcludedRatingAmount\": \"10.00\",\r\n\t\t\t\"taxRate\": \"20\",\r\n\t\t\t\"isTaxExempt\": \"false\",\r\n\t\t\t\"offerTariffType\": \"Normal\",\r\n\t\t\t\"bucketValueConvertedInAmount\": \"\",\r\n\t\t\t\"currencyCode\": \"EUR\",\r\n\t\t\t\"productRef\": \"http://serverlocation:port/catalogManagement/productSpecification/345\"\r\n\t\t}\r\n\t]\r\n}\r\n" + }, + "url": "{{usageManagementApi}}/usage", + "description": "create a usage" + }, + "response": [] + }, + { + "name": "/usage/{id}", + "request": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n\r\n\t\"date\": \"2013-04-19T16:42:23-04:00\",\r\n\t\"type\": \"CloudCpuUsage\",\r\n\t\"description\": \"Description for individual usage content PATCHED\",\r\n\t\"status\": \"Rated\",\r\n\t\"usageSpecification\": {\r\n\t\t\"href\": \"http://serverlocation:port/usageManagement/usageSpecification/234\",\r\n\t\t\"name\": \"Cloud CPU usage specification\"\r\n\t},\r\n\t\"relatedParty\": [{\r\n\t\t\"role\": \"customerPATCHED\",\r\n\t\t\"id\": \"1\",\r\n\t\t\"href\": \"http://serverlocation:port/partyManagement/organization/1\"\r\n\t}],\r\n\t\"ratedProductUsage\": [\r\n{\r\n\"ratingDate\": \"2013-04-19T22:42:23+02:00\",\r\n\"usageRatingTag\": \"Usage\",\r\n\"isBilled\": false,\r\n\"ratingAmountType\": \"Total\",\r\n\"taxIncludedRatingAmount\": 12,\r\n\"taxExcludedRatingAmount\": 10,\r\n\"taxRate\": 20,\r\n\"isTaxExempt\": false,\r\n\"offerTariffType\": \"Normal\",\r\n\"currencyCode\": \"EUR\",\r\n\"productRef\": \"http://serverlocation:port/catalogManagement/productSpecification/345\"\r\n}\r\n]\r\n}\r\n" + }, + "url": { + "raw": "{{usageManagementApi}}/usage/:id", + "host": [ + "{{usageManagementApi}}" + ], + "path": [ + "usage", + ":id" + ], + "variable": [ + { + "value": "1", + "key": "id" + } + ] + }, + "description": "partial update of usage with id" + }, + "response": [] + }, + { + "name": "/usage", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "formdata", + "formdata": [] + }, + "url": "{{usageManagementApi}}/usage/", + "description": "get all usages" + }, + "response": [] + } + ] + } + ] } \ No newline at end of file