{ "info": { "name": "EnableSMS API Test Scenarios", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "Valid enable SMS request", "request": { "method": "POST", "header": [ { "key": "Authorization", "value": "0DfePSOdSOkOawmL5NeGhLlltcQC95" }, { "key": "Content-Type", "value": "application/json" } ], "url": { "raw": "https://signalmash.gventure.info/api/enableSMS?iduser=123", "protocol": "https", "host": ["signalmash", "gventure", "info"], "path": ["api", "enableSMS"], "query": [{ "key": "iduser", "value": "123" }] }, "body": { "mode": "raw", "raw": "{ \"DID\": \"1234567890\", \"CampaignId\": \"CMP12345\" }" } } }, { "name": "Missing DID field", "request": { "method": "POST", "header": [ { "key": "Authorization", "value": "0DfePSOdSOkOawmL5NeGhLlltcQC95" }, { "key": "Content-Type", "value": "application/json" } ], "url": { "raw": "https://signalmash.gventure.info/api/enableSMS?iduser=123", "protocol": "https", "host": ["signalmash", "gventure", "info"], "path": ["api", "enableSMS"], "query": [{ "key": "iduser", "value": "123" }] }, "body": { "mode": "raw", "raw": "{ \"CampaignId\": \"CMP12345\" }" } } }, { "name": "Missing CampaignId field", "request": { "method": "POST", "header": [ { "key": "Authorization", "value": "0DfePSOdSOkOawmL5NeGhLlltcQC95" }, { "key": "Content-Type", "value": "application/json" } ], "url": { "raw": "https://signalmash.gventure.info/api/enableSMS?iduser=123", "protocol": "https", "host": ["signalmash", "gventure", "info"], "path": ["api", "enableSMS"], "query": [{ "key": "iduser", "value": "123" }] }, "body": { "mode": "raw", "raw": "{ \"DID\": \"1234567890\" }" } } }, { "name": "Invalid DID format (non-numeric)", "request": { "method": "POST", "header": [ { "key": "Authorization", "value": "0DfePSOdSOkOawmL5NeGhLlltcQC95" }, { "key": "Content-Type", "value": "application/json" } ], "url": { "raw": "https://signalmash.gventure.info/api/enableSMS?iduser=123", "protocol": "https", "host": ["signalmash", "gventure", "info"], "path": ["api", "enableSMS"], "query": [{ "key": "iduser", "value": "123" }] }, "body": { "mode": "raw", "raw": "{ \"DID\": \"abcd1234\", \"CampaignId\": \"CMP12345\" }" } } }, { "name": "Invalid CampaignId format", "request": { "method": "POST", "header": [ { "key": "Authorization", "value": "0DfePSOdSOkOawmL5NeGhLlltcQC95" }, { "key": "Content-Type", "value": "application/json" } ], "url": { "raw": "https://signalmash.gventure.info/api/enableSMS?iduser=123", "protocol": "https", "host": ["signalmash", "gventure", "info"], "path": ["api", "enableSMS"], "query": [{ "key": "iduser", "value": "123" }] }, "body": { "mode": "raw", "raw": "{ \"DID\": \"1234567890\", \"CampaignId\": \"123@@@\" }" } } }, { "name": "Missing iduser in query params", "request": { "method": "POST", "header": [ { "key": "Authorization", "value": "0DfePSOdSOkOawmL5NeGhLlltcQC95" }, { "key": "Content-Type", "value": "application/json" } ], "url": { "raw": "https://signalmash.gventure.info/api/enableSMS", "protocol": "https", "host": ["signalmash", "gventure", "info"], "path": ["api", "enableSMS"] }, "body": { "mode": "raw", "raw": "{ \"DID\": \"1234567890\", \"CampaignId\": \"CMP12345\" }" } } }, { "name": "Unauthorized request (no token)", "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" } ], "url": { "raw": "https://signalmash.gventure.info/api/enableSMS?iduser=123", "protocol": "https", "host": ["signalmash", "gventure", "info"], "path": ["api", "enableSMS"], "query": [{ "key": "iduser", "value": "123" }] }, "body": { "mode": "raw", "raw": "{ \"DID\": \"1234567890\", \"CampaignId\": \"CMP12345\" }" } } }, { "name": "DID not found in system", "request": { "method": "POST", "header": [ { "key": "Authorization", "value": "0DfePSOdSOkOawmL5NeGhLlltcQC95" }, { "key": "Content-Type", "value": "application/json" } ], "url": { "raw": "https://signalmash.gventure.info/api/enableSMS?iduser=123", "protocol": "https", "host": ["signalmash", "gventure", "info"], "path": ["api", "enableSMS"], "query": [{ "key": "iduser", "value": "123" }] }, "body": { "mode": "raw", "raw": "{ \"DID\": \"9999999999\", \"CampaignId\": \"CMP12345\" }" } } } ] }