Service Management
The API provides different endpoints to allow the ISP to fully service their customer. All changes the ISP makes are immediately visible to the related FNO.
Service Creation
To create a new service, three elements are required:
- Customer
- Product
- Premise
The endpoint for service creation is:
POST https://stage.provider-service.dev.aex.systems/services
Example Payload | |
---|---|
On successful creation, HTTP response Status Code 201 is returned, with the Location header indicating the API route to accessing the new service.
Service Updates
The API provides an endpoint to allow the ISP to make limited updates to an existing service. The ISP can update the following attributes:
- ISP reference
- WiFi user name
- WiFi password
PUT https://stage.provider-service.dev.aex.systems/services/:serviceId
On successful completion of the update, the response payload contains the full details about the service, including the attributes that were updated.
Service Tracking
The API allows the ISP to track any recent changes made to a service. The tracking is provided by means of a delta
endpoint, services/snapshot
.
NOTE To prevent the abuse of this endpoint, rate limiting is implemented so that an ISP may only make a single call within a 10-minute period.
GET https://stage.provider-service.dev.aex.systems/services/snapshot
Example Response | |
---|---|
Service Search
The API provides a number of endpoints for different types of service search.
Get Services List
Get a paged list of services filtered by given parameters.
Request Parameters:
status
(string, optional): The service status - see API specification for allowed values.page
(int, optional): The page number want to display. If a value is not provided, the default value is 1.page_size
(int, optional): The maximum number of records to include per page.
GET https://stage.provider-service.dev.aex.systems/services
Get Service Device Status
The API provides two endpoints to retrieve the device status - one providing the cached status, and the other providing the live status.
NOTE Network status queries are run by the AEx system on a configurable interval. The information returned in these automated queries are cached and are what is returned when endpoint below is called.
Both endpoints have the same response payload.
Request Parameters:
service_id
(string, required): The system-generated unique identifier for the service the device of interest is linked to.
To get the cached device status, the endpoint below can be used.
GET https://stage.provider-service.dev.aex.systems/services/{service_id}/device/status
To get the live device status for a given service, the endpoint below can be used.
GET https://stage.provider-service.dev.aex.systems/services/{service_id}/device/status/live
Get RADIUS Information
To get the RADIUS status for a given service, the following endpoint can be used:
GET https://stage.provider-service.dev.aex.systems/services/{service_id}/radius/status
The endpoint below allows us to get the usage details for a given service.
GET https://stage.provider-service.dev.aex.systems/services/{service_id}/radius/usage