Used to fetch a list of all active services or subscriptions from a CO belonging to the current SP.
Request:
GET /api/2.4/subscriptions/
Request:
GET /api/2.4/subscriptions/
If-Modified-Since: Tue, 05 Feb 2019 14:03:15 GMT
Response:
HTTP/1.1 200 OK
Content-Type: application/json
[
{
"subscriptionId": "8b2ad40b4ffd45e5b48425f57821a7eb",
"accessId": "8732c2f065e2490babce820e94b1011a",
"service": "BB-1000-1000",
"operationalState": "ACTIVATED",
"spReference": "WloKMvmArcCFiV679uhWpAAtNgyvHxma",
"spSubscriptionId": "b49797aaed934642bc8ae136b87ed12b",
"option82": "52270123434F2D38373332633266303635653234393062616263653832306539346231303131610200",
"dhcpIdentifier": {
"ipv4CircuitId": "CO-8732c2f065e2490babce820e94b1011a"
},
"note": "Connection will be upgraded to 1000 Mbps at 2019-02-20",
"characteristics": {
"fixedIp": true,
"ipAddress": [
"1.2.3.4"
],
"SLA": "SLA-3"
}
},
{
"subscriptionId": "af5143edb9624223810689c4100525f0",
"accessId": "8732c2f065e2490babce820e94b1011a",
"service": "IPTV",
"operationalState": "ACTIVATED",
"spReference": "WloKMvmArcCFiV679uhWpAAtNgyvHxma",
"spSubscriptionId": "55498978c4c446d0bbc2ae347a61e78d",
"option82": "52270123434F2D38373332633266303635653234393062616263653832306539346231303131610200",
"dhcpIdentifier": {
"ipv4CircuitId": "CO-8732c2f065e2490babce820e94b1011a"
},
"equipment": [
{
"vendorId": "ACME-IPTV",
"macAddress": "AA:BB:CC:11:22:33"
},
{
"vendorId": "ACME-IPTV",
"macAddress": "AA:BB:CC:44:55:66"
}
]
}
]
- Data format: ID
- Mandatory
- Data format: accessId
- Mandatory
- Data format: text
- Mandatory
- Data format: operationalState
- Mandatory
- Data format: ID
- Mandatory
- Data format: spSubscriptionId
- Mandatory
- Data format: option82
- Deprecated
- Data format: dhcpIdentifier
- Data format: characteristics
- Data format: equipment