Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature - CMX-2819: Get Assigned Numbers Endpoint to Support Filtering by Type (Public API) #69

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 19 additions & 3 deletions spec/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1529,7 +1529,7 @@ paths:
### Sender ID is an Alpha Tag
The following parameters are used when registering an alpha tag as a Sender ID:
- ```sender_address:``` **(Required)**. The alphanumeric string that you wish register as an alpha tag. This parameter is case insensitive. If this alpha tag already exists on your account, you will receive a conflict error message.
- ```destination_countries:``` **(Required)**. The countries that you wish to register the alpha tag for use in, in two-character ISO 3166 format. Currently only AU is supported.
- ```destination_countries:``` **(Required)**. The countries that you wish to register the alpha tag for use in, in two-character ISO 3166 format. Currently AU and GB are supported.
- ```sender_address_type:``` **(Required)**. For alpha tags this is always ALPHANUMERIC
- ```usage_type:``` **(Required)**. For alpha tags this is always ALPHANUMERIC
- ```label:``` **(Optional)**. A reference name for the sender ID to allow you to easily track it.
Expand Down Expand Up @@ -1565,7 +1565,7 @@ paths:
- If applying on behalf of a third-party entity: “We are authorized to use the Sender ID on behalf of [full entity name of sender] with a valid use case.”

The reason parameter must contain all the above items. A well formatted reason looks like the following:
- "reason": "{\n \"useCase\":\"AUSTRALIAN_GOVERNMENT_AGENCY_OR_ENTITY\",\n \"description\":\"blah blah\",\n \"email\":\"[email protected]\",\n \"australianGovernmentAgencyOrEntityName\":\"blah blah\",\n \"statement\":\"We are authorised to use the Sender ID on behalf of [full entity name of sender] with a valid use case.\"\n}\n"
- "reason": "{\n  \\"useCase\\":\\"AUSTRALIAN_GOVERNMENT_AGENCY_OR_ENTITY\\",\n  \\"description\\":\\"bal bla\\",\n  \\"email\\":\\"[email protected]\\",\n  \\"australianGovernmentAgencyOrEntityName\\":\\"bla bla\\",\n  \\"statement\\":\\"We are authorised to use the Sender ID on behalf of [full entity name of sender] with a valid use case.\\"\n}\n"

### Sender ID is a Personal Number
The following parameters are used when registering a personal mobile phone number as a Sender ID:
Expand Down Expand Up @@ -3304,11 +3304,18 @@ paths:
example: AU
- name: type
in: query
description: Filter results by Number type
description: Filter results by Number type. When both `type` and `types` are provided, `types` will take precedence, and `type` will be ignored.
style: form
explode: true
schema:
$ref: '#/components/schemas/Type'
- name: types
in: query
description: Filter results by Number Types
style: form
explode: true
schema:
$ref: '#/components/schemas/Types'
- name: classification
in: query
description: Filter results by Number Classification
Expand Down Expand Up @@ -7625,6 +7632,15 @@ components:
- SHORT_CODE
type: string
example: MOBILE
Types:
title: Types
enum:
- MOBILE
- LANDLINE
- TOLL_FREE
- SHORT_CODE
type: string
example: MOBILE,LANDLINE,TOLL_FREE
Assignment:
title: Assignment
type: object
Expand Down
Loading