---
title: "Telephone number status search"
method: GET
path: "/v2/partition/{partitionId}/telephonenumber/statussearch"
tags: ["Telephone Number"]
---

# Telephone number status search

`GET /v2/partition/{partitionId}/telephonenumber/statussearch`

## Request

- Base URL: `https://api.alianza.com`
- URL: `https://api.alianza.com/v2/partition/{partitionId}/telephonenumber/statussearch`
- Auth: API key in header `X-AUTH-TOKEN`
- TypeScript: <https://skmtc.dev/alianza/apis/alianza-public-api/docs/v2/partition/:partitionId/telephonenumber/statussearch/get.ts> (a function with typed inputs; its response is checked against the schema)

Use to search for the status of a telephone number

## Path parameters

- `partitionId` string, required

## Query parameters

- `accountId` string
- `dateType` 'FOCDate' | 'UpdatedDate' | 'CreatedDate'
- `endDate` string
- `eventType` string[]
- `firstResultIndex` integer
- `maxResult` integer
- `startDate` string
- `statusType` string[]
- `telephoneNumber` string

## Response `200`

Successful operation

- ServiceActivationEventResponseX
  - `totalRecords` integer
  - `results` ServiceActivationEventX[]
    - `id` string
    - `partitionId` string
    - `accountId` string
    - `serviceType` 'PORT_REQUEST' | 'CSR_CHANGE_REQUEST' | 'ACTIVATION' | 'NINE_ONE_ONE_ADDRESS' | 'DISCONNECT' | 'DYNAMIC_RESERVATION' | 'BYOTN_REQUEST' | 'SERVICE_PROVIDER_TN'
    - `referenceType` 'TELEPHONE' | 'PORT' | 'DYNAMIC_INVENTORY' | 'BYOTN' | 'BYOTN_PORT'
    - `referenceId` string
    - `activationStatusType` 'PENDING' | 'IN_PROGRESS' | 'REJECTED' | 'FOC_RECEIVED' | 'FOC_REMOVED' | 'CANCELLED' | 'CANCEL_PENDING' | 'CARRIER_CANCELLED' | 'DELETE_PENDING' | 'DELETE_SCHEDULED' | 'COMPLETED' | 'CORRECTED_COMPLETED' | 'COOLDOWN' | 'HOT_CUT_PORT' | 'ON_HOLD' | 'RESELLER_PENDING'
    - `createdDate` string, date-time
    - `lastUpdatedDate` string, date-time
    - `focDate` string, date-time
    - `crdDate` string, date-time
    - `city` string
    - `mainTelephoneNumber` string
    - `subTelephoneNumbers` string[]
    - `firstName` string
    - `lastName` string
    - `companyName` string
    - `state` string
    - `l3Reaction` 'IGNORE' | 'RESUBMIT' | 'CANCEL' | 'SEND_EMAIL'
    - `parentOrderId` string
    - `editableFieldTypes` string[]
    - `losingCarrier` string
    - `inboundCarrierType` 'LEVEL_3' | 'NO_API' | 'E911' | 'TELUS' | 'TELUS_API' | 'TELUS_ONEVOICE' | 'PROVTEL' | 'VERIZON_CARIANZA' | 'ONVOY_CARIANZA' | 'LEVEL3_CARIANZA' | 'BANDWIDTH' | 'LUMEN_IMS' | 'LUMEN_VOICE_LI_ELS' | 'SINCH' | 'SERVICE_PROVIDER_CARRIER'
    - `logs` ServiceActivationEventLogX[]
      - `status` 'PENDING' | 'IN_PROGRESS' | 'REJECTED' | 'FOC_RECEIVED' | 'FOC_REMOVED' | 'CANCELLED' | 'CANCEL_PENDING' | 'CARRIER_CANCELLED' | 'DELETE_PENDING' | 'DELETE_SCHEDULED' | 'COMPLETED' | 'CORRECTED_COMPLETED' | 'COOLDOWN' | 'HOT_CUT_PORT' | 'ON_HOLD' | 'RESELLER_PENDING'
      - `actionDate` string, date-time
      - `code` string
      - `message` string
      - `creationDate` string, date-time
      - `generatedTicketId` string

## Other responses

- `400`: Invalid parameters supplied
- `401`: Unauthorized
- `404`: Entity not found

---

[API](https://skmtc.dev/alianza/apis/alianza-public-api.md) - [All operations](https://skmtc.dev/alianza/apis/alianza-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/alianza/apis/alianza-public-api/revisions/7223246c352c?raw)
