Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

Commit 52c5b40

Browse files
authored
BWDB-15048: Update API docs for Triggered flag on manual port-ins (#988)
1 parent 2046a99 commit 52c5b40

File tree

1 file changed

+159
-123
lines changed

1 file changed

+159
-123
lines changed

site/specs/numbers.yml

Lines changed: 159 additions & 123 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,39 @@ components:
589589
<BusinessIdentity>DirectCustomer</BusinessIdentity>
590590
</CampaignSettings>
591591
</CampaignSettingsResponse>
592+
ImportVoiceTnOrders:
593+
description: List all import voice tn orders response
594+
value: |-
595+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
596+
<ImportVoiceTnOrders>
597+
<TotalCount>2</TotalCount>
598+
<ImportVoiceTnOrderSummary>
599+
<ImportVoiceTnOrderSummary>
600+
<accountId>14</accountId>
601+
<CountOfTNs>1</CountOfTNs>
602+
<CustomerOrderId>CustomerOrderId</CustomerOrderId>
603+
<userId>systemUser</userId>
604+
<lastModifiedDate>2019-01-24T11:08:09.770Z</lastModifiedDate>
605+
<OrderDate>2019-01-24T11:08:09.770Z</OrderDate>
606+
<OrderType>import_tn_orders</OrderType>
607+
<OrderStatus>COMPLETE</OrderStatus>
608+
<OrderId>211a103c-5f9c-4117-8833-c574bdc390fd</OrderId>
609+
</ImportVoiceTnOrderSummary>
610+
</ImportVoiceTnOrderSummary>
611+
<ImportVoiceTnOrderSummary>
612+
<ImportVoiceTnOrderSummary>
613+
<accountId>14</accountId>
614+
<CountOfTNs>2</CountOfTNs>
615+
<CustomerOrderId>CustomerOrderId</CustomerOrderId>
616+
<userId>systemUser</userId>
617+
<lastModifiedDate>2019-01-24T10:43:16.934Z</lastModifiedDate>
618+
<OrderDate>2019-01-24T10:43:16.934Z</OrderDate>
619+
<OrderType>import_tn_orders</OrderType>
620+
<OrderStatus>PARTIAL</OrderStatus>
621+
<OrderId>8dc32f09-2329-4c73-b702-526f46b02712</OrderId>
622+
</ImportVoiceTnOrderSummary>
623+
</ImportVoiceTnOrderSummary>
624+
</ImportVoiceTnOrders>
592625
MyBrandRequest:
593626
value: |-
594627
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
@@ -638,6 +671,16 @@ components:
638671
</CampaignSettings>
639672
</CampaignSettingsResponse>
640673
parameters:
674+
AccountIDQueryParam:
675+
description: >
676+
This is the account that the searched-for order will be contributing
677+
to. Specifying this parameter will restrict the search to imported
678+
voice orders within the specified account.
679+
example: 5000125
680+
in: query
681+
name: accountID
682+
schema:
683+
type: integer
641684
AccountIdPathParam:
642685
description: User's account ID
643686
example: '1234567'
@@ -654,6 +697,35 @@ components:
654697
required: true
655698
schema:
656699
type: string
700+
CreatedDateFromQueryParam:
701+
description: >-
702+
Checks the order's creation date against this value. Orders that have a
703+
creation date after this date will be included. Format is yyyy-MM-dd
704+
example: '2013-10-22'
705+
in: query
706+
name: createdDateFrom
707+
schema:
708+
format: date
709+
type: string
710+
CreatedDateToQueryParam:
711+
description: >-
712+
Checks the order's creation date against this value. Orders that have a
713+
creation date before this date will be included. Format is yyyy-MM-dd
714+
example: '2013-10-25'
715+
in: query
716+
name: createdDateTo
717+
schema:
718+
format: date
719+
type: string
720+
CustomerOrderIdQueryParam:
721+
description: >-
722+
The Customer Order ID is an ID assigned by the account owner to provide
723+
a reference number for the importVoiceTnOrder.
724+
example: ABCCorp12345
725+
in: query
726+
name: customerOrderId
727+
schema:
728+
type: string
657729
DomainNamePathParam:
658730
description: Domain name
659731
example: dashboard
@@ -677,6 +749,28 @@ components:
677749
required: true
678750
schema:
679751
type: string
752+
ModifiedDateFromQueryParam:
753+
description: >-
754+
For Date-based searches, the starting date of a date range (inclusive)
755+
that will be used to find Import Tn Orders that were modified within the
756+
date range. It is in the form yyyy-MM-dd.
757+
example: '2013-10-22'
758+
in: query
759+
name: modifiedDateFrom
760+
schema:
761+
format: date
762+
type: string
763+
ModifiedDateToQueryParam:
764+
description: >-
765+
For Date-based searches, the ending date of a date range (inclusive)
766+
that will be used to find Import Tn Orders that were modified within the
767+
date range. It is in the form yyyy-MM-dd.
768+
example: '2013-10-25'
769+
in: query
770+
name: modifiedDateTo
771+
schema:
772+
format: date
773+
type: string
680774
OrderIdPathParam:
681775
description: ID of order to retrieve
682776
example: bf1305b8-8998-1111-2222-51ba3ce52d4e
@@ -714,6 +808,13 @@ components:
714808
schema:
715809
format: int32
716810
type: integer
811+
SipPeerIdQueryParam:
812+
description: A Sip Peer Id that is referenced in the order
813+
example: 50139
814+
in: query
815+
name: sipPeerId
816+
schema:
817+
type: integer
717818
SiteIdPathParam:
718819
description: Site ID of the Sip Peer
719820
example: '407'
@@ -744,6 +845,13 @@ components:
744845
required: true
745846
schema:
746847
type: string
848+
TnQueryParam:
849+
description: A Telephone Number (TN) that is referenced in the order
850+
example: '9199918388'
851+
in: query
852+
name: tn
853+
schema:
854+
type: string
747855
UserIdPathParam:
748856
description: User Id
749857
example: testUser
@@ -821,6 +929,18 @@ components:
821929
type: string
822930
requestBodies: {}
823931
responses:
932+
ImportVoiceTnOrdersResponse:
933+
content:
934+
application/xml:
935+
examples:
936+
listAllImportVoiceTnOrders:
937+
$ref: '#/components/examples/ImportVoiceTnOrders'
938+
description: >
939+
The descriptive payload for the importTnOrders query provides
940+
information about the orders found by the query, including the data
941+
associated with the order, the state of the order, and a list of the
942+
successfully imported Telephone Numbers, and descriptions of any
943+
encountered errors.
824944
shortCode400:
825945
content:
826946
application/json:
@@ -6487,7 +6607,9 @@ components:
64876607
The `Triggered` field must be set to `true` if you want an
64886608
activation time other than the 11:30 AM ET default. The desired
64896609
activation time can then be specified in the time portion of the
6490-
`RequestedFocDate`.
6610+
`RequestedFocDate`. This field will be ignored if set for port-ins
6611+
with the `MANUAL_TOLLFREE`, `MANUAL_ON_NET`, or `MANUALOFFNET` port
6612+
types, as all manual port-ins are activated at 11:30 AM ET.
64916613
type: boolean
64926614
WirelessInfo:
64936615
description: Most common for telephone numbers that were formerly wireless.
@@ -17506,7 +17628,7 @@ paths:
1750617628
parameters:
1750717629
- $ref: '#/components/parameters/AccountIdPathParam'
1750817630
- description: The earliest date that the order was last modified.
17509-
example: 2014-08-05T00:00:00.000Z
17631+
example: '2014-08-05 00:00:00+00:00'
1751017632
in: query
1751117633
name: modifiedDateFrom
1751217634
required: false
@@ -17516,7 +17638,7 @@ paths:
1751617638
The latest date that the order was last modified. If no
1751717639
modifiedDateTo is specified when a modifiedDateFrom is specified
1751817640
then 'now' will be presumed to be the modifiedDateTo.
17519-
example: 2014-08-05T00:00:00.000Z
17641+
example: '2014-08-05 00:00:00+00:00'
1752017642
in: query
1752117643
name: modifiedDateTo
1752217644
required: false
@@ -22864,69 +22986,13 @@ paths:
2286422986
parameters:
2286522987
- $ref: '#/components/parameters/AccountIdPathParam'
2286622988
- $ref: '#/components/parameters/StatusQueryParam'
22867-
- description: A Telephone Number (TN) that is referenced in the order
22868-
example: '9199918388'
22869-
in: query
22870-
name: tn
22871-
required: true
22872-
schema:
22873-
type: string
22874-
- description: >-
22875-
The Customer Order ID is an ID assigned by the account owner to
22876-
provide a reference number for the importVoiceTnOrder.
22877-
example: ABCCorp12345
22878-
in: query
22879-
name: customerOrderId
22880-
required: true
22881-
schema:
22882-
type: string
22883-
- description: >-
22884-
Checks the order's creation date against this value. Orders that
22885-
have a creation date after this date will be included. Format is
22886-
yyyy-MM-dd
22887-
example: '2013-10-22'
22888-
in: query
22889-
name: createdDateFrom
22890-
required: false
22891-
schema:
22892-
type: string
22893-
- description: >-
22894-
Checks the order's creation date against this value. Orders that
22895-
have a creation date before this date will be included. Format is
22896-
yyyy-MM-dd
22897-
example: '2013-10-25'
22898-
in: query
22899-
name: createdDateTo
22900-
required: false
22901-
schema:
22902-
type: string
22903-
- description: >-
22904-
For Date-based searches, the starting date of a date range
22905-
(inclusive) that will be used to find Import Tn Orders that were
22906-
modified within the date range. It is in the form yyyy-MM-dd.
22907-
example: '2013-10-22'
22908-
in: query
22909-
name: modifiedDateFrom
22910-
required: false
22911-
schema:
22912-
type: string
22913-
- description: >-
22914-
For Date-based searches, the ending date of a date range (inclusive)
22915-
that will be used to find Import Tn Orders that were modified within
22916-
the date range. It is in the form yyyy-MM-dd.
22917-
example: '2013-10-25'
22918-
in: query
22919-
name: modifiedDateTo
22920-
required: false
22921-
schema:
22922-
type: string
22923-
- description: A Sip Peer Id that is referenced in the order
22924-
example: '50139'
22925-
in: query
22926-
name: sipPeerId
22927-
required: false
22928-
schema:
22929-
type: integer
22989+
- $ref: '#/components/parameters/TnQueryParam'
22990+
- $ref: '#/components/parameters/CustomerOrderIdQueryParam'
22991+
- $ref: '#/components/parameters/CreatedDateFromQueryParam'
22992+
- $ref: '#/components/parameters/CreatedDateToQueryParam'
22993+
- $ref: '#/components/parameters/ModifiedDateFromQueryParam'
22994+
- $ref: '#/components/parameters/ModifiedDateToQueryParam'
22995+
- $ref: '#/components/parameters/SipPeerIdQueryParam'
2293022996
responses:
2293122997
'200':
2293222998
content:
@@ -31552,63 +31618,13 @@ paths:
3155231618
parameters:
3155331619
- $ref: '#/components/parameters/AccountIdPathParam'
3155431620
- $ref: '#/components/parameters/StatusQueryParam'
31555-
- description: A Telephone Number (TN) that is referenced in the order
31556-
example: '9199918388'
31557-
in: query
31558-
name: tn
31559-
required: true
31560-
schema:
31561-
type: string
31562-
- description: >-
31563-
The Customer Order Id is an Id assigned by the account owner to
31564-
provide a reference number for the Remove Imported Tn Order
31565-
example: ABCCorp12345
31566-
in: query
31567-
name: customerOrderId
31568-
required: true
31569-
schema:
31570-
type: string
31571-
- description: >-
31572-
Checks the order's creation date against this value. Orders that
31573-
have a creation date after this date will be included. Format is
31574-
yyyy-MM-dd
31575-
example: '2022-04-19'
31576-
in: query
31577-
name: createdDateFrom
31578-
required: false
31579-
schema:
31580-
type: string
31581-
- description: >-
31582-
Checks the order's creation date against this value. Orders that
31583-
have a creation date before this date will be included. Format is
31584-
yyyy-MM-dd
31585-
example: '2022-04-19'
31586-
in: query
31587-
name: createdDateTo
31588-
required: false
31589-
schema:
31590-
type: string
31591-
- description: >-
31592-
For Date-based searches, the starting date of a date range
31593-
(inclusive) that will be used to find Remove Imported Voice Tn
31594-
Orders that were modified within the date range. It is in the form
31595-
yyyy-MM-dd
31596-
example: '2022-04-19'
31597-
in: query
31598-
name: modifiedDateFrom
31599-
required: false
31600-
schema:
31601-
type: string
31602-
- description: >-
31603-
For Date-based searches, the ending date of a date range (inclusive)
31604-
that will be used to find Remove Imported Voice Tn Orders that were
31605-
modified within the date range. It is in the form yyyy-MM-dd
31606-
example: '2022-04-19'
31607-
in: query
31608-
name: modifiedDateTo
31609-
required: false
31610-
schema:
31611-
type: string
31621+
- $ref: '#/components/parameters/TnQueryParam'
31622+
- $ref: '#/components/parameters/CustomerOrderIdQueryParam'
31623+
- $ref: '#/components/parameters/CreatedDateFromQueryParam'
31624+
- $ref: '#/components/parameters/CreatedDateToQueryParam'
31625+
- $ref: '#/components/parameters/ModifiedDateFromQueryParam'
31626+
- $ref: '#/components/parameters/ModifiedDateToQueryParam'
31627+
- $ref: '#/components/parameters/SipPeerIdQueryParam'
3161231628
responses:
3161331629
'200':
3161431630
content:
@@ -40701,6 +40717,26 @@ paths:
4070140717
summary: Retrieve Covered Rate Centers
4070240718
tags:
4070340719
- Rate Centers
40720+
/importTnOrders/voice:
40721+
get:
40722+
description: Retrieves all importvoicetnorders requests.
40723+
operationId: listImportVoiceTnOrders
40724+
parameters:
40725+
- $ref: '#/components/parameters/StatusQueryParam'
40726+
- $ref: '#/components/parameters/TnQueryParam'
40727+
- $ref: '#/components/parameters/AccountIDQueryParam'
40728+
- $ref: '#/components/parameters/CustomerOrderIdQueryParam'
40729+
- $ref: '#/components/parameters/CreatedDateFromQueryParam'
40730+
- $ref: '#/components/parameters/CreatedDateToQueryParam'
40731+
- $ref: '#/components/parameters/ModifiedDateFromQueryParam'
40732+
- $ref: '#/components/parameters/ModifiedDateToQueryParam'
40733+
- $ref: '#/components/parameters/SipPeerIdQueryParam'
40734+
responses:
40735+
'200':
40736+
$ref: '#/components/responses/ImportVoiceTnOrdersResponse'
40737+
summary: List All Import Voice TN Orders
40738+
tags:
40739+
- Import Hosted Voice Tn
4070440740
/rateCenters:
4070540741
get:
4070640742
description: >-

0 commit comments

Comments
 (0)