From 7cdebd08fad713697145ba86a7552267fca3eda7 Mon Sep 17 00:00:00 2001 From: DX-Bandwidth Date: Tue, 17 Oct 2023 13:29:35 +0000 Subject: [PATCH] Add Code Snippets to Spec Files --- site/specs/numbers_v2.yml | 40 ++++++++++++++++----------------------- 1 file changed, 16 insertions(+), 24 deletions(-) diff --git a/site/specs/numbers_v2.yml b/site/specs/numbers_v2.yml index aeee04cd8..a171d0f23 100644 --- a/site/specs/numbers_v2.yml +++ b/site/specs/numbers_v2.yml @@ -14109,6 +14109,9 @@ components: - $ref: '#/components/schemas/CitySearchAndOrder_NANPA' - $ref: '#/components/schemas/StateSearchAndOrder_NANPA' - $ref: '#/components/schemas/CombinedSearchAndOrder_NANPA' + properties: + RequirementsPackageId: + type: integer xml: name: OrderResponse type: object @@ -14182,6 +14185,9 @@ components: - $ref: '#/components/schemas/CitySearchAndOrder_NANPA' - $ref: '#/components/schemas/StateSearchAndOrder_NANPA' - $ref: '#/components/schemas/CombinedSearchAndOrder_NANPA' + properties: + RequirementsPackageId: + type: integer OrderCompleteDate: type: string OrderStatus: @@ -29300,7 +29306,6 @@ paths: 1 true - 123456789 743 CitySearchAndOrderType [NANPA]: @@ -29317,7 +29322,6 @@ paths: NC true - 123456789 743 CombinedSearchAndOrderType (local vanity) [NANPA]: @@ -29340,7 +29344,6 @@ paths: 1 false - 123456789 743 CombinedSearchAndOrderType (protected status) [NANPA]: @@ -29364,7 +29367,6 @@ paths: Imported true - 123456789 743 CombinedSearchAndOrderType [NANPA]: @@ -29394,7 +29396,6 @@ paths: false true - 123456789 743 ExistingTelephoneNumberOrderType: @@ -29419,7 +29420,7 @@ paths: [GUID] - 123456789 + 123456789 743 General: @@ -29452,7 +29453,6 @@ paths: 224 true - 123456789 743 NPANXXSearchAndOrderType [NANPA]: @@ -29481,7 +29481,6 @@ paths: 1 true - 123456789 743 RateCenterSearchAndOrderType [NANPA]: @@ -29498,7 +29497,6 @@ paths: 1 true - 123456789 743 StateSearchAndOrderType [NANPA]: @@ -29514,7 +29512,6 @@ paths: NC true - 123456789 743 TollFreeVanitySearchAndOrderType [NANPA]: @@ -29533,7 +29530,6 @@ paths: newcars true - 123456789 743 TollFreeWildCharSearchAndOrderType [NANPA]: @@ -29552,7 +29548,6 @@ paths: 8** true - 123456789 743 ZIPSearchAndOrderType [NANPA]: @@ -29568,7 +29563,6 @@ paths: 27606 true - 123456789 743 schema: @@ -29611,7 +29605,6 @@ paths: true 3013 - 123456789 schema: @@ -29648,7 +29641,6 @@ paths: true 763 - 123456789 schema: @@ -30539,7 +30531,7 @@ paths: application/xml: examples: Automated NANP Toll-Free Port-in: - value: "\n\n\tMy order id\n\t2021-06-16Z\n\t2439\n\t23432\n\tThe Authgal\n\tJYT01\n\t\n\t\t+18774809871\n\t\n123456789\n" + value: "\n\n\tMy order id\n\t2021-06-16Z\n\t2439\n\t23432\n\tThe Authgal\n\tJYT01\n\t\n\t\t+18774809871\n\t\n123456789\n" Global Port-in, Business Subscriber: value: |- @@ -30558,7 +30550,7 @@ paths: +3237470444 myOrder - 123456789 + 123456789 Global Port-in, Residential Subscriber: value: |- @@ -30579,10 +30571,10 @@ paths: +3237470444 myOrder - 123456789 + 123456789 On-net NANP Port-in: - value: "\n\n\t2016-03-25T21:15:00.000Z\n\tX455\n\t+19195551234\n\t+19175131245\n\t2439\n\t23432\n\t\n\t\tBUSINESS\n\t\tFirst\n\t\tLast\n\t\t\n\t\t\t11235\n\t\t\tBack\n\t\t\tDenver\n\t\t\tCO\n\t\t\t27541\n\t\t\tCanyon\n\t\t\n\t\n\tThe Authguy\n\t\n\t\t771297665AABC\n\t\t1234\n\t\n\t\n\t\tProtected\n\t\tExternal\n\t\tImported\n\t\n\t\n\t\t+19194809871\n\t\n\tmyOrder\n\ttrue\n\ttrue\n\tDRAFT\n 123456789\n" + value: "\n\n\t2016-03-25T21:15:00.000Z\n\tX455\n\t+19195551234\n\t+19175131245\n\t2439\n\t23432\n\t\n\t\tBUSINESS\n\t\tFirst\n\t\tLast\n\t\t\n\t\t\t11235\n\t\t\tBack\n\t\t\tDenver\n\t\t\tCO\n\t\t\t27541\n\t\t\tCanyon\n\t\t\n\t\n\tThe Authguy\n\t\n\t\t771297665AABC\n\t\t1234\n\t\n\t\n\t\tProtected\n\t\tExternal\n\t\tImported\n\t\n\t\n\t\t+19194809871\n\t\n\tmyOrder\n\ttrue\n\ttrue\n\tDRAFT\n 123456789\n" schema: oneOf: - $ref: '#/components/schemas/OnNetNANPLnpOrderRequest' @@ -30597,7 +30589,7 @@ paths: application/xml: examples: Automated NANP Toll-Free Port-in Order Response: - value: "\n\n\t03f194d5-3932-4e9f-8ba1-03ef767985e5\n\t\n\t\t201\n\t\tOrder request received. Please use the order id to check the status of your order later.\n\t\n\tVALIDATE_TFNS\n\t2016-03-25T21:15:00.000Z\n\tThe Authguy\n\t\n\t\t+18774809871\n\t\n\tPROCESSING\n\tPHASE_1_TOLLFREE\n\tJYT01\n 123456789\n" + value: "\n\n\t03f194d5-3932-4e9f-8ba1-03ef767985e5\n\t\n\t\t201\n\t\tOrder request received. Please use the order id to check the status of your order later.\n\t\n\tVALIDATE_TFNS\n\t2016-03-25T21:15:00.000Z\n\tThe Authguy\n\t\n\t\t+18774809871\n\t\n\tPROCESSING\n\tPHASE_1_TOLLFREE\n\tJYT01\n 123456789\n" Global Port-in Order Response, Business Subscriber: value: |- @@ -30622,7 +30614,7 @@ paths: +3237470444 myOrder - 123456789 + 123456789 Global Port-in Order Response, Residential Subscriber: value: |- @@ -30649,10 +30641,10 @@ paths: +3237470444 myOrder - 123456789 + 123456789 On-net NANP Port-in Order Response: - value: "\n\n\t03f194d5-3932-4e9f-8ba1-03ef767985e5\n\t\n\t\t201\n\t\tOrder request received. Please use the order id to check the status of your order later.\n\t\n\tPENDING_DOCUMENTS\n\t2016-03-25T21:15:00.000Z\n\tThe Authguy\n\t\n\t\tBUSINESS\n\t\tFirst\n\t\tLast\n\t\t\n\t\t\t11235\n\t\t\tBack\n\t\t\tDenver\n\t\t\tCO\n\t\t\t27541\n\t\t\tCanyon\n\t\t\tUnited States\n\t\t\n\t\n\t\n\t\t771297665AABC\n\t\t1234\n\t\n\t\n\t\tProtected\n\t\tExternal\n\t\tImported\n\t\n\t+19195551234\n\t+19175131245\n\t SITE ID \n\t SIPPEER ID \n\t\n\t\t+19194809871\n\t\n\tmyOrder\n\ttrue\n\ttrue\n\t123456789\n" + value: "\n\n\t03f194d5-3932-4e9f-8ba1-03ef767985e5\n\t\n\t\t201\n\t\tOrder request received. Please use the order id to check the status of your order later.\n\t\n\tPENDING_DOCUMENTS\n\t2016-03-25T21:15:00.000Z\n\tThe Authguy\n\t\n\t\tBUSINESS\n\t\tFirst\n\t\tLast\n\t\t\n\t\t\t11235\n\t\t\tBack\n\t\t\tDenver\n\t\t\tCO\n\t\t\t27541\n\t\t\tCanyon\n\t\t\tUnited States\n\t\t\n\t\n\t\n\t\t771297665AABC\n\t\t1234\n\t\n\t\n\t\tProtected\n\t\tExternal\n\t\tImported\n\t\n\t+19195551234\n\t+19175131245\n\t SITE ID \n\t SIPPEER ID \n\t\n\t\t+19194809871\n\t\n\tmyOrder\n\ttrue\n\ttrue\n\t123456789\n" schema: oneOf: - $ref: '#/components/schemas/LnpOrderResponse' @@ -30690,7 +30682,7 @@ paths: 1001 - requirementsPackageId is missing or invalid. + RequirementsPackageId is missing or invalid. EXCEPTION The Authguy