Service profile
A service profile is an endpoint configuration entity that groups services and traffic limits for assignment.
Instead of assigning services and traffic limits directly to an endpoint, those can be associated to a service profile and assigned to an endpoint in a single operation.
A service profile holds a collection of services and for each associated service it’s possible to assign zero or more traffic limits. To define traffic limits it’s first necessary to associate services to a profile.
- Services are read only objects.
- Traffic limits are defined for a particular service
- Traffic limits can also be associated directly to an endpoint
The typical workflow for service profile definition is:
POST- Create a service profilePUT- Add services to a profile (service collection)PUT- Add traffic limits to a service (traffic_limitcollection)
For Service Profile management: paging, filtering, and sorting isn’t provided.
Service profile object
| allowed_nb_iot_geo | Boolean | Allow NB-IoT connectivity over satellite networks. |
| DEPRECATED apply_quota | Boolean | Use apply_data_quota instead. Ignored in create/update requests if apply_data_quota is present |
| apply_data_quota | Boolean | Apply a quota for data usage |
| apply_sms_quota | Boolean | Apply a quota for SMS usage |
| retail | Boolean | Turn Retail Subscription Management on or off, which allows the customer to manage or top up a prepaid balance. Use of this feature requires privileges `provided by emnify. |
| sms_p2p_int | Boolean | Allow P2P SMS between endpoints for your own organization (internal) |
| sms_p2p_ext | Boolean | Allow P2P SMS to/from the world (external) |
| DEPRECATEDprepaid | Boolean | Enable prepaid balance management per endpoint |
| nipdp | Boolean | Enable Network-Initiated PDP. If enabled and an endpoint is offline, EGN nodes send GTP PDU-Notifications if packets are arriving for the IP of the endpoint |
| used_count | Integer | The number of endpoints using this service profile |
| api_callback | Object | id(Integer) - ID of the API callback url(String) - URL of the API callback purpose(String) - Purpose of the API callback created(Date) - Creation date timestamp of the API callback |
| api_secret | Object | id(Integer) - ID of the API Secret purpose(String) - Purpose of the API Secret |
| moc_callback | Object | id(Integer) - ID of the MOC callback url(String) - URL of the MOC callback purpose(String) - Purpose of the MOC callback created(Date) - Creation date timestamp of the MOC callback |
| esme_interface_type | Object | id(Integer) - ID of the ESME interface type |
| breakout_region | Object | id(Integer) - ID of the Breakout Region |
| dns | Object | id(Integer) - DNS ID |
| service | Collection
(Service) | Nested collection of services associated with a profile (see Service object) |
breakout_region identifies the breakout region for this service profile.
Automatic selection is the default, and its breakout region ID is 1.
Devices reached over OpenVPN or through Cloud Connect require a region that matches the integration, so set it explicitly for those profiles.
Retrieve the available regions and their IDs from GET /api/v1/breakout_region.
See Set the breakout region.
Service object
Here is the description of a nested Service object:
Traffic limit object
Here is the description of a (nested) Traffic limit object: