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

Commit a7b0d02

Browse files
xxlaykxxichesnov
andauthored
termination, tollfree and uctrunking product's settings api spec (#724)
Co-authored-by: ichesnov <[email protected]>
1 parent e47d5d3 commit a7b0d02

File tree

1 file changed

+282
-6
lines changed

1 file changed

+282
-6
lines changed

site/specs-temp/numbers.json

Lines changed: 282 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12206,6 +12206,102 @@
1220612206
}
1220712207
}
1220812208
},
12209+
"/accounts/{accountId}/products/termination/settings": {
12210+
"get": {
12211+
"tags": [
12212+
"/accounts"
12213+
],
12214+
"description": "Retrieve existing termination settings on account.",
12215+
"operationId": "GetAccountTerminationProductSettings",
12216+
"summary": "Retrieve termination settings on account",
12217+
"parameters": [
12218+
{
12219+
"$ref": "#/components/parameters/AccountIdPathParam"
12220+
}
12221+
],
12222+
"responses": {
12223+
"200": {
12224+
"description": "",
12225+
"content": {
12226+
"application/xml": {
12227+
"schema": {
12228+
"$ref": "#/components/schemas/TerminationSettingsResponse"
12229+
},
12230+
"examples": {
12231+
"example": {
12232+
"value": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<TerminationSettingResponse>\n <TerminationSettings>\n <RogerUsedForTerminationSettings>false</RogerUsedForTerminationSettings>\n <LegacyTerminationSettings>\n <CustomerTrafficAllowed>ALL</CustomerTrafficAllowed>\n <CpsQueue>300</CpsQueue>\n <ConcurrentOutboundCalls>15</ConcurrentOutboundCalls>\n <ConcurrentBidirectionalCalls>0</ConcurrentBidirectionalCalls>\n <BillingType>DNIS</BillingType>\n <RateType>npanxx</RateType>\n <DiscountPercentage>29</DiscountPercentage>\n <GuaranteedTermination>false</GuaranteedTermination>\n </LegacyTerminationSettings>\n <RogerTerminationSettings/>\n </TerminationSettings>\n <!-- For Full Termination -->\n <TerminationSettings>\n <RogerUsedForTerminationSettings>true</RogerUsedForTerminationSettings>\n <HttpVoiceProxyTermHost>[Host IP address]</HttpVoiceProxyTermHost>\n <RogerTerminationSettings>\n <SubnetAddressingAllowed>true</SubnetAddressingAllowed>\n </RogerTerminationSettings>\n </TerminationSettings>\n</TerminationSettingResponse>"
12233+
}
12234+
}
12235+
}
12236+
}
12237+
}
12238+
}
12239+
}
12240+
},
12241+
"/accounts/{accountId}/products/tollfree/settings": {
12242+
"get": {
12243+
"tags": [
12244+
"/accounts"
12245+
],
12246+
"description": "Retrieve existing tollfree settings on account.",
12247+
"operationId": "GetAccountTollFreeProductSettings",
12248+
"summary": "Retrieve tollfree settings on account",
12249+
"parameters": [
12250+
{
12251+
"$ref": "#/components/parameters/AccountIdPathParam"
12252+
}
12253+
],
12254+
"responses": {
12255+
"200": {
12256+
"description": "",
12257+
"content": {
12258+
"application/xml": {
12259+
"schema": {
12260+
"$ref": "#/components/schemas/TollFreeSettingsResponse"
12261+
},
12262+
"examples": {
12263+
"example": {
12264+
"value": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<TollFreeSettingsResponse>\n <TollFreeSettings>\n <RespOrgException>true</RespOrgException>\n <RespOrgIdList>\n <RespOrgId>SFD01</RespOrgId>\n <RespOrgId>WER01</RespOrgId>\n <RespOrgId>WER02</RespOrgId>\n <RespOrgId>XMD01</RespOrgId>\n <RespOrgId>PIU02</RespOrgId>\n </RespOrgIdList>\n <TargetBandwidthRespOrgId>JYT50</TargetBandwidthRespOrgId>\n </TollFreeSettings>\n</TollFreeSettingsResponse>"
12265+
}
12266+
}
12267+
}
12268+
}
12269+
}
12270+
}
12271+
}
12272+
},
12273+
"/accounts/{accountId}/products/uctrunking/settings": {
12274+
"get": {
12275+
"tags": [
12276+
"/accounts"
12277+
],
12278+
"description": "Retrieve existing uctrunking settings on account.",
12279+
"operationId": "GetAccountUcTrunkingProductSettings",
12280+
"summary": "Retrieve uctrunking settings on account",
12281+
"parameters": [
12282+
{
12283+
"$ref": "#/components/parameters/AccountIdPathParam"
12284+
}
12285+
],
12286+
"responses": {
12287+
"200": {
12288+
"description": "",
12289+
"content": {
12290+
"application/xml": {
12291+
"schema": {
12292+
"$ref": "#/components/schemas/UcTrunkingSettingsResponse"
12293+
},
12294+
"examples": {
12295+
"example": {
12296+
"value": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<UcTrunkingSettingsResponse>\n <UcTrunkingSettings>\n <PartnerType>AGENT</PartnerType>\n <MaxUcTrunks>40</MaxUcTrunks>\n <BillingType>DNIS</BillingType>\n <CustomerTrafficAllowed>ALL</CustomerTrafficAllowed>\n <UsageCategory>UC500</UsageCategory>\n <TrunkAllocationRules>\n <TrunkAllocationRule>\n <LowerBound>1</LowerBound>\n <Ratio>1</Ratio>\n </TrunkAllocationRule>\n <TrunkAllocationRule>\n <LowerBound>10</LowerBound>\n <Ratio>2</Ratio>\n </TrunkAllocationRule>\n <TrunkAllocationRule>\n <LowerBound>15</LowerBound>\n <Ratio>5</Ratio>\n </TrunkAllocationRule>\n </TrunkAllocationRules>\n </UcTrunkingSettings>\n</UcTrunkingSettingsResponse>"
12297+
}
12298+
}
12299+
}
12300+
}
12301+
}
12302+
}
12303+
}
12304+
},
1220912305
"/accounts/{accountId}/realms": {
1221012306
"get": {
1221112307
"tags": [
@@ -21111,7 +21207,7 @@
2111121207
"type": "string"
2111221208
},
2111321209
"PreDirectional": {
21114-
"description":"The PreDirectional is the non-numeric street name prefix of the ServiceAddress. This element is optional when not needed to fully specify the ServiceAddress.",
21210+
"description": "The PreDirectional is the non-numeric street name prefix of the ServiceAddress. This element is optional when not needed to fully specify the ServiceAddress.",
2111521211
"type": "string"
2111621212
},
2111721213
"StreetName": {
@@ -21511,7 +21607,8 @@
2151121607
"PinNumber": {
2151221608
"description": "Element of WirelessInfo. Not applicable to toll free port-ins. Cannot be SUPPed for Automated off-net port-ins. If you want to SUPP WirelessInfo, you must include both AccountNumber and PinNumber in the payload, even if you are not changing both.",
2151321609
"type": "string"
21514-
},"SiteId": {
21610+
},
21611+
"SiteId": {
2151521612
"description": "The numeric designation for the Site ID that applied to the Port-in Order. The SiteId is used to provide a home within the account for the TN(s) that were ported in by the Port-in Order.",
2151621613
"type": "string"
2151721614
},
@@ -26987,7 +27084,7 @@
2698727084
"type": "integer"
2698827085
},
2698927086
"resultMessage": {
26990-
"description":"Results of the attempt to fetch the list of files.",
27087+
"description": "Results of the attempt to fetch the list of files.",
2699127088
"type": "string"
2699227089
}
2699327090
}
@@ -30827,7 +30924,7 @@
3082730924
"description": "This field is used to specify a new billing telephone number on the losing carrier account."
3082830925
},
3082930926
"Triggered": {
30830-
"description":"The Triggered field must be set to true if you want an activation time other than the 11:30 AM ET default. The desired activation time can then be specified in the time portion of the RequestedFocDate. Triggered activation is not yet supported for toll free port-in orders.",
30927+
"description": "The Triggered field must be set to true if you want an activation time other than the 11:30 AM ET default. The desired activation time can then be specified in the time portion of the RequestedFocDate. Triggered activation is not yet supported for toll free port-in orders.",
3083130928
"type": "string"
3083230929
}
3083330930
}
@@ -33464,8 +33561,11 @@
3346433561
"RestrictedAccessTypes": {
3346533562
"type": "array",
3346633563
"items": {
33467-
"RestrictedAccessType": {
33468-
"type": "string"
33564+
"type": "object",
33565+
"properties": {
33566+
"RestrictedAccessType": {
33567+
"type": "string"
33568+
}
3346933569
}
3347033570
}
3347133571
}
@@ -33604,6 +33704,182 @@
3360433704
"type": "integer"
3360533705
}
3360633706
}
33707+
},
33708+
"TerminationSettingsResponse": {
33709+
"type": "object",
33710+
"properties": {
33711+
"TerminationSettings": {
33712+
"$ref": "#/components/schemas/TerminationSettings"
33713+
}
33714+
}
33715+
},
33716+
"TerminationSettings": {
33717+
"type": "object",
33718+
"properties": {
33719+
"RogerUsedForTerminationSettings": {
33720+
"type": "boolean"
33721+
},
33722+
"LegacyTerminationSettings": {
33723+
"$ref": "#/components/schemas/LegacyTerminationSettings"
33724+
},
33725+
"RogerTerminationSettings": {
33726+
"$ref": "#/components/schemas/RogerTerminationSettings"
33727+
},
33728+
"HttpVoiceProxyTermHost": {
33729+
"type": "string",
33730+
"description": "can be used only with RogerTerminationSettings"
33731+
}
33732+
}
33733+
},
33734+
"LegacyTerminationSettings": {
33735+
"type": "object",
33736+
"properties": {
33737+
"CustomerTrafficAllowed": {
33738+
"type": "string",
33739+
"enum": [
33740+
"ALL",
33741+
"LITE",
33742+
"DOMESTIC",
33743+
"NONE"
33744+
]
33745+
},
33746+
"CpsQueue": {
33747+
"type": "integer"
33748+
},
33749+
"ConcurrentOutboundCalls": {
33750+
"type": "integer"
33751+
},
33752+
"ConcurrentBidirectionalCalls": {
33753+
"type": "integer"
33754+
},
33755+
"BillingType": {
33756+
"type": "string",
33757+
"enum": [
33758+
"DNIS",
33759+
"LRN"
33760+
]
33761+
},
33762+
"RateType": {
33763+
"type": "string",
33764+
"enum": [
33765+
"FLAT",
33766+
"FULL_CR",
33767+
"NPANXX",
33768+
"BILL_NUM_LCR"
33769+
]
33770+
},
33771+
"DiscountPercentage": {
33772+
"type": "integer"
33773+
},
33774+
"GuaranteedTermination": {
33775+
"type": "boolean"
33776+
}
33777+
}
33778+
},
33779+
"RogerTerminationSettings": {
33780+
"type": "object",
33781+
"properties": {
33782+
"SubnetAddressingAllowed": {
33783+
"type": "boolean"
33784+
},
33785+
"TerminationId": {
33786+
"type": "integer"
33787+
}
33788+
}
33789+
},
33790+
"TollFreeSettingsResponse": {
33791+
"type": "object",
33792+
"properties": {
33793+
"TerminationSettings": {
33794+
"$ref": "#/components/schemas/TollFreeSettings"
33795+
}
33796+
}
33797+
},
33798+
"TollFreeSettings": {
33799+
"type": "object",
33800+
"properties": {
33801+
"RespOrgException": {
33802+
"type": "boolean"
33803+
},
33804+
"RespOrgIdList": {
33805+
"type": "array",
33806+
"items": {
33807+
"type": "object",
33808+
"properties": {
33809+
"RespOrgId": {
33810+
"type": "string"
33811+
}
33812+
}
33813+
}
33814+
},
33815+
"TargetBandwidthRespOrgId": {
33816+
"type": "string"
33817+
}
33818+
}
33819+
},
33820+
"UcTrunkingSettingsResponse": {
33821+
"type": "object",
33822+
"properties": {
33823+
"UcTrunkingSettings": {
33824+
"$ref": "#/components/schemas/UcTrunkingSettings"
33825+
}
33826+
}
33827+
},
33828+
"UcTrunkingSettings": {
33829+
"type": "object",
33830+
"properties": {
33831+
"PartnerType": {
33832+
"type": "string",
33833+
"enum": [
33834+
"RESELLER",
33835+
"AGENT"
33836+
]
33837+
},
33838+
"MaxUcTrunks": {
33839+
"type": "integer"
33840+
},
33841+
"BillingType": {
33842+
"type": "string",
33843+
"enum": [
33844+
"DNIS",
33845+
"LRN"
33846+
]
33847+
},
33848+
"CustomerTrafficAllowed": {
33849+
"type": "string",
33850+
"enum": [
33851+
"ALL",
33852+
"LITE",
33853+
"DOMESTIC",
33854+
"NONE"
33855+
]
33856+
},
33857+
"UsageCategory": {
33858+
"type": "string",
33859+
"enum": [
33860+
"UC250",
33861+
"UC500",
33862+
"UC1000"
33863+
]
33864+
},
33865+
"TrunkAllocationRules": {
33866+
"type": "array",
33867+
"items": {
33868+
"$ref": "#/components/schemas/TrunkAllocationRule"
33869+
}
33870+
}
33871+
}
33872+
},
33873+
"TrunkAllocationRule": {
33874+
"type": "object",
33875+
"properties": {
33876+
"LowerBound": {
33877+
"type": "integer"
33878+
},
33879+
"Ratio": {
33880+
"type": "integer"
33881+
}
33882+
}
3360733883
}
3360833884
},
3360933885
"parameters": {

0 commit comments

Comments
 (0)