|
325 | 325 | },
|
326 | 326 | "response": []
|
327 | 327 | },
|
328 |
| - { |
329 |
| - "name": "KAPS - SMS", |
330 |
| - "event": [ |
331 |
| - { |
332 |
| - "listen": "test", |
333 |
| - "script": { |
334 |
| - "exec": [ |
335 |
| - "" |
336 |
| - ], |
337 |
| - "type": "text/javascript", |
338 |
| - "packages": {} |
339 |
| - } |
340 |
| - } |
341 |
| - ], |
342 |
| - "request": { |
343 |
| - "method": "POST", |
344 |
| - "header": [ |
345 |
| - { |
346 |
| - "key": "Content-Type", |
347 |
| - "value": "application/json", |
348 |
| - "type": "text" |
349 |
| - }, |
350 |
| - { |
351 |
| - "key": "x-api-key", |
352 |
| - "value": "{{x-api-key}}", |
353 |
| - "type": "text" |
354 |
| - } |
355 |
| - ], |
356 |
| - "body": { |
357 |
| - "mode": "raw", |
358 |
| - "raw": "{\n // Assuming providerId 8 also has channelType 8\n \"providerId\": 8,\n \"data\": {\n \"indiaDltContentTemplateId\": \"1707160146562806652\",\n \"indiaDltPrincipalEntityId\":\"1601100000000005964\",\n \"to\": \"+918900100002,+918900100003\",\n \"text\": \"This is a test message from OsmoX.\\nThank you for using our service.\"\n }\n}" |
359 |
| - }, |
360 |
| - "url": { |
361 |
| - "raw": "{{base_url}}/notifications", |
362 |
| - "host": [ |
363 |
| - "{{base_url}}" |
364 |
| - ], |
365 |
| - "path": [ |
366 |
| - "notifications" |
367 |
| - ] |
368 |
| - }, |
369 |
| - "description": "Allows successfully creating new notification for the KAPS SMS channel type." |
370 |
| - }, |
371 |
| - "response": [] |
372 |
| - }, |
373 | 328 | {
|
374 | 329 | "name": "AWS - PushNotification - Android",
|
375 | 330 | "event": [
|
|
1429 | 1384 | },
|
1430 | 1385 | "response": []
|
1431 | 1386 | },
|
1432 |
| - { |
1433 |
| - "name": "Create KAPSystem SMS Provider", |
1434 |
| - "event": [ |
1435 |
| - { |
1436 |
| - "listen": "test", |
1437 |
| - "script": { |
1438 |
| - "exec": [ |
1439 |
| - "" |
1440 |
| - ], |
1441 |
| - "type": "text/javascript", |
1442 |
| - "packages": {} |
1443 |
| - } |
1444 |
| - } |
1445 |
| - ], |
1446 |
| - "request": { |
1447 |
| - "method": "POST", |
1448 |
| - "header": [ |
1449 |
| - { |
1450 |
| - "key": "Authorization", |
1451 |
| - "value": "Bearer {{auth-token}}", |
1452 |
| - "type": "text" |
1453 |
| - }, |
1454 |
| - { |
1455 |
| - "key": "Content-Type", |
1456 |
| - "value": "application/json", |
1457 |
| - "type": "text" |
1458 |
| - } |
1459 |
| - ], |
1460 |
| - "body": { |
1461 |
| - "mode": "graphql", |
1462 |
| - "graphql": { |
1463 |
| - "query": "mutation CreateProvider($applicationId: Float!) {\n provider(createProviderInput: {\n applicationId: $applicationId,\n channelType: 8\n configuration: {\n KAP_SMS_BASE_API_URL:\"http://<api-domain>/api/v3/sendsms/plain\",\n KAP_SMS_ACCOUNT_USERNAME: \"<YOUR_KAP_SMS_ACCOUNT_USERNAME>\", \n KAP_SMS_ACCOUNT_PASSWORD: \"<YOUR_KAP_SMS_ACCOUNT_PASSWORD>\", \n KAP_SMS_FROM: \"KAPMSG\" \n },\n isEnabled: 1,\n name: \"<New Provider Name>\",\n userId: 1,\n }) {\n providerId\n applicationId\n channelType\n configuration\n isEnabled\n name\n userId\n createdOn\n updatedOn\n status\n }\n}", |
1464 |
| - "variables": "{\n \"applicationId\": {{applicationId}}\n}" |
1465 |
| - } |
1466 |
| - }, |
1467 |
| - "url": { |
1468 |
| - "raw": "{{base_url}}/graphql", |
1469 |
| - "host": [ |
1470 |
| - "{{base_url}}" |
1471 |
| - ], |
1472 |
| - "path": [ |
1473 |
| - "graphql" |
1474 |
| - ] |
1475 |
| - }, |
1476 |
| - "description": "Allows successfully creating a provider based on the options passed." |
1477 |
| - }, |
1478 |
| - "response": [] |
1479 |
| - }, |
1480 | 1387 | {
|
1481 | 1388 | "name": "Create AWS SNS Push Notification Provider",
|
1482 | 1389 | "event": [
|
|
2122 | 2029 | },
|
2123 | 2030 | "response": []
|
2124 | 2031 | },
|
2125 |
| - { |
2126 |
| - "name": "KAPS SMS cURL", |
2127 |
| - "request": { |
2128 |
| - "method": "GET", |
2129 |
| - "header": [], |
2130 |
| - "url": { |
2131 |
| - "raw": "{{KAP_SMS_BASE_API_URL}}?username={{KAP_SMS_ACCOUNT_USERNAME}}&password={{KAP_SMS_ACCOUNT_PASSWORD}}&from={{KAP_SMS_FROM}}&indiaDltContentTemplateId=1707160146562806652&indiaDltPrincipalEntityId=1601100000000005964&to=+918900100002&text=This is a test message from OsmoX.", |
2132 |
| - "host": [ |
2133 |
| - "{{KAP_SMS_BASE_API_URL}}" |
2134 |
| - ], |
2135 |
| - "query": [ |
2136 |
| - { |
2137 |
| - "key": "username", |
2138 |
| - "value": "{{KAP_SMS_ACCOUNT_USERNAME}}" |
2139 |
| - }, |
2140 |
| - { |
2141 |
| - "key": "password", |
2142 |
| - "value": "{{KAP_SMS_ACCOUNT_PASSWORD}}" |
2143 |
| - }, |
2144 |
| - { |
2145 |
| - "key": "from", |
2146 |
| - "value": "{{KAP_SMS_FROM}}" |
2147 |
| - }, |
2148 |
| - { |
2149 |
| - "key": "indiaDltContentTemplateId", |
2150 |
| - "value": "1707160146562806652" |
2151 |
| - }, |
2152 |
| - { |
2153 |
| - "key": "indiaDltPrincipalEntityId", |
2154 |
| - "value": "1601100000000005964" |
2155 |
| - }, |
2156 |
| - { |
2157 |
| - "key": "to", |
2158 |
| - "value": "+918900100002" |
2159 |
| - }, |
2160 |
| - { |
2161 |
| - "key": "text", |
2162 |
| - "value": "This is a test message from OsmoX." |
2163 |
| - } |
2164 |
| - ] |
2165 |
| - } |
2166 |
| - }, |
2167 |
| - "response": [] |
2168 |
| - }, |
2169 | 2032 | {
|
2170 | 2033 | "name": "Twilio Voice Call cURL",
|
2171 | 2034 | "request": {
|
|
0 commit comments