Skip to content
Open
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
21 changes: 12 additions & 9 deletions docs/wholesale/api/v3.md
Original file line number Diff line number Diff line change
Expand Up @@ -2946,10 +2946,13 @@ Each port will be one of the following types, if unsure please contact the LCP b
The above is provided for guidance only, the Number Portability Guide should be consulted to determine lead times for porting requests.

#### Number Object
The ‘numbers' array in the above should be an array of objects each with the following structure. These must include all numbers, including the MBN (even though it is specified separately)
The ‘numbers' array in the above should be an array of objects each with the following structure. These must include all numbers, including the MBN (even though it is specified separately).

Where a Multi/MultiLine port is submitted and the associated numbers are a specific range, rather than individual numbers, a RangeId must be specified against all of the numbers in the range, any additional associated numbers that are not part of the range, should have the value "Null". A RangeId parameter is not required if there is not an associated range.

|Parameter|Values||
|:-|-|-|
|**rangeId**|Null <br/>1 <br/>2 |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Image

This is how this line renders, I suspect not quite what you were expecting?

BTW if you want to preview your changes, you can run a local dev server. Install Homebrew, then run brew install yarn, then from the repo root run yarn to install dependencies and yarn start to launch a local dev server at http://localhost:3000/ where you can preview your changes live :)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is how I wanted this to render, as I wanted to list options showing that you could add multiple different ranges, similar to how the different numbers are listed.

|**number**|01xxxxxxxxx <br/>02xxxxxxxxx |Number in UK National format |
|**type**| mbn |Main Billing Number (must only be one of this type)
||associated| Associated Number (e.g. another DDI on an ISDN circuit)|
Expand Down Expand Up @@ -3052,14 +3055,14 @@ or Name (e.g. 104, The Lighthouse, Thatched Cottage)</td>
"postcode": "A12 3BC"
},
"numbers": [
{"number": "01632960100", "type": "mbn", "action": "port"},
{"number": "01632960101", "type": "associated", "action": "port"},
{"number": "01632960102", "type": "associated", "action": "port"},
{"number": "01632960103", "type": "associated", "action": "port"},
{"number": "01632960104", "type": "associated", "action": "port"},
{"number": "01632960105", "type": "associated", "action": "port"},
{"number": "01632960106", "type": "associated", "action": "port"},
{"number": "01632960290", "type": "other", "action": "retain"}
{"rangeId":null,"number": "01632960100", "type": "mbn", "action": "port"},

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor formatting issue - indentation - a space has been removed

{"rangeId":1,"number": "01632960101", "type": "associated", "action": "port"},

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor formatting issue - spaces, should be like:

{"rangeId": 1, "number": "0163

{"rangeId":1,"number": "01632960102", "type": "associated", "action": "port"},
{"rangeId":1,"number": "01632960103", "type": "associated", "action": "port"},
{"rangeId":1,"number": "01632960104", "type": "associated", "action": "port"},
{"rangeId":1,"number": "01632960105", "type": "associated", "action": "port"},
{"rangeId":1,"number": "01632960106", "type": "associated", "action": "port"},
{"rangeId":null,"number": "01632960290", "type": "other", "action": "retain"}
]
}

Expand Down