{
  "info": {
    "name": "Sheilmeier - Segmentation API complete",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "basic",
    "basic": [
      {
        "key": "username",
        "value": "{{apiUsername}}",
        "type": "string"
      },
      {
        "key": "password",
        "value": "{{apiPassword}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://cook.shortest-route.com/td_ims_sheilmeier/api/rest/v19"
    },
    {
      "key": "apiUsername",
      "value": "apiuser_test@sheilmeier.com"
    },
    {
      "key": "apiPassword",
      "value": "PASTE_PASSWORD_HERE"
    },
    {
      "key": "segmentationId",
      "value": "72D3FE67-575F-47A2-AACD-073FFE396CC8"
    }
  ],
  "item": [
    {
      "name": "segmentation/create",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Accept",
            "value": "application/json"
          },
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/segmentation/create",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "segmentation",
            "create"
          ],
          "query": []
        },
        "description": "Create a segment plan\nDocs: https://docs.mapp.com/apidocs/create-a-selection-plan",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      },
      "response": []
    },
    {
      "name": "segmentation/delete",
      "request": {
        "method": "DELETE",
        "header": [
          {
            "key": "Accept",
            "value": "application/json"
          },
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/segmentation/delete?segmentationId={{segmentationId}}",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "segmentation",
            "delete"
          ],
          "query": [
            {
              "key": "segmentationId",
              "value": "{{segmentationId}}"
            }
          ]
        },
        "description": "Delete a segment plan\nDocs: https://docs.mapp.com/apidocs/delete-a-selection-plan"
      },
      "response": []
    },
    {
      "name": "segmentation/find",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Accept",
            "value": "application/json"
          },
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/segmentation/find",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "segmentation",
            "find"
          ],
          "query": []
        },
        "description": "Find segment plans\nDocs: https://docs.mapp.com/apidocs/find-selection-plans",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      },
      "response": []
    },
    {
      "name": "segmentation/get",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Accept",
            "value": "application/json"
          },
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/segmentation/get?segmentationId={{segmentationId}}",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "segmentation",
            "get"
          ],
          "query": [
            {
              "key": "segmentationId",
              "value": "{{segmentationId}}"
            }
          ]
        },
        "description": "Get a segment plan\nDocs: https://docs.mapp.com/apidocs/get-a-selection-plan"
      },
      "response": []
    },
    {
      "name": "segmentation/getCount",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Accept",
            "value": "application/json"
          },
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/segmentation/getCount?segmentationId={{segmentationId}}",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "segmentation",
            "getCount"
          ],
          "query": [
            {
              "key": "segmentationId",
              "value": "{{segmentationId}}"
            }
          ]
        },
        "description": "Get a segment count\nDocs: https://docs.mapp.com/apidocs/get-a-segment-count"
      },
      "response": []
    },
    {
      "name": "segmentation/preview",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Accept",
            "value": "application/json"
          },
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/segmentation/preview?segmentationId={{segmentationId}}",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "segmentation",
            "preview"
          ],
          "query": [
            {
              "key": "segmentationId",
              "value": "{{segmentationId}}"
            }
          ]
        },
        "description": "Preview a segment plan\nDocs: https://docs.mapp.com/apidocs/preview-a-selection-plan"
      },
      "response": []
    },
    {
      "name": "segmentation/publish",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Accept",
            "value": "application/json"
          },
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/segmentation/publish",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "segmentation",
            "publish"
          ],
          "query": []
        },
        "description": "Publish a segment plan\nDocs: https://docs.mapp.com/apidocs/publish-a-selection-plan",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      },
      "response": []
    },
    {
      "name": "segmentation/schema",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Accept",
            "value": "application/json"
          },
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/segmentation/schema",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "segmentation",
            "schema"
          ],
          "query": []
        },
        "description": "Get the segment plan schema\nDocs: https://docs.mapp.com/apidocs/get-the-selection-plan-schema"
      },
      "response": []
    },
    {
      "name": "segmentation/triggerCount",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Accept",
            "value": "application/json"
          },
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/segmentation/triggerCount",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "segmentation",
            "triggerCount"
          ],
          "query": []
        },
        "description": "Trigger a segment count\nDocs: https://docs.mapp.com/apidocs/trigger-a-segment-count",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      },
      "response": []
    },
    {
      "name": "segmentation/update",
      "request": {
        "method": "PUT",
        "header": [
          {
            "key": "Accept",
            "value": "application/json"
          },
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/segmentation/update",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "segmentation",
            "update"
          ],
          "query": []
        },
        "description": "Update a segment plan\nDocs: https://docs.mapp.com/apidocs/update-a-selection-plan",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      },
      "response": []
    }
  ]
}