Locations Management
There are two types of locations: - premises, where a linked customer record exists (regardless of the service being active or not) - predefined premises, which are predefined premise data that is preloaded prior to customer engagement
List Addresses
The API provides an endpoint do a search of physical addresses based on a given text pattern. This endpoint returns a limited number of addresses, to get more specific data, add more text to your search.
GET https://stage.provider-service.dev.aex.systems/locations
Request Parameters:
address
(string, required): Text to filter known addresses by.
NOTE This endpoint only returns a list of addresses, with no additional details about the location. To get additional details, use one of the endpoints described below.
Proximity Search
The API provides an endpoint to search locations within a certain radius of a point on a map represented by its latitude & longitude. This is useful for cases where there is no reliable street address data.
NOTE This endpoint returns a paged list (with up to 10 items per page) of locations within a 500m radius of the latitude/longitude point provided.
POST https://stage.provider-service.dev.aex.systems/locations/proximity-search
Example Response | |
---|---|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 |
|
Get Location Details
The API provides an endpoint to retrieve the details of a given location, including whether the fiber is available in the location area and if the location is available for new service connection.
GET https://stage.provider-service.dev.aex.systems/details
Request Parameters:
address
(string): The full address as it exists on the AEx platformpredefined_premise_id
(uuid): The unique identifier of the predefined premise on the AEx platform
New Premise Creation
A new Premise record can be created using a predefined_premise_id
, provided the given ID refers to an existing
predefined premise record.
POST https://stage.provider-service.dev.aex.systems/locations/{predefined_premise_id}/premise
A call to this endpoint will result in the creation of a new Premise record based on the attributes of the matching predefined premise.