Update 'Connectivity'
parent
2c1747c222
commit
92104ee587
@ -9,13 +9,42 @@ Accept: application/json
|
|||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
|
"addresses": [
|
||||||
|
{
|
||||||
|
"address": "13, Peveril Crescent",
|
||||||
|
"district": "MR",
|
||||||
|
"easting": "381233",
|
||||||
|
"gold": true,
|
||||||
|
"northing": "394561",
|
||||||
|
"parent_uprn": null,
|
||||||
|
"reference": "A00011178054",
|
||||||
|
"uprn": "77079066"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
/* and more of the same */
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"query": {
|
||||||
|
"postcode": "M21 9WR"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
## `GET https://api.faelix.net/connectivity/xdsl/address/service/availability/?address=A00034156395&district=MR`
|
## `GET https://api.faelix.net/connectivity/xdsl/address/service/availability/?reference=A00034156395&district=MR`
|
||||||
|
|
||||||
|
```json
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
|
"address": {
|
||||||
|
"district": "MR",
|
||||||
|
"gold": true,
|
||||||
|
"parent_uprn": null,
|
||||||
|
"reference": "A00034156395",
|
||||||
|
"uprn": null
|
||||||
|
},
|
||||||
|
"line": { /* and then similar to below */
|
||||||
|
/* ... */
|
||||||
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -24,7 +53,7 @@ Accept: application/json
|
|||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"address": null,
|
"address": null,
|
||||||
"line": {
|
"line": { /* information about line(s) available */
|
||||||
"ADSL2+": {
|
"ADSL2+": {
|
||||||
"exchangeStatusDescription": "Live",
|
"exchangeStatusDescription": "Live",
|
||||||
"mdfSiteId": "MRCHO",
|
"mdfSiteId": "MRCHO",
|
||||||
@ -169,29 +198,55 @@ Accept: application/json
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"lines": {
|
"lines": {
|
||||||
"C000003101007": {
|
"C000003101007": { /* line ID */
|
||||||
"last2digits": "95",
|
"last2digits": "95",
|
||||||
"line": "WorkingLine",
|
"line": "WorkingLine",
|
||||||
"number": null,
|
"number": null, /* will probably be null */
|
||||||
"service": "PSTN Single Line"
|
"service": "PSTN Single Line" /* standard line */
|
||||||
},
|
},
|
||||||
"MRAAACQQFJ": {
|
"MRAAACQQFJ": {
|
||||||
"last2digits": null,
|
"last2digits": null,
|
||||||
"line": "WorkingLine",
|
"line": "WorkingLine",
|
||||||
"number": null,
|
"number": null,
|
||||||
"service": "SMPF"
|
"service": "SMPF" /* shared metallic path, e.g. TalkTalk LLU */
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"messages": [
|
"messages": [ /* might have list of strings detailing problems */
|
||||||
],
|
],
|
||||||
"onts": {
|
"onts": {
|
||||||
|
"ONT0012345678": { /* ONT reference number */
|
||||||
|
"location": {
|
||||||
|
"floor": null,
|
||||||
|
"position": null,
|
||||||
|
"room": null
|
||||||
|
},
|
||||||
|
"ports": {
|
||||||
|
"1": {
|
||||||
|
"data": true,
|
||||||
|
"status": "Spare"
|
||||||
|
},
|
||||||
|
"2": {
|
||||||
|
"data": true,
|
||||||
|
"status": "Working"
|
||||||
|
},
|
||||||
|
"3": {
|
||||||
|
"data": true,
|
||||||
|
"status": "Working"
|
||||||
|
},
|
||||||
|
"4": {
|
||||||
|
"data": true,
|
||||||
|
"status": "Spare"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"serial": "XXXXXXXXXXXXXXXX" /* should appear on the actual ONT */
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"provisioning": "Migration",
|
"provisioning": "Migration",
|
||||||
"query": {
|
"query": {
|
||||||
"cli": "01618629595"
|
"cli": "01618629595"
|
||||||
},
|
},
|
||||||
"reference": "bf862de7-1c91-49e8-a619-baf2301dce1a",
|
"reference": "bf862de7-1c91-49e8-a619-baf2301dce1a",
|
||||||
"services": {
|
"services": { /* THIS IS WHAT YOU WANT! */
|
||||||
"ADSL2+": { /* broadband service type */
|
"ADSL2+": { /* broadband service type */
|
||||||
"ADSL2PLUS": { /* product code */
|
"ADSL2PLUS": { /* product code */
|
||||||
"appointment": "NotRequired", /* might also be Optional or Required */
|
"appointment": "NotRequired", /* might also be Optional or Required */
|
||||||
@ -203,11 +258,11 @@ Accept: application/json
|
|||||||
"contact": "NotRequired", /* might also be Optional or Required */
|
"contact": "NotRequired", /* might also be Optional or Required */
|
||||||
"description": null,
|
"description": null,
|
||||||
"earliest": "2023-03-21T00:00:00+00:00",
|
"earliest": "2023-03-21T00:00:00+00:00",
|
||||||
"install": null,
|
"install": 40.0, /* wholesale cost for new install, excluding VAT (and WLR) */
|
||||||
"market": "B",
|
"market": "B",
|
||||||
"migrate": null,
|
"migrate": 16.5, /* wholesale cost for migration, excluding VAT */
|
||||||
"monthly": null,
|
"monthly": 7.5, /* wholesale monthly charge, excluding VAT */
|
||||||
"name": "ADSL2+",
|
"name": "ADSL2+", /* customer-facing name of product */
|
||||||
"network": "Zen",
|
"network": "Zen",
|
||||||
"orderable": true, /* is this available? */
|
"orderable": true, /* is this available? */
|
||||||
"priority": [ /* traffic weighting options available */
|
"priority": [ /* traffic weighting options available */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user