{
  "opencollection": "1.0.0",
  "info": {
    "name": "Alianza Business Line API",
    "version": "2"
  },
  "items": [
    {
      "info": {
        "name": "Business Line",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve business line list",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.d2.alianza.com/v2/partition/:partitionId/account/:accountId/business-line",
            "headers": [
              {
                "name": "X-AUTH-TOKEN",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "partitionId",
                "value": "",
                "type": "path",
                "description": "ID of partition"
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "ID of account"
              }
            ]
          },
          "docs": "Use to retrieve a list of business lines associated to an account"
        },
        {
          "info": {
            "name": "Create a new business line",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.d2.alianza.com/v2/partition/:partitionId/account/:accountId/business-line",
            "headers": [
              {
                "name": "X-AUTH-TOKEN",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "partitionId",
                "value": "",
                "type": "path",
                "description": "ID of partition"
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "ID of account"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Use to create a new business line on an account. This includes the physical device specifications, call handling rules, and SIP credentials."
        },
        {
          "info": {
            "name": "Retrieve business line list with lines in expanded view format",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.d2.alianza.com/v2/partition/:partitionId/account/:accountId/business-line/views/expanded",
            "headers": [
              {
                "name": "X-AUTH-TOKEN",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "partitionId",
                "value": "",
                "type": "path",
                "description": "ID of partition"
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "ID of account"
              }
            ]
          },
          "docs": "Use to retrieve a list of business lines in expanded view format which is associated to an account"
        },
        {
          "info": {
            "name": "Retrieve business line call handling",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.d2.alianza.com/v2/partition/:partitionId/account/:accountId/business-line/:businessLineId/call-handling",
            "headers": [
              {
                "name": "X-AUTH-TOKEN",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "businessLineId",
                "value": "",
                "type": "path",
                "description": "ID of Business Line"
              },
              {
                "name": "partitionId",
                "value": "",
                "type": "path",
                "description": "ID of partition"
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "ID of account"
              }
            ]
          },
          "docs": "Use to get the call handling specifications for a business line"
        },
        {
          "info": {
            "name": "Update business line call handling",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.d2.alianza.com/v2/partition/:partitionId/account/:accountId/business-line/:businessLineId/call-handling",
            "headers": [
              {
                "name": "X-AUTH-TOKEN",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "businessLineId",
                "value": "",
                "type": "path",
                "description": "ID of Business Line"
              },
              {
                "name": "partitionId",
                "value": "",
                "type": "path",
                "description": "ID of partition"
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "ID of account"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Use to update the call handling specifications for a business line"
        },
        {
          "info": {
            "name": "Retrieve business line",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.d2.alianza.com/v2/partition/:partitionId/account/:accountId/business-line/:businessLineId",
            "headers": [
              {
                "name": "X-AUTH-TOKEN",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "businessLineId",
                "value": "",
                "type": "path",
                "description": "ID of Business Line"
              },
              {
                "name": "partitionId",
                "value": "",
                "type": "path",
                "description": "ID of partition"
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "ID of account"
              }
            ]
          },
          "docs": "Use to retrieve a business line"
        },
        {
          "info": {
            "name": "Update business line",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.d2.alianza.com/v2/partition/:partitionId/account/:accountId/business-line/:businessLineId",
            "headers": [
              {
                "name": "X-AUTH-TOKEN",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "businessLineId",
                "value": "",
                "type": "path",
                "description": "ID of Business Line"
              },
              {
                "name": "partitionId",
                "value": "",
                "type": "path",
                "description": "ID of partition"
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "ID of account"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Use to update a business line"
        },
        {
          "info": {
            "name": "Delete business line",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.d2.alianza.com/v2/partition/:partitionId/account/:accountId/business-line/:businessLineId",
            "headers": [
              {
                "name": "X-AUTH-TOKEN",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "businessLineId",
                "value": "",
                "type": "path",
                "description": "ID of Business Line"
              },
              {
                "name": "partitionId",
                "value": "",
                "type": "path",
                "description": "ID of partition"
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "ID of account"
              }
            ]
          },
          "docs": "Use to delete a business line"
        },
        {
          "info": {
            "name": "Retrieve business line in expanded view format",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.d2.alianza.com/v2/partition/:partitionId/account/:accountId/business-line/:businessLineId/views/expanded",
            "headers": [
              {
                "name": "X-AUTH-TOKEN",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "businessLineId",
                "value": "",
                "type": "path",
                "description": "ID of Business Line"
              },
              {
                "name": "partitionId",
                "value": "",
                "type": "path",
                "description": "ID of partition"
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "ID of account"
              }
            ]
          },
          "docs": "Use to retrieve a business line in expanded view format"
        },
        {
          "info": {
            "name": "Retrieve registration status for business line",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.d2.alianza.com/v2/partition/:partitionId/account/:accountId/business-line/:businessLineId/registration",
            "headers": [
              {
                "name": "X-AUTH-TOKEN",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "businessLineId",
                "value": "",
                "type": "path",
                "description": "ID of Business Line"
              },
              {
                "name": "partitionId",
                "value": "",
                "type": "path",
                "description": "ID of partition"
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "ID of account"
              }
            ]
          },
          "docs": "Use to retrieve registration status of business line"
        },
        {
          "info": {
            "name": "Swap business line port assignment(s)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.d2.alianza.com/v2/partition/:partitionId/account/:accountId/business-line/:businessLineId/port-assignment/rpc/swap",
            "headers": [
              {
                "name": "X-AUTH-TOKEN",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "businessLineId",
                "value": "",
                "type": "path",
                "description": "ID of Business Line"
              },
              {
                "name": "partitionId",
                "value": "",
                "type": "path",
                "description": "ID of partition"
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "ID of account"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Use to swap out the port assignments related to an existing port assignment mac address or id"
        },
        {
          "info": {
            "name": "Retrieve business line port assignment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.d2.alianza.com/v2/partition/:partitionId/account/:accountId/business-line/:businessLineId/port-assignment",
            "headers": [
              {
                "name": "X-AUTH-TOKEN",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "businessLineId",
                "value": "",
                "type": "path",
                "description": "ID of Business Line"
              },
              {
                "name": "partitionId",
                "value": "",
                "type": "path",
                "description": "ID of partition"
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "ID of account"
              }
            ]
          },
          "docs": "Use to get the physical port assignment specifications for a business line"
        },
        {
          "info": {
            "name": "Create business line port assignment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.d2.alianza.com/v2/partition/:partitionId/account/:accountId/business-line/:businessLineId/port-assignment",
            "headers": [
              {
                "name": "X-AUTH-TOKEN",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "businessLineId",
                "value": "",
                "type": "path",
                "description": "ID of Business Line"
              },
              {
                "name": "partitionId",
                "value": "",
                "type": "path",
                "description": "ID of partition"
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "ID of account"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Use to create the physical port assignment specifications for a business line"
        },
        {
          "info": {
            "name": "Update business line port assignment",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.d2.alianza.com/v2/partition/:partitionId/account/:accountId/business-line/:businessLineId/port-assignment",
            "headers": [
              {
                "name": "X-AUTH-TOKEN",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "businessLineId",
                "value": "",
                "type": "path",
                "description": "ID of Business Line"
              },
              {
                "name": "partitionId",
                "value": "",
                "type": "path",
                "description": "ID of partition"
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "ID of account"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Use to update the physical port assignment specifications for a business line"
        },
        {
          "info": {
            "name": "Delete business line port assignment",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.d2.alianza.com/v2/partition/:partitionId/account/:accountId/business-line/:businessLineId/port-assignment",
            "headers": [
              {
                "name": "X-AUTH-TOKEN",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "businessLineId",
                "value": "",
                "type": "path",
                "description": "ID of Business Line"
              },
              {
                "name": "partitionId",
                "value": "",
                "type": "path",
                "description": "ID of partition"
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "ID of account"
              }
            ]
          },
          "docs": "Use to delete the physical port assignment specifications for a business line"
        },
        {
          "info": {
            "name": "Retrieve provisioning logs from third party notifications",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.d2.alianza.com/v2/partition/:partitionId/account/:accountId/business-line/:businessLineId/port-assignment/push-provisioning-logs",
            "headers": [
              {
                "name": "X-AUTH-TOKEN",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "businessLineId",
                "value": "",
                "type": "path",
                "description": "ID of Business Line"
              },
              {
                "name": "partitionId",
                "value": "",
                "type": "path",
                "description": "ID of partition"
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "ID of account"
              }
            ]
          },
          "docs": "Used for port assignments utilizing a mac address. Pull logs from push provisioning"
        },
        {
          "info": {
            "name": "Retrieve SIP credentials",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.d2.alianza.com/v2/partition/:partitionId/account/:accountId/business-line/:businessLineId/sip-credentials",
            "headers": [
              {
                "name": "X-AUTH-TOKEN",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "businessLineId",
                "value": "",
                "type": "path",
                "description": "ID of Business Line"
              },
              {
                "name": "partitionId",
                "value": "",
                "type": "path",
                "description": "ID of partition"
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "ID of account"
              }
            ]
          },
          "docs": "Use to retrieve SIP credentials for a business line"
        },
        {
          "info": {
            "name": "Update SIP credentials",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.d2.alianza.com/v2/partition/:partitionId/account/:accountId/business-line/:businessLineId/sip-credentials",
            "headers": [
              {
                "name": "X-AUTH-TOKEN",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "businessLineId",
                "value": "",
                "type": "path",
                "description": "ID of Business Line"
              },
              {
                "name": "partitionId",
                "value": "",
                "type": "path",
                "description": "ID of partition"
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "ID of account"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Use to update SIP credentials for a business line"
        },
        {
          "info": {
            "name": "SIP Username Availability Check",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.d2.alianza.com/v2/partition/:partitionId/account/:accountId/business-line/:businessLineId/sip-credentials/username-availability-check/:username",
            "headers": [
              {
                "name": "X-AUTH-TOKEN",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "businessLineId",
                "value": "",
                "type": "path",
                "description": "ID of Business Line"
              },
              {
                "name": "partitionId",
                "value": "",
                "type": "path",
                "description": "ID of partition"
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "ID of account"
              },
              {
                "name": "username",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Use to determine if a SIP username is available to use"
        },
        {
          "info": {
            "name": "Retrieve all business line voicemail boxes on this account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.d2.alianza.com/v2/partition/:partitionId/account/:accountId/business-line/voicemail-box",
            "headers": [
              {
                "name": "X-AUTH-TOKEN",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "partitionId",
                "value": "",
                "type": "path",
                "description": "ID of partition"
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "ID of account"
              }
            ]
          },
          "docs": "Use to retrieve a business line voicemail boxes on the specified account"
        },
        {
          "info": {
            "name": "Create business line voicemail box on account",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.d2.alianza.com/v2/partition/:partitionId/account/:accountId/business-line/voicemail-box",
            "headers": [
              {
                "name": "X-AUTH-TOKEN",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "partitionId",
                "value": "",
                "type": "path",
                "description": "ID of partition"
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "ID of account"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Use to create a business line voicemail box on the specified account"
        },
        {
          "info": {
            "name": "Retrieve all business line voicemail boxes on this account including references",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.d2.alianza.com/v2/partition/:partitionId/account/:accountId/business-line/voicemail-box/views/expanded",
            "headers": [
              {
                "name": "X-AUTH-TOKEN",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "partitionId",
                "value": "",
                "type": "path",
                "description": "ID of partition"
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "ID of account"
              }
            ]
          },
          "docs": "Use to retrieve a business line voicemail boxes on the specified account including references"
        },
        {
          "info": {
            "name": "Retrieve business line voicemail box",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.d2.alianza.com/v2/partition/:partitionId/account/:accountId/business-line/voicemail-box/:voicemailBoxId",
            "headers": [
              {
                "name": "X-AUTH-TOKEN",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "voicemailBoxId",
                "value": "",
                "type": "path",
                "description": "ID of Voicemail Box"
              },
              {
                "name": "partitionId",
                "value": "",
                "type": "path",
                "description": "ID of partition"
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "ID of account"
              }
            ]
          },
          "docs": "Use to retrieve a business line voicemail box"
        },
        {
          "info": {
            "name": "Update business line voicemail box",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.d2.alianza.com/v2/partition/:partitionId/account/:accountId/business-line/voicemail-box/:voicemailBoxId",
            "headers": [
              {
                "name": "X-AUTH-TOKEN",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "voicemailBoxId",
                "value": "",
                "type": "path",
                "description": "ID of Voicemail Box"
              },
              {
                "name": "partitionId",
                "value": "",
                "type": "path",
                "description": "ID of partition"
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "ID of account"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Use to update a business line voicemail box"
        },
        {
          "info": {
            "name": "Delete business line voicemail box",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.d2.alianza.com/v2/partition/:partitionId/account/:accountId/business-line/voicemail-box/:voicemailBoxId",
            "headers": [
              {
                "name": "X-AUTH-TOKEN",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "voicemailBoxId",
                "value": "",
                "type": "path",
                "description": "ID of Voicemail Box"
              },
              {
                "name": "partitionId",
                "value": "",
                "type": "path",
                "description": "ID of partition"
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "ID of account"
              }
            ]
          },
          "docs": "Use to delete a business line voicemail box"
        },
        {
          "info": {
            "name": "Retrieve business line voicemail box including references",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.d2.alianza.com/v2/partition/:partitionId/account/:accountId/business-line/voicemail-box/:voicemailBoxId/views/expanded",
            "headers": [
              {
                "name": "X-AUTH-TOKEN",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "voicemailBoxId",
                "value": "",
                "type": "path",
                "description": "ID of Voicemail Box"
              },
              {
                "name": "partitionId",
                "value": "",
                "type": "path",
                "description": "ID of partition"
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "ID of account"
              }
            ]
          },
          "docs": "Use to retrieve a business line voicemail box including references"
        },
        {
          "info": {
            "name": "Check business line voicemail box PIN status",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.d2.alianza.com/v2/partition/:partitionId/account/:accountId/business-line/voicemail-box/:voicemailBoxId/rpc/check-pin-status",
            "headers": [
              {
                "name": "X-AUTH-TOKEN",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "voicemailBoxId",
                "value": "",
                "type": "path",
                "description": "ID of Voicemail Box"
              },
              {
                "name": "partitionId",
                "value": "",
                "type": "path",
                "description": "ID of partition"
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "ID of account"
              }
            ]
          },
          "docs": "Use to check a business line voicemail box PIN status"
        },
        {
          "info": {
            "name": "Reset the PIN for a business line voicemail box",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.d2.alianza.com/v2/partition/:partitionId/account/:accountId/business-line/voicemail-box/:voicemailBoxId/rpc/reset-pin",
            "headers": [
              {
                "name": "X-AUTH-TOKEN",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "voicemailBoxId",
                "value": "",
                "type": "path",
                "description": "ID of Voicemail Box"
              },
              {
                "name": "partitionId",
                "value": "",
                "type": "path",
                "description": "ID of partition"
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "ID of account"
              }
            ]
          },
          "docs": "Use to reset a PIN for a business line voicemail box"
        },
        {
          "info": {
            "name": "Retrieve a business line voicemail message",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.d2.alianza.com/v2/partition/:partitionId/account/:accountId/business-line/voicemail-box/:voicemailBoxId/message/:messageId",
            "headers": [
              {
                "name": "X-AUTH-TOKEN",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "voicemailBoxId",
                "value": "",
                "type": "path",
                "description": "ID of Voicemail Box"
              },
              {
                "name": "partitionId",
                "value": "",
                "type": "path",
                "description": "ID of partition"
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "ID of account"
              },
              {
                "name": "messageId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Use to retrieve a message in a business line voicemail box"
        },
        {
          "info": {
            "name": "Delete a business line voicemail message",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.d2.alianza.com/v2/partition/:partitionId/account/:accountId/business-line/voicemail-box/:voicemailBoxId/message/:messageId",
            "headers": [
              {
                "name": "X-AUTH-TOKEN",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "voicemailBoxId",
                "value": "",
                "type": "path",
                "description": "ID of Voicemail Box"
              },
              {
                "name": "partitionId",
                "value": "",
                "type": "path",
                "description": "ID of partition"
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "ID of account"
              },
              {
                "name": "messageId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Use to delete a message in a business line voicemail box"
        },
        {
          "info": {
            "name": "Retrieve business line voicemail messages",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.d2.alianza.com/v2/partition/:partitionId/account/:accountId/business-line/voicemail-box/:voicemailBoxId/message",
            "headers": [
              {
                "name": "X-AUTH-TOKEN",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "voicemailBoxId",
                "value": "",
                "type": "path",
                "description": "ID of Voicemail Box"
              },
              {
                "name": "partitionId",
                "value": "",
                "type": "path",
                "description": "ID of partition"
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "ID of account"
              }
            ]
          },
          "docs": "Use to retrieve all messages in a business line voicemail box"
        },
        {
          "info": {
            "name": "Delete business line voicemail messages",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.d2.alianza.com/v2/partition/:partitionId/account/:accountId/business-line/voicemail-box/:voicemailBoxId/message",
            "headers": [
              {
                "name": "X-AUTH-TOKEN",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "voicemailBoxId",
                "value": "",
                "type": "path",
                "description": "ID of Voicemail Box"
              },
              {
                "name": "partitionId",
                "value": "",
                "type": "path",
                "description": "ID of partition"
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "ID of account"
              }
            ]
          },
          "docs": "Use to delete all messages in a business line voicemail box"
        },
        {
          "info": {
            "name": "Bulk update of voicemail messages",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.d2.alianza.com/v2/partition/:partitionId/account/:accountId/business-line/voicemail-box/:voicemailBoxId/message/bulk-update",
            "headers": [
              {
                "name": "X-AUTH-TOKEN",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "voicemailBoxId",
                "value": "",
                "type": "path",
                "description": "ID of Voicemail Box"
              },
              {
                "name": "partitionId",
                "value": "",
                "type": "path",
                "description": "ID of partition"
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "ID of account"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Use to mark multiple voicemail messages at the same time to a READ, UNREAD, or DELETE status"
        },
        {
          "info": {
            "name": "Retrieve a business line voicemail message media",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.d2.alianza.com/v2/partition/:partitionId/account/:accountId/business-line/voicemail-box/:voicemailBoxId/message/:messageId/media",
            "headers": [
              {
                "name": "X-AUTH-TOKEN",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "voicemailBoxId",
                "value": "",
                "type": "path",
                "description": "ID of Voicemail Box"
              },
              {
                "name": "partitionId",
                "value": "",
                "type": "path",
                "description": "ID of partition"
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "ID of account"
              },
              {
                "name": "messageId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Use to retrieve the audio message for a business line voicemail message"
        },
        {
          "info": {
            "name": "Update business line voicemail message read flag",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.d2.alianza.com/v2/partition/:partitionId/account/:accountId/business-line/voicemail-box/:voicemailBoxId/message/:messageId/set-read-status",
            "headers": [
              {
                "name": "X-AUTH-TOKEN",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "voicemailBoxId",
                "value": "",
                "type": "path",
                "description": "ID of Voicemail Box"
              },
              {
                "name": "partitionId",
                "value": "",
                "type": "path",
                "description": "ID of partition"
              },
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "ID of account"
              },
              {
                "name": "messageId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Use to update if a voicemail message should be marked as read"
        }
      ]
    }
  ],
  "bundled": true
}