diff --git a/site/specs/numbers_v2.yml b/site/specs/numbers_v2.yml
index 0ab48604d..ee1cf6cfd 100644
--- a/site/specs/numbers_v2.yml
+++ b/site/specs/numbers_v2.yml
@@ -948,6 +948,68 @@ components:
+ badRequestErrorExample:
+ summary: An example of a generic Bad Request Error
+ value:
+ errors:
+ - code: 205617
+ description: There was an issue with your request.
+ id: optional-error-id
+ type: bad-request
+ forbiddenErrorExample:
+ summary: An example of a generic Unauthorized Error
+ value:
+ errors:
+ - code: 109107
+ description: User does not have permissions to access this resource.
+ id: optional-error-id
+ type: resource-permissions
+ internalServerErrorExample:
+ summary: An example of a generic Internal Server Error
+ value:
+ errors:
+ - code: 32030
+ description: >-
+ Unexpected internal server error. Contact Bandwidth Customer
+ Support if this problem persists.
+ id: optional-error-id
+ type: internal-server-error
+ notAllowedErrorExample:
+ summary: An example of a generic Not Allowed Error
+ value:
+ errors:
+ - code: 205621
+ description: The HTTP method used is not supported by this resource.
+ id: optional-error-id
+ meta:
+ method: TRACE
+ type: http-method-not-supported
+ notFoundErrorExample:
+ summary: An example of a generic Not Found Error
+ value:
+ errors:
+ - code: 50420
+ description: The resource specified cannot be found.
+ id: optional-error-id
+ type: resource-not-found
+ tooManyRequestsErrorExample:
+ summary: An example of a generic Too Many Requests Error
+ value:
+ errors:
+ - code: 32002
+ description: >-
+ Rate limit exceeded. Wait for the time specified in the
+ "Retry-After" header before sending another request.
+ id: optional-error-id
+ type: rate-limiting
+ unauthorizedErrorExample:
+ summary: An example of a generic Unauthorized Error
+ value:
+ errors:
+ - code: 206401
+ description: Invalid or missing credentials.
+ id: optional-error-id
+ type: authentication-credentials
parameters:
AccountIDQueryParam:
description: >
@@ -1183,6 +1245,7 @@ components:
schema:
type: string
SipPeerIdPathParam:
+ description: SipPeer ID, also known as Location
in: path
name: sipPeerId
required: true
@@ -1190,10 +1253,11 @@ components:
format: int32
type: integer
SipPeerIdQueryParam:
- description: A Sip Peer Id that is referenced in the order
+ description: SipPeer ID, also known as Location
example: 50139
in: query
name: sipPeerId
+ required: false
schema:
type: integer
SipPeerTnsPageQueryParam:
@@ -1215,7 +1279,7 @@ components:
default: 5000
type: integer
SiteIdPathParam:
- description: Site ID of the Sip Peer
+ description: Site ID, also known as Sub-Account
example: '407'
in: path
name: siteId
@@ -1275,37 +1339,249 @@ components:
required: true
schema:
type: string
- areaCodeQueryParameter:
- description: Area code of a phone number
- example: '07'
+ addressIdPathParam:
+ description: Address Id.
+ in: path
+ name: addressId
+ required: true
+ schema:
+ example: ArAnD0m1d
+ type: string
+ afterCursorQueryParam_eq:
+ description: Returns the page after the last record on the current page.
+ explode: true
+ in: query
+ name: afterCursor
+ required: false
+ schema:
+ properties:
+ eq:
+ example: ArAnD0m1d
+ type: string
+ type: object
+ style: deepObject
+ areaCodeQueryParam:
+ description: >-
+ The 1 to 6 digit area code associated with the phone number. The system
+ defaults to return all area codes when the query parameter is not
+ passed. The countryCodeA3 is a required parameter with areaCode.
+ in: query
+ name: areaCode
+ required: false
+ schema:
+ example: '435'
+ type: string
+ areaCodeQueryParam_eq:
+ description: >-
+ The 1 to 6 digit area code associated with the phone number. The system
+ defaults to return all area codes when the query parameter is not
+ passed. The countryCodeA3 is a required parameter with areaCode.
in: query
name: areaCode
required: false
schema:
+ properties:
+ eq:
+ example: '435'
+ type: string
+ type: object
+ beforeCursorQueryParam_eq:
+ description: Returns the page before the first record on the current page.
+ explode: true
+ in: query
+ name: beforeCursor
+ required: false
+ schema:
+ properties:
+ eq:
+ example: ArAnD0m1d
+ type: string
+ type: object
+ style: deepObject
+ cityQueryParam:
+ description: >-
+ The name of the city. The system defaults to return all cities when the
+ query parameter is not passed. The countryCodeA3 is a required parameter
+ with city. Some phone number types like TOLL_FREE may not have any
+ associated cities.
+ in: query
+ name: city
+ required: false
+ schema:
+ example: Raleigh
type: string
- countryCodeA3QueryParameter:
- description: 3-letter, ISO 3166 country code
- example: GBR
+ cityQueryParam_eq_startsWith:
+ description: >-
+ The name of the city. The system defaults to return all cities when the
+ query parameter is not passed. The countryCodeA3 is a required parameter
+ with city. Some phone number types like TOLL_FREE may not have any
+ associated cities.
+ explode: true
in: query
- name: Country Code
+ name: city
+ required: false
+ schema:
+ properties:
+ eq:
+ example: Raleigh
+ type: string
+ startsWith:
+ example: Ral
+ type: string
+ type: object
+ style: deepObject
+ countryCodeA3QueryParam:
+ description: Country code of the address in ISO 3166-1 alpha-3 format.
+ in: query
+ name: countryCodeA3
+ required: false
+ schema:
+ example: USA
+ type: string
+ countryCodeA3QueryParam_eq:
+ description: Country code of the address in ISO 3166-1 alpha-3 format.
+ in: query
+ name: countryCodeA3
+ required: false
+ schema:
+ properties:
+ eq:
+ example: USA
+ type: string
+ type: object
+ countryCodeA3RequiredQueryParam:
+ description: Country code of the address in ISO 3166-1 alpha-3 format.
+ in: query
+ name: countryCodeA3
required: true
schema:
+ properties:
+ eq:
+ example: USA
+ type: string
+ type: object
+ customReferenceQueryParam_eq_startsWith:
+ description: Customer reference. It cannot be combined with any other query filter.
+ in: query
+ name: customReference
+ required: false
+ schema:
+ properties:
+ eq:
+ example: home_office
+ maxLength: 64
+ minLength: 1
+ type: string
+ startsWith:
+ example: home
+ maxLength: 64
+ minLength: 1
+ type: string
+ type: object
+ enddateQueryParam:
+ description: >-
+ The ending date of a search in yy-mm-dd format. startdate and enddate
+ must be used as a pair.
+ in: query
+ name: enddate
+ required: false
+ schema:
+ example: 23-10-31
type: string
- phoneNumberTypeQueryParameter:
- description: Phone number type
- example: MOBILE
+ isHiddenQueryParam_eq:
+ description: >-
+ Returns hidden addresses when set to true. The system defaults to false
+ and only returns addresses that are not hidden.
+ in: query
+ name: isHidden
+ required: false
+ schema:
+ properties:
+ eq:
+ example: false
+ type: boolean
+ type: object
+ limitQueryParam_eq:
+ description: Limit the number of returned records.
+ explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ properties:
+ eq:
+ default: 300
+ maximum: 5000
+ minimum: 1
+ type: number
+ type: object
+ style: deepObject
+ pageQueryParam:
+ description: >-
+ An ID of the first element in a page. This value will indicate the
+ first value, not the page number, of the initial entry in the page being
+ requested. The initial page is tagged with the ID `1` as a convention.
+ in: query
+ name: page
+ required: false
+ schema:
+ default: 1
+ example: 1
+ type: integer
+ phoneNumberTypeQueryParam:
+ description: >-
+ The type of phone number. The system defaults to return phone numbers of
+ all types when the query parameter is not passed. The countryCodeA3 is a
+ required parameter with phone number type.
in: query
name: phoneNumberType
required: false
schema:
enum:
- GEOGRAPHIC
- - SHARED_COST
- - TOLL_FREE
- NATIONAL
- - SPECIAL
- MOBILE
+ - TOLL_FREE
+ - SHARED_COST
+ example: MOBILE
type: string
+ phoneNumberTypeQueryParam_eq:
+ description: >-
+ The type of phone number. The system defaults to return phone numbers of
+ all types when the query parameter is not passed. The countryCodeA3 is a
+ required parameter with phone number type.
+ in: query
+ name: phoneNumberType
+ required: false
+ schema:
+ properties:
+ eq:
+ enum:
+ - GEOGRAPHIC
+ - NATIONAL
+ - MOBILE
+ - TOLL_FREE
+ - SHARED_COST
+ example: MOBILE
+ type: string
+ type: object
+ postalCodeQueryParam_eq_startsWith:
+ description: >-
+ The postal code of the address. The system defaults to return all postal
+ codes when the query parameter is not passed. The countryCodeA3 is a
+ required parameter with postalCode.
+ in: query
+ name: postalCode
+ required: false
+ schema:
+ properties:
+ eq:
+ example: '98072'
+ type: string
+ startsWith:
+ example: '9807'
+ type: string
+ type: object
shortCodeCountryPathParam:
description: The short code number country.
example: USA
@@ -1373,12 +1649,53 @@ components:
required: true
schema:
type: string
+ sizeQueryParam:
+ description: The number of elements to retrieve
+ in: query
+ name: page
+ required: false
+ schema:
+ example: 30
+ type: integer
+ startdateQueryParam:
+ description: >-
+ The starting date of a search in yy-mm-dd format. startdate and enddate
+ must be used as a pair.
+ in: query
+ name: startdate
+ required: false
+ schema:
+ example: 22-10-31
+ type: string
+ tierQueryParam:
+ description: >-
+ A service tier indicating the the vendor class that the TN is associated
+ with. Tier indicates whether the TN is on-net, domestic offnet,
+ Canadian, etc.
+ in: query
+ name: tier
+ required: false
+ schema:
+ example: 5
+ type: integer
requestBodies:
+ addAddressRequest:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/createAddressRequest'
+ description: Add address.
shortCodeJsonPatchShortCodeRequest:
content:
application/json-patch+json:
schema:
$ref: '#/components/schemas/jsonPatch'
+ updateAddressRequest:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/updateAddressRequest'
+ description: Update address.
verificationRequest:
content:
application/json:
@@ -1445,21 +1762,15 @@ components:
associated with the order, the state of the order, and a list of the
successfully imported Telephone Numbers, and descriptions of any
encountered errors.
- badRequestLosingInvlaidCountryCodeCarriersResponse:
+ badRequestError:
content:
application/json:
examples:
- example:
- description: example
- value:
- data: null
- errors:
- code: 7673
- description: '''%s'' is not a valid countryCodeA3 value'
- links: null
+ badRequestErrorExample:
+ $ref: '#/components/examples/badRequestErrorExample'
schema:
- $ref: '#/components/schemas/portingLosingCarriersResponseSchema'
- description: Error returned when the country code is invalid
+ $ref: '#/components/schemas/genericError'
+ description: Bad Request.
bulkRateCenterGetResponse404Error:
content:
application/xml:
@@ -1511,44 +1822,72 @@ components:
description: >-
Successful response which starts the bulk upsert for provided rate
centers.
- listOfLosingCarriersResponse:
+ createAddressResponse:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/createUpdateAddressResponse'
+ description: Created.
+ forbiddenError:
content:
application/json:
examples:
- example:
- value:
- data:
- losingCarriers:
- - name: Losing Carrier 1
- - name: Losing Carrier 2
- - name: Losing Carrier 3
- - name: Losing Carrier 4
- errors: null
- links:
- - href: /portingLosingCarriers
- method: GET
- rel: self
+ forbiddenErrorExample:
+ $ref: '#/components/examples/forbiddenErrorExample'
+ schema:
+ $ref: '#/components/schemas/genericError'
+ description: Forbidden.
+ getAddressFieldsResponse:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/getAddressFieldsResponse'
+ description: OK.
+ getAddressResponse:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/genericAddressResponse'
+ description: OK.
+ internalServerError:
+ content:
+ application/json:
+ examples:
+ internalServerErrorExample:
+ $ref: '#/components/examples/internalServerErrorExample'
+ schema:
+ $ref: '#/components/schemas/genericError'
+ description: Internal Server Error.
+ listAddressesResponse:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/listAddressesResponse'
+ description: OK.
+ listOfLosingCarriersResponse:
+ content:
+ application/json:
schema:
$ref: '#/components/schemas/portingLosingCarriersResponseSchema'
description: A list of available carriers that can port out a phone number
- noUpstreamServicesLosingCarriersResponse:
+ notAllowedError:
content:
application/json:
examples:
- example:
- summary: example
- value:
- data: null
- errors:
- code: 7678
- description: >-
- We received an error while attempting to retrieve the losing
- carriers for your request. Please try this request again
- later.
- links: null
+ notAllowedErrorExample:
+ $ref: '#/components/examples/notAllowedErrorExample'
schema:
- $ref: '#/components/schemas/portingLosingCarriersResponseSchema'
- description: Error returned when upstream services are unavailable
+ $ref: '#/components/schemas/genericError'
+ description: Method Not Allowed.
+ notFoundError:
+ content:
+ application/json:
+ examples:
+ notFoundErrorExample:
+ $ref: '#/components/examples/notFoundErrorExample'
+ schema:
+ $ref: '#/components/schemas/genericError'
+ description: Not Found.
rateCenter401Error:
content:
application/json:
@@ -1933,12 +2272,42 @@ components:
schema:
$ref: '#/components/schemas/tfvError'
description: Client is providing incorrect or invalid credentials.
+ tooManyRequestsError:
+ content:
+ application/json:
+ examples:
+ tooManyRequestsErrorExample:
+ $ref: '#/components/examples/tooManyRequestsErrorExample'
+ schema:
+ $ref: '#/components/schemas/genericError'
+ description: Too Many Requests.
+ unauthorizedError:
+ content:
+ application/json:
+ examples:
+ unauthorizedErrorExample:
+ $ref: '#/components/examples/unauthorizedErrorExample'
+ schema:
+ $ref: '#/components/schemas/genericError'
+ description: Unauthorized.
+ updateAddressResponse:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/createUpdateAddressResponse'
+ description: OK.
useCasesResponse:
content:
application/json:
schema:
$ref: '#/components/schemas/useCases'
description: OK
+ validateAddressResponse:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/validateAddressResponse'
+ description: OK.
verifyPostResponse:
description: Accepted
verifyStatusResponse:
@@ -2121,30 +2490,25 @@ components:
TollFreeMMSAllowed:
type: boolean
type: object
- AccountProduct:
+ AccountProductResponse:
properties:
- Features:
- items:
- properties:
- Feature:
- type: string
- type: object
- type: array
- Name:
- type: string
+ product:
+ oneOf:
+ - $ref: '#/components/schemas/productWithCountrySettings'
+ - $ref: '#/components/schemas/product'
type: object
- AccountProducts:
+ AccountProductsResponse:
properties:
- Product:
+ products:
items:
- $ref: '#/components/schemas/AccountProduct'
+ $ref: '#/components/schemas/productWithCountrySettings'
type: array
+ xml:
+ name: Products
+ wrapped: true
type: object
- AccountProductsResponse:
- properties:
- Products:
- $ref: '#/components/schemas/AccountProducts'
- type: object
+ xml:
+ name: AccountProductsResponse
AccountResponse:
properties:
Account:
@@ -2211,6 +2575,34 @@ components:
type: integer
type: object
type: object
+ ActivationRequirement:
+ properties:
+ CountryCodeA3:
+ type: string
+ PhoneNumberType:
+ $ref: '#/components/schemas/phoneNumberType'
+ ProofOfAddressRequired:
+ type: boolean
+ ProofOfIdRequired:
+ type: boolean
+ TypeOfAddress:
+ $ref: '#/components/schemas/TypeOfAddress'
+ type: object
+ ActivationRequirementErrorResponse:
+ properties:
+ ActivationRequirementResponse:
+ $ref: '#/components/schemas/ResponseStatus'
+ type: object
+ ActivationRequirementResponse:
+ properties:
+ ActivationRequirementResponse:
+ properties:
+ ActivationRequirements:
+ items:
+ $ref: '#/components/schemas/ActivationRequirement'
+ type: array
+ type: object
+ type: object
ActivationStatus:
properties:
ActivationStatus:
@@ -2325,12 +2717,6 @@ components:
type: string
Latitude:
type: string
- LegacyAddressId:
- deprecated: true
- type: string
- LegacyEntityId:
- deprecated: true
- type: string
Longitude:
type: string
PlusFour:
@@ -2350,10 +2736,6 @@ components:
ServiceAddress. This element is optional when not needed to fully
specify the ServiceAddress.
type: string
- RegionId:
- deprecated: true
- format: int32
- type: integer
ResetAddressFields:
type: boolean
StateCode:
@@ -2599,16 +2981,10 @@ components:
$ref: '#/components/schemas/CallbackCreds'
CallbackTimeout:
type: string
- CallbackUrl:
- deprecated: true
- type: string
InboundCallbackCreds:
$ref: '#/components/schemas/CallbackCreds'
InboundCallbackUrl:
type: string
- MsgCallbackUrl:
- deprecated: true
- type: string
OutboundCallbackCreds:
$ref: '#/components/schemas/CallbackCreds'
OutboundCallbackUrl:
@@ -2658,15 +3034,6 @@ components:
ApplicationsSettings:
$ref: '#/components/schemas/ApplicationsSettings'
type: object
- AreaCodeSearchAndOrder:
- allOf:
- - $ref: '#/components/schemas/orderMetadata'
- - properties:
- AreaCodeSearchAndOrderType:
- $ref: '#/components/schemas/AreaCodeSearchAndOrderType'
- type: object
- xml:
- name: Order
AreaCodeSearchAndOrderResponse:
properties:
order:
@@ -2698,6 +3065,15 @@ components:
type: object
xml:
name: AreaCodeSearchAndOrderType
+ AreaCodeSearchAndOrder_NANPA:
+ allOf:
+ - $ref: '#/components/schemas/orderMetadata'
+ - properties:
+ AreaCodeSearchAndOrderType:
+ $ref: '#/components/schemas/AreaCodeSearchAndOrderType'
+ type: object
+ xml:
+ name: Order
AssociatedSipPeer:
properties:
PeerId:
@@ -2838,42 +3214,6 @@ components:
type: array
type: object
type: object
- Bdr:
- properties:
- Bdr:
- properties:
- EndDate:
- type: string
- StartDate:
- type: string
- type: object
- type: object
- BdrCreationErrorResponse:
- properties:
- BdrCreationResponse:
- $ref: '#/components/schemas/ResponseStatus'
- type: object
- BdrCreationResponse:
- properties:
- BdrCreationResponse:
- properties:
- Info:
- type: string
- type: object
- type: object
- BdrRetrievalErrorResponse:
- properties:
- BdrRetrievalResponse:
- $ref: '#/components/schemas/ResponseStatus'
- type: object
- BdrRetrievalResponse:
- properties:
- BdrRetrievalResponse:
- properties:
- Info:
- type: string
- type: object
- type: object
BillingReport:
properties:
BillingReportId:
@@ -4452,15 +4792,6 @@ components:
type: object
title: CampaignTnsResponse
type: object
- CitySearchAndOrder:
- allOf:
- - $ref: '#/components/schemas/orderMetadata'
- - properties:
- CitySearchAndOrderType:
- $ref: '#/components/schemas/CitySearchAndOrderType'
- type: object
- xml:
- name: Order
CitySearchAndOrderResponse:
properties:
order:
@@ -4494,6 +4825,15 @@ components:
type: object
xml:
name: CitySearchAndOrderType
+ CitySearchAndOrder_NANPA:
+ allOf:
+ - $ref: '#/components/schemas/orderMetadata'
+ - properties:
+ CitySearchAndOrderType:
+ $ref: '#/components/schemas/CitySearchAndOrderType'
+ type: object
+ xml:
+ name: Order
CitySearchResult:
properties:
AvailableTelephoneNumberCount:
@@ -4525,15 +4865,6 @@ components:
Count:
type: integer
type: object
- CombinedSearchAndOrder:
- allOf:
- - $ref: '#/components/schemas/orderMetadata'
- - properties:
- CombinedSearchAndOrderType:
- $ref: '#/components/schemas/CombinedSearchAndOrderType'
- type: object
- xml:
- name: Order
CombinedSearchAndOrderResponse:
properties:
order:
@@ -4585,6 +4916,15 @@ components:
type: object
xml:
name: CombinedSearchAndOrderType
+ CombinedSearchAndOrder_NANPA:
+ allOf:
+ - $ref: '#/components/schemas/orderMetadata'
+ - properties:
+ CombinedSearchAndOrderType:
+ $ref: '#/components/schemas/CombinedSearchAndOrderType'
+ type: object
+ xml:
+ name: Order
Contact:
properties:
Email:
@@ -4713,6 +5053,20 @@ components:
type: object
type: array
type: object
+ CountryCoverageResponseError:
+ properties:
+ responseStatus:
+ $ref: '#/components/schemas/responseStatus'
+ type: object
+ xml:
+ name: CountryCoverageResponse
+ CountryCoverageResponseSuccess:
+ properties:
+ countryCoverages:
+ $ref: '#/components/schemas/countryCoverages'
+ type: object
+ xml:
+ name: CountryCoverageResponse
CoverageMatrixEntry:
properties:
Abbreviation:
@@ -5249,11 +5603,6 @@ components:
type: string
DisconnectTelephoneNumberOrderType:
$ref: '#/components/schemas/DisconnectTelephoneNumberOrderType'
- Name:
- deprecated: true
- description: The name of the order.
- maxLength: 50
- type: string
type: object
type: object
DisconnectTelephoneNumberOrderErrorResponse:
@@ -6489,122 +6838,6 @@ components:
type: object
xml:
name: ExistingTelephoneNumberOrderType
- ExternalTnsOrder:
- properties:
- AccountId:
- type: string
- Action:
- enum:
- - IMPORT
- - REMOVE
- type: string
- CreatedByUser:
- type: string
- CustomerOrderId:
- type: string
- Errors:
- items:
- $ref: '#/components/schemas/Error'
- type: array
- LastModifiedDate:
- type: string
- LoaType:
- enum:
- - CARRIER
- - SUBSCRIBER
- type: string
- OrderCreateDate:
- type: string
- ProcessingStatus:
- enum:
- - RECEIVED
- - PROCESSING
- - COMPLETE
- - PARTIAL
- - FAILED
- type: string
- SipPeerId:
- type: string
- SiteId:
- type: string
- TelephoneNumbers:
- items:
- $ref: '#/components/schemas/TelephoneNumber'
- type: array
- type: object
- ExternalTnsOrderErrorResponse:
- properties:
- ExternalTnsOrderResponse:
- $ref: '#/components/schemas/ResponseStatus'
- type: object
- ExternalTnsOrderRequest:
- properties:
- ExternalTnsOrder:
- properties:
- Action:
- description: Indentify the action on external TNs
- enum:
- - IMPORT
- - REMOVE
- type: string
- CustomerOrderId:
- description: An order ID created by the customer for their tracking purposes
- format: Only alphanumeric values, dashes and spaces are allowed
- maxLength: 40
- type: string
- LoaType:
- default: CARRIER
- description: Identify the LoaType on external TNs
- enum:
- - CARRIER
- - SUBSCRIBER
- type: string
- SipPeerId:
- description: >-
- The ID of the SIP Peer that the Telephone Numbers are to be
- provisioned to
- format: int32
- type: integer
- SiteId:
- description: >-
- The ID of the Site that the Telephone Numbers are to be
- provisioned to
- format: int32
- type: integer
- TelephoneNumbers:
- items:
- $ref: '#/components/schemas/TelephoneNumber'
- type: array
- required:
- - SiteId
- - Action
- type: object
- type: object
- ExternalTnsOrderResponse:
- properties:
- ExternalTnsOrderResponse:
- properties:
- ExternalTnsOrder:
- $ref: '#/components/schemas/ExternalTnsOrder'
- type: object
- type: object
- ExternalTnsOrders:
- properties:
- ExternalTnsOrders:
- properties:
- ExternalTnsOrder:
- items:
- $ref: '#/components/schemas/ExternalTnsOrder'
- type: array
- TotalCount:
- type: integer
- type: object
- type: object
- ExternalTnsOrdersError:
- properties:
- ExternalTnsOrders:
- $ref: '#/components/schemas/ResponseStatus'
- type: object
Feature:
properties:
Status:
@@ -7364,15 +7597,6 @@ components:
Description:
type: string
type: object
- LATASearchAndOrder:
- allOf:
- - $ref: '#/components/schemas/orderMetadata'
- - properties:
- LATASearchAndOrderType:
- $ref: '#/components/schemas/LATASearchAndOrderType'
- type: object
- xml:
- name: Order
LATASearchAndOrderResponse:
properties:
order:
@@ -7404,6 +7628,15 @@ components:
type: object
xml:
name: LATASearchAndOrderType
+ LATASearchAndOrder_NANPA:
+ allOf:
+ - $ref: '#/components/schemas/orderMetadata'
+ - properties:
+ LATASearchAndOrderType:
+ $ref: '#/components/schemas/LATASearchAndOrderType'
+ type: object
+ xml:
+ name: Order
LNPResponseWrapper:
properties:
LNPResponseWrapper:
@@ -8630,10 +8863,6 @@ components:
to fully specify the ServiceAddress.
maxLength: 2
type: string
- RegionId:
- deprecated: true
- format: int32
- type: integer
StateCode:
description: >-
StateCode is the 2-letter abbreviation of the state of the
@@ -9081,6 +9310,52 @@ components:
TotalCount:
type: integer
type: object
+ NANPATNDetail:
+ description: Returned when `enableTnDetail=True` for NANPA numbers
+ properties:
+ LATA:
+ example: 426
+ type: number
+ xml:
+ name: LATA
+ city:
+ $ref: '#/components/schemas/city'
+ countryCodeA3:
+ $ref: '#/components/schemas/countryCodeA3'
+ fullNumber:
+ example: 17722029845
+ type: string
+ xml:
+ name: FullNumber
+ phoneNumberType:
+ $ref: '#/components/schemas/phoneNumberType'
+ rateCenter:
+ example: SEBASTIAN
+ type: string
+ xml:
+ name: RateCenter
+ state:
+ example: FL
+ type: string
+ xml:
+ name: State
+ tier:
+ example: 0
+ type: number
+ xml:
+ name: Tier
+ vendorId:
+ example: 49
+ type: number
+ xml:
+ name: VendorId
+ vendorName:
+ example: Bandwidth CLEC
+ type: string
+ xml:
+ name: VendorName
+ title: NANPA TN Detail
+ type: object
NNRoute:
properties:
DeliveryNetwork:
@@ -9101,15 +9376,6 @@ components:
trafficType:
type: string
type: object
- NPANXXSearchAndOrder:
- allOf:
- - $ref: '#/components/schemas/orderMetadata'
- - properties:
- NPANXXSearchAndOrderType:
- $ref: '#/components/schemas/NPANXXSearchAndOrderType'
- type: object
- xml:
- name: Order
NPANXXSearchAndOrderResponse:
properties:
order:
@@ -9143,6 +9409,15 @@ components:
type: object
xml:
name: NPANXXSearchAndOrderType
+ NPANXXSearchAndOrder_NANPA:
+ allOf:
+ - $ref: '#/components/schemas/orderMetadata'
+ - properties:
+ NPANXXSearchAndOrderType:
+ $ref: '#/components/schemas/NPANXXSearchAndOrderType'
+ type: object
+ xml:
+ name: Order
NonPortableTollFreeNumberList:
properties:
DeniedTollFreeNumberList:
@@ -9586,6 +9861,29 @@ components:
$ref: '#/components/schemas/OriginationRoutePayload'
type: array
type: object
+ OtherTNDetail:
+ description: Returned when `enableTnDetail=True` for Other numbers
+ properties:
+ areaCode:
+ $ref: '#/components/schemas/areaCode'
+ city:
+ $ref: '#/components/schemas/city'
+ countryCodeA3:
+ $ref: '#/components/schemas/countryCodeA3'
+ fullNumber:
+ example: 31208908115
+ type: string
+ xml:
+ name: FullNumber
+ phoneNumberType:
+ $ref: '#/components/schemas/phoneNumberType'
+ tier:
+ example: 0
+ type: number
+ xml:
+ name: Tier
+ title: Other TN Detail
+ type: object
PaginationLinks:
properties:
first:
@@ -9601,7 +9899,7 @@ components:
PhoneNumber:
properties:
PhoneNumber:
- description: Simple Telephone Number.
+ description: Telephone Number in E.164 format.
type: string
type: object
PidfloAddressDeleting911Order:
@@ -10412,15 +10710,6 @@ components:
$ref: '#/components/schemas/LnpCheckerTnList'
title: Rate Center information
type: object
- RateCenterSearchAndOrder:
- allOf:
- - $ref: '#/components/schemas/orderMetadata'
- - properties:
- RateCenterSearchAndOrderType:
- $ref: '#/components/schemas/RateCenterSearchAndOrderType'
- type: object
- xml:
- name: Order
RateCenterSearchAndOrderResponse:
properties:
order:
@@ -10456,6 +10745,15 @@ components:
type: object
xml:
name: RateCenterSearchAndOrderType
+ RateCenterSearchAndOrder_NANPA:
+ allOf:
+ - $ref: '#/components/schemas/orderMetadata'
+ - properties:
+ RateCenterSearchAndOrderType:
+ $ref: '#/components/schemas/RateCenterSearchAndOrderType'
+ type: object
+ xml:
+ name: Order
RateCenterSearchResult:
properties:
Abbreviation:
@@ -10988,6 +11286,35 @@ components:
type: integer
type: object
type: object
+ Restriction:
+ properties:
+ CountryCodeA3:
+ type: string
+ RestrictionCategory:
+ type: string
+ RestrictionDescription:
+ type: string
+ RestrictionType:
+ $ref: '#/components/schemas/RestrictionType'
+ type: object
+ RestrictionResponse:
+ properties:
+ RestrictionResponse:
+ properties:
+ Restrictions:
+ items:
+ $ref: '#/components/schemas/Restriction'
+ type: array
+ type: object
+ type: object
+ RestrictionType:
+ enum:
+ - LEGAL
+ - PURCHASE
+ - SERVICE
+ - NRA
+ example: LEGAL
+ type: string
RogerTerminationSettings:
properties:
SubnetAddressingAllowed:
@@ -11043,46 +11370,33 @@ components:
type: object
SearchResult:
oneOf:
- - properties:
- ResultCount:
- format: int32
- type: integer
- TelephoneNumberList:
- items:
- $ref: '#/components/schemas/TelephoneNumber'
- type: array
- type: object
- - properties:
- resultCount:
- format: int32
- type: integer
- telephoneNumberDetailList:
- items:
- $ref: '#/components/schemas/telephoneNumberDetail'
- type: array
- xml:
- name: TelephoneNumberDetailList
- xml:
- name: ResultCount
- type: object
+ - $ref: '#/components/schemas/TNDetailDisabled'
+ - $ref: '#/components/schemas/TNDetailEnabled'
xml:
name: SearchResult
SearchResultError:
properties:
- Error:
+ error:
properties:
- Code:
+ code:
+ example: 4010
type: integer
- Description:
+ xml:
+ name: Code
+ description:
+ example: >-
+ One of more required search parameters are null or empty, please
+ refer to the api documentation
type: string
+ xml:
+ name: Description
type: object
+ xml:
+ name: Error
title: SearchResult
type: object
- SearchResultErrorWrapper:
- properties:
- SearchResult:
- $ref: '#/components/schemas/SearchResultError'
- type: object
+ xml:
+ name: SearchResult
SearchResultForAvailableNpaNxx:
properties:
AvailableNpaNxxList:
@@ -11693,13 +12007,6 @@ components:
MessagingSettings:
description: Does this telephone number have any messaging system configured
type: string
- NumberFormat:
- enum:
- - 10digit
- - 11digit
- - e164
- - 'false'
- type: string
RPIDFormat:
description: Telephone number RPID format
enum:
@@ -11719,26 +12026,6 @@ components:
type: string
type: array
type: object
- SipPeerTelephoneNumberBulk:
- properties:
- SipPeerTelephoneNumbers:
- items:
- type: string
- xml:
- name: FullNumber
- maxItems: 5000
- type: array
- type: object
- SipPeerTelephoneNumberBulkErrorResponse:
- properties:
- SipPeerTelephoneNumberMoveResponse:
- $ref: '#/components/schemas/ResponseStatus'
- type: object
- SipPeerTelephoneNumberBulkResponse:
- properties:
- SipPeerTelephoneNumberMoveResponse:
- $ref: '#/components/schemas/SipPeerTelephoneNumberBulk'
- type: object
SipPeerTelephoneNumberResponse:
properties:
SipPeerTelephoneNumber:
@@ -11902,21 +12189,6 @@ components:
Name:
type: string
type: object
- SiteOrdersResponse:
- properties:
- ResponseSelectWrapper:
- properties:
- ListOrderIdUserIdDate:
- properties:
- OrderIdUserIdDate:
- items:
- $ref: '#/components/schemas/OrderSummary'
- type: array
- TotalCount:
- type: integer
- type: object
- type: object
- type: object
SitePayload:
properties:
Address:
@@ -12074,15 +12346,6 @@ components:
type: integer
title: HttpSettings
type: object
- StateSearchAndOrder:
- allOf:
- - $ref: '#/components/schemas/orderMetadata'
- - properties:
- StateSearchAndOrderType:
- $ref: '#/components/schemas/StateSearchAndOrderType'
- type: object
- xml:
- name: Order
StateSearchAndOrderResponse:
properties:
order:
@@ -12114,6 +12377,15 @@ components:
type: object
xml:
name: StateSearchAndOrderType
+ StateSearchAndOrder_NANPA:
+ allOf:
+ - $ref: '#/components/schemas/orderMetadata'
+ - properties:
+ StateSearchAndOrderType:
+ $ref: '#/components/schemas/StateSearchAndOrderType'
+ type: object
+ xml:
+ name: Order
StateWithCount:
properties:
Count:
@@ -12284,7 +12556,6 @@ components:
- lsrorders
- e911s
- tnoptions
- - externalTns
- lidb
- bulkPortins
- importtnorders
@@ -12332,6 +12603,43 @@ components:
type: array
type: object
type: object
+ TNDetailDisabled:
+ properties:
+ resultCount:
+ example: 1
+ type: integer
+ xml:
+ name: ResultCount
+ telephoneNumberList:
+ items:
+ example: '+17722029845'
+ type: string
+ xml:
+ name: TelephoneNumber
+ type: array
+ xml:
+ name: TelephoneNumberList
+ wrapped: true
+ title: TN Detail Disabled
+ type: object
+ TNDetailEnabled:
+ properties:
+ resultCount:
+ example: 1
+ type: integer
+ xml:
+ name: ResultCount
+ telephoneNumberDetailList:
+ items:
+ oneOf:
+ - $ref: '#/components/schemas/NANPATNDetail'
+ - $ref: '#/components/schemas/OtherTNDetail'
+ type: array
+ xml:
+ name: TelephoneNumberDetailList
+ wrapped: true
+ title: TN Detail Enabled
+ type: object
TNSipPeersResponse:
properties:
SipPeers:
@@ -12429,7 +12737,7 @@ components:
TelephoneNumber:
properties:
TelephoneNumber:
- description: Simple Telephone Number.
+ description: Telephone Number in E.164 format.
type: string
type: object
TelephoneNumberAvailableNnRoutes:
@@ -13504,16 +13812,16 @@ components:
OrderResponse:
oneOf:
- $ref: '#/components/schemas/ExistingTelephoneNumberOrder'
- - $ref: '#/components/schemas/RateCenterSearchAndOrder'
- - $ref: '#/components/schemas/AreaCodeSearchAndOrder'
- - $ref: '#/components/schemas/NPANXXSearchAndOrder'
- - $ref: '#/components/schemas/TollFreeWildCharSearchAndOrder'
- - $ref: '#/components/schemas/TollFreeVanitySearchAndOrder'
- - $ref: '#/components/schemas/LATASearchAndOrder'
- - $ref: '#/components/schemas/ZIPSearchAndOrder'
- - $ref: '#/components/schemas/CitySearchAndOrder'
- - $ref: '#/components/schemas/StateSearchAndOrder'
- - $ref: '#/components/schemas/CombinedSearchAndOrder'
+ - $ref: '#/components/schemas/RateCenterSearchAndOrder_NANPA'
+ - $ref: '#/components/schemas/AreaCodeSearchAndOrder_NANPA'
+ - $ref: '#/components/schemas/NPANXXSearchAndOrder_NANPA'
+ - $ref: '#/components/schemas/TollFreeWildCharSearchAndOrder_NANPA'
+ - $ref: '#/components/schemas/TollFreeVanitySearchAndOrder_NANPA'
+ - $ref: '#/components/schemas/LATASearchAndOrder_NANPA'
+ - $ref: '#/components/schemas/ZIPSearchAndOrder_NANPA'
+ - $ref: '#/components/schemas/CitySearchAndOrder_NANPA'
+ - $ref: '#/components/schemas/StateSearchAndOrder_NANPA'
+ - $ref: '#/components/schemas/CombinedSearchAndOrder_NANPA'
xml:
name: OrderResponse
type: object
@@ -13577,16 +13885,16 @@ components:
Order:
oneOf:
- $ref: '#/components/schemas/ExistingTelephoneNumberOrder'
- - $ref: '#/components/schemas/RateCenterSearchAndOrder'
- - $ref: '#/components/schemas/AreaCodeSearchAndOrder'
- - $ref: '#/components/schemas/NPANXXSearchAndOrder'
- - $ref: '#/components/schemas/TollFreeWildCharSearchAndOrder'
- - $ref: '#/components/schemas/TollFreeVanitySearchAndOrder'
- - $ref: '#/components/schemas/LATASearchAndOrder'
- - $ref: '#/components/schemas/ZIPSearchAndOrder'
- - $ref: '#/components/schemas/CitySearchAndOrder'
- - $ref: '#/components/schemas/StateSearchAndOrder'
- - $ref: '#/components/schemas/CombinedSearchAndOrder'
+ - $ref: '#/components/schemas/RateCenterSearchAndOrder_NANPA'
+ - $ref: '#/components/schemas/AreaCodeSearchAndOrder_NANPA'
+ - $ref: '#/components/schemas/NPANXXSearchAndOrder_NANPA'
+ - $ref: '#/components/schemas/TollFreeWildCharSearchAndOrder_NANPA'
+ - $ref: '#/components/schemas/TollFreeVanitySearchAndOrder_NANPA'
+ - $ref: '#/components/schemas/LATASearchAndOrder_NANPA'
+ - $ref: '#/components/schemas/ZIPSearchAndOrder_NANPA'
+ - $ref: '#/components/schemas/CitySearchAndOrder_NANPA'
+ - $ref: '#/components/schemas/StateSearchAndOrder_NANPA'
+ - $ref: '#/components/schemas/CombinedSearchAndOrder_NANPA'
OrderCompleteDate:
type: string
OrderStatus:
@@ -13817,15 +14125,6 @@ components:
TerminationSettings:
$ref: '#/components/schemas/TollFreeSettings'
type: object
- TollFreeVanitySearchAndOrder:
- allOf:
- - $ref: '#/components/schemas/orderMetadata'
- - properties:
- TollFreeVanitySearchAndOrderType:
- $ref: '#/components/schemas/TollFreeVanitySearchAndOrderType'
- type: object
- xml:
- name: Order
TollFreeVanitySearchAndOrderResponse:
properties:
order:
@@ -13857,12 +14156,12 @@ components:
type: object
xml:
name: TollFreeVanitySearchAndOrderType
- TollFreeWildCharSearchAndOrder:
+ TollFreeVanitySearchAndOrder_NANPA:
allOf:
- $ref: '#/components/schemas/orderMetadata'
- properties:
- TollFreeWildCharSearchAndOrderType:
- $ref: '#/components/schemas/TollFreeWildCharSearchAndOrderType'
+ TollFreeVanitySearchAndOrderType:
+ $ref: '#/components/schemas/TollFreeVanitySearchAndOrderType'
type: object
xml:
name: Order
@@ -13897,6 +14196,15 @@ components:
type: object
xml:
name: TollFreeWildCharSearchAndOrderType
+ TollFreeWildCharSearchAndOrder_NANPA:
+ allOf:
+ - $ref: '#/components/schemas/orderMetadata'
+ - properties:
+ TollFreeWildCharSearchAndOrderType:
+ $ref: '#/components/schemas/TollFreeWildCharSearchAndOrderType'
+ type: object
+ xml:
+ name: Order
Tpas:
items:
$ref: '#/components/schemas/Tpa'
@@ -13908,6 +14216,13 @@ components:
Ratio:
type: integer
type: object
+ TypeOfAddress:
+ enum:
+ - WORLDWIDE
+ - NATIONAL
+ - LOCAL
+ example: WORLDWIDE
+ type: string
UcTrunkingCloudSettings:
properties:
BiDirectionalTrunks:
@@ -14090,15 +14405,6 @@ components:
type: string
title: WirelessInfo
type: object
- ZIPSearchAndOrder:
- allOf:
- - $ref: '#/components/schemas/orderMetadata'
- - properties:
- ZIPSearchAndOrderType:
- $ref: '#/components/schemas/ZIPSearchAndOrderType'
- type: object
- xml:
- name: Order
ZIPSearchAndOrderResponse:
properties:
order:
@@ -14130,6 +14436,15 @@ components:
type: object
xml:
name: ZIPSearchAndOrderType
+ ZIPSearchAndOrder_NANPA:
+ allOf:
+ - $ref: '#/components/schemas/orderMetadata'
+ - properties:
+ ZIPSearchAndOrderType:
+ $ref: '#/components/schemas/ZIPSearchAndOrderType'
+ type: object
+ xml:
+ name: Order
Zone:
properties:
Id:
@@ -14143,6 +14458,17 @@ components:
description: User's account ID
example: '1234567'
type: string
+ additionalDetails:
+ properties:
+ comment:
+ description: Comment
+ example: Updating regulations
+ type: string
+ xml:
+ name: Comment
+ type: object
+ xml:
+ name: AdditionalDetails
address:
nullable: false
properties:
@@ -14193,6 +14519,115 @@ components:
- zip
- url
type: object
+ addressFieldSchema:
+ properties:
+ changeable:
+ description: The address field value can be updated or not
+ example: false
+ title: Field Changeable
+ type: boolean
+ fieldName:
+ description: The name of the address field
+ example: addressLine1
+ title: Field Name
+ type: string
+ maxLength:
+ description: The legth of the address field
+ example: 256
+ title: Field Length
+ type: integer
+ required:
+ description: The address field is required or optional
+ example: true
+ title: Field Required
+ type: boolean
+ type:
+ description: The data type of the address field
+ example: string
+ title: Field Data Type
+ type: string
+ usedBy:
+ items:
+ properties:
+ feature:
+ description: The name of the feature that this address could be used for
+ enum:
+ - EMERGENCY
+ - PORTING
+ - REQUIREMENTS_PACKAGE
+ example: EMERGENCY
+ title: Feature Name
+ type: string
+ required:
+ description: The address field is required or optional for this feature
+ example: true
+ title: Field Required
+ type: boolean
+ type: object
+ title: Feature Specific Requirements
+ type: array
+ title: Country Specific Address Fields Schema
+ type: object
+ addressId:
+ description: Address Id
+ example: daa9dd0f-de97-4103-8530-b31bf4be8fc0
+ title: Address Id
+ type: string
+ addressLinks:
+ items:
+ oneOf:
+ - $ref: '#/components/schemas/selfLink'
+ title: Links
+ type: array
+ addressResponse:
+ properties:
+ addressId:
+ $ref: '#/components/schemas/addressId'
+ addressLine1:
+ description: The number and street address of the address.
+ example: 14111 NE 145th St
+ title: Address Line1
+ type: string
+ addressLine2:
+ description: The number and street address of the address.
+ example: Apt. 8
+ title: Address Line2
+ type: string
+ city:
+ $ref: '#/components/schemas/city'
+ countryCodeA3:
+ $ref: '#/components/schemas/countryCodeA3'
+ createdDateTime:
+ $ref: '#/components/schemas/createdDateTime'
+ customReference:
+ $ref: '#/components/schemas/customReference'
+ isHidden:
+ $ref: '#/components/schemas/isHidden'
+ postalCode:
+ $ref: '#/components/schemas/postalCode'
+ state:
+ description: The state or region of the address.
+ example: WA
+ title: State
+ type: string
+ updatedDateTime:
+ $ref: '#/components/schemas/updatedDateTime'
+ title: '=Address Response'
+ type: object
+ areaCode:
+ description: The 1 to 6 digit area code associated with the phone number.
+ example: '435'
+ title: Area Code
+ type: string
+ xml:
+ name: AreaCode
+ city:
+ description: The city of the address.
+ example: Raleigh
+ title: City
+ type: string
+ xml:
+ name: City
contact:
nullable: false
properties:
@@ -14216,6 +14651,158 @@ components:
- email
- phoneNumber
type: object
+ countryCodeA3:
+ description: Country code of the address in ISO 3166-1 alpha-3 format.
+ example: USA
+ title: Country Code
+ type: string
+ xml:
+ name: CountryCodeA3
+ countryCoverage:
+ properties:
+ countryCodeA3:
+ $ref: '#/components/schemas/countryCodeA3'
+ phoneNumberType:
+ $ref: '#/components/schemas/phoneNumberType'
+ regions:
+ items:
+ $ref: '#/components/schemas/region'
+ type: array
+ xml:
+ name: Regions
+ wrapped: true
+ type: object
+ xml:
+ name: CountryCoverage
+ countryCoverages:
+ items:
+ $ref: '#/components/schemas/countryCoverage'
+ type: array
+ xml:
+ name: CountryCoverages
+ wrapped: true
+ countrySetting:
+ properties:
+ additionalDetails:
+ $ref: '#/components/schemas/additionalDetails'
+ countryCodeA3:
+ $ref: '#/components/schemas/countryCodeA3'
+ features:
+ description: List of features configured for the specified countryCodeA3
+ items:
+ properties:
+ featureName:
+ description: Feature Name
+ example: ORDERING
+ type: string
+ xml:
+ name: FeatureName
+ isDisabled:
+ description: Feature Status
+ example: true
+ type: boolean
+ xml:
+ name: IsDisabled
+ type: object
+ xml:
+ name: Feature
+ type: array
+ xml:
+ name: Features
+ wrapped: true
+ phoneNumberType:
+ $ref: '#/components/schemas/phoneNumberType'
+ type: object
+ xml:
+ name: CountrySetting
+ countrySettings:
+ items:
+ $ref: '#/components/schemas/countrySetting'
+ type: array
+ xml:
+ name: CountrySettings
+ wrapped: true
+ createAddressRequest:
+ properties:
+ addressLine1:
+ description: The number and street address of the address.
+ example: 14111 NE 145th St
+ title: Address Line1
+ type: string
+ addressLine2:
+ description: The number and street address of the address.
+ example: Apt. 8
+ title: Address Line2
+ type: string
+ city:
+ $ref: '#/components/schemas/city'
+ countryCodeA3:
+ $ref: '#/components/schemas/countryCodeA3'
+ customReference:
+ $ref: '#/components/schemas/customReference'
+ isHidden:
+ $ref: '#/components/schemas/isHidden'
+ postalCode:
+ $ref: '#/components/schemas/postalCode'
+ state:
+ description: The state or region of the address.
+ example: WA
+ title: State
+ type: string
+ title: Create Address Request
+ type: object
+ createUpdateAddressLink:
+ properties:
+ href:
+ description: URI of the link.
+ example: /accounts/{accountId}/addresses/{addressId}
+ type: string
+ method:
+ description: HTTP method to be used.
+ example: GET
+ type: string
+ rel:
+ description: Specifies the link to get the updated or created address.
+ example: RelatedResource
+ type: string
+ title: Create Address Link
+ type: object
+ createUpdateAddressLinks:
+ items:
+ oneOf:
+ - $ref: '#/components/schemas/selfLink'
+ - $ref: '#/components/schemas/createUpdateAddressLink'
+ title: Links
+ type: array
+ createUpdateAddressResponse:
+ properties:
+ data:
+ properties:
+ address:
+ $ref: '#/components/schemas/addressResponse'
+ type: object
+ errors:
+ example: []
+ items:
+ $ref: '#/components/schemas/error'
+ type: array
+ links:
+ $ref: '#/components/schemas/createUpdateAddressLinks'
+ title: Update Address Response
+ type: object
+ createdDateTime:
+ description: The created date time in ISO 8601 format.
+ example: '2015-03-11T04:09:25.399Z'
+ type: string
+ customReference:
+ description: >-
+ Customer reference. It can be used for your own reference, e.g. to
+ uniquely identify one of your customers.
+ example: home_office
+ maxLength: 64
+ minLength: 1
+ title: Customer Reference
+ type: string
denialReasonDescription:
description: Denial reason explanation
example: Disallowed Content - Gambling
@@ -14232,6 +14819,65 @@ components:
pattern: >-
^(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\.){3}(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$
type: string
+ error:
+ properties:
+ code:
+ description: >-
+ An application-specific error code for services with extensive error
+ scenarios to supplement `description`.
+ example: 51130
+ format: int32
+ minimum: 4
+ type: integer
+ description:
+ description: >-
+ A human-readable explanation that SHOULD be specific to this
+ occurrence of the problem.
+ example: There was an issue with a field in your request body
+ type: string
+ id:
+ description: A unique identifier for this particular instance of this problem.
+ example: optional-error-id
+ type: string
+ meta:
+ description: >-
+ A meta object containing application-specific information or
+ non-standard metadata about the error.
+ type: object
+ source:
+ $ref: '#/components/schemas/errorSource'
+ type:
+ description: >-
+ A short, human-readable summary of the problem that SHOULD NOT
+ change from occurrence to occurrence of the problem.
+ example: REQUEST_ERROR
+ type: string
+ required:
+ - description
+ title: Error
+ type: object
+ errorSource:
+ properties:
+ field:
+ description: A string indicating which request body field caused the error.
+ example: someField
+ type: string
+ header:
+ description: A string indicating which header field caused the error.
+ example: someHeader
+ type: string
+ parameter:
+ description: A string indicating which URI query parameter caused the error.
+ example: someParameter
+ type: string
+ reference:
+ description: >-
+ A string that references a resource ID or path to the resource (or
+ non-existent resource) causing the error.
+ example: /some/reference
+ type: string
+ title: Error Source
+ type: object
failureWebhookRequest:
properties:
accountId:
@@ -14276,6 +14922,56 @@ components:
type: string
type: object
type: object
+ genericAddressResponse:
+ properties:
+ data:
+ properties:
+ address:
+ $ref: '#/components/schemas/addressResponse'
+ type: object
+ errors:
+ example: []
+ items:
+ $ref: '#/components/schemas/error'
+ type: array
+ links:
+ $ref: '#/components/schemas/addressLinks'
+ title: Address Response
+ type: object
+ genericError:
+ properties:
+ errors:
+ items:
+ $ref: '#/components/schemas/error'
+ nullable: true
+ type: array
+ required:
+ - errors
+ title: Generic Error
+ type: object
+ getAddressFieldsResponse:
+ properties:
+ data:
+ properties:
+ addressFields:
+ items:
+ $ref: '#/components/schemas/addressFieldSchema'
+ type: array
+ type: object
+ errors:
+ example: []
+ items:
+ $ref: '#/components/schemas/error'
+ type: array
+ title: Get Address Fields Response
+ type: object
+ isHidden:
+ description: >-
+ Hide Address. It can be used to hide the address when it is no longer
+ needed.
+ example: false
+ title: Hide Address
+ type: boolean
jsonPatch:
items:
$ref: '#/components/schemas/jsonPatchItem'
@@ -14306,6 +15002,64 @@ components:
- op
- path
type: object
+ listAddressesLinks:
+ items:
+ oneOf:
+ - $ref: '#/components/schemas/selfLink'
+ - $ref: '#/components/schemas/listPrevPageAddressesLink'
+ - $ref: '#/components/schemas/listNextPageAddressesLink'
+ title: Links
+ type: array
+ listAddressesResponse:
+ properties:
+ data:
+ properties:
+ addresses:
+ items:
+ $ref: '#/components/schemas/addressResponse'
+ type: array
+ type: object
+ errors:
+ example: []
+ items:
+ $ref: '#/components/schemas/error'
+ type: array
+ links:
+ $ref: '#/components/schemas/listAddressesLinks'
+ title: List Addresses Response
+ type: object
+ listNextPageAddressesLink:
+ properties:
+ href:
+ description: URI of the link.
+ example: /accounts/{accountId}/addresses?afterCursor={cursorId}
+ type: string
+ method:
+ description: HTTP method to be used.
+ example: GET
+ type: string
+ rel:
+ description: Specifies the link to next page
+ example: RelatedResource
+ type: string
+ title: Address Link for Next Page
+ type: object
+ listPrevPageAddressesLink:
+ properties:
+ href:
+ description: URI of the link.
+ example: /accounts/{accountId}/addresses?beforeCursor={cursorId}
+ type: string
+ method:
+ description: HTTP method to be used.
+ example: GET
+ type: string
+ rel:
+ description: Specifies the link to previous page
+ example: RelatedResource
+ type: string
+ title: Address Link for Previous Page
+ type: object
lnpPortInfoForGivenStatus:
properties:
ActualFOCDate:
@@ -14450,55 +15204,135 @@ components:
name: OrderCreateDate
type: object
type: object
+ phoneNumberType:
+ description: Phone number type
+ enum:
+ - GEOGRAPHIC
+ - NATIONAL
+ - MOBILE
+ - TOLL_FREE
+ - SHARED_COST
+ example: MOBILE
+ title: Phone Number Type
+ type: string
+ xml:
+ name: PhoneNumberType
portingLosingCarriersResponseSchema:
- description: List of losing carriers for porting
properties:
data:
- nullable: true
properties:
losingCarriers:
items:
properties:
name:
- description: The name of the carrier
+ description: The losing carrier name.
example: Losing Carrier 1
+ title: Losing Carrier Name
type: string
type: object
type: array
type: object
errors:
+ example: []
items:
- properties:
- code:
- description: An error code identifying the error
- type: string
- description:
- description: A description of the error
- type: string
- meta:
- description: Additional information regarding the error
- type: object
- type: object
- nullable: true
+ $ref: '#/components/schemas/error'
type: array
links:
+ $ref: '#/components/schemas/selfLink'
+ title: List Addresses Response
+ type: object
+ postalCode:
+ description: The postal code of the address.
+ example: '98072'
+ title: Postal Code
+ type: string
+ product:
+ properties:
+ features:
items:
- properties:
- href:
- description: The API endpoint URL
- example: /porting/losingCarriers
- type: string
- method:
- description: The HTTP method used to make the request
- example: GET
- type: string
- rel:
- description: The relationship of the endpoint to the request
- example: self
- type: string
- type: object
- nullable: true
+ description: Feature Name
+ example: ORDERING
+ type: string
+ xml:
+ name: Feature
+ type: array
+ xml:
+ name: Features
+ wrapped: true
+ name:
+ description: Product Name
+ example: NumberManagement
+ type: string
+ xml:
+ name: Name
+ type: object
+ xml:
+ name: Product
+ productWithCountrySettings:
+ properties:
+ countrySettings:
+ $ref: '#/components/schemas/countrySettings'
+ features:
+ items:
+ description: Feature Name
+ example: ORDERING
+ type: string
+ xml:
+ name: Feature
type: array
+ xml:
+ name: Features
+ wrapped: true
+ name:
+ description: Product Name
+ example: NumberManagement
+ type: string
+ xml:
+ name: Name
+ type: object
+ xml:
+ name: Product
+ region:
+ properties:
+ areaCode:
+ $ref: '#/components/schemas/areaCode'
+ city:
+ $ref: '#/components/schemas/city'
+ type: object
+ xml:
+ name: Region
+ responseStatus:
+ properties:
+ description:
+ description: 'Detailed explanation about error '
+ example: A supplied phoneNumberType within '[SPECIALLL]' is invalid.
+ type: string
+ xml:
+ name: Description
+ errorCode:
+ description: Numeric designation of corresponding error
+ example: 4010
+ type: integer
+ xml:
+ name: ErrorCode
+ type: object
+ xml:
+ name: ResponseStatus
+ selfLink:
+ properties:
+ href:
+ description: URI of the link.
+ example: /self/uri
+ type: string
+ method:
+ description: HTTP method to be used.
+ example: GET
+ type: string
+ rel:
+ description: Specifies the relationship between this link and the resource.
+ example: SelfResource
+ type: string
+ title: Self Link
type: object
shortCode:
description: Short code registration.
@@ -15047,52 +15881,6 @@ components:
- is required
- can not be empty
type: object
- telephoneNumberDetail:
- description: Returned when `enableTnDetail=True`
- properties:
- city:
- example: MICCO
- type: string
- xml:
- name: City
- fullNumber:
- example: 17722029845
- type: string
- xml:
- name: FullNumber
- lata:
- example: 46018
- type: number
- xml:
- name: LATA
- rateCenter:
- example: SEBASTIAN
- type: string
- xml:
- name: RateCenter
- state:
- example: FL
- type: string
- xml:
- name: State
- tier:
- example: 0
- type: number
- xml:
- name: Tier
- vendorId:
- example: 49
- type: number
- xml:
- name: VendorId
- vendorName:
- example: Bandwidth CLEC
- type: string
- xml:
- name: VendorName
- type: object
- xml:
- name: TelephoneNumberDetail
tfPhoneNumber:
description: Toll-free telephone number in E.164 format
example: '+18005555555'
@@ -15185,6 +15973,40 @@ components:
example: abc-d8569gh
type: string
type: object
+ unsupportedFeatures:
+ description: Excluded Features
+ items:
+ properties:
+ featureName:
+ description: A unique identifier for feature.
+ example: EMERGENCY
+ type: string
+ requiredCriteria:
+ items:
+ properties:
+ description:
+ description: >-
+ A human-readable explanation that SHOULD be specific to this
+ occurrence of the problem.
+ example: 'missing fields: addressLine2'
+ type: string
+ type: object
+ type: array
+ type: object
+ title: Excluded Features
+ type: array
+ updateAddressRequest:
+ properties:
+ customReference:
+ $ref: '#/components/schemas/customReference'
+ isHidden:
+ $ref: '#/components/schemas/isHidden'
+ title: Update Address Request
+ type: object
+ updatedDateTime:
+ description: The updated date time in ISO 8601 format.
+ example: '2015-03-11T04:09:25.399Z'
+ type: string
useCase:
example: 2FA
maxLength: 500
@@ -15205,6 +16027,47 @@ components:
items:
type: string
type: array
+ validateAddressLink:
+ properties:
+ href:
+ description: URI of the link.
+ example: /accounts/{accountId}/addresses
+ type: string
+ method:
+ description: HTTP method to be used.
+ example: POST
+ type: string
+ rel:
+ description: Specifies the link to create the address.
+ example: RelatedResource
+ type: string
+ title: Validate Address Link
+ type: object
+ validateAddressLinks:
+ items:
+ oneOf:
+ - $ref: '#/components/schemas/selfLink'
+ - $ref: '#/components/schemas/validateAddressLink'
+ title: Links
+ type: array
+ validateAddressResponse:
+ properties:
+ data:
+ properties:
+ address:
+ $ref: '#/components/schemas/createAddressRequest'
+ unsupportedFeatures:
+ $ref: '#/components/schemas/unsupportedFeatures'
+ type: object
+ errors:
+ example: []
+ items:
+ $ref: '#/components/schemas/error'
+ type: array
+ links:
+ $ref: '#/components/schemas/validateAddressLinks'
+ title: Validate Address Response
+ type: object
verificationRequest:
properties:
additionalInformation:
@@ -15456,6 +16319,250 @@ paths:
summary: Retrieve account
tags:
- Account
+ /accounts/{accountId}/activationRequirements:
+ get:
+ description: >-
+ Some numbers have to be activated before the service can be enabled by
+ Bandwidth. Activating a number is done by providing an activation that
+ links to the number, and a proof of residency if required. This API
+ provides all countries and number types that need activation.
+ operationId: ListActivationRequirements
+ parameters:
+ - $ref: '#/components/parameters/AccountIdPathParam'
+ - $ref: '#/components/parameters/countryCodeA3QueryParam'
+ - $ref: '#/components/parameters/phoneNumberTypeQueryParam'
+ responses:
+ '200':
+ content:
+ application/xml:
+ examples:
+ example:
+ value: |-
+
+
In this table are presented combinations of path parameters for different type of search:
Search Type | Required Parameters | Combinational Parameters | Optional Parameters |
---|---|---|---|
Area Code | areaCode | rateCenter (state required), city (state required), state, lata, zip | quantity, enableTNDetail, protected |
NPA-NXX | npaNxx | rateCenter (state required), city (state required), state, lata, zip, orderBy | quantity, enableTNDetail, protected |
NPA-NXX with Local Calling Area | npaNxx | quantity, LCA, enableTNDetail, protected | |
NPA-NXX-X | npaNxxx | rateCenter (state required), city (state required), state, lata, zip, orderBy | quantity, enableTNDetail, protected |
NPA-NXX-X with Local Calling Area | npaNxxx | rateCenter (state required), city (state required), state, lata, zip | quantity, LCA, enableTNDetail, protected |
RateCenter | rateCenter, state | city, areaCode/npaNxx/npaNxxx, lata, zip, orderBy | quantity, enableTNDetail, protected |
RateCenter with Local Calling Area | rateCenter, state | quantity, LCA, enableTNDetail, protected | |
State | state | rateCenter, city, areaCode/npaNxx/npaNxxx, lata, zip | quantity, enableTNDetail, protected |
City | state, city | rateCenter, state, areaCode/npaNxx/npaNxxx, lata, zip, orderBy | quantity, enableTNDetail, protected |
Zip Code | zip | rateCenter (state required), city (state required), state, areaCode/npaNxx/npaNxxx, lata, orderBy | quantity, enableTNDetail, protected |
LATA | lata | rateCenter (state required), city (state required), state, areaCode/npaNxx/npaNxxx, zip | quantity, enableTNDetail, protected |
Local Vanity | localVanity | state, areaCode | endsIn, quantity, protected, enableTNdetails |
TollFree Vanity | tollFreeVanity | orderBy | quantity |
TollFree WildCard | tollFreeWildCardPattern | orderBy | quantity |
The 3-digit area code associated with the TN.
The 6-digit prefix associated with the TN.
The name of the city. NOTE: `State` becomes a required - parameter when searching by `city`.
- example: RALEIGH - in: query - name: city - required: false - schema: - type: string - description:The two-letter abbreviation of the state the RateCenter is in
example: NC in: query @@ -16388,27 +17577,157 @@ paths: responses: '200': content: + application/json: + examples: + NANPA TN Detail: + value: |- + { + "resultCount": 2, + "telephoneNumberDetailList": [ + { + "countryCodeA3": "USA", + "phoneNumberType": "GEOGRAPHIC", + "city": "CARY-RESEARCH TRIANGLE PARK", + "LATA": 426, + "rateCenter": "CARY-RTP", + "state": "NC", + "fullNumber": "+19193716651", + "tier": 0, + "vendorId": 49, + "vendorName": "Bandwidth CLEC" + }, + { + "countryCodeA3": "USA", + "phoneNumberType": "GEOGRAPHIC", + "city": "CARY-RESEARCH TRIANGLE PARK", + "LATA": 426, + "rateCenter": "CARY-RTP", + "state": "NC", + "fullNumber": "+19193716675", + "tier": 0, + "vendorId": 49, + "vendorName": "Bandwidth CLEC" + } + ] + } + Other TN Detail: + value: |- + { + "resultCount": 2, + "telephoneNumberDetailList": [ + { + "countryCodeA3": "NLD", + "phoneNumberType": "GEOGRAPHIC", + "city": "AMSTERDAM", + "areaCode": 20, + "tier": 0, + "fullNumber": "+131208908115" + }, + { + "countryCodeA3": "NLD", + "phoneNumberType": "NATIONAL", + "city": "AMSTERDAM", + "areaCode": 20, + "tier": 0, + "fullNumber": "+131208908116" + } + ] + } + TN Detail Disabled: + value: |- + { + "resultCount": 2, + "telephoneNumberList": [ + "+14354776112" + ] + } + schema: + $ref: '#/components/schemas/SearchResult' application/xml: examples: - example: + NANPA TN Detail: + value: |- + +A list of available numbers is provided. Additional information - is available if the queryParameter enableTNDetail is true. If no - numbers are available an empty SearchResult element is returned.
+ description: Created '400': content: + application/json: + examples: + example: + value: |- + { + "error": { + "code": 4010, + "description": "One of more required search parameters are null or empty, please refer to the api documentation" + } + } + schema: + $ref: '#/components/schemas/SearchResultError' application/xml: examples: example: @@ -16421,204 +17740,11 @@ paths: schema: - $ref: '#/components/schemas/SearchResultErrorWrapper' + $ref: '#/components/schemas/SearchResultError' description:Invalid/missing input parameter
summary: Retrieve available tns tags: - Available Tns - /accounts/{accountId}/bdrs: - post: - deprecated: true - description: >- -Note - this API is being replaced with the /billingreports API - - we strongly recommend that you use that endpoint.
This API - allows the retrieval of a ZIP file containing BDR records for a - specified date range. These BDR records are delivered as a ZIP - compressed comma separated values (CSV) file. The general flow of the - API calls required to retrieve these records is:
The bdr id resource will query the status of the bdr file that is - being generated. There are essentially two responses...
A GET on the BDR ID will - return a still processing indication if the file creation has not - completed, or will redirect to the file to be downloaded.
- operationId: GetBDRStatus - parameters: - - $ref: '#/components/parameters/AccountIdPathParam' - - description: '' - in: path - name: bdrid - required: true - schema: - type: string - responses: - '200': - content: - application/xml: - examples: - example: - value: |- - -Retrieve a list of the externalTns orders that are associated with - the account.
A maximum of 1,000 orders can be retrieved per - request. If no date range or specific query parameter (marked by * below) is provided, the order results will be - limited to the last two years.
- operationId: ListExternalTnsOrder - parameters: - - $ref: '#/components/parameters/AccountIdPathParam' - - description: The status of the TN Option order being searched for. - example: PARTIAL - in: query - name: status - required: false - schema: - items: - type: string - type: array - - description: A Telephone Number (TN) that is referenced in the order. - example: '+19199918388' - in: query - name: tn - required: true - schema: - type: string - - description: >- - The Customer Order ID is an ID assigned by the account owner to - provide a reference number for the TN Option order. - example: ABCCorp12345 - in: query - name: customerOrderId - required: true - schema: - type: string - - description: >- - Checks the order's creation date against this value. Orders that - have a creation date after this date will be included. Format is - yyyy-MM-dd. - example: '2013-10-22' - in: query - name: createdDateFrom - required: false - schema: - type: string - - description: >- - Checks the order's creation date against this value. Orders that - have a creation date before this date will be included. Format is - yyyy-MM-dd. - example: '2013-10-25' - in: query - name: createdDateTo - required: false - schema: - type: string - - description: >- - This search parameter represents the internal Bandwidth Dashboard - API ID that has been assigned to the TN Option Order. This - parameter is the first few characters of the internal ID - the - entire ID does not need to be specified. - example: ed1c0bed-e2 - in: query - name: orderIdFragment - required: true - schema: - type: string - - description: >- - Whether or not the results should be restricted to IMPORT or REMOVE - orders. - example: REMOVE - in: query - name: action - required: false - schema: - type: string - - description: >- - Whether or not the results should be restricted to CARRIER or - SUBSCRIBER orders. - example: SUBSCRIBER - in: query - name: loaType - required: false - schema: - default: ALL - type: string - - description: >- - For Date-based searches, the starting date of a date range - (inclusive) that will be used to find External Tn Orders that were - modified within the date range. It is in the form yyyy-MM-dd. - example: '2013-10-22' - in: query - name: modifiedDateFrom - required: false - schema: - type: string - - description: >- - For Date-based searches, the ending date of a date range (inclusive) - that will be used to find External Tn Orders that were modified - within the date range. It is in the form yyyy-MM-dd. - example: '2013-10-25' - in: query - name: modifiedDateTo - required: false - schema: - type: string - responses: - '200': - content: - application/xml: - examples: - example: - value: |- - -13552
- 13552
- Create a externalTns order to add or remove telephone numbers - provided by the customer from the Bandwidth network.
Note: the - attempt to import a telephone number that is already present in the - account will not create an error, but will reset all of the - attributes of that telephone number in the Dashboard system as if the - telephone number was being imported for the first time.
- operationId: CreateExternalTnsOrder - parameters: - - $ref: '#/components/parameters/AccountIdPathParam' - requestBody: - content: - application/xml: - examples: - example: - value: |- - -Retrieve information about a externalTns order with specified ID.
- operationId: GetExternalTnsOrder - parameters: - - $ref: '#/components/parameters/AccountIdPathParam' - - description: '' - in: path - name: orderId - required: true - schema: - type: string - responses: - '200': - content: - application/xml: - examples: - example: - value: |- - -[int]
- The descriptive payload for the externalTns query provides a - broad range of information about the externalTns order identified in - the URL. Included amongst the information - is...
NOT FOUND - the order id does not exist in the system
- summary: Retrieve external tns order - tags: - - External Tn /accounts/{accountId}/geocodeRequest: post: description: >- @@ -24329,7 +25025,7 @@ paths: description: >-Service unavailable - for some reason service is temporary unavailable.
- summary: Validate address + summary: Validate E911 address [NANPA] tags: - Addresses /accounts/{accountId}/hosts: @@ -25850,41 +26546,67 @@ paths: get: description: >- Retrieves a list of in-service phone numbers associated with the account - ID + ID. + + + In this table are presented capabilities that are not universally + available. The following request query parameters are only allowed for + numbers from specific region/country: + + | Number Region | Request Query Parameter | + + |:--------------|:------------------------| + + |NANPA|city| + + |NANPA|tier| + + |NANPA|npaNxx| + + |NANPA|npaNxxx| + + |NANPA|lata| + + |NANPA|state| + + |NANPA|ratecenter| + + + When the query parameters listed in the table above are passed, only + inservice the North American Numbering Plan phone numbers from are + returned. operationId: ReadInserviceTns parameters: - $ref: '#/components/parameters/AccountIdPathParam' - - description: The `page` to fetch in a paginated collection - example: 1 - in: query - name: page - required: false - schema: - default: 1 - type: integer - - description: The number of TNs to retrieve - example: 300 - in: query - name: size - required: false - schema: - default: 300 - type: integer + - $ref: '#/components/parameters/pageQueryParam' + - $ref: '#/components/parameters/sizeQueryParam' + - $ref: '#/components/parameters/startdateQueryParam' + - $ref: '#/components/parameters/enddateQueryParam' + - $ref: '#/components/parameters/countryCodeA3QueryParam' + - $ref: '#/components/parameters/phoneNumberTypeQueryParam' + - $ref: '#/components/parameters/areaCodeQueryParam' + - $ref: '#/components/parameters/cityQueryParam' + - $ref: '#/components/parameters/tierQueryParam' - description: >- - An Area Code search filter - all returned TNs will be in the entered - Area Code - example: 919 +The 6-digit prefix associated with the TN.
The 7-digit prefix associated with the TN.
Please visit Please visit Guides and Tutorials to learn more.
operationId: CreateOrder @@ -28249,7 +28958,7 @@ paths: content: application/xml: examples: - AreaCodeSearchAndOrderType: + AreaCodeSearchAndOrderType [NANPA]: description: >- Allowed ranges ~ [2-9] for the first digit and [0, 9] for both the second and third digits. @@ -28266,7 +28975,7 @@ paths:Report Type | Report ID | Report Name | Description | Number Region |
---|---|---|---|---|
Numbers | 37 | Bandwidth Phone Number Inventory | A list of all telephone numbers in 'Available' status at the time that the report was compiled | NANPA |
Numbers | 4 | Phone Number Inventory | A list of all phone numbers associated with an account | |
Numbers | 34 | End-User Phone Number Assignment | A list of phone numbers and their end-user assignment statuses | NANPA |
Numbers | 50 | Protected Phone Numbers | This report will provide a simple report that lists all of the protected TNs on an account, as well as their status. | NANPA |
Voice Enabled Numbers | 2 | Voice Phone Number Details | Complete information about all phone numbers within the report’s scope | |
Voice Enabled Numbers | 65 | Phone Number Route Plan | This report lists all of the route plans that are active for the indicated account | NANPA |
Voice Enabled Numbers | 48 | Phone Number Utilization | This account report will provide insight into the current utilization and assignment data associated with the Bandwidth Dashboard TN inventory | NANPA |
Voice Enabled Numbers | 47 | Under-Utilized and Unassigned Phone Numbers | This report will list all of the Telephone Numbers that appear to be under-utilized and unassigned. | NANPA |
Messaging Enabled Numbers | 67 | Messaging Phone Number Details | Details of phone numbers with active messaging for particular snapshot date | |
Messaging Enabled Numbers | 31 | External Phone Number Details | Complete information about customer provided phone numbers within the report’s scope | NANPA |
Emergency Enabled Numbers | 6 | Emergency Services Phone Number Details | Emergency Service information associated with phone numbers within the report’s scope | NANPA |
Emergency Enabled Numbers | 36 | Alternate Caller ID E911 Report | E911 detail information for accounts that use an alternative identifier for the end user | NANPA |
Emergency Enabled Numbers | 42 | E911 Dynamic Location Routing Addresses | A list of all E911 addresses provisioned to an account. The list of addresses shown are only for Dynamic Location Routing-enabled accounts. | NANPA |
Orders | 59 | New Number Orders | Phone number details for historic or current new number orders | |
Orders | 30 | Disconnect Orders | Information about all phone numbers that have been disconnected from the account | |
Orders | 14 | Port-in Orders | Phone number details for historic or current port-in orders | |
Orders | 8 | Port-out Orders | Phone number details for historic or current port-out orders | |
Account | 16 | UC Account Summary | Detailed account information for a given UC account | NANPA |
Users | 24 | User Information | Information about all active and inactive users for a given account |
The 6-digit prefix associated with the TN.
The 7-digit prefix associated with the TN.
Number - attribute | Action value | Description of - action |
---|---|---|
LongCode | systemDefault | Removes - the per-TN A2P attributes, and it reverts to the Location/SIP Peer - characteristics. Any values for Class or Campaign ID are not - valid |
LongCode | asSpecified | Sets - the message class and campaign ID - this is the default if - unspecified |
LongCode | off | Will - set the TN as a 'P' TN. Any values for Class or Campaign ID are not - valid |
LongCode | delete | Will - delete the campaign ID from TN. Any values for Class or Campaign ID are - not valid |
LongCode | unchanged | Do - nothing with respect to - A2P |
TollFree | systemDefault | Removes - the per-TN A2P attributes, and it reverts to the Location/SIP Peer - characteristics. Any values for Class or Campaign ID are not - valid |
TollFree | asSpecified | Sets - the message class and campaign ID - this is the default if - unspecified |
TollFree | off | If the - Togglz value is set to 'on' this is invalid for Toll Free telephone - numbers. Any values for Class or Campaign ID in the payload are invalid. - If the Togglz value is set to off this behaves like and A2P TN, where - the characteristics of the TNs is set to - 'P' |
TollFree | unchanged | Do - nothing with respect to A2P |
Action - value | Description of - action |
---|---|
asSpecified | Creates/updates the - origination route plan for the TN with route plan details provided in - the request |
off | Removes the origination route - plan for the TN. Route list is the request must be - empty |
unchanged | Doesn't update/create the - origination route plan, even when route plan details exist in the - request |
Action value | Description of - action |
---|---|
true | Enables Pindrop integration on each - phone number in the option - group |
false | Explicitly disables Pindrop - integration on each phone number in the option - group |
Action - value | Description of - action |
---|---|
true | Enables Call Verification on each - phone number in the option - group |
false | Explicitly disables Call - Verification on each phone number in the option - group |
Attribute | +Product | +Number Region | +
---|---|---|
TelephoneNumbers | ++ | + |
PortOutPasscode | +Numbers | +NANPA | +
Protected | +Numbers | +NANPA | +
OriginationRoutePlan | +Voice | ++ |
NumberFormat | +Voice | ++ |
RPIDFormat | +Voice | ++ |
RewriteUser | +Voice | ++ |
CallForward | +Voice | ++ |
FinalDestinationURI | +Voice | ++ |
PindropEnabled | +Voice | +NANPA | +
ESPID | +Voice | +NANPA | +
CallingNameDisplay | +Voice | +NANPA | +
Sms | +Messaging | ++ |
A2pSettings | +Messaging | +NANPA | +
NNID | +Messaging | +NANPA | +
Number attribute | Action value | Description of action |
---|---|---|
LongCode | systemDefault | Removes the per-TN A2P attributes, and it reverts to the Location/SIP Peer characteristics. Any values for Class or Campaign ID are not valid |
LongCode | asSpecified | Sets the message class and campaign ID - this is the default if unspecified |
LongCode | off | Will set the TN as a ''P'' TN. Any values for Class or Campaign ID are not valid |
LongCode | delete | Will delete the campaign ID from TN. Any values for Class or Campaign ID are not valid |
LongCode | unchanged | Do nothing with respect to A2P |
TollFree | systemDefault | Removes the per-TN A2P attributes, and it reverts to the Location/SIP Peer characteristics. Any values for Class or Campaign ID are not valid |
TollFree | asSpecified | Sets the message class and campaign ID - this is the default if unspecified |
TollFree | off | If the Togglz value is set to ''on'' this is invalid for Toll Free telephone numbers. Any values for Class or Campaign ID in the payload are invalid. If the Togglz value is set to off this behaves like and A2P TN, where the characteristics of the TNs is set to ''P'' |
TollFree | unchanged | Do nothing with respect to A2P |
Action value | Description of action |
---|---|
asSpecified | Creates/updates the origination route plan for the TN with route plan details provided in the request |
off | Removes the origination route plan for the TN. Route list is the request must be empty |
unchanged | Doesn''t update/create the origination route plan, even when route plan details exist in the request |
Action value | Description of action |
---|---|
true | Enables Pindrop integration on each phone number in the option group |
false | Explicitly disables Pindrop integration on each phone number in the option group |
List losing carriers that a non-NANPA number can be ported from, - given a countryCodeA3 and optional areaCode and phoneNumberType - values.
+List losing carriers that a number can be ported from. This endpoint + is only relevant for non-NANPA number portin orders, which require a + losing carrier to be specified.
operationId: portingLosingCarriers parameters: - - $ref: '#/components/parameters/countryCodeA3QueryParameter' - - $ref: '#/components/parameters/phoneNumberTypeQueryParameter' - - $ref: '#/components/parameters/areaCodeQueryParameter' + - $ref: '#/components/parameters/countryCodeA3QueryParam_eq' + - $ref: '#/components/parameters/phoneNumberTypeQueryParam_eq' + - $ref: '#/components/parameters/areaCodeQueryParam_eq' responses: '200': $ref: '#/components/responses/listOfLosingCarriersResponse' '400': - $ref: >- - #/components/responses/badRequestLosingInvlaidCountryCodeCarriersResponse + $ref: '#/components/responses/badRequestError' '502': - $ref: '#/components/responses/noUpstreamServicesLosingCarriersResponse' - summary: List losing carriers for porting non-NANPA telephone numbers + $ref: '#/components/responses/internalServerError' + summary: List losing carriers tags: - Porting /rateCenters: @@ -42877,34 +43658,97 @@ paths: summary: List Rate Centers tags: - Rate Centers + /restrictions: + get: + description: >- + Information about how services work in various countries and which + restrictions and rules apply. Please consult this information before + buying and configuring your numbers. + operationId: ListRestrictions + parameters: + - $ref: '#/components/parameters/countryCodeA3QueryParam' + responses: + '200': + content: + application/xml: + examples: + example: + value: |- + +The 6-digit prefix associated with the TN.
The 7-digit prefix associated with the TN.