{
  "info": {
    "_postman_id": "apeiron-pots__plain_old_telephone_",
    "name": "Apeiron API - POTs (Plain Old Telephone)",
    "description": "Plain Old Telephone Service line ordering \u2014 add lines and new service orders.\n\nCollection Version: 1.0.0\nBase URL: https://api.apeiron.io/v2\nAuth: HTTP Basic (email + API token) or JWT Bearer token\nAPI Reference: https://api.apeiron.io/v2/",
    "version": "1.0.0",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "basic",
    "basic": [
      {
        "key": "username",
        "value": "{{username}}",
        "type": "string"
      },
      {
        "key": "password",
        "value": "{{api_token}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "base_url",
      "value": "https://api.apeiron.io",
      "type": "string"
    },
    {
      "key": "username",
      "value": "",
      "type": "string"
    },
    {
      "key": "api_token",
      "value": "",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "POTs",
      "description": "POTs endpoints",
      "item": [
        {
          "name": "Create POTs/Analog order for existing service",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/voice/pots/order/add_line",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "voice",
                "pots",
                "order",
                "add_line"
              ]
            },
            "description": "Create a POTs Analog order for an existing device.\nThis endpoint allows you to add new phone numbers to an existing POTs/Analog device\nby providing reserved numbers and configuring features for each number.\n",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"hostname\": \"The hostname of the existing POTs/Analog\",\n  \"term_length_in_months\": 12,\n  \"reservation_id\": \"Reservation ID for the phone numbers tha\",\n  \"port_orders\": [],\n  \"number_features\": \"\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Create POTs/Analog order for new service",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/voice/pots/order/new_service",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "voice",
                "pots",
                "order",
                "new_service"
              ]
            },
            "description": "Create a POTs Analog order for a new service/device.\nThis endpoint handles new installations, including physical installation details,\nwireless site survey, and CPE (Customer Premises Equipment) details.\n",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"shipping_address\": \"shipping_address\",\n  \"shipping_company_name\": \"Shipping company name\",\n  \"shipping_company_contact\": \"Shipping company contact\",\n  \"wireline\": \"Wireline type (P=Primary, S=Secondary)\",\n  \"wireless\": \"Wireless type (P=Primary, S=Secondary)\",\n  \"wireless_primary_provider\": 0,\n  \"wireless_secondary_provider\": 0,\n  \"primary_address\": \"primary_address\",\n  \"e911_calling_name\": \"E911 calling name\",\n  \"reservation_id\": \"Reservation ID for the phone numbers\",\n  \"term_length_in_months\": 12,\n  \"port_orders\": [],\n  \"number_features\": \"\",\n  \"physical_installation\": \"physical_installation\",\n  \"wireless_site_survey\": \"wireless_site_survey\",\n  \"line_identification_survey\": \"line_identification_survey\",\n  \"cpe\": \"cpe\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        }
      ]
    }
  ]
}