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

Commit

Permalink
Add Code Snippets to Spec Files
Browse files Browse the repository at this point in the history
  • Loading branch information
DX-Bandwidth committed Sep 25, 2023
1 parent 55940e9 commit 1bb8c8e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 42 deletions.
30 changes: 0 additions & 30 deletions site/specs/numbers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29507,36 +29507,6 @@ paths:
<PON>979E019287CDF6A1</PON>
</lnpPortInfoForGivenStatus>
</LNPResponseWrapper>
Portins containing non-NANP numbers:
description: >-
List containing a single portin order with international
numbers
value: |-
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<LNPResponseWrapper>
<TotalCount>2</TotalCount>
<Links>
<first>Link=&lt;https://test.dashboard.bandwidth.com:443/v1.0/accounts/9900012/portins?page=1&amp;size=10&amp;date=2020-01-15&amp;status=foc&gt;;rel="first";</first>
</Links>
<lnpPortInfoForGivenStatus>
<accountId>9900012</accountId>
<CountOfTNs>1</CountOfTNs>
<userId>gforrest</userId>
<lastModifiedDate>2023-03-29T19:06:10.085Z</lastModifiedDate>
<OrderDate>2023-03-29T19:06:10.085Z</OrderDate>
<OrderId>b2190bcc-0272-4a51-ba56-7c3d628e8706</OrderId>
<OrderType>port_in</OrderType>
<ActualFOCDate>2023-04-01T01:00:00.000Z</ActualFOCDate>
<CompanyName>WandEDemo</CompanyName>
<LNPLosingCarrierId>1290</LNPLosingCarrierId>
<LNPLosingCarrierName>SFR</LNPLosingCarrierName>
<ProcessingStatus>SUBMITTED</ProcessingStatus>
<RequestedFOCDate>2023-03-29</RequestedFOCDate>
<VendorId>??</VendorId>
<VendorName>??</VendorName>
<PON>979E019287CDF6A1</PON>
</lnpPortInfoForGivenStatus>
</LNPResponseWrapper>
RespOrg exception toll-free order containing NANP numbers:
description: >-
List containing a single RespOrg exception toll-free portin
Expand Down
22 changes: 10 additions & 12 deletions site/specs/numbers_v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8497,7 +8497,7 @@ components:
type: string
title: LnpOrderSupp
type: object
LnpOrderSuppGlobalInternational:
LnpOrderSuppGlobalManual:
allOf:
- $ref: '#/components/schemas/LnpOrderBasicModifiableFields'
properties:
Expand Down Expand Up @@ -9086,9 +9086,9 @@ components:
RequestedFocDate:
description: >-
Format: ISO8601 encoding such as "2019-10-31".<br/><br/>For
international ports, if `RequestedFocDate` is specified the
time portions will be ignored and the date portion must
be:<br/> - in the future<br/> - not on a weekend.
global ports, if `RequestedFocDate` is specified the time
portions will be ignored and the date portion must be:<br/>
- in the future<br/> - not on a weekend.
type: string
SiteId:
description: >-
Expand Down Expand Up @@ -30419,9 +30419,7 @@ paths:
</lnpPortInfoForGivenStatus>
</LNPResponseWrapper>
Portins containing non-NANP numbers:
description: >-
List containing a single portin order with international
numbers
description: List containing a single portin order with global numbers
value: |-
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<LNPResponseWrapper>
Expand Down Expand Up @@ -30502,7 +30500,7 @@ paths:
examples:
Automated NANP Toll-Free Port-in:
value: "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<LnpOrder>\n\t<CustomerOrderId>My order id</CustomerOrderId>\n\t<RequestedFocDate>2021-06-16Z</RequestedFocDate>\n\t<SiteId>2439</SiteId>\n\t<PeerId>23432</PeerId>\n\t<LoaAuthorizingPerson>The Authgal</LoaAuthorizingPerson>\n\t<TargetRespOrgId>JYT01</TargetRespOrgId>\n\t<ListOfPhoneNumbers>\n\t\t<PhoneNumber>+18774809871</PhoneNumber>\n\t</ListOfPhoneNumbers>\n</LnpOrder>"
International Port-in, Business Subscriber:
Global Port-in, Business Subscriber:
value: |-
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<LnpOrder>
Expand All @@ -30521,7 +30519,7 @@ paths:
</ListOfPhoneNumbers>
<CustomerOrderId>myOrder</CustomerOrderId>
</LnpOrder>
International Port-in, Personal Subscriber:
Global Port-in, Personal Subscriber:
value: |-
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<LnpOrder>
Expand Down Expand Up @@ -30558,7 +30556,7 @@ paths:
examples:
Automated NANP Toll-Free Port-in Order Response:
value: "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<LnpOrderResponse>\n\t<OrderId>03f194d5-3932-4e9f-8ba1-03ef767985e5</OrderId>\n\t<Status>\n\t\t<Code>201</Code>\n\t\t<Description>Order request received. Please use the order id to check the status of your order later.</Description>\n\t</Status>\n\t<ProcessingStatus>VALIDATE_TFNS</ProcessingStatus>\n\t<RequestedFocDate>2016-03-25T21:15:00.000Z</RequestedFocDate>\n\t<LoaAuthorizingPerson>The Authguy</LoaAuthorizingPerson>\n\t<ListOfPhoneNumbers>\n\t\t<PhoneNumber>+18774809871</PhoneNumber>\n\t</ListOfPhoneNumbers>\n\t<TollFreeValidationStatus>PROCESSING</TollFreeValidationStatus>\n\t<TollFreePortType>PHASE_1_TOLLFREE</TollFreePortType>\n\t<TargetRespOrgId>JYT01</TargetRespOrgId>\n</LnpOrderResponse>"
International Port-in Order Response, Business Subscriber:
Global Port-in Order Response, Business Subscriber:
value: |-
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<LnpOrderResponse>
Expand All @@ -30583,7 +30581,7 @@ paths:
</ListOfPhoneNumbers>
<CustomerOrderId>myOrder</CustomerOrderId>
</LnpOrderResponse>
International Port-in Order Response, Personal Subscriber:
Global Port-in Order Response, Personal Subscriber:
value: |-
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<LnpOrderResponse>
Expand Down Expand Up @@ -31126,7 +31124,7 @@ paths:
type: object
- properties:
LnpOrderSupp:
$ref: '#/components/schemas/LnpOrderSuppGlobalInternational'
$ref: '#/components/schemas/LnpOrderSuppGlobalManual'
title: Manual Global
type: object
responses:
Expand Down

0 comments on commit 1bb8c8e

Please sign in to comment.