{
  "info": {
    "_postman_id": "23defd81-b98f-49a6-8ae7-ca461701aece",
    "name": "SAM",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "_exporter_id": "16333436"
  },
  "item": [
    {
      "name": "Survey Template",
      "item": [
        {
          "name": "All Survey Templates",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/survey-templates?userId=5313",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "survey-templates"
              ],
              "query": [
                {
                  "key": "userId",
                  "value": "5313"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Survey Template By ID",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/survey-template/7",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "survey-template",
                "7"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Create Survey Template",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"survey_name\": \"new survey 1\",\r\n    \"survey_description\": \"abcd\",\r\n    \"scoringtype_id\": 1,\r\n    \"templatetype_id\": 1,\r\n    \"reference_tags\": \"abcd\",\r\n    \"terms_conditions\": \"sasd sadsa\",\r\n    \"created_by\": 2,\r\n    \"status_id\": 2,\r\n    \"survey_jsondata\": \"\",\r\n    \"min_score\":0,\r\n    \"max_score\":0\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{sam}}/survey-template",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "survey-template"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Update Survey Template",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"survey_name\": \"new survey 12\",\r\n    \"survey_description\": \"abcd\",\r\n    \"scoringtype_id\": 1,\r\n    \"templatetype_id\": 1,\r\n    \"reference_tags\": \"abcd\",\r\n    \"terms_conditions\": \"sasd sadsa\",\r\n    \"created_by\": 2,\r\n    \"survey_jsondata\": {\r\n        \"display\": \"wizard\",\r\n        \"components\": [\r\n            {\r\n            \"title\": \"Section 1\",\r\n            \"label\": \"Page 1\",\r\n            \"type\": \"panel\",\r\n            \"key\": \"page1\",\r\n            \"input\": false,\r\n            \"tableView\": false,\r\n            \"components\": [\r\n                {\r\n                \"label\": \"Text Field\",\r\n                \"applyMaskOn\": \"change\",\r\n                \"tableView\": true,\r\n                \"validateWhenHidden\": false,\r\n                \"key\": \"textField\",\r\n                \"type\": \"textfield\",\r\n                \"input\": true\r\n                },\r\n                {\r\n                \"label\": \"Text Area\",\r\n                \"applyMaskOn\": \"change\",\r\n                \"autoExpand\": false,\r\n                \"tableView\": true,\r\n                \"validateWhenHidden\": false,\r\n                \"key\": \"textArea\",\r\n                \"type\": \"textarea\",\r\n                \"input\": true\r\n                },\r\n                {\r\n                \"label\": \"Password\",\r\n                \"applyMaskOn\": \"change\",\r\n                \"tableView\": false,\r\n                \"validateWhenHidden\": false,\r\n                \"key\": \"password\",\r\n                \"type\": \"password\",\r\n                \"input\": true,\r\n                \"protected\": true\r\n                },\r\n                {\r\n                \"label\": \"Number\",\r\n                \"applyMaskOn\": \"change\",\r\n                \"mask\": false,\r\n                \"tableView\": false,\r\n                \"delimiter\": false,\r\n                \"requireDecimal\": false,\r\n                \"inputFormat\": \"plain\",\r\n                \"truncateMultipleSpaces\": false,\r\n                \"validateWhenHidden\": false,\r\n                \"key\": \"number\",\r\n                \"type\": \"number\",\r\n                \"input\": true\r\n                }\r\n            ],\r\n            \"customTitleUpdated\": true\r\n            }\r\n        ]\r\n        }\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{sam}}/survey-template/1",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "survey-template",
                "1"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Duplicate Survey",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"user_id\": 5313\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{sam}}/survey-template/62/duplicate",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "survey-template",
                "62",
                "duplicate"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Delete Survey Template",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/survey-template/7",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "survey-template",
                "7"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Change Published Status",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/survey-template/7/status",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "survey-template",
                "7",
                "status"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Published Template by user id",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/survey-template/published?userId=1",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "survey-template",
                "published"
              ],
              "query": [
                {
                  "key": "userId",
                  "value": "1"
                }
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Campaign",
      "item": [
        {
          "name": "Create Campaign Template",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{sam}}/campaign-template",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "campaign-template"
              ]
            }
          },
          "response": []
        },
        {
          "name": "All Campaigns By User",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/campaign-template?userId=5313",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "campaign-template"
              ],
              "query": [
                {
                  "key": "userId",
                  "value": "5313"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Create Reviewer / Approver",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"first_name\": \"susil\",\r\n    \"last_name\": \"kumar\",\r\n    \"email\": \"susil@gmail.com\",\r\n    \"password\": \"550e8400-e29b-41d4-a716-4\",\r\n    \"organisation\": \"Microsoft\",\r\n    \"token\": \"550e8400-e29b-41d4-a716-446655440000\",\r\n    \"created_by\": 1\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{sam}}/campaign-template/add-reviewer-approver",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "campaign-template",
                "add-reviewer-approver"
              ]
            }
          },
          "response": []
        },
        {
          "name": "All Reviewers & Approvers",
          "request": {
            "method": "GET",
            "header": []
          },
          "response": []
        },
        {
          "name": "Delete Campaign",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/campaign-template/7",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "campaign-template",
                "7"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Duplicate Campaign",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/campaign-template/7/duplicate",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "campaign-template",
                "7",
                "duplicate"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Step Names For Rule",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/campaign-template/step-names/133",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "campaign-template",
                "step-names",
                "133"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Delete Rule",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/campaign-template/step-rule/30/delete",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "campaign-template",
                "step-rule",
                "30",
                "delete"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Duplicate Rules",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"rule_id\":1,\r\n    \"created_by\":5313\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{sam}}/campaign-template/duplicate/step-rule",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "campaign-template",
                "duplicate",
                "step-rule"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Rule by ID",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/campaign-template/rule/171",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "campaign-template",
                "rule",
                "171"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Campaign by ID",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/campaign-details/723",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "campaign-details",
                "723"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Master Data",
      "item": [
        {
          "name": "All Scoring Types",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/scoring-types",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "scoring-types"
              ]
            }
          },
          "response": []
        },
        {
          "name": "All Template Types",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/template-types",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "template-types"
              ]
            }
          },
          "response": []
        },
        {
          "name": "All Campaign Step Types",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/template-types",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "template-types"
              ]
            }
          },
          "response": []
        },
        {
          "name": "All Campaign Rating Scales",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/template-types",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "template-types"
              ]
            }
          },
          "response": []
        },
        {
          "name": "All Campaign Scale Types",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/campaign-scale-types",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "campaign-scale-types"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Scale Types by rating scale id",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/campaign-scale-types",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "campaign-scale-types"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Rule Conditions List",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/campaign-scale-types",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "campaign-scale-types"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Rule Action Type List",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/campaign-scale-types",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "campaign-scale-types"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Rule Event Type List",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/master/rule-event-types",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "master",
                "rule-event-types"
              ]
            }
          },
          "response": []
        },
        {
          "name": "All Trigger Type List",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/master/rule-trigger-types",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "master",
                "rule-trigger-types"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Rule Trigger Type By Event ID",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/master/rule-event-types/2/trigger-types",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "master",
                "rule-event-types",
                "2",
                "trigger-types"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Rule Condition By Event ID",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/master/rule-event-types/1/conditions",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "master",
                "rule-event-types",
                "1",
                "conditions"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Campaign status",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/master/campaign-status",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "master",
                "campaign-status"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Rule Frequency",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/master/rule-frequencies",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "master",
                "rule-frequencies"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Rule Expire",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/master/rule-expire",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "master",
                "rule-expire"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Rule Repeat",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/master/rule-repeat",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "master",
                "rule-repeat"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Rule Repeat Ends By",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/master/rule-repeat-end-by",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "master",
                "rule-repeat-end-by"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Users",
      "item": [
        {
          "name": "All User",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/user",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "user"
              ]
            }
          },
          "response": []
        },
        {
          "name": "User Details by ID",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/user/1",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "user",
                "1"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Queue",
      "item": [
        {
          "name": "Recurrence campaigns",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/recurrence-campaigns",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "recurrence-campaigns"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Questions Name By Step",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"launchCampaignId\":148,\r\n    \"campaignStepId\": 28\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{sam}}/formio/questions-step",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "formio",
                "questions-step"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Email ID",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"userId\":6957\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{sam}}/get-email-id",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "get-email-id"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get survey start date",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"launchCampaignId\":384,\r\n    \"campaignStepId\": 1231,\r\n    \"respondentId\": 5313\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{sam}}/get-survey-start-date",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "get-survey-start-date"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get survey end date",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"launchCampaignId\":384,\r\n    \"campaignStepId\": 1231,\r\n    \"respondentId\": 5313\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{sam}}/get-survey-end-date",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "get-survey-end-date"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Review start date",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"launchCampaignId\":372,\r\n    \"campaignStepId\": 1155,\r\n    \"respondentId\": 6957\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{sam}}/get-review-start-date",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "get-review-start-date"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Review end date",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"launchCampaignId\":384,\r\n    \"campaignStepId\": 1231,\r\n    \"respondentId\": 5313\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{sam}}/get-review-end-date",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "get-review-end-date"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Approve start date",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"launchCampaignId\":384,\r\n    \"campaignStepId\": 1231,\r\n    \"respondentId\": 5313\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{sam}}/get-approve-start-date",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "get-approve-start-date"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Approve end date",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"launchCampaignId\":384,\r\n    \"campaignStepId\": 1231,\r\n    \"respondentId\": 5313\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{sam}}/get-approve-end-date",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "get-approve-end-date"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Rule Update Survey Status",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"launchCampaignId\":19,\r\n    \"respondentId\":6908,\r\n    \"surveyId\":34,\r\n    \"statusId\":2,\r\n    \"createdBy\":5313\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{sam}}/rules/survey-status",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "rules",
                "survey-status"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Rule Update Campaign Status",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{sam}}/rules/campaign-status",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "rules",
                "campaign-status"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Run Rules",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"campaignLaunchId\":747,\r\n    \"campaignStepId\":3382,\r\n    \"userId\":6908,\r\n    \"respondentId\":6908,\r\n    \"campaignStepRuleId\": 578\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{sam}}/rules/evaluate",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "rules",
                "evaluate"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Rule Schedule",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"campaignLaunchId\":411,\r\n    \"campaignStepId\":1354,\r\n    \"userId\":5313,\r\n    \"respondentId\":312\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{sam}}/rule-schedule",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "rule-schedule"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Check Rule Schedule",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"campaignLaunchId\":411,\r\n    \"campaignStepId\":1354,\r\n    \"userId\":5313,\r\n    \"respondentId\":312\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{sam}}/check-rule-schedule",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "check-rule-schedule"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Launch Campaign",
      "item": [
        {
          "name": "Rules by Step ID",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/launched-campaign-step-rule/2861",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "launched-campaign-step-rule",
                "2861"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Emails for rule job",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/emails-step-rule/219",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "emails-step-rule",
                "219"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Launch campaign email",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/emails-step-rule/219",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "emails-step-rule",
                "219"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Create Recurrence Campaign",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/launched-campaign-create-recurrence/518",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "launched-campaign-create-recurrence",
                "518"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Update Recurrence Campaign",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/launched-campaign-update-recurrence/1",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "launched-campaign-update-recurrence",
                "1"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Route to redirect",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{sam}}/route-to-step-respondent",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "route-to-step-respondent"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Respondent",
      "item": [
        {
          "name": "Route to step",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"launchCampaignId\":1,\r\n    \"stepId\":1,\r\n    \"respondentId\":1,\r\n    \"createdBy\":1\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{sam}}/route-to-step-respondent",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "route-to-step-respondent"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Follow up query",
      "item": [
        {
          "name": "Get survey by step id",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/get-surveys-by-step/2789",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "get-surveys-by-step",
                "2789"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get global survey by campaign",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/get-global-survey/616",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "get-global-survey",
                "616"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get sections by survey id",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{sam}}/get-sections-by-survey/8",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "get-sections-by-survey",
                "8"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get questions by section",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "x-api-key",
                "value": "a12f3b4d-9c76-4f21-bef8-57d2a7c9e804",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n    \"surveyId\": 8,\r\n    \"sectionName\": \"Section 2\"\r\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{sam}}/get-questions-by-section",
              "host": [
                "{{sam}}"
              ],
              "path": [
                "get-questions-by-section"
              ]
            }
          },
          "response": []
        }
      ]
    }
  ]
}