V2
AddOns
Add-ons resource represents a add-ons (value-added service) associated to a subscription
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| org | path | string | true | Organization name |
| subscriptionId | path | string(uuid) | true | Subscription unique identifier |
| offset | query | integer | false | Pagination offset |
| limit | query | integer | false | Pagination limit |
| activation_date | query | DateFilterEnum | false | Resource activation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601 |
| legacy_add_on_id | query | integer | false | AddOn id the subscription is linked to. Linked to MySim/Apollo storage, to be deprecated. |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Add-ons associated to the subscription | AddOnsSet |
| 403 | Forbidden | Forbidden access | ErrorResponse |
| 404 | Not Found | A subscription with the specified id was not found | ErrorResponse |
| 500 | Internal Server Error | Internal server error | ErrorResponse |
| default | Default | Any client or server error | ErrorResponse |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| org | path | string | true | Organization name |
| subscriptionId | path | string(uuid) | true | Subscription unique identifier |
| body | body | AddOn | false | Add AddOn to subscription body |
Request body - instance of AddOn
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | true | Add-on unique identifier |
| legacy_id | integer | false | Legacy add-on id linked to MySim/Apollo storage |
| catalogue_add_on_legacy_id | string | true | MySim/Apollo related id for the Add-On catalogue resource definition |
| catalogue_add_on_id | string | true | Catalogue add-on ID |
| creation_date | string(date-time) | true | add-on creation date. Format according to ISO 8601 |
| creation_system | string | true | Info about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available |
| creation_user | string | true | Info about the specific user that requested the addON creation. N/A if not available |
| last_updated_date | string(date-time) | true | Date and time when any field of the addOn was last updated. Format according to ISO 8601 |
| status | string | true | add-on status |
| activation_date | string(date-time) | false | none |
| deactivation_date | string(date-time) | false | none |
| deactivation_system | string | false | none |
| deactivation_user | string | false | Info about the specific user that requested the addOn deactivation. It contains the mas-stack authentication subject info when deactivation was requested by mas-stack authenticated user, other user info for legacy systems deactivations if available or N/A otherwise |
| Property | Values |
|---|---|
| status | one of [REQUESTED, ACTIVE, CANCELLED, DEACTIVATED] |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 201 | Created | AddOn added to subscription | AddOn |
| 400 | Bad Request | Bad request | ErrorResponse |
| 403 | Forbidden | Forbidden access | ErrorResponse |
| 404 | Not Found | A subscription with the specified id was not found | ErrorResponse |
| 500 | Internal Server Error | Internal server error | ErrorResponse |
| default | Default | Any client or server error | ErrorResponse |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| org | path | string | true | Organization name |
| subscriptionId | path | string(uuid) | true | Subscription unique identifier |
| addonId | path | string(uuid) | true | AddOn unique identifier |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Add-on associated to the subscription found | AddOn |
| 403 | Forbidden | Forbidden access | ErrorResponse |
| 404 | Not Found | AddOn with the specified id was not found | ErrorResponse |
| 500 | Internal Server Error | Internal server error | ErrorResponse |
| default | Default | Any client or server error | ErrorResponse |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| org | path | string | true | Organization name |
| subscriptionId | path | string(uuid) | true | Subscription unique identifier |
| addonId | path | string(uuid) | true | AddOn unique identifier |
| body | body | SubscriptionAddOnDeactivationRequest | true | Deactivate subscription AddOn data |
Request body - instance of SubscriptionAddOnDeactivationRequest
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| reason | string | true | Reason for the deactivation |
| Property | Values |
|---|---|
| reason | one of [SUBSCRIBER_RESIGNATION] |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 202 | Accepted | Deactivation process started | None |
| 403 | Forbidden | Forbidden access | ErrorResponse |
| 500 | Internal Server Error | Internal server error | ErrorResponse |
| default | Default | Any client or server error | ErrorResponse |
Endpoints
Subscriptions
Bundles
Promotions
Devices
AddOns
Amazon Prime
Max
Mobile
Broadband
Landline
Orange TV
Orange TV Libre
Disney
Netflix
Credit Limits
Change Requests
Commitments
DeviceInsurance
Multisim
Payment Plans
Operations