MasSubscriptions
- production
- staging
- Authentication
- Bearer · JWT
About this API
I am MasSubscriptions API. My intention is to provide a set of REST services for handling subscriptions and their related entities.
Resources 25
- AddOns 6 endpoints
AddOns resource represents value-added services associated to subscriptions
- GET Search add-ons
/orgs /{org} /add_ons - GET Get subscription add-ons
/orgs /{org} /subscriptions /{subscriptionId} /add_ons - POST Add subscription add-on
/orgs /{org} /subscriptions /{subscriptionId} /add_ons - POST Cancel subscription add-on
/orgs /{org} /subscriptions /{subscriptionId} /add_ons /{addonId} /cancel - POST Deactivate subscription add-on
/orgs /{org} /subscriptions /{subscriptionId} /add_ons /{addonId} /deactivate
- GET Search add-ons
- Agile TV 5 endpoints
Agile TV resource represents an agile tv subscription containing specific agile tv data besides all data applicable to any subscription
- GET Get bundle Agile TV subscriptions
/orgs /{org} /bundles /{bundleId} /subscriptions /agile_tv - GET Search Agile TV subscriptions
/orgs /{org} /subscriptions /agile_tv - POST Create an Agile TV
/orgs /{org} /subscriptions /agile_tv - GET Get AgileTv subscription
/orgs /{org} /subscriptions /agile_tv /{subscriptionId} - PATCH Update AgileTv subscription
/orgs /{org} /subscriptions /agile_tv /{subscriptionId}
- GET Get bundle Agile TV subscriptions
- Amazon Prime 5 endpoints
Amazon Prime resource represents an amazon prime subscription containing specific amazon prime data besides all data applicable to any subscription
- GET Search Amazon Prime subscriptions
/orgs /{org} /subscriptions /amazon_prime - POST Add Amazon Prime subscription to a bundle
/orgs /{org} /subscriptions /amazon_prime - GET Get Amazon Prime subscription by ID
/orgs /{org} /subscriptions /amazon_prime /{subscriptionId} - PATCH Patch Amazon Prime subscription
/orgs /{org} /subscriptions /amazon_prime /{subscriptionId} - GET Search Amazon Prime subscriptions by bundle
/orgs /{org} /bundles /{bundleId} /subscriptions /amazon_prime
- GET Search Amazon Prime subscriptions
- Broadband 3 endpoints
Broadband resource represents a broadband subscription containing specific broadband data besides all data applicable to any subscription
- Change Requests 5 endpoints
Change Requests resource represents change requests associated to subscriptions
- GET Get subscription change requests
/orgs /{org} /subscriptions /{subscriptionId} /change_requests - GET Get change request by subscriptionId and changeRequestId
/orgs /{org} /subscriptions /{subscriptionId} /change_requests /{changeRequestId} - PATCH Update tariff change request status
/orgs /{org} /subscriptions /{subscriptionId} /change_requests /{changeRequestId} - POST Create tariff change request
/orgs /{org} /subscriptions /{subscriptionId} /change_requests /tariff - GET Get tariff change request by subscription and changeRequest IDs
/orgs /{org} /subscriptions /{subscriptionId} /change_requests /tariff /{changeRequestId}
- GET Get subscription change requests
- Contracts 3 endpoints
Contracts resource represents contracts associated to subscriptions
- GET Get subscription contracts
/orgs /{org} /subscriptions /{subscriptionId} /contracts - GET Get a subscription contract by ID
/orgs /{org} /subscriptions /{subscriptionId} /contracts /{contractId} - GET Get documents for a subscription contract
/orgs /{org} /subscriptions /{subscriptionId} /contracts /{contractId} /documents
- GET Get subscription contracts
- Bonuses 2 endpoints
Bonuses resource represents bonuses associated to subscriptions
- Credit Limits 1 endpoint
Credit Limits resource represents credit limits associated to subscriptions
- Commitments 2 endpoints
Commitments resource represents the permanence commitments associated to subscription promotions and devices
- Devices 5 endpoints
Devices resource represents devices associated to subscriptions
- GET Get devices
/orgs /{org} /subscriptions /devices - GET Get device by ID
/orgs /{org} /subscriptions /{subscriptionId} /devices /{deviceId} - PATCH Patch device
/orgs /{org} /subscriptions /{subscriptionId} /devices /{deviceId} - POST Swap device
/orgs /{org} /subscriptions /{subscriptionId} /devices /{deviceId} /swap - GET Get subscription devices
/orgs /{org} /subscriptions /{subscriptionId} /devices
- GET Get devices
- Disney 5 endpoints
Disney resource represents a Disney subscription containing specific Disney data besides all data applicable to any subscription
- GET Search Disney subscriptions
/orgs /{org} /subscriptions /disney - POST Add Disney subscription to a bundle
/orgs /{org} /subscriptions /disney - GET Get Disney subscription by ID
/orgs /{org} /subscriptions /disney /{subscriptionId} - PATCH Patch Disney subscription
/orgs /{org} /subscriptions /disney /{subscriptionId} - GET Search Disney subscriptions by bundle
/orgs /{org} /bundles /{bundleId} /subscriptions /disney
- GET Search Disney subscriptions
- Device Insurance 3 endpoints
Device Insurance resource represents a Device Insurance subscription containing specific Device Insurance data besides all data applicable to any subscription
- GET Search Device Insurance subscriptions
/orgs /{org} /subscriptions /device_insurance - GET Get Device Insurance subscription by ID
/orgs /{org} /subscriptions /device_insurance /{subscriptionId} - GET Search Device Insurance subscriptions by bundle
/orgs /{org} /bundles /{bundleId} /subscriptions /device_insurance
- GET Search Device Insurance subscriptions
- Landline 3 endpoints
Landline resource represents a landline subscription containing specific landline data besides all data applicable to any subscription
- Max 5 endpoints
Max resource represents a Max streaming subscription containing specific Max data besides all data applicable to any subscription
- GET Search Max subscriptions
/orgs /{org} /subscriptions /max - POST Add Max subscription to a bundle
/orgs /{org} /subscriptions /max - GET Get Max subscription by ID
/orgs /{org} /subscriptions /max /{subscriptionId} - PATCH Patch Max subscription
/orgs /{org} /subscriptions /max /{subscriptionId} - GET Search Max subscriptions by bundle
/orgs /{org} /bundles /{bundleId} /subscriptions /max
- GET Search Max subscriptions
- Mobile 3 endpoints
Mobile resource represents a mobile line subscription containing specific mobile related data besides all data applicable to any subscription
- Multisim 3 endpoints
Multisim resource represents a multisim subscription containing specific multisim related data besides all data applicable to any subscription
- Netflix 5 endpoints
Netflix resource represents a Netflix subscription containing specific Netflix data besides all data applicable to any subscription
- GET Search Netflix subscriptions
/orgs /{org} /subscriptions /netflix - POST Add Netflix subscription to a bundle
/orgs /{org} /subscriptions /netflix - GET Get Netflix subscription by ID
/orgs /{org} /subscriptions /netflix /{subscriptionId} - PATCH Patch Netflix subscription
/orgs /{org} /subscriptions /netflix /{subscriptionId} - GET Search Netflix subscriptions by bundle
/orgs /{org} /bundles /{bundleId} /subscriptions /netflix
- GET Search Netflix subscriptions
- Orange TV 5 endpoints
Orange TV resource represents a Orange TV subscription containing specific Orange TV data besides all data applicable to any subscription
- GET Search Orange TV subscriptions
/orgs /{org} /subscriptions /orange_tv - POST Add Orange TV subscription to a bundle
/orgs /{org} /subscriptions /orange_tv - GET Get Orange TV subscription by ID
/orgs /{org} /subscriptions /orange_tv /{subscriptionId} - PATCH Patch Orange TV subscription
/orgs /{org} /subscriptions /orange_tv /{subscriptionId} - GET Search Orange TV subscriptions by bundle
/orgs /{org} /bundles /{bundleId} /subscriptions /orange_tv
- GET Search Orange TV subscriptions
- Operations 1 endpoint
Operations resource represents administration operations executed in batch mode
- Orange TV Libre 3 endpoints
Orange TV Libre resource represents an Orange TV Libre subscription containing its specific data besides all data applicable to any subscription
- Payment Plans 1 endpoint
Payment Plans resource represents the financing payment plans associated to a subscription device
- Promotions 12 endpoints
Promotions resource represents promotions associated to subscriptions
- GET Get subscription promotion
/orgs /{org} /subscriptions /{subscriptionId} /promotions /{promotionId} - PUT Update subscription promotion
/orgs /{org} /subscriptions /{subscriptionId} /promotions /{promotionId} - PATCH Patch subscription promotion
/orgs /{org} /subscriptions /{subscriptionId} /promotions /{promotionId} - POST Cancel a subscription promotion
/orgs /{org} /subscriptions /{subscriptionId} /promotions /{promotionId} /cancel - POST Deactivate subscription promotion
/orgs /{org} /subscriptions /{subscriptionId} /promotions /{promotionId} /deactivate
- GET Get subscription promotion
- TV 2 endpoints
TV resource represents a TV subscription containing specific TV data besides all data applicable to any subscription
- Bundles 2 endpoints
- Subscription 7 endpoints
- GET Search subscriptions
/orgs /{org} /subscriptions - GET Search subscriptions by bundle
/orgs /{org} /bundles /{bundleId} /subscriptions - GET Get subscription by ID
/orgs /{org} /subscriptions /{subscriptionId} - PATCH Patch subscription
/orgs /{org} /subscriptions /{subscriptionId} - POST Cancel subscription
/orgs /{org} /subscriptions /{subscriptionId} /cancel
- GET Search subscriptions
MasSubscriptions
- production
- staging
- Authentication
- Bearer · JWT
About this API
I am MasSubscriptions API. My intention is to provide a set of REST services for handling subscriptions and their related entities.
Resources 25
- AddOns 6 endpoints
AddOns resource represents value-added services associated to subscriptions
- GET Search add-ons
/orgs /{org} /add_ons - GET Get subscription add-ons
/orgs /{org} /subscriptions /{subscriptionId} /add_ons - POST Add subscription add-on
/orgs /{org} /subscriptions /{subscriptionId} /add_ons - POST Cancel subscription add-on
/orgs /{org} /subscriptions /{subscriptionId} /add_ons /{addonId} /cancel - POST Deactivate subscription add-on
/orgs /{org} /subscriptions /{subscriptionId} /add_ons /{addonId} /deactivate
- GET Search add-ons
- Agile TV 5 endpoints
Agile TV resource represents an agile tv subscription containing specific agile tv data besides all data applicable to any subscription
- GET Get bundle Agile TV subscriptions
/orgs /{org} /bundles /{bundleId} /subscriptions /agile_tv - GET Search Agile TV subscriptions
/orgs /{org} /subscriptions /agile_tv - POST Create an Agile TV
/orgs /{org} /subscriptions /agile_tv - GET Get AgileTv subscription
/orgs /{org} /subscriptions /agile_tv /{subscriptionId} - PATCH Update AgileTv subscription
/orgs /{org} /subscriptions /agile_tv /{subscriptionId}
- GET Get bundle Agile TV subscriptions
- Amazon Prime 5 endpoints
Amazon Prime resource represents an amazon prime subscription containing specific amazon prime data besides all data applicable to any subscription
- GET Search Amazon Prime subscriptions
/orgs /{org} /subscriptions /amazon_prime - POST Add Amazon Prime subscription to a bundle
/orgs /{org} /subscriptions /amazon_prime - GET Get Amazon Prime subscription by ID
/orgs /{org} /subscriptions /amazon_prime /{subscriptionId} - PATCH Patch Amazon Prime subscription
/orgs /{org} /subscriptions /amazon_prime /{subscriptionId} - GET Search Amazon Prime subscriptions by bundle
/orgs /{org} /bundles /{bundleId} /subscriptions /amazon_prime
- GET Search Amazon Prime subscriptions
- Broadband 3 endpoints
Broadband resource represents a broadband subscription containing specific broadband data besides all data applicable to any subscription
- Change Requests 5 endpoints
Change Requests resource represents change requests associated to subscriptions
- GET Get subscription change requests
/orgs /{org} /subscriptions /{subscriptionId} /change_requests - GET Get change request by subscriptionId and changeRequestId
/orgs /{org} /subscriptions /{subscriptionId} /change_requests /{changeRequestId} - PATCH Update tariff change request status
/orgs /{org} /subscriptions /{subscriptionId} /change_requests /{changeRequestId} - POST Create tariff change request
/orgs /{org} /subscriptions /{subscriptionId} /change_requests /tariff - GET Get tariff change request by subscription and changeRequest IDs
/orgs /{org} /subscriptions /{subscriptionId} /change_requests /tariff /{changeRequestId}
- GET Get subscription change requests
- Contracts 3 endpoints
Contracts resource represents contracts associated to subscriptions
- GET Get subscription contracts
/orgs /{org} /subscriptions /{subscriptionId} /contracts - GET Get a subscription contract by ID
/orgs /{org} /subscriptions /{subscriptionId} /contracts /{contractId} - GET Get documents for a subscription contract
/orgs /{org} /subscriptions /{subscriptionId} /contracts /{contractId} /documents
- GET Get subscription contracts
- Bonuses 2 endpoints
Bonuses resource represents bonuses associated to subscriptions
- Credit Limits 1 endpoint
Credit Limits resource represents credit limits associated to subscriptions
- Commitments 2 endpoints
Commitments resource represents the permanence commitments associated to subscription promotions and devices
- Devices 5 endpoints
Devices resource represents devices associated to subscriptions
- GET Get devices
/orgs /{org} /subscriptions /devices - GET Get device by ID
/orgs /{org} /subscriptions /{subscriptionId} /devices /{deviceId} - PATCH Patch device
/orgs /{org} /subscriptions /{subscriptionId} /devices /{deviceId} - POST Swap device
/orgs /{org} /subscriptions /{subscriptionId} /devices /{deviceId} /swap - GET Get subscription devices
/orgs /{org} /subscriptions /{subscriptionId} /devices
- GET Get devices
- Disney 5 endpoints
Disney resource represents a Disney subscription containing specific Disney data besides all data applicable to any subscription
- GET Search Disney subscriptions
/orgs /{org} /subscriptions /disney - POST Add Disney subscription to a bundle
/orgs /{org} /subscriptions /disney - GET Get Disney subscription by ID
/orgs /{org} /subscriptions /disney /{subscriptionId} - PATCH Patch Disney subscription
/orgs /{org} /subscriptions /disney /{subscriptionId} - GET Search Disney subscriptions by bundle
/orgs /{org} /bundles /{bundleId} /subscriptions /disney
- GET Search Disney subscriptions
- Device Insurance 3 endpoints
Device Insurance resource represents a Device Insurance subscription containing specific Device Insurance data besides all data applicable to any subscription
- GET Search Device Insurance subscriptions
/orgs /{org} /subscriptions /device_insurance - GET Get Device Insurance subscription by ID
/orgs /{org} /subscriptions /device_insurance /{subscriptionId} - GET Search Device Insurance subscriptions by bundle
/orgs /{org} /bundles /{bundleId} /subscriptions /device_insurance
- GET Search Device Insurance subscriptions
- Landline 3 endpoints
Landline resource represents a landline subscription containing specific landline data besides all data applicable to any subscription
- Max 5 endpoints
Max resource represents a Max streaming subscription containing specific Max data besides all data applicable to any subscription
- GET Search Max subscriptions
/orgs /{org} /subscriptions /max - POST Add Max subscription to a bundle
/orgs /{org} /subscriptions /max - GET Get Max subscription by ID
/orgs /{org} /subscriptions /max /{subscriptionId} - PATCH Patch Max subscription
/orgs /{org} /subscriptions /max /{subscriptionId} - GET Search Max subscriptions by bundle
/orgs /{org} /bundles /{bundleId} /subscriptions /max
- GET Search Max subscriptions
- Mobile 3 endpoints
Mobile resource represents a mobile line subscription containing specific mobile related data besides all data applicable to any subscription
- Multisim 3 endpoints
Multisim resource represents a multisim subscription containing specific multisim related data besides all data applicable to any subscription
- Netflix 5 endpoints
Netflix resource represents a Netflix subscription containing specific Netflix data besides all data applicable to any subscription
- GET Search Netflix subscriptions
/orgs /{org} /subscriptions /netflix - POST Add Netflix subscription to a bundle
/orgs /{org} /subscriptions /netflix - GET Get Netflix subscription by ID
/orgs /{org} /subscriptions /netflix /{subscriptionId} - PATCH Patch Netflix subscription
/orgs /{org} /subscriptions /netflix /{subscriptionId} - GET Search Netflix subscriptions by bundle
/orgs /{org} /bundles /{bundleId} /subscriptions /netflix
- GET Search Netflix subscriptions
- Orange TV 5 endpoints
Orange TV resource represents a Orange TV subscription containing specific Orange TV data besides all data applicable to any subscription
- GET Search Orange TV subscriptions
/orgs /{org} /subscriptions /orange_tv - POST Add Orange TV subscription to a bundle
/orgs /{org} /subscriptions /orange_tv - GET Get Orange TV subscription by ID
/orgs /{org} /subscriptions /orange_tv /{subscriptionId} - PATCH Patch Orange TV subscription
/orgs /{org} /subscriptions /orange_tv /{subscriptionId} - GET Search Orange TV subscriptions by bundle
/orgs /{org} /bundles /{bundleId} /subscriptions /orange_tv
- GET Search Orange TV subscriptions
- Operations 1 endpoint
Operations resource represents administration operations executed in batch mode
- Orange TV Libre 3 endpoints
Orange TV Libre resource represents an Orange TV Libre subscription containing its specific data besides all data applicable to any subscription
- Payment Plans 1 endpoint
Payment Plans resource represents the financing payment plans associated to a subscription device
- Promotions 12 endpoints
Promotions resource represents promotions associated to subscriptions
- GET Get subscription promotion
/orgs /{org} /subscriptions /{subscriptionId} /promotions /{promotionId} - PUT Update subscription promotion
/orgs /{org} /subscriptions /{subscriptionId} /promotions /{promotionId} - PATCH Patch subscription promotion
/orgs /{org} /subscriptions /{subscriptionId} /promotions /{promotionId} - POST Cancel a subscription promotion
/orgs /{org} /subscriptions /{subscriptionId} /promotions /{promotionId} /cancel - POST Deactivate subscription promotion
/orgs /{org} /subscriptions /{subscriptionId} /promotions /{promotionId} /deactivate
- GET Get subscription promotion
- TV 2 endpoints
TV resource represents a TV subscription containing specific TV data besides all data applicable to any subscription
- Bundles 2 endpoints
- Subscription 7 endpoints
- GET Search subscriptions
/orgs /{org} /subscriptions - GET Search subscriptions by bundle
/orgs /{org} /bundles /{bundleId} /subscriptions - GET Get subscription by ID
/orgs /{org} /subscriptions /{subscriptionId} - PATCH Patch subscription
/orgs /{org} /subscriptions /{subscriptionId} - POST Cancel subscription
/orgs /{org} /subscriptions /{subscriptionId} /cancel
- GET Search subscriptions
AddOns
Search add-ons
/orgs /{org} /add_ons Authenticated with a bearer token in the Authorization header Authentication
Search add-ons using filters
Path parameters
orgstringRequiredOrganization name
Query parameters
offsetintegerPagination offset
limitintegerPagination limit
activation_dateobjectResource activation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
legacy_add_on_idintegerAddOn id the subscription is linked to. Linked to MySim/Apollo storage, to be deprecated.
commercial_transaction_idstringFilter by commercial transaction identifier
statusobjectSubscription status filter
subscription_idstring (uuid)Filter by subscription identifier
deactivation_dateobjectResource deactivation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
catalogue_value_added_service_idstringFilter by catalogue value-added service identifier
Responses
Add-ons found
-
limitinteger RequiredLimit of items per response
-
offsetinteger RequiredLimit of items per response
-
totalinteger RequiredTotal number of results for search criteria
-
itemsobject[]-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
AddOns
Get subscription add-ons
/orgs /{org} /subscriptions /{subscriptionId} /add_ons Authenticated with a bearer token in the Authorization header Authentication
Get add-ons (value added services) associated to the subscription
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
Query parameters
offsetintegerPagination offset
limitintegerPagination limit
activation_dateobjectResource activation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
legacy_add_on_idintegerAddOn id the subscription is linked to. Linked to MySim/Apollo storage, to be deprecated.
commercial_transaction_idstringFilter by commercial transaction identifier
Responses
Add-ons associated to the subscription
-
limitinteger RequiredLimit of items per response
-
offsetinteger RequiredLimit of items per response
-
totalinteger RequiredTotal number of results for search criteria
-
itemsobject[]-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A subscription with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
AddOns
Add subscription add-on
/orgs /{org} /subscriptions /{subscriptionId} /add_ons Authenticated with a bearer token in the Authorization header Authentication
Create a new add-on (value-added service) for an existing subscription
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
Request body application/json Required
Add-on input data
-
commercial_transaction_idstring RequiredSales commercial transaction identifier that triggered this add-on creation
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
provider_product_idstring RequiredProvider product identifier required for the currently supported AGILE_TV add-on activation
-
promotionsobject[]Optional promotions to apply to the add-on
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]Optional commitments associated with the promotion
-
idstring RequiredCatalogue commitment identifier
-
-
Responses
Add-on successfully added to the subscription
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A subscription with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
AddOns
Cancel subscription add-on
/orgs /{org} /subscriptions /{subscriptionId} /add_ons /{addonId} /cancel Authenticated with a bearer token in the Authorization header Authentication
Request cancellation for a subscription add-on
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
addonIdstring (uuid)RequiredAddOn unique identifier
Request body application/json Required
Add-on cancellation input data
-
reasonstring RequiredReason for the add-on cancellation request
Show 11 values Hide 11 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONFRAUD_CHECK_REJECTIONEXPEDITION_CANCELLEDOTHERPAYMENT_ERRORPROVISIONING_ISSUESUBSCRIBER_RESIGNATIONAUTOMATICALLY_REMOVED
-
commercial_transaction_idstringCommercial transaction identifier associated with the add-on cancellation
-
promotion_commitments_excludedstring[]Promotion commitment identifiers to exclude from penalty calculation
Responses
Add-on cancellation request accepted
No body.
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
AddOn with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
AddOns
Deactivate subscription add-on
/orgs /{org} /subscriptions /{subscriptionId} /add_ons /{addonId} /deactivate Authenticated with a bearer token in the Authorization header Authentication
Request deactivation for a subscription add-on
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
addonIdstring (uuid)RequiredAddOn unique identifier
Request body application/json Required
Add-on deactivation input data
-
reasonstring RequiredReason for the add-on deactivation request
Show 12 values Hide 12 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONFRAUD_CHECK_REJECTIONNON_PAYMENTOTHERPAYMENT_ERRORPROVISIONING_ISSUESUBSCRIBER_RESIGNATIONDEACTIVATED_ON_THIRD_PARTYAUTOMATICALLY_REMOVED
-
commercial_transaction_idstringCommercial transaction identifier associated with the add-on deactivation
-
promotion_commitments_excludedstring[]Promotion commitment identifiers to exclude from penalty calculation
Responses
Add-on deactivation request accepted
No body.
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
The subscription or the add-on with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
AddOns
Update subscription add-on
/orgs /{org} /subscriptions /{subscriptionId} /add_ons /{addonId} Authenticated with a bearer token in the Authorization header Authentication
Update specific data of a subscription add-on
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
addonIdstring (uuid)RequiredAddOn unique identifier
Request body application/json Required
Array of operations to apply to add-on data
-
pathstring RequiredPath to the field to be updated
-
valueany RequiredValue to use for the operation
Responses
OK
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
AddOn with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Agile TV
Get bundle Agile TV subscriptions
/orgs /{org} /bundles /{bundleId} /subscriptions /agile_tv Authenticated with a bearer token in the Authorization header Authentication
Returns Agile TV subscriptions in a bundle
Path parameters
orgstringRequiredOrganization name
bundleIdstring (uuid)RequiredBundle identifier
Query parameters
offsetintegerPagination offset
limitintegerPagination limit
legacy_idintegerResource legacy ID
account_idstringAccount id the subscription is linked to.
mandatorybooleanMandatory subscription filter
statusobjectSubscription status filter
typestringSubscription type
activation_dateobjectResource activation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
deactivation_dateobjectResource deactivation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
commercial_transaction_idstringFilter by commercial transaction identifier
device_idstring (uuid)Subscription device ID
provider_service_idstringProvider service ID the Agile Tv subscription is linked to.
provider_product_idstringProvider product ID the Agile Tv subscription is linked to.
is_primarybooleanWhether the Agile Tv subscription is primary.
Responses
OK
-
limitinteger RequiredLimit of items per response
-
offsetinteger RequiredLimit of items per response
-
totalinteger RequiredTotal number of results for search criteria
-
itemsobject[]-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
provider_service_idstringAgile Tv internal ID that identifies the subscription for any required operation to be performed on it, e.g: activate, update, cancel, etc.
-
provider_product_idstringAgile Tv product ID according to its provided catalog definition, relevant for B2B billing.
-
is_primarybooleanIndicates if the subscription is the primary one for the bundle
-
requires_installationboolean RequiredIndicates if the Agile TV STB must be send via installations (true) or logistics (false)
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A bundle with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Agile TV
Search Agile TV subscriptions
/orgs /{org} /subscriptions /agile_tv Authenticated with a bearer token in the Authorization header Authentication
Search Agile TV subscriptions matching given criteria, at least one of the query params is required.
Path parameters
orgstringRequiredOrganization name
Query parameters
offsetintegerPagination offset
limitintegerPagination limit
legacy_idintegerResource legacy ID
bundle_idstring (uuid)Bundle id the subscription is linked to. to MySim/Apollo storage, to be deprecated.
account_idstringAccount id the subscription is linked to.
mandatorybooleanMandatory subscription filter
statusobjectSubscription status filter
typestringSubscription type
activation_dateobjectResource activation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
deactivation_dateobjectResource deactivation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
commercial_transaction_idstringFilter by commercial transaction identifier
device_idstring (uuid)Subscription device ID
provider_service_idstringProvider service ID the Agile Tv subscription is linked to.
provider_product_idstringProvider product ID the Agile Tv subscription is linked to.
is_primarybooleanWhether the Agile Tv subscription is primary.
Responses
OK
-
limitinteger RequiredLimit of items per response
-
offsetinteger RequiredLimit of items per response
-
totalinteger RequiredTotal number of results for search criteria
-
itemsobject[]-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
provider_service_idstringAgile Tv internal ID that identifies the subscription for any required operation to be performed on it, e.g: activate, update, cancel, etc.
-
provider_product_idstringAgile Tv product ID according to its provided catalog definition, relevant for B2B billing.
-
is_primarybooleanIndicates if the subscription is the primary one for the bundle
-
requires_installationboolean RequiredIndicates if the Agile TV STB must be send via installations (true) or logistics (false)
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Agile TV
Create an Agile TV
/orgs /{org} /subscriptions /agile_tv Authenticated with a bearer token in the Authorization header Authentication
Create a new Agile TV subscription with the provided data
Path parameters
orgstringRequiredOrganization name
Request body application/json Required
Agile TV subscription data
-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstring RequiredUnique identifier of the last associated commercial transaction
-
provider_service_idstringAgile Tv internal ID that identifies the subscription for any required operation to be performed on it, e.g: activate, update, cancel, etc.
-
provider_product_idstringAgile Tv product ID according to its provided catalog definition, relevant for B2B billing.
-
is_primarybooleanIndicates if the subscription is the primary one for the bundle
-
requires_installationboolean RequiredIndicates if the Agile TV STB must be send via installations (true) or logistics (false)
Responses
Agile TV subscription successfully created
-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
provider_service_idstringAgile Tv internal ID that identifies the subscription for any required operation to be performed on it, e.g: activate, update, cancel, etc.
-
provider_product_idstringAgile Tv product ID according to its provided catalog definition, relevant for B2B billing.
-
is_primarybooleanIndicates if the subscription is the primary one for the bundle
-
requires_installationboolean RequiredIndicates if the Agile TV STB must be send via installations (true) or logistics (false)
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A bundle with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Agile TV
Get AgileTv subscription
/orgs /{org} /subscriptions /agile_tv /{subscriptionId} Authenticated with a bearer token in the Authorization header Authentication
Get AgileTv subscription by id, including specific type data
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
Responses
OK
-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
provider_service_idstringAgile Tv internal ID that identifies the subscription for any required operation to be performed on it, e.g: activate, update, cancel, etc.
-
provider_product_idstringAgile Tv product ID according to its provided catalog definition, relevant for B2B billing.
-
is_primarybooleanIndicates if the subscription is the primary one for the bundle
-
requires_installationboolean RequiredIndicates if the Agile TV STB must be send via installations (true) or logistics (false)
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A subscription with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Agile TV
Update AgileTv subscription
/orgs /{org} /subscriptions /agile_tv /{subscriptionId} Authenticated with a bearer token in the Authorization header Authentication
Update specific data of an AgileTv subscription
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
Request body application/json Required
Array of operations to apply to AgileTv specific data
-
pathstring RequiredPath to the field to be updated
-
valueany RequiredValue to use for the operation
Responses
OK
-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
provider_service_idstringAgile Tv internal ID that identifies the subscription for any required operation to be performed on it, e.g: activate, update, cancel, etc.
-
provider_product_idstringAgile Tv product ID according to its provided catalog definition, relevant for B2B billing.
-
is_primarybooleanIndicates if the subscription is the primary one for the bundle
-
requires_installationboolean RequiredIndicates if the Agile TV STB must be send via installations (true) or logistics (false)
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A subscription with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Amazon Prime
Search Amazon Prime subscriptions
/orgs /{org} /subscriptions /amazon_prime Authenticated with a bearer token in the Authorization header Authentication
Search Amazon Prime subscriptions matching given criteria, at least one of the query params is required.
Path parameters
orgstringRequiredOrganization name
Query parameters
offsetintegerPagination offset
limitintegerPagination limit
legacy_idintegerResource legacy ID
bundle_idstring (uuid)Bundle id the subscription is linked to. to MySim/Apollo storage, to be deprecated.
account_idstringAccount id the subscription is linked to.
mandatorybooleanMandatory subscription filter
statusobjectSubscription status filter
typestringSubscription type
activation_dateobjectResource activation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
deactivation_dateobjectResource deactivation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
commercial_transaction_idstringFilter by commercial transaction identifier
provider_service_idstringProvider service ID the Amazon Prime subscription is linked to.
Responses
OK
-
limitinteger RequiredLimit of items per response
-
offsetinteger RequiredLimit of items per response
-
totalinteger RequiredTotal number of results for search criteria
-
itemsobject[]-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
provider_service_idstringAmazon Prime internal ID that identifies the subscription for any required operation to be performed on it, e.g: activate, update, cancel, etc.
-
provider_product_idstringAmazon Prime product ID according to its provided catalog definition, relevant for B2B billing.
-
provider_bundle_idstringAmazon Prime internal ID that uniquely identifies the subscription once it has been activated and allows subsequent operations such as info check
-
provider_tierstringAmazon Prime tier for the subscription according to its internal promotions situation (e.g: free trial),relevant for its B2B billing. Values defined by Amazon
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Amazon Prime
Add Amazon Prime subscription to a bundle
/orgs /{org} /subscriptions /amazon_prime Authenticated with a bearer token in the Authorization header Authentication
Add a new Amazon Prime subscription to a bundle with the provided data
Path parameters
orgstringRequiredOrganization name
Request body application/json Required
Amazon Prime subscription data
-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstring RequiredUnique identifier of the last associated commercial transaction
-
provider_service_idstringAmazon Prime internal ID that identifies the subscription for any required operation to be performed on it, e.g: activate, update, cancel, etc.
-
provider_product_idstringAmazon Prime product ID according to its provided catalog definition, relevant for B2B billing.
-
provider_bundle_idstringAmazon Prime internal ID that uniquely identifies the subscription once it has been activated and allows subsequent operations such as info check
-
provider_tierstringAmazon Prime tier for the subscription according to its internal promotions situation (e.g: free trial),relevant for its B2B billing. Values defined by Amazon
Responses
Amazon Prime subscription successfully created
-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
provider_service_idstringAmazon Prime internal ID that identifies the subscription for any required operation to be performed on it, e.g: activate, update, cancel, etc.
-
provider_product_idstringAmazon Prime product ID according to its provided catalog definition, relevant for B2B billing.
-
provider_bundle_idstringAmazon Prime internal ID that uniquely identifies the subscription once it has been activated and allows subsequent operations such as info check
-
provider_tierstringAmazon Prime tier for the subscription according to its internal promotions situation (e.g: free trial),relevant for its B2B billing. Values defined by Amazon
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A bundle with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Amazon Prime
Get Amazon Prime subscription by ID
/orgs /{org} /subscriptions /amazon_prime /{subscriptionId} Authenticated with a bearer token in the Authorization header Authentication
Get an Amazon Prime subscription by its unique identifier
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
Responses
OK
-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
provider_service_idstringAmazon Prime internal ID that identifies the subscription for any required operation to be performed on it, e.g: activate, update, cancel, etc.
-
provider_product_idstringAmazon Prime product ID according to its provided catalog definition, relevant for B2B billing.
-
provider_bundle_idstringAmazon Prime internal ID that uniquely identifies the subscription once it has been activated and allows subsequent operations such as info check
-
provider_tierstringAmazon Prime tier for the subscription according to its internal promotions situation (e.g: free trial),relevant for its B2B billing. Values defined by Amazon
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A subscription with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Amazon Prime
Patch Amazon Prime subscription
/orgs /{org} /subscriptions /amazon_prime /{subscriptionId} Authenticated with a bearer token in the Authorization header Authentication
Apply patch operations to an Amazon Prime subscription
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
Request body application/json Required
-
pathstring RequiredPath to the field to be updated
-
valueany RequiredValue to use for the operation
Responses
Amazon Prime subscription patched successfully
-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
provider_service_idstringAmazon Prime internal ID that identifies the subscription for any required operation to be performed on it, e.g: activate, update, cancel, etc.
-
provider_product_idstringAmazon Prime product ID according to its provided catalog definition, relevant for B2B billing.
-
provider_bundle_idstringAmazon Prime internal ID that uniquely identifies the subscription once it has been activated and allows subsequent operations such as info check
-
provider_tierstringAmazon Prime tier for the subscription according to its internal promotions situation (e.g: free trial),relevant for its B2B billing. Values defined by Amazon
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A subscription with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Amazon Prime
Search Amazon Prime subscriptions by bundle
/orgs /{org} /bundles /{bundleId} /subscriptions /amazon_prime Authenticated with a bearer token in the Authorization header Authentication
Search Amazon Prime subscriptions within a specific bundle
Path parameters
orgstringRequiredOrganization name
bundleIdstring (uuid)RequiredBundle identifier
Query parameters
offsetintegerPagination offset
limitintegerPagination limit
legacy_idintegerResource legacy ID
account_idstringAccount id the subscription is linked to.
mandatorybooleanMandatory subscription filter
statusobjectSubscription status filter
typestringSubscription type
activation_dateobjectResource activation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
deactivation_dateobjectResource deactivation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
commercial_transaction_idstringFilter by commercial transaction identifier
device_idstring (uuid)Subscription device ID
legacy_device_idintegerLegacy Id of the insured device in MySim/Apollo storage
provider_service_idstringProvider service ID the Amazon Prime subscription is linked to.
Responses
OK
-
limitinteger RequiredLimit of items per response
-
offsetinteger RequiredLimit of items per response
-
totalinteger RequiredTotal number of results for search criteria
-
itemsobject[]-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
provider_service_idstringAmazon Prime internal ID that identifies the subscription for any required operation to be performed on it, e.g: activate, update, cancel, etc.
-
provider_product_idstringAmazon Prime product ID according to its provided catalog definition, relevant for B2B billing.
-
provider_bundle_idstringAmazon Prime internal ID that uniquely identifies the subscription once it has been activated and allows subsequent operations such as info check
-
provider_tierstringAmazon Prime tier for the subscription according to its internal promotions situation (e.g: free trial),relevant for its B2B billing. Values defined by Amazon
-
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A bundle with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Broadband
Get bundle broadband subscriptions
/orgs /{org} /bundles /{bundleId} /subscriptions /broadband Authenticated with a bearer token in the Authorization header Authentication
Returns broadband subscriptions in a bundle
Path parameters
orgstringRequiredOrganization name
bundleIdstring (uuid)RequiredBundle identifier
Query parameters
offsetintegerPagination offset
limitintegerPagination limit
legacy_idintegerResource legacy ID
account_idstringAccount id the subscription is linked to.
mandatorybooleanMandatory subscription filter
statusobjectSubscription status filter
typestringSubscription type
activation_dateobjectResource activation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
deactivation_dateobjectResource deactivation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
device_idstring (uuid)Subscription device ID
legacy_device_idintegerLegacy Id of the insured device in MySim/Apollo storage
commercial_transaction_idstringFilter by commercial transaction identifier
legacy_service_idstringLegacy service id the Broadband subscription is linked to.
Responses
OK
-
limitinteger RequiredLimit of items per response
-
offsetinteger RequiredLimit of items per response
-
totalinteger RequiredTotal number of results for search criteria
-
itemsobject[]-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
access_idstringBroadband access id
-
territory_ownerstringBroadband territory owner
-
legacy_service_idstringLegacy service id
-
installation_addressobject-
street_typestringStreet type
-
address_codestringAddress code
-
street_namestringStreet name
-
house_numberstringHouse number
-
additional_infostringAdditional address information
-
citystringCity
-
provincestringProvince
-
countrystringCountry
-
post_codestringPostal code
-
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A bundle with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Broadband
Search Broadband subscriptions
/orgs /{org} /subscriptions /broadband Authenticated with a bearer token in the Authorization header Authentication
Search Broadband subscriptions matching given criteria, at least one of the query params is required.
Path parameters
orgstringRequiredOrganization name
Query parameters
offsetintegerPagination offset
limitintegerPagination limit
legacy_idintegerResource legacy ID
bundle_idstring (uuid)Bundle id the subscription is linked to. to MySim/Apollo storage, to be deprecated.
account_idstringAccount id the subscription is linked to.
mandatorybooleanMandatory subscription filter
statusobjectSubscription status filter
typestringSubscription type
activation_dateobjectResource activation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
deactivation_dateobjectResource deactivation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
device_idstring (uuid)Subscription device ID
legacy_device_idintegerLegacy Id of the insured device in MySim/Apollo storage
commercial_transaction_idstringFilter by commercial transaction identifier
legacy_service_idstringLegacy service id the Broadband subscription is linked to.
Responses
OK
-
limitinteger RequiredLimit of items per response
-
offsetinteger RequiredLimit of items per response
-
totalinteger RequiredTotal number of results for search criteria
-
itemsobject[]-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
access_idstringBroadband access id
-
territory_ownerstringBroadband territory owner
-
legacy_service_idstringLegacy service id
-
installation_addressobject-
street_typestringStreet type
-
address_codestringAddress code
-
street_namestringStreet name
-
house_numberstringHouse number
-
additional_infostringAdditional address information
-
citystringCity
-
provincestringProvince
-
countrystringCountry
-
post_codestringPostal code
-
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Broadband
Get Broadband subscription by ID
/orgs /{org} /subscriptions /broadband /{subscriptionId} Authenticated with a bearer token in the Authorization header Authentication
Get a Broadband subscription by its unique identifier
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
Responses
OK
-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
access_idstringBroadband access id
-
territory_ownerstringBroadband territory owner
-
legacy_service_idstringLegacy service id
-
installation_addressobject-
street_typestringStreet type
-
address_codestringAddress code
-
street_namestringStreet name
-
house_numberstringHouse number
-
additional_infostringAdditional address information
-
citystringCity
-
provincestringProvince
-
countrystringCountry
-
post_codestringPostal code
-
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A subscription with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Change Requests
Get subscription change requests
/orgs /{org} /subscriptions /{subscriptionId} /change_requests Authenticated with a bearer token in the Authorization header Authentication
Get change requests associated to the subscription
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
Query parameters
offsetintegerPagination offset
limitintegerPagination limit
typestringChange request type filter
statusobjectChange request status filter
Responses
Change requests associated to the subscription. Empty when the subscription has none
-
limitinteger RequiredLimit of items per response
-
offsetinteger RequiredLimit of items per response
-
totalinteger RequiredTotal number of results for search criteria
-
itemsobject[]-
idstringChange request unique identifier
-
commercial_transaction_idstringOptional Sales commercial transaction identifier for correlation
-
typestringChange request type
-
statusstringChange request status
-
date_scheduledstring (date-time)Date and time when the change request is scheduled to be executed. Format according to ISO 8601
-
parent_change_requeststringParent change request id
-
reasonstring RequiredReason for the change request
-
request_userstringUser that requested the change
-
request_systemstringSystem that requested the change
-
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A subscription with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Change Requests
Get change request by subscriptionId and changeRequestId
/orgs /{org} /subscriptions /{subscriptionId} /change_requests /{changeRequestId} Authenticated with a bearer token in the Authorization header Authentication
Get info for a specific change request
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
changeRequestIdstring (uuid)RequiredChange request unique identifier
Responses
Change request found
-
idstringChange request unique identifier
-
commercial_transaction_idstringOptional Sales commercial transaction identifier for correlation
-
typestringChange request type
-
statusstringChange request status
-
date_scheduledstring (date-time)Date and time when the change request is scheduled to be executed. Format according to ISO 8601
-
parent_change_requeststringParent change request id
-
reasonstring RequiredReason for the change request
-
request_userstringUser that requested the change
-
request_systemstringSystem that requested the change
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
The subscription or the change request with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Change Requests
Update tariff change request status
/orgs /{org} /subscriptions /{subscriptionId} /change_requests /{changeRequestId} Authenticated with a bearer token in the Authorization header Authentication
Update the status of a tariff change request. Only the status path is supported, with the values
IN_PROGRESS, FINISHED, FAILED and CANCELED; every operation replaces the value.
The transition is validated and the matching subscription-change-request-{inprogress,finished,failed,canceled}
event is published. FINISHED, FAILED and CANCELED are terminal.
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
changeRequestIdstring (uuid)RequiredChange request unique identifier
Request body application/json Required
Array with a single status operation
-
pathstring RequiredPath to the field to be updated
-
valueany RequiredValue to use for the operation
Responses
Change request updated
-
idstringChange request unique identifier
-
commercial_transaction_idstringOptional Sales commercial transaction identifier for correlation
-
typestringChange request type
-
statusstringChange request status
-
date_scheduledstring (date-time)Date and time when the change request is scheduled to be executed. Format according to ISO 8601
-
parent_change_requeststringParent change request id
-
reasonstring RequiredReason for the change request
-
request_userstringUser that requested the change
-
request_systemstringSystem that requested the change
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
The subscription or the change request with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
The change request was modified by another process. Concurrent modification detected.
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Change Requests
Create tariff change request
/orgs /{org} /subscriptions /{subscriptionId} /change_requests /tariff Authenticated with a bearer token in the Authorization header Authentication
Create a tariff change request for an active subscription, without bundle migration.
The change request is processed asynchronously and publishes the subscription-change-request-requested event.
The requesting user and system are taken from the authentication headers.
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
Request body application/json Required
-
idstringChange request unique identifier
-
commercial_transaction_idstringOptional Sales commercial transaction identifier for correlation
-
typestringChange request type
-
statusstringChange request status
-
date_scheduledstring (date-time)Date and time when the change request is scheduled to be executed. Format according to ISO 8601
-
parent_change_requeststringParent change request id
-
reasonstring RequiredReason for the change request
-
request_userstringUser that requested the change
-
request_systemstringSystem that requested the change
-
specific_dataobjectSpecific data for the tariff change request
-
catalogue_bundled_commercial_product_idstringBundle commercial product id according to catalogue definition that will be applied in the tariff change
-
catalogue_promotion_idsstring[]Array of both mandatory and optional promotion ids to be applied in the tariff change
-
Responses
Tariff change request created
-
idstringChange request unique identifier
-
commercial_transaction_idstringOptional Sales commercial transaction identifier for correlation
-
typestringChange request type
-
statusstringChange request status
-
date_scheduledstring (date-time)Date and time when the change request is scheduled to be executed. Format according to ISO 8601
-
parent_change_requeststringParent change request id
-
reasonstring RequiredReason for the change request
-
request_userstringUser that requested the change
-
request_systemstringSystem that requested the change
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A subscription with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A change request for the subscription with the change requested is still in progress
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Change Requests
Get tariff change request by subscription and changeRequest IDs
/orgs /{org} /subscriptions /{subscriptionId} /change_requests /tariff /{changeRequestId} Authenticated with a bearer token in the Authorization header Authentication
Get info for a specific tariff change request
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
changeRequestIdstring (uuid)RequiredChange request unique identifier
Responses
Tariff Change request found
-
idstringChange request unique identifier
-
commercial_transaction_idstringOptional Sales commercial transaction identifier for correlation
-
typestringChange request type
-
statusstringChange request status
-
date_scheduledstring (date-time)Date and time when the change request is scheduled to be executed. Format according to ISO 8601
-
parent_change_requeststringParent change request id
-
reasonstring RequiredReason for the change request
-
request_userstringUser that requested the change
-
request_systemstringSystem that requested the change
-
specific_dataobjectSpecific data for the tariff change request
-
catalogue_bundled_commercial_product_idstringBundle commercial product id according to catalogue definition that will be applied in the tariff change
-
catalogue_promotion_idsstring[]Array of both mandatory and optional promotion ids to be applied in the tariff change
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
The subscription or the change request with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Contracts
Get subscription contracts
/orgs /{org} /subscriptions /{subscriptionId} /contracts Authenticated with a bearer token in the Authorization header Authentication
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
Query parameters
offsetintegerPagination offset
limitintegerPagination limit
Responses
OK
-
itemsobject[]-
idstring (uuid) -
documents_contract_idstring -
creation_datestring (date-time) -
creation_userstring -
creation_systemstring -
last_updated_datestring (date-time) -
last_updated_userstring
-
-
totalinteger -
limitinteger -
offsetinteger
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Contracts
Get a subscription contract by ID
/orgs /{org} /subscriptions /{subscriptionId} /contracts /{contractId} Authenticated with a bearer token in the Authorization header Authentication
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
contractIdstring (uuid)RequiredContract unique identifier
Responses
OK
-
idstring (uuid) -
documents_contract_idstring -
creation_datestring (date-time) -
creation_userstring -
creation_systemstring -
last_updated_datestring (date-time) -
last_updated_userstring
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
The subscription or the contract with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Contracts
Get documents for a subscription contract
/orgs /{org} /subscriptions /{subscriptionId} /contracts /{contractId} /documents Authenticated with a bearer token in the Authorization header Authentication
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
contractIdstring (uuid)RequiredContract unique identifier
Responses
OK
-
documentsobject[]-
url_expiration_datestring (date-time) -
public_urlstring -
media_typestring -
namestring -
documents_contract_idstring
-
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
The subscription or the contract with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Bonuses
Get subscription bonus
/orgs /{org} /subscriptions /{subscriptionId} /bonuses /{bonusId} Authenticated with a bearer token in the Authorization header Authentication
Get info for a specific bonus of subscription
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
bonusIdstring (uuid)RequiredBonus unique identifier
Responses
Bonus found for the subscription
-
idstring RequiredAssigned subscription bonus ID
-
legacy_idintegerAssigned legacy subscription bonus ID
-
catalogue_free_units_package_idstring RequiredCatalogue free units package ID
-
last_updated_datestring (date-time)Date and time when any field of the bonus was last updated. Format according to ISO 8601
-
last_updated_systemstringInfo about the system that last updated the bonus. It contains the mas-stack authentication audience info. N/A if not available
-
last_updated_userstringInfo about the specific user that last updated the bonus. N/A if not available
-
statusstring -
activation_datestring (date-time) RequiredActivation date and time of the bonus. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the bonus. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the bonus deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A if not available
-
deactivation_userstringInfo about the specific user that requested the bonus 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
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A bonus with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Bonuses
Get subscription bonuses
/orgs /{org} /subscriptions /{subscriptionId} /bonuses Authenticated with a bearer token in the Authorization header Authentication
Get bonuses associated to the subscription
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
Query parameters
offsetintegerPagination offset
limitintegerPagination limit
statusobjectBonus status filter
Responses
Bonuses associated to the subscription
-
limitinteger RequiredLimit of items per response
-
offsetinteger RequiredLimit of items per response
-
totalinteger RequiredTotal number of results for search criteria
-
itemsobject[]-
idstring RequiredAssigned subscription bonus ID
-
legacy_idintegerAssigned legacy subscription bonus ID
-
catalogue_free_units_package_idstring RequiredCatalogue free units package ID
-
last_updated_datestring (date-time)Date and time when any field of the bonus was last updated. Format according to ISO 8601
-
last_updated_systemstringInfo about the system that last updated the bonus. It contains the mas-stack authentication audience info. N/A if not available
-
last_updated_userstringInfo about the specific user that last updated the bonus. N/A if not available
-
statusstring -
activation_datestring (date-time) RequiredActivation date and time of the bonus. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the bonus. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the bonus deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A if not available
-
deactivation_userstringInfo about the specific user that requested the bonus 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
-
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A subscription with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Credit Limits
Get subscription credit limits
/orgs /{org} /subscriptions /{subscriptionId} /credit_limits Authenticated with a bearer token in the Authorization header Authentication
Get credit limits associated to the subscription
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
Responses
Credit limits associated to the subscription. Empty when the subscription has none
-
typestring RequiredCredit limit type
-
valuenumber RequiredCredit limit value
-
last_updated_userstringUser that last updated the credit limit
-
last_updated_datestring (date-time)Date and time when the credit limit was last updated. Format according to ISO 8601
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A subscription with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Commitments
Patch promotion commitment
/orgs /{org} /subscriptions /{subscriptionId} /promotions /{promotionId} /commitments /{commitmentId} Authenticated with a bearer token in the Authorization header Authentication
Apply patch operations to a commitment of a subscription promotion. Supported paths are cancellation_date, cancellation_system and cancellation_user. When cancellation_date is patched and cancellation_system or cancellation_user are not provided, they are filled with the system and the user resolved from the audit headers of the request. If cancellation_date is patched to null, cancellation_system and cancellation_user are cleared unless they are provided.
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
promotionIdstring (uuid)RequiredPromotion unique identifier
commitmentIdstring (uuid)RequiredCommitment unique identifier
Request body application/json Required
-
pathstring RequiredPath to the field to be updated
-
valueany RequiredValue to use for the operation
Responses
Promotion commitment patched successfully
-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A commitment with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Subscription was modified by another process. Concurrent modification detected.
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Commitments
Patch device commitment
/orgs /{org} /subscriptions /{subscriptionId} /devices /{deviceId} /commitments /{commitmentId} Authenticated with a bearer token in the Authorization header Authentication
Apply patch operations to a commitment of a subscription device. Supported paths are cancellation_date, cancellation_system and cancellation_user. When cancellation_date is patched and cancellation_system or cancellation_user are not provided, they are filled with the system and the user resolved from the audit headers of the request. If cancellation_date is patched to null, cancellation_system and cancellation_user are cleared unless they are provided.
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
deviceIdstring (uuid)RequiredDevice unique identifier
commitmentIdstring (uuid)RequiredCommitment unique identifier
Request body application/json Required
-
pathstring RequiredPath to the field to be updated
-
valueany RequiredValue to use for the operation
Responses
Device commitment patched successfully
-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A commitment with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Subscription was modified by another process. Concurrent modification detected.
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Devices
Get devices
/orgs /{org} /subscriptions /devices Authenticated with a bearer token in the Authorization header Authentication
Get all devices filtering. This endpoint cannot be called without a query parameter.
Path parameters
orgstringRequiredOrganization name
Query parameters
mac_addressstringMac address filter. Required if 'serial_number' or 'imei' filters are not provided
serial_numberstringSerial number filter. Required if 'mac_address' or 'imei' filters are not provided
imeistringIMEI filter. Required if 'mac_address' or 'serial_number' filters are not provided
Responses
Devices found
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Devices
Get device by ID
/orgs /{org} /subscriptions /{subscriptionId} /devices /{deviceId} Authenticated with a bearer token in the Authorization header Authentication
Get info for a specific device of a subscription
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
deviceIdstring (uuid)RequiredDevice unique identifier
Responses
Device found for the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
The subscription or the device with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Devices
Patch device
/orgs /{org} /subscriptions /{subscriptionId} /devices /{deviceId} Authenticated with a bearer token in the Authorization header Authentication
Apply patch operations to a device
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
deviceIdstring (uuid)RequiredDevice unique identifier
Request body application/json Required
-
pathstring RequiredPath to the field to be updated
-
valueany RequiredValue to use for the operation
Responses
Device patched successfully
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A device with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Devices
Swap device
/orgs /{org} /subscriptions /{subscriptionId} /devices /{deviceId} /swap Authenticated with a bearer token in the Authorization header Authentication
Accept a device swap request for a subscription device
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
deviceIdstring (uuid)RequiredDevice unique identifier
Request body application/json Required
-
new_serial_numberstringNew device serial number for automatic swaps
-
transfer_withstring (uuid)Device identifier to transfer with
-
commercial_transaction_idstringCommercial transaction identifier, present in transfer flows
Responses
Device swap request accepted
No body.
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
The subscription or the device with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Devices
Get subscription devices
/orgs /{org} /subscriptions /{subscriptionId} /devices Authenticated with a bearer token in the Authorization header Authentication
Get all subscription devices associated to the subscription
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
Query parameters
mac_addressstringMac address filter
serial_numberstringSerial number filter
Responses
Devices found for the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A subscription with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Disney
Search Disney subscriptions
/orgs /{org} /subscriptions /disney Authenticated with a bearer token in the Authorization header Authentication
Search Disney subscriptions matching given criteria, at least one of the query params is required.
Path parameters
orgstringRequiredOrganization name
Query parameters
offsetintegerPagination offset
limitintegerPagination limit
legacy_idintegerResource legacy ID
bundle_idstring (uuid)Bundle id the subscription is linked to. to MySim/Apollo storage, to be deprecated.
account_idstringAccount id the subscription is linked to.
mandatorybooleanMandatory subscription filter
statusobjectSubscription status filter
typestringSubscription type
activation_dateobjectResource activation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
deactivation_dateobjectResource deactivation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
commercial_transaction_idstringFilter by commercial transaction identifier
provider_user_idstringProvider user ID the Disney subscription is linked to.
provider_service_idstringProvider service ID the Disney subscription is linked to.
provider_product_idstringProvider product ID the Disney subscription is linked to.
Responses
OK
-
limitinteger RequiredLimit of items per response
-
offsetinteger RequiredLimit of items per response
-
totalinteger RequiredTotal number of results for search criteria
-
itemsobject[]-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
provider_user_idstringThe provider user identifier.
-
provider_service_idstringThe provider service identifier.
-
provider_product_idstringThe provider product identifier.
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Disney
Add Disney subscription to a bundle
/orgs /{org} /subscriptions /disney Authenticated with a bearer token in the Authorization header Authentication
Add a new Disney subscription to a bundle with the provided data
Path parameters
orgstringRequiredOrganization name
Request body application/json Required
Disney subscription data.
-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstring RequiredUnique identifier of the last associated commercial transaction
-
provider_user_idstringThe provider user identifier.
-
provider_service_idstringThe provider service identifier.
-
provider_product_idstringThe provider product identifier.
Responses
Disney subscription successfully added.
-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
provider_user_idstringThe provider user identifier.
-
provider_service_idstringThe provider service identifier.
-
provider_product_idstringThe provider product identifier.
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A bundle with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Disney
Get Disney subscription by ID
/orgs /{org} /subscriptions /disney /{subscriptionId} Authenticated with a bearer token in the Authorization header Authentication
Get a Disney subscription by its unique identifier
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
Responses
OK
-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
provider_user_idstringThe provider user identifier.
-
provider_service_idstringThe provider service identifier.
-
provider_product_idstringThe provider product identifier.
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A subscription with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Disney
Patch Disney subscription
/orgs /{org} /subscriptions /disney /{subscriptionId} Authenticated with a bearer token in the Authorization header Authentication
Apply patch operations to a Disney subscription
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
Request body application/json Required
-
pathstring RequiredPath to the field to be updated
-
valueany RequiredValue to use for the operation
Responses
Disney subscription patched successfully
-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
provider_user_idstringThe provider user identifier.
-
provider_service_idstringThe provider service identifier.
-
provider_product_idstringThe provider product identifier.
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A subscription with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Disney
Search Disney subscriptions by bundle
/orgs /{org} /bundles /{bundleId} /subscriptions /disney Authenticated with a bearer token in the Authorization header Authentication
Search Disney subscriptions within a specific bundle
Path parameters
orgstringRequiredOrganization name
bundleIdstring (uuid)RequiredBundle identifier
Query parameters
offsetintegerPagination offset
limitintegerPagination limit
legacy_idintegerResource legacy ID
account_idstringAccount id the subscription is linked to.
mandatorybooleanMandatory subscription filter
statusobjectSubscription status filter
typestringSubscription type
activation_dateobjectResource activation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
deactivation_dateobjectResource deactivation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
commercial_transaction_idstringFilter by commercial transaction identifier
device_idstring (uuid)Subscription device ID
legacy_device_idintegerLegacy Id of the insured device in MySim/Apollo storage
provider_user_idstringProvider user ID the Disney subscription is linked to.
provider_service_idstringProvider service ID the Disney subscription is linked to.
Responses
OK
-
limitinteger RequiredLimit of items per response
-
offsetinteger RequiredLimit of items per response
-
totalinteger RequiredTotal number of results for search criteria
-
itemsobject[]-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
provider_user_idstringThe provider user identifier.
-
provider_service_idstringThe provider service identifier.
-
provider_product_idstringThe provider product identifier.
-
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A bundle with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Device Insurance
Search Device Insurance subscriptions
/orgs /{org} /subscriptions /device_insurance Authenticated with a bearer token in the Authorization header Authentication
Search Device Insurance subscriptions matching given criteria, at least one of the query params is required.
Path parameters
orgstringRequiredOrganization name
Query parameters
offsetintegerPagination offset
limitintegerPagination limit
legacy_idintegerResource legacy ID
bundle_idstring (uuid)Bundle id the subscription is linked to. to MySim/Apollo storage, to be deprecated.
account_idstringAccount id the subscription is linked to.
mandatorybooleanMandatory subscription filter
statusobjectSubscription status filter
typestringSubscription type
activation_dateobjectResource activation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
deactivation_dateobjectResource deactivation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
device_idstring (uuid)Subscription device ID
legacy_device_idintegerLegacy Id of the insured device in MySim/Apollo storage
commercial_transaction_idstringFilter by commercial transaction identifier
provider_service_idstringExternal insurance provider service identifier.
Responses
OK
-
limitinteger RequiredLimit of items per response
-
offsetinteger RequiredLimit of items per response
-
totalinteger RequiredTotal number of results for search criteria
-
itemsobject[]-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
insured_device_idstring (uuid)UUID of the insured device
-
legacy_device_idintegerLegacy identifier of the insured device, returned only for unmigrated Oracle subscriptions
-
provider_service_idstringExternal insurance provider service identifier
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Device Insurance
Get Device Insurance subscription by ID
/orgs /{org} /subscriptions /device_insurance /{subscriptionId} Authenticated with a bearer token in the Authorization header Authentication
Get a Device Insurance subscription by its unique identifier
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
Responses
OK
-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
insured_device_idstring (uuid)UUID of the insured device
-
legacy_device_idintegerLegacy identifier of the insured device, returned only for unmigrated Oracle subscriptions
-
provider_service_idstringExternal insurance provider service identifier
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A subscription with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Device Insurance
Search Device Insurance subscriptions by bundle
/orgs /{org} /bundles /{bundleId} /subscriptions /device_insurance Authenticated with a bearer token in the Authorization header Authentication
Search Device Insurance subscriptions within a specific bundle
Path parameters
orgstringRequiredOrganization name
bundleIdstring (uuid)RequiredBundle identifier
Query parameters
offsetintegerPagination offset
limitintegerPagination limit
legacy_idintegerResource legacy ID
account_idstringAccount id the subscription is linked to.
mandatorybooleanMandatory subscription filter
commercial_transaction_idstringFilter by commercial transaction identifier
statusobjectSubscription status filter
typestringSubscription type
activation_dateobjectResource activation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
deactivation_dateobjectResource deactivation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
device_idstring (uuid)Subscription device ID
legacy_device_idintegerLegacy Id of the insured device in MySim/Apollo storage
provider_service_idstringExternal insurance provider service identifier.
Responses
OK
-
limitinteger RequiredLimit of items per response
-
offsetinteger RequiredLimit of items per response
-
totalinteger RequiredTotal number of results for search criteria
-
itemsobject[]-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
insured_device_idstring (uuid)UUID of the insured device
-
legacy_device_idintegerLegacy identifier of the insured device, returned only for unmigrated Oracle subscriptions
-
provider_service_idstringExternal insurance provider service identifier
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A bundle with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Landline
Get bundle landline subscriptions
/orgs /{org} /bundles /{bundleId} /subscriptions /landline Authenticated with a bearer token in the Authorization header Authentication
Returns landline subscriptions in a bundle
Path parameters
orgstringRequiredOrganization name
bundleIdstring (uuid)RequiredBundle identifier
Query parameters
offsetintegerPagination offset
limitintegerPagination limit
legacy_idintegerResource legacy ID
account_idstringAccount id the subscription is linked to.
mandatorybooleanMandatory subscription filter
statusobjectSubscription status filter
typestringSubscription type
activation_dateobjectResource activation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
deactivation_dateobjectResource deactivation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
device_idstring (uuid)Subscription device ID
legacy_device_idintegerLegacy Id of the insured device in MySim/Apollo storage
commercial_transaction_idstringFilter by commercial transaction identifier
fixed_phone_numberstringLandline fixed phone number.
fixed_phone_numberstringLandline fixed phone number
Responses
OK
-
limitinteger RequiredLimit of items per response
-
offsetinteger RequiredLimit of items per response
-
totalinteger RequiredTotal number of results for search criteria
-
itemsobject[]-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
fixed_phone_numberstringLandline fixed phone number
-
installation_addressobject-
street_typestringStreet type
-
address_codestringAddress code
-
street_namestringStreet name
-
house_numberstringHouse number
-
additional_infostringAdditional address information
-
citystringCity
-
provincestringProvince
-
countrystringCountry
-
post_codestringPostal code
-
-
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A bundle with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Landline
Search Landline subscriptions
/orgs /{org} /subscriptions /landline Authenticated with a bearer token in the Authorization header Authentication
Search Landline subscriptions matching given criteria, at least one of the query params is required.
Path parameters
orgstringRequiredOrganization name
Query parameters
offsetintegerPagination offset
limitintegerPagination limit
legacy_idintegerResource legacy ID
bundle_idstring (uuid)Bundle id the subscription is linked to. to MySim/Apollo storage, to be deprecated.
account_idstringAccount id the subscription is linked to.
mandatorybooleanMandatory subscription filter
statusobjectSubscription status filter
typestringSubscription type
activation_dateobjectResource activation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
deactivation_dateobjectResource deactivation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
device_idstring (uuid)Subscription device ID
legacy_device_idintegerLegacy Id of the insured device in MySim/Apollo storage
commercial_transaction_idstringFilter by commercial transaction identifier
fixed_phone_numberstringLandline fixed phone number.
Responses
OK
-
limitinteger RequiredLimit of items per response
-
offsetinteger RequiredLimit of items per response
-
totalinteger RequiredTotal number of results for search criteria
-
itemsobject[]-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
fixed_phone_numberstringLandline fixed phone number
-
installation_addressobject-
street_typestringStreet type
-
address_codestringAddress code
-
street_namestringStreet name
-
house_numberstringHouse number
-
additional_infostringAdditional address information
-
citystringCity
-
provincestringProvince
-
countrystringCountry
-
post_codestringPostal code
-
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Landline
Get Landline subscription by ID
/orgs /{org} /subscriptions /landline /{subscriptionId} Authenticated with a bearer token in the Authorization header Authentication
Get a Landline subscription by its unique identifier
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
Responses
OK
-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
fixed_phone_numberstringLandline fixed phone number
-
installation_addressobject-
street_typestringStreet type
-
address_codestringAddress code
-
street_namestringStreet name
-
house_numberstringHouse number
-
additional_infostringAdditional address information
-
citystringCity
-
provincestringProvince
-
countrystringCountry
-
post_codestringPostal code
-
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A subscription with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Max
Search Max subscriptions
/orgs /{org} /subscriptions /max Authenticated with a bearer token in the Authorization header Authentication
Search Max subscriptions matching given criteria, at least one of the query params is required.
Path parameters
orgstringRequiredOrganization name
Query parameters
offsetintegerPagination offset
limitintegerPagination limit
legacy_idintegerResource legacy ID
bundle_idstring (uuid)Bundle id the subscription is linked to. to MySim/Apollo storage, to be deprecated.
account_idstringAccount id the subscription is linked to.
mandatorybooleanMandatory subscription filter
statusobjectSubscription status filter
typestringSubscription type
activation_dateobjectResource activation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
deactivation_dateobjectResource deactivation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
commercial_transaction_idstringFilter by commercial transaction identifier
provider_service_idstringProvider service ID the Max subscription is linked to.
Responses
OK
-
limitinteger RequiredLimit of items per response
-
offsetinteger RequiredLimit of items per response
-
totalinteger RequiredTotal number of results for search criteria
-
itemsobject[]-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
provider_service_idstringMax internal ID that identifies the subscription for any required operation to be performed on it, e.g: activate, update, cancel, etc.
-
provider_product_idstringMax product ID according to its provided catalog definition, relevant for B2B billing.
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Max
Add Max subscription to a bundle
/orgs /{org} /subscriptions /max Authenticated with a bearer token in the Authorization header Authentication
Add a new Max subscription to a bundle with the provided data
Path parameters
orgstringRequiredOrganization name
Request body application/json Required
Max subscription data
-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstring RequiredUnique identifier of the last associated commercial transaction
-
provider_service_idstringMax internal ID that identifies the subscription for any required operation to be performed on it, e.g: activate, update, cancel, etc.
-
provider_product_idstringMax product ID according to its provided catalog definition, relevant for B2B billing.
Responses
Max subscription successfully created
-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
provider_service_idstringMax internal ID that identifies the subscription for any required operation to be performed on it, e.g: activate, update, cancel, etc.
-
provider_product_idstringMax product ID according to its provided catalog definition, relevant for B2B billing.
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A bundle with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Max
Get Max subscription by ID
/orgs /{org} /subscriptions /max /{subscriptionId} Authenticated with a bearer token in the Authorization header Authentication
Get a Max subscription by its unique identifier
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
Responses
OK
-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
provider_service_idstringMax internal ID that identifies the subscription for any required operation to be performed on it, e.g: activate, update, cancel, etc.
-
provider_product_idstringMax product ID according to its provided catalog definition, relevant for B2B billing.
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A subscription with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Max
Patch Max subscription
/orgs /{org} /subscriptions /max /{subscriptionId} Authenticated with a bearer token in the Authorization header Authentication
Apply patch operations to a Max subscription
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
Request body application/json Required
-
pathstring RequiredPath to the field to be updated
-
valueany RequiredValue to use for the operation
Responses
Max subscription patched successfully
-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
provider_service_idstringMax internal ID that identifies the subscription for any required operation to be performed on it, e.g: activate, update, cancel, etc.
-
provider_product_idstringMax product ID according to its provided catalog definition, relevant for B2B billing.
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A subscription with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Max
Search Max subscriptions by bundle
/orgs /{org} /bundles /{bundleId} /subscriptions /max Authenticated with a bearer token in the Authorization header Authentication
Search Max subscriptions within a specific bundle
Path parameters
orgstringRequiredOrganization name
bundleIdstring (uuid)RequiredBundle identifier
Query parameters
offsetintegerPagination offset
limitintegerPagination limit
legacy_idintegerResource legacy ID
account_idstringAccount id the subscription is linked to.
mandatorybooleanMandatory subscription filter
statusobjectSubscription status filter
typestringSubscription type
activation_dateobjectResource activation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
deactivation_dateobjectResource deactivation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
commercial_transaction_idstringFilter by commercial transaction identifier
device_idstring (uuid)Subscription device ID
legacy_device_idintegerLegacy Id of the insured device in MySim/Apollo storage
provider_service_idstringProvider service ID the Max subscription is linked to.
Responses
OK
-
limitinteger RequiredLimit of items per response
-
offsetinteger RequiredLimit of items per response
-
totalinteger RequiredTotal number of results for search criteria
-
itemsobject[]-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
provider_service_idstringMax internal ID that identifies the subscription for any required operation to be performed on it, e.g: activate, update, cancel, etc.
-
provider_product_idstringMax product ID according to its provided catalog definition, relevant for B2B billing.
-
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A bundle with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Mobile
Search mobile subscriptions
/orgs /{org} /subscriptions /mobile Authenticated with a bearer token in the Authorization header Authentication
Search mobile subscriptions matching certain criteria. Specific type data is included.
Path parameters
orgstringRequiredOrganization name
Query parameters
offsetintegerPagination offset
limitintegerPagination limit
legacy_idintegerResource legacy ID
bundle_idstring (uuid)Bundle id the subscription is linked to. to MySim/Apollo storage, to be deprecated.
account_idstringAccount id the subscription is linked to.
mandatorybooleanMandatory subscription filter
statusobjectSubscription status filter
typestringSubscription type
activation_dateobjectResource activation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
deactivation_dateobjectResource deactivation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
device_idstring (uuid)Subscription device ID
legacy_device_idintegerLegacy Id of the insured device in MySim/Apollo storage
commercial_transaction_idstringFilter by commercial transaction identifier
msisdnstringMSISDN (Mobile Station International Subscriber Directory Number) following E.164 format. Spanish country code is assumed if plus sign(+) is not included to indicate international format.
imsistringIMSI (International Mobile Subscriber Identity)
iccidstringICCID (Integrated Circuit Card Identifier)
Responses
OK
-
limitinteger RequiredLimit of items per response
-
offsetinteger RequiredLimit of items per response
-
totalinteger RequiredTotal number of results for search criteria
-
itemsobject[]-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
msisdnstringMSISDN (Mobile Station International Subscriber Directory Number) formatted following E.164 format
-
simobjectSIM card information
-
iccidstringIntegrated Circuit Card Identifier
-
imsistringIMSI (International Mobile Subscriber Identity)
-
typestringSIM card type
-
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Mobile
Get mobile subscription by ID
/orgs /{org} /subscriptions /mobile /{subscriptionId} Authenticated with a bearer token in the Authorization header Authentication
Get a mobile subscription by its unique identifier
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
Responses
OK
-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
msisdnstringMSISDN (Mobile Station International Subscriber Directory Number) formatted following E.164 format
-
simobjectSIM card information
-
iccidstringIntegrated Circuit Card Identifier
-
imsistringIMSI (International Mobile Subscriber Identity)
-
typestringSIM card type
-
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A subscription with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Mobile
Search mobile subscriptions by bundle
/orgs /{org} /bundles /{bundleId} /subscriptions /mobile Authenticated with a bearer token in the Authorization header Authentication
Search mobile subscriptions within a specific bundle
Path parameters
orgstringRequiredOrganization name
bundleIdstring (uuid)RequiredBundle identifier
Query parameters
offsetintegerPagination offset
limitintegerPagination limit
legacy_idintegerResource legacy ID
account_idstringAccount id the subscription is linked to.
mandatorybooleanMandatory subscription filter
statusobjectSubscription status filter
typestringSubscription type
activation_dateobjectResource activation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
deactivation_dateobjectResource deactivation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
device_idstring (uuid)Subscription device ID
legacy_device_idintegerLegacy Id of the insured device in MySim/Apollo storage
commercial_transaction_idstringFilter by commercial transaction identifier
msisdnstringMSISDN (Mobile Station International Subscriber Directory Number) following E.164 format. Spanish country code is assumed if plus sign(+) is not included to indicate international format.
imsistringIMSI (International Mobile Subscriber Identity)
iccidstringICCID (Integrated Circuit Card Identifier)
Responses
OK
-
limitinteger RequiredLimit of items per response
-
offsetinteger RequiredLimit of items per response
-
totalinteger RequiredTotal number of results for search criteria
-
itemsobject[]-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
msisdnstringMSISDN (Mobile Station International Subscriber Directory Number) formatted following E.164 format
-
simobjectSIM card information
-
iccidstringIntegrated Circuit Card Identifier
-
imsistringIMSI (International Mobile Subscriber Identity)
-
typestringSIM card type
-
-
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A bundle with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Multisim
Get Multisim subscription by ID
/orgs /{org} /subscriptions /multisim /{subscriptionId} Authenticated with a bearer token in the Authorization header Authentication
Get a Multisim subscription by its unique identifier
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
Responses
OK
-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
main_subscription_idstring (uuid)Unique identifier of the main subscription associated to the Multisim subscription.
-
msisdnstringMSISDN formatted following E.164 format.
-
simobjectSIM card information
-
iccidstringIntegrated Circuit Card Identifier
-
imsistringIMSI (International Mobile Subscriber Identity)
-
typestringSIM card type
-
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A subscription with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Multisim
Search Multisim subscriptions
/orgs /{org} /subscriptions /multisim Authenticated with a bearer token in the Authorization header Authentication
Search Multisim subscriptions matching given criteria. At least one filter is required.
Path parameters
orgstringRequiredOrganization name
Query parameters
offsetintegerPagination offset
limitintegerPagination limit
legacy_idintegerResource legacy ID
bundle_idstring (uuid)Bundle id the subscription is linked to. to MySim/Apollo storage, to be deprecated.
account_idstringAccount id the subscription is linked to.
mandatorybooleanMandatory subscription filter
statusobjectSubscription status filter
typestringSubscription type
activation_dateobjectResource activation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
deactivation_dateobjectResource deactivation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
device_idstring (uuid)Subscription device ID
legacy_device_idintegerLegacy Id of the insured device in MySim/Apollo storage
commercial_transaction_idstringFilter by commercial transaction identifier
msisdnstringMSISDN (Mobile Station International Subscriber Directory Number) following E.164 format. Spanish country code is assumed if plus sign(+) is not included to indicate international format.
iccidstringICCID (Integrated Circuit Card Identifier)
main_subscription_idstring (uuid)Main subscription identifier associated to the Multisim subscription.
main_msisdnstringMSISDN of the main subscription associated to the Multisim subscription.
Responses
OK
-
limitinteger RequiredLimit of items per response
-
offsetinteger RequiredLimit of items per response
-
totalinteger RequiredTotal number of results for search criteria
-
itemsobject[]-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
main_subscription_idstring (uuid)Unique identifier of the main subscription associated to the Multisim subscription.
-
msisdnstringMSISDN formatted following E.164 format.
-
simobjectSIM card information
-
iccidstringIntegrated Circuit Card Identifier
-
imsistringIMSI (International Mobile Subscriber Identity)
-
typestringSIM card type
-
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Multisim
Get bundle Multisim subscriptions
/orgs /{org} /bundles /{bundleId} /subscriptions /multisim Authenticated with a bearer token in the Authorization header Authentication
Retrieves all Multisim subscriptions for a specific bundle.
Path parameters
orgstringRequiredOrganization name
bundleIdstring (uuid)RequiredBundle identifier
Query parameters
offsetintegerPagination offset
limitintegerPagination limit
legacy_idintegerResource legacy ID
account_idstringAccount id the subscription is linked to.
mandatorybooleanMandatory subscription filter
statusobjectSubscription status filter
typestringSubscription type
activation_dateobjectResource activation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
deactivation_dateobjectResource deactivation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
device_idstring (uuid)Subscription device ID
legacy_device_idintegerLegacy Id of the insured device in MySim/Apollo storage
commercial_transaction_idstringFilter by commercial transaction identifier
msisdnstringMSISDN (Mobile Station International Subscriber Directory Number) following E.164 format. Spanish country code is assumed if plus sign(+) is not included to indicate international format.
iccidstringICCID (Integrated Circuit Card Identifier)
main_subscription_idstring (uuid)Main subscription identifier associated to the Multisim subscription.
main_msisdnstringMSISDN of the main subscription associated to the Multisim subscription.
Responses
OK
-
limitinteger RequiredLimit of items per response
-
offsetinteger RequiredLimit of items per response
-
totalinteger RequiredTotal number of results for search criteria
-
itemsobject[]-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
main_subscription_idstring (uuid)Unique identifier of the main subscription associated to the Multisim subscription.
-
msisdnstringMSISDN formatted following E.164 format.
-
simobjectSIM card information
-
iccidstringIntegrated Circuit Card Identifier
-
imsistringIMSI (International Mobile Subscriber Identity)
-
typestringSIM card type
-
-
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A bundle with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Netflix
Search Netflix subscriptions
/orgs /{org} /subscriptions /netflix Authenticated with a bearer token in the Authorization header Authentication
Search Netflix subscriptions matching given criteria, at least one of the query params is required.
Path parameters
orgstringRequiredOrganization name
Query parameters
offsetintegerPagination offset
limitintegerPagination limit
legacy_idintegerResource legacy ID
bundle_idstring (uuid)Bundle id the subscription is linked to. to MySim/Apollo storage, to be deprecated.
account_idstringAccount id the subscription is linked to.
mandatorybooleanMandatory subscription filter
statusobjectSubscription status filter
typestringSubscription type
activation_dateobjectResource activation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
deactivation_dateobjectResource deactivation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
commercial_transaction_idstringFilter by commercial transaction identifier
provider_service_idstringProvider service ID the Netflix subscription is linked to.
Responses
OK
-
limitinteger RequiredLimit of items per response
-
offsetinteger RequiredLimit of items per response
-
totalinteger RequiredTotal number of results for search criteria
-
itemsobject[]-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
provider_service_idstringThe provider service identifier.
-
provider_bundle_idstringThe provider bundle identifier.
-
provider_product_idstringThe provider product identifier.
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Netflix
Add Netflix subscription to a bundle
/orgs /{org} /subscriptions /netflix Authenticated with a bearer token in the Authorization header Authentication
Add a new Netflix subscription to a bundle with the provided data
Path parameters
orgstringRequiredOrganization name
Request body application/json Required
Netflix subscription data.
-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstring RequiredUnique identifier of the last associated commercial transaction
-
provider_service_idstringThe provider service identifier.
-
provider_bundle_idstringThe provider bundle identifier.
-
provider_product_idstringThe provider product identifier.
Responses
Netflix subscription successfully added.
-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
provider_service_idstringThe provider service identifier.
-
provider_bundle_idstringThe provider bundle identifier.
-
provider_product_idstringThe provider product identifier.
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A bundle with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Netflix
Get Netflix subscription by ID
/orgs /{org} /subscriptions /netflix /{subscriptionId} Authenticated with a bearer token in the Authorization header Authentication
Get a Netflix subscription by its unique identifier
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
Responses
OK
-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
provider_service_idstringThe provider service identifier.
-
provider_bundle_idstringThe provider bundle identifier.
-
provider_product_idstringThe provider product identifier.
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A subscription with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Netflix
Patch Netflix subscription
/orgs /{org} /subscriptions /netflix /{subscriptionId} Authenticated with a bearer token in the Authorization header Authentication
Apply patch operations to a Netflix subscription
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
Request body application/json Required
-
pathstring RequiredPath to the field to be updated
-
valueany RequiredValue to use for the operation
Responses
Netflix subscription patched successfully
-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
provider_service_idstringThe provider service identifier.
-
provider_bundle_idstringThe provider bundle identifier.
-
provider_product_idstringThe provider product identifier.
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A subscription with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Netflix
Search Netflix subscriptions by bundle
/orgs /{org} /bundles /{bundleId} /subscriptions /netflix Authenticated with a bearer token in the Authorization header Authentication
Search Netflix subscriptions within a specific bundle
Path parameters
orgstringRequiredOrganization name
bundleIdstring (uuid)RequiredBundle identifier
Query parameters
offsetintegerPagination offset
limitintegerPagination limit
legacy_idintegerResource legacy ID
account_idstringAccount id the subscription is linked to.
mandatorybooleanMandatory subscription filter
statusobjectSubscription status filter
typestringSubscription type
activation_dateobjectResource activation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
deactivation_dateobjectResource deactivation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
commercial_transaction_idstringFilter by commercial transaction identifier
device_idstring (uuid)Subscription device ID
legacy_device_idintegerLegacy Id of the insured device in MySim/Apollo storage
provider_service_idstringProvider service ID the Netflix subscription is linked to.
Responses
OK
-
limitinteger RequiredLimit of items per response
-
offsetinteger RequiredLimit of items per response
-
totalinteger RequiredTotal number of results for search criteria
-
itemsobject[]-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
provider_service_idstringThe provider service identifier.
-
provider_bundle_idstringThe provider bundle identifier.
-
provider_product_idstringThe provider product identifier.
-
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A bundle with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Orange TV
Search Orange TV subscriptions
/orgs /{org} /subscriptions /orange_tv Authenticated with a bearer token in the Authorization header Authentication
Search Orange TV subscriptions matching given criteria, at least one of the query params is required.
Path parameters
orgstringRequiredOrganization name
Query parameters
offsetintegerPagination offset
limitintegerPagination limit
legacy_idintegerResource legacy ID
bundle_idstring (uuid)Bundle id the subscription is linked to. to MySim/Apollo storage, to be deprecated.
account_idstringAccount id the subscription is linked to.
mandatorybooleanMandatory subscription filter
statusobjectSubscription status filter
typestringSubscription type
activation_dateobjectResource activation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
deactivation_dateobjectResource deactivation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
commercial_transaction_idstringFilter by commercial transaction identifier
device_idstring (uuid)Subscription device ID
registration_emailstringRegistration email the subscription is linked to.
provider_service_idstringProvider service id the subscription is linked to.
Responses
OK
-
limitinteger RequiredLimit of items per response
-
offsetinteger RequiredLimit of items per response
-
totalinteger RequiredTotal number of results for search criteria
-
itemsobject[]-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
registration_emailstring RequiredEmail address linked to the Orange TV subscription
-
provider_service_idstringOrange Tv internal ID that identifies the subscription for any required operation to be performed on it, e.g: activate, update, cancel, etc.
-
provider_product_idstringOrange Tv product ID according to its provided catalog definition, relevant for B2B billing.
-
requires_installationboolean RequiredIndicates if the Orange TV STB must be send via installations (true) or logistics (false)
-
stb_reusebooleanWhether to reuse an existing STB from a legacy AgileTv subscription instead of shipping/installing a new one. Typically set by Sales based on bundle migration context. When true, selects the STB reuse activation workflow.
-
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Orange TV
Add Orange TV subscription to a bundle
/orgs /{org} /subscriptions /orange_tv Authenticated with a bearer token in the Authorization header Authentication
Add a new Orange TV subscription to a bundle with the provided data
Path parameters
orgstringRequiredOrganization name
Request body application/json Required
Orange TV subscription data
-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstring RequiredUnique identifier of the last associated commercial transaction
-
registration_emailstring RequiredEmail address linked to the Orange TV subscription
-
provider_service_idstringOrange Tv internal ID that identifies the subscription for any required operation to be performed on it, e.g: activate, update, cancel, etc.
-
provider_product_idstringOrange Tv product ID according to its provided catalog definition, relevant for B2B billing.
-
requires_installationboolean RequiredIndicates if the Orange TV STB must be send via installations (true) or logistics (false)
-
stb_reusebooleanWhether to reuse an existing STB from a legacy AgileTv subscription instead of shipping/installing a new one. Typically set by Sales based on bundle migration context. When true, selects the STB reuse activation workflow.
Responses
Orange TV subscription successfully created
-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
registration_emailstring RequiredEmail address linked to the Orange TV subscription
-
provider_service_idstringOrange Tv internal ID that identifies the subscription for any required operation to be performed on it, e.g: activate, update, cancel, etc.
-
provider_product_idstringOrange Tv product ID according to its provided catalog definition, relevant for B2B billing.
-
requires_installationboolean RequiredIndicates if the Orange TV STB must be send via installations (true) or logistics (false)
-
stb_reusebooleanWhether to reuse an existing STB from a legacy AgileTv subscription instead of shipping/installing a new one. Typically set by Sales based on bundle migration context. When true, selects the STB reuse activation workflow.
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A bundle with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Orange TV
Get Orange TV subscription by ID
/orgs /{org} /subscriptions /orange_tv /{subscriptionId} Authenticated with a bearer token in the Authorization header Authentication
Get an Orange TV subscription by its unique identifier
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
Responses
OK
-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
registration_emailstring RequiredEmail address linked to the Orange TV subscription
-
provider_service_idstringOrange Tv internal ID that identifies the subscription for any required operation to be performed on it, e.g: activate, update, cancel, etc.
-
provider_product_idstringOrange Tv product ID according to its provided catalog definition, relevant for B2B billing.
-
requires_installationboolean RequiredIndicates if the Orange TV STB must be send via installations (true) or logistics (false)
-
stb_reusebooleanWhether to reuse an existing STB from a legacy AgileTv subscription instead of shipping/installing a new one. Typically set by Sales based on bundle migration context. When true, selects the STB reuse activation workflow.
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A subscription with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Orange TV
Patch Orange TV subscription
/orgs /{org} /subscriptions /orange_tv /{subscriptionId} Authenticated with a bearer token in the Authorization header Authentication
Apply patch operations to an Orange TV subscription
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
Request body application/json Required
-
pathstring RequiredPath to the field to be updated
-
valueany RequiredValue to use for the operation
Responses
Orange TV subscription patched successfully
-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
registration_emailstring RequiredEmail address linked to the Orange TV subscription
-
provider_service_idstringOrange Tv internal ID that identifies the subscription for any required operation to be performed on it, e.g: activate, update, cancel, etc.
-
provider_product_idstringOrange Tv product ID according to its provided catalog definition, relevant for B2B billing.
-
requires_installationboolean RequiredIndicates if the Orange TV STB must be send via installations (true) or logistics (false)
-
stb_reusebooleanWhether to reuse an existing STB from a legacy AgileTv subscription instead of shipping/installing a new one. Typically set by Sales based on bundle migration context. When true, selects the STB reuse activation workflow.
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A subscription with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Orange TV
Search Orange TV subscriptions by bundle
/orgs /{org} /bundles /{bundleId} /subscriptions /orange_tv Authenticated with a bearer token in the Authorization header Authentication
Search Orange TV subscriptions within a specific bundle
Path parameters
orgstringRequiredOrganization name
bundleIdstring (uuid)RequiredBundle identifier
Query parameters
offsetintegerPagination offset
limitintegerPagination limit
legacy_idintegerResource legacy ID
account_idstringAccount id the subscription is linked to.
mandatorybooleanMandatory subscription filter
statusobjectSubscription status filter
typestringSubscription type
activation_dateobjectResource activation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
deactivation_dateobjectResource deactivation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
commercial_transaction_idstringFilter by commercial transaction identifier
device_idstring (uuid)Subscription device ID
legacy_device_idintegerLegacy Id of the insured device in MySim/Apollo storage
registration_emailstringRegistration email the Orange TV subscription is linked to.
provider_service_idstringProvider service ID the Orange TV subscription is linked to.
Responses
OK
-
limitinteger RequiredLimit of items per response
-
offsetinteger RequiredLimit of items per response
-
totalinteger RequiredTotal number of results for search criteria
-
itemsobject[]-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
registration_emailstring RequiredEmail address linked to the Orange TV subscription
-
provider_service_idstringOrange Tv internal ID that identifies the subscription for any required operation to be performed on it, e.g: activate, update, cancel, etc.
-
provider_product_idstringOrange Tv product ID according to its provided catalog definition, relevant for B2B billing.
-
requires_installationboolean RequiredIndicates if the Orange TV STB must be send via installations (true) or logistics (false)
-
stb_reusebooleanWhether to reuse an existing STB from a legacy AgileTv subscription instead of shipping/installing a new one. Typically set by Sales based on bundle migration context. When true, selects the STB reuse activation workflow.
-
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A bundle with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Operations
Perform administration operations in batch mode via CSV file upload
/orgs /{org} /operations Authenticated with a bearer token in the Authorization header Authentication
Performs DEACTIVATION and TARIFF_CHANGE operations in batch mode from a CSV file upload. More detailed documentation can be found in v3-subscriptions-operations
Path parameters
orgstringRequiredOrganization name
Request body multipart/form-data Required
CSV file containing the operations to be performed
-
filestring (binary) RequiredDocument content in binary format
Responses
File processed successfully. This does not mean that all operations were successful, check the response body for details
-
summaryobject Required-
totalinteger Required -
successinteger Required -
failedinteger Required
-
-
resultsobject[] Required-
lineinteger Required -
operationstring Required -
statusstring Required -
errorstring | null
-
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Orange TV Libre
Search Orange TV Libre subscriptions by bundleId
/orgs /{org} /bundles /{bundleId} /subscriptions /orange_tv_libre Authenticated with a bearer token in the Authorization header Authentication
Search Orange TV Libre subscriptions in a bundle.
Path parameters
orgstringRequiredOrganization name
bundleIdstring (uuid)RequiredBundle identifier
Query parameters
offsetintegerPagination offset
limitintegerPagination limit
device_idstring (uuid)Insured device ID
legacy_device_idintegerLegacy Id of the insured device in MySim/Apollo storage
commercial_transaction_idstringFilter by commercial transaction identifier
mandatorybooleanMandatory subscription filter
statusobjectSubscription status filter
typestringSubscription type
activation_dateobjectResource activation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
deactivation_dateobjectResource deactivation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
registration_emailstringRegistration email the subscription is linked to.
provider_service_idstringProvider service ID the subscription is linked to.
Responses
OK
-
limitinteger RequiredLimit of items per response
-
offsetinteger RequiredLimit of items per response
-
totalinteger RequiredTotal number of results for search criteria
-
itemsobject[]-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
registration_emailstringEmail address linked to the Orange TV Libre subscription.
-
provider_service_idstringOrange TV Libre internal ID that identifies the subscription.
-
provider_product_idstringOrange TV Libre product ID according to its provider catalog.
-
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A bundle with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Orange TV Libre
Search Orange TV Libre subscriptions
/orgs /{org} /subscriptions /orange_tv_libre Authenticated with a bearer token in the Authorization header Authentication
Search Orange TV Libre subscriptions matching given criteria. At least one identifying query parameter is required.
Path parameters
orgstringRequiredOrganization name
Query parameters
offsetintegerPagination offset
limitintegerPagination limit
bundle_idstring (uuid)Bundle id the subscription is linked to. to MySim/Apollo storage, to be deprecated.
account_idstringAccount id the subscription is linked to.
device_idstring (uuid)Insured device ID
legacy_device_idintegerLegacy Id of the insured device in MySim/Apollo storage
commercial_transaction_idstringFilter by commercial transaction identifier
mandatorybooleanMandatory subscription filter
statusobjectSubscription status filter
typestringSubscription type
activation_dateobjectResource activation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
deactivation_dateobjectResource deactivation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
registration_emailstringRegistration email the subscription is linked to.
provider_service_idstringProvider service ID the subscription is linked to.
Responses
OK
-
limitinteger RequiredLimit of items per response
-
offsetinteger RequiredLimit of items per response
-
totalinteger RequiredTotal number of results for search criteria
-
itemsobject[]-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
registration_emailstringEmail address linked to the Orange TV Libre subscription.
-
provider_service_idstringOrange TV Libre internal ID that identifies the subscription.
-
provider_product_idstringOrange TV Libre product ID according to its provider catalog.
-
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Orange TV Libre
Get Orange TV Libre subscription by ID
/orgs /{org} /subscriptions /orange_tv_libre /{subscriptionId} Authenticated with a bearer token in the Authorization header Authentication
Get an Orange TV Libre subscription by its unique identifier
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
Responses
OK
-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
registration_emailstringEmail address linked to the Orange TV Libre subscription.
-
provider_service_idstringOrange TV Libre internal ID that identifies the subscription.
-
provider_product_idstringOrange TV Libre product ID according to its provider catalog.
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A subscription with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Payment Plans
Get device payment plan by subscription and device IDs
/orgs /{org} /subscriptions /{subscriptionId} /devices /{deviceId} /payment_plans Authenticated with a bearer token in the Authorization header Authentication
Returns the payment plans for a specific device in a subscription
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
deviceIdstring (uuid)RequiredDevice unique identifier
Responses
OK
-
idstring RequiredPayment plan unique identifier
-
legacy_idintegerLegacy payment plan unique identifier
-
parent_idstringPayment plan unique identifier of the parent payment plan in case of a refinancing
-
parent_legacy_idintegerPayment plan unique identifier of the parent payment plan in case of a refinancing
-
entitystring RequiredFinancial entity supporting the payment plan
-
statusstring RequiredPayment plan status
-
status_detailstringDetail for the current status
Show 15 values Hide 15 values
AMORTIZATION_PENDINGAMORTIZEDCANCELED_BY_AGENTEXPEDITION_CANCELLEDFRAUD_CHECK_ONGOINGNONEORDER_CANCELLEDPENDING_DEVICE_DELIVERYPENDING_PAYMENTTHIRD_PARTY_PENDINGWITHDRAWAL_PERIODWITHDRAWN_BY_CUSTOMERDEVICE_RETURN_OKDEVICE_RETURN_KODEVICE_RETURN_REQUESTED
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
creation_datestring (date-time) RequiredPayment plan creation date and time. Format according to ISO 8601
-
creation_systemstringInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstringInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time)Date and time when any field of the payment plan was last updated. Format according to ISO 8601
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
The subscription or the device with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Promotions
Get subscription promotion
/orgs /{org} /subscriptions /{subscriptionId} /promotions /{promotionId} Authenticated with a bearer token in the Authorization header Authentication
Get info for a specific promotion of subscription
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
promotionIdstring (uuid)RequiredPromotion unique identifier
Responses
Promotion found for the subscription
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A promotion with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Promotions
Update subscription promotion
/orgs /{org} /subscriptions /{subscriptionId} /promotions /{promotionId} Authenticated with a bearer token in the Authorization header Authentication
Fully replace a specific promotion of a subscription. Every writable field is overwritten with the value provided in the request body, including audit fields. Intended to restore a previous promotion snapshot, for example as part of a rollback. id, legacy_id and catalogue_promotion_id must match the current promotion and its commitments and cannot be changed.
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
promotionIdstring (uuid)RequiredPromotion unique identifier
Request body application/json Required
-
idstring (uuid) RequiredPromotion ID. Must match the promotionId path parameter and cannot be changed
-
legacy_idintegerLegacy promotion ID. Cannot be changed
-
catalogue_promotion_idstringCatalogue promotion ID. Cannot be changed
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
expiration_datestring (date-time)End date according to ISO 8601
-
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation
-
deactivation_userstringInfo about the specific user that requested the promotion deactivation
-
creation_datestring (date-time)Promotion creation date. Format according to ISO 8601
-
creation_systemstringInfo about the system that requested the promotion creation
-
creation_userstringInfo about the specific user that requested the promotion creation
-
last_updated_datestring (date-time)Date and time when any field of the promotion was last updated. Format according to ISO 8601
Responses
Promotion updated successfully
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
The subscription or the promotion with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Subscription was modified by another process. Concurrent modification detected.
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Promotions
Patch subscription promotion
/orgs /{org} /subscriptions /{subscriptionId} /promotions /{promotionId} Authenticated with a bearer token in the Authorization header Authentication
Apply patch operations to a specific promotion of a subscription
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
promotionIdstring (uuid)RequiredPromotion unique identifier
Request body application/json Required
-
pathstring RequiredPath to the field to be updated
-
valueany RequiredValue to use for the operation
Responses
Promotion patched successfully
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
The subscription or the promotion with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Subscription was modified by another process. Concurrent modification detected.
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Promotions
Cancel a subscription promotion
/orgs /{org} /subscriptions /{subscriptionId} /promotions /{promotionId} /cancel Authenticated with a bearer token in the Authorization header Authentication
Cancels a subscription promotion. Only promotions in REQUESTED status can be cancelled.
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
promotionIdstring (uuid)RequiredPromotion unique identifier
Request body application/json Required
Promotion cancellation reason
-
reasonstring RequiredReason for the cancellation
Responses
Cancellation process started
No body.
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
The subscription or the promotion with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Subscription was modified by another process. Concurrent modification detected.
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Promotions
Deactivate subscription promotion
/orgs /{org} /subscriptions /{subscriptionId} /promotions /{promotionId} /deactivate Authenticated with a bearer token in the Authorization header Authentication
Deactivate an ACTIVE promotion of an ACTIVE or PRE_ACTIVE subscription. The promotion moves to DEACTIVATED, its commitments expire at the deactivation date and the promotion deactivated event is published.
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
promotionIdstring (uuid)RequiredPromotion unique identifier
Request body application/json Required
Promotion deactivation input data
-
reasonstring RequiredReason for the promotion deactivation, stored as the promotion status detail
Responses
Promotion deactivation request accepted
No body.
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
The subscription or the promotion with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Subscription was modified by another process. Concurrent modification detected.
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Promotions
Get subscription promotions
/orgs /{org} /subscriptions /{subscriptionId} /promotions Authenticated with a bearer token in the Authorization header Authentication
Get promotions associated to the subscription
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
Query parameters
offsetintegerPagination offset
limitintegerPagination limit
activation_dateobjectResource activation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
expiration_dateobjectResource expiration date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
statusobjectPromotion status filter
bundle_idstring (uuid)Bundle id the subscription is linked to. to MySim/Apollo storage, to be deprecated.
catalogue_promotion_idstringCatalogue promotion identifier
Responses
Promotions associated to the subscription
-
limitinteger RequiredLimit of items per response
-
offsetinteger RequiredLimit of items per response
-
totalinteger RequiredTotal number of results for search criteria
-
itemsobject[]-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A subscription with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Promotions
Add subscription promotion
/orgs /{org} /subscriptions /{subscriptionId} /promotions Authenticated with a bearer token in the Authorization header Authentication
Add a new promotion to an existing subscription
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
Request body application/json Required
Promotion input data
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
activation_datestring (date-time)Promotion activation date. Format according to ISO 8601
-
originstringSale type used to filter the promotions available in the catalogue. Defaults to UNKNOWN (no sale type filter) when omitted
Responses
Promotion successfully added to the subscription
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A subscription with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Promotion already exists in the subscription
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Promotions
Get add-on promotions
/orgs /{org} /subscriptions /{subscriptionId} /add_ons /{addonId} /promotions Authenticated with a bearer token in the Authorization header Authentication
Get all promotions associated with an add-on
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
addonIdstring (uuid)RequiredAddOn unique identifier
Query parameters
offsetintegerPagination offset
limitintegerPagination limit
activation_dateobjectResource activation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
expiration_dateobjectResource expiration date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
statusobjectPromotion status filter
Responses
Promotions found for the add-on
-
limitinteger RequiredLimit of items per response
-
offsetinteger RequiredLimit of items per response
-
totalinteger RequiredTotal number of results for search criteria
-
itemsobject[]-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
The subscription or the add-on with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Promotions
Get device promotions
/orgs /{org} /subscriptions /{subscriptionId} /devices /{deviceId} /promotions Authenticated with a bearer token in the Authorization header Authentication
Get all promotions associated with a device
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
deviceIdstring (uuid)RequiredDevice unique identifier
Query parameters
offsetintegerPagination offset
limitintegerPagination limit
activation_dateobjectResource activation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
expiration_dateobjectResource expiration date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
statusobjectPromotion status filter
Responses
Promotions found for the device
-
limitinteger RequiredLimit of items per response
-
offsetinteger RequiredLimit of items per response
-
totalinteger RequiredTotal number of results for search criteria
-
itemsobject[]-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
The subscription or the device with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Promotions
Patch device promotion
/orgs /{org} /subscriptions /{subscriptionId} /devices /{deviceId} /promotions /{promotionId} Authenticated with a bearer token in the Authorization header Authentication
Apply patch operations to a specific promotion of a device
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
deviceIdstring (uuid)RequiredDevice unique identifier
promotionIdstring (uuid)RequiredPromotion unique identifier
Request body application/json Required
-
pathstring RequiredPath to the field to be updated
-
valueany RequiredValue to use for the operation
Responses
Promotion patched successfully
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
The subscription or the promotion with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Subscription was modified by another process. Concurrent modification detected.
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Promotions
Get add-on promotion
/orgs /{org} /subscriptions /{subscriptionId} /add_ons /{addonId} /promotions /{promotionId} Authenticated with a bearer token in the Authorization header Authentication
Get info for a specific promotion of an add-on
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
addonIdstring (uuid)RequiredAddOn unique identifier
promotionIdstring (uuid)RequiredPromotion unique identifier
Responses
Promotion found for the add-on
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A promotion with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Promotions
Patch add-on promotion
/orgs /{org} /subscriptions /{subscriptionId} /add_ons /{addonId} /promotions /{promotionId} Authenticated with a bearer token in the Authorization header Authentication
Apply patch operations to a specific promotion of an add-on
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
addonIdstring (uuid)RequiredAddOn unique identifier
promotionIdstring (uuid)RequiredPromotion unique identifier
Request body application/json Required
-
pathstring RequiredPath to the field to be updated
-
valueany RequiredValue to use for the operation
Responses
Promotion patched successfully
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
The subscription or the promotion with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Subscription was modified by another process. Concurrent modification detected.
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
TV
Search TV subscriptions
/orgs /{org} /subscriptions /tv Authenticated with a bearer token in the Authorization header Authentication
Search TV subscriptions matching given criteria, at least one of the query params is required.
Path parameters
orgstringRequiredOrganization name
Query parameters
offsetintegerPagination offset
limitintegerPagination limit
legacy_idintegerResource legacy ID
bundle_idstring (uuid)Bundle id the subscription is linked to. to MySim/Apollo storage, to be deprecated.
account_idstringAccount id the subscription is linked to.
mandatorybooleanMandatory subscription filter
statusobjectSubscription status filter
typestringSubscription type
activation_dateobjectResource activation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
deactivation_dateobjectResource deactivation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
device_idstring (uuid)Subscription device ID
legacy_device_idintegerLegacy Id of the insured device in MySim/Apollo storage
commercial_transaction_idstringFilter by commercial transaction identifier
legacy_service_idstringLegacy service id the TV subscription is linked to.
Responses
OK
-
limitinteger RequiredLimit of items per response
-
offsetinteger RequiredLimit of items per response
-
totalinteger RequiredTotal number of results for search criteria
-
itemsobject[]-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
registration_emailstring (email)Email address linked to the TV subscription.
-
registration_phonestringRegistration phone linked to the TV subscription.
-
registration_documentstringRegistration identity document linked to the TV subscription.
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
TV
Get TV subscription by ID
/orgs /{org} /subscriptions /tv /{subscriptionId} Authenticated with a bearer token in the Authorization header Authentication
Get a TV subscription by its unique identifier
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
Responses
OK
-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
registration_emailstring (email)Email address linked to the TV subscription.
-
registration_phonestringRegistration phone linked to the TV subscription.
-
registration_documentstringRegistration identity document linked to the TV subscription.
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A subscription with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Bundles
Search subscriptions bundles
/orgs /{org} /bundles Authenticated with a bearer token in the Authorization header Authentication
Search subscription bundles providing certain search criteria
Path parameters
orgstringRequiredOrganization name
Query parameters
offsetintegerPagination offset
limitintegerPagination limit
account_idstringAccount id the subscription is linked to.
legacy_idintegerResource legacy ID
Responses
OK
-
limitinteger RequiredLimit of items per response
-
offsetinteger RequiredLimit of items per response
-
totalinteger RequiredTotal number of results for search criteria
-
itemsobject[]-
catalogue_bundled_product_idstring RequiredBundled product id according to catalogue definition
-
account_idstring (uuid)Unique identifier of the account
-
dealer_idstringDealer id. Required if 'external_sell_id' is not provided.
-
idstring RequiredUnique identifier of the subscriptions bundle
-
legacy_idintegerLegacy unique identifier of the subscriptions bundle
-
statusstringBundle status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
last_status_updatestring (date-time)Last status update date and time. Format according to ISO 8601
-
last_status_reasonstringReason for the last status update according to defined values. Check possible values in status table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
creation_datestring (date-time)Subscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the bundle creation. It contains the mas-stack authentication audience info
-
creation_userstring RequiredInfo about the specific user that requested the bundle creation
-
activation_datestring (date-time)Activation date and time, bundle is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, bundle is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Bundles
Get bundle
/orgs /{org} /bundles /{bundleId} Authenticated with a bearer token in the Authorization header Authentication
Get subscription bundle basic info
Path parameters
orgstringRequiredOrganization name
bundleIdstring (uuid)RequiredBundle identifier
Responses
OK
-
catalogue_bundled_product_idstring RequiredBundled product id according to catalogue definition
-
account_idstring (uuid)Unique identifier of the account
-
dealer_idstringDealer id. Required if 'external_sell_id' is not provided.
-
idstring RequiredUnique identifier of the subscriptions bundle
-
legacy_idintegerLegacy unique identifier of the subscriptions bundle
-
statusstringBundle status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
last_status_updatestring (date-time)Last status update date and time. Format according to ISO 8601
-
last_status_reasonstringReason for the last status update according to defined values. Check possible values in status table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
creation_datestring (date-time)Subscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the bundle creation. It contains the mas-stack authentication audience info
-
creation_userstring RequiredInfo about the specific user that requested the bundle creation
-
activation_datestring (date-time)Activation date and time, bundle is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, bundle is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A bundle with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Subscription
Search subscriptions
/orgs /{org} /subscriptions Authenticated with a bearer token in the Authorization header Authentication
Search subscriptions matching given criteria, at least one of the query params is required.
Path parameters
orgstringRequiredOrganization name
Query parameters
offsetintegerPagination offset
limitintegerPagination limit
legacy_idintegerResource legacy ID
bundle_idstring (uuid)Bundle id the subscription is linked to. to MySim/Apollo storage, to be deprecated.
account_idstringAccount id the subscription is linked to.
mandatorybooleanMandatory subscription filter
statusobjectSubscription status filter
typestringSubscription type
activation_dateobjectResource activation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
deactivation_dateobjectResource deactivation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
device_idstring (uuid)Subscription device ID
legacy_device_idintegerLegacy Id of the insured device in MySim/Apollo storage
commercial_transaction_idstringFilter by commercial transaction identifier
Responses
OK
-
limitinteger RequiredLimit of items per response
-
offsetinteger RequiredLimit of items per response
-
totalinteger RequiredTotal number of results for search criteria
-
itemsobject[]-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Subscription
Search subscriptions by bundle
/orgs /{org} /bundles /{bundleId} /subscriptions Authenticated with a bearer token in the Authorization header Authentication
Search subscriptions within a specific bundle
Path parameters
orgstringRequiredOrganization name
bundleIdstring (uuid)RequiredBundle identifier
Query parameters
offsetintegerPagination offset
limitintegerPagination limit
legacy_idintegerResource legacy ID
account_idstringAccount id the subscription is linked to.
mandatorybooleanMandatory subscription filter
statusobjectSubscription status filter
typestringSubscription type
activation_dateobjectResource activation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
deactivation_dateobjectResource deactivation date filter. Available filters are [eq, lt, lte, gt, gte]. Format according to ISO 8601
device_idstring (uuid)Subscription device ID
legacy_device_idintegerLegacy Id of the insured device in MySim/Apollo storage
commercial_transaction_idstringFilter by commercial transaction identifier
Responses
OK
-
limitinteger RequiredLimit of items per response
-
offsetinteger RequiredLimit of items per response
-
totalinteger RequiredTotal number of results for search criteria
-
itemsobject[]-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
-
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A bundle with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Subscription
Get subscription by ID
/orgs /{org} /subscriptions /{subscriptionId} Authenticated with a bearer token in the Authorization header Authentication
Get a subscription by its unique identifier
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
Responses
OK
-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A subscription with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Subscription
Patch subscription
/orgs /{org} /subscriptions /{subscriptionId} Authenticated with a bearer token in the Authorization header Authentication
Apply patch operations to a subscription
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
Request body application/json Required
-
pathstring RequiredPath to the field to be updated
-
valueany RequiredValue to use for the operation
Responses
Subscription patched successfully
-
idstring (uuid) RequiredUnique identifier of the subscription
-
legacy_idintegerLegacy unique identifier of the subscription
-
typestring RequiredSubscription type
-
catalogue_commercial_product_idstringCommercial product id according to catalogue definition regardless of the bundle the subscription is included in
-
statusstring RequiredSubscription status, check https://developers.masstack.com/en/guides/subscriptions/lifecycle for more information
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
add_onsobject[]Ids of applicable add-ons(value added services) according to catalogue definition
-
idstring RequiredAdd-on unique identifier
-
legacy_idintegerLegacy add-on id Linked to MySim/Apollo storage, to be deprecated.
-
catalogue_value_added_service_legacy_idstring RequiredMySim/Apollo related id for the Add-On catalogue resource definition
-
catalogue_value_added_service_idstring RequiredCatalogue add-on ID
-
promotionsobject[]Ids of applicable promotions according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
creation_datestring (date-time) Requiredadd-on creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the addON creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the addOn was last updated. Format according to ISO 8601
-
statusstring RequiredAdd-on status
-
status_detailstringDetail for the add-on current status
Show 15 values Hide 15 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONDEACTIVATED_ON_THIRD_PARTYFRAUD_CHECK_REJECTIONMANUALLY_ADDEDMANUALLY_REMOVEDNON_PAYMENTAUTOMATICALLY_REMOVEDPAYMENT_ERRORSUBSCRIPTION_DEACTIVATIONSUBSCRIBER_RESIGNATIONPROVISIONING_ISSUEOTHER
-
activation_datestring (date-time) -
deactivation_datestring (date-time) -
deactivation_systemstring -
deactivation_userstringInfo 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
-
provider_product_idstringExternal provider product identifier
-
provider_service_idstringExternal provider service identifier
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
free_units_packagesobject[]Ids of free units packages according to catalogue definition
-
idstring RequiredAssigned Free Units Package ID
-
legacy_idintegerAssigned Free Units Package legacy ID
-
catalogue_free_units_package_idstringCatalogue free units package ID
-
activation_datestring (date-time) RequiredActivation date and time of the package. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time of the package. Format according to ISO 8601
-
-
devicesobject[]Info about devices associated to the subscription
-
idstring (uuid)Device unique identifier
-
legacy_idintegerLegacy unique identifier of the device associated with the subscription
-
catalogue_commercial_device_idstring RequiredCommercial device id according to catalogue definition
-
catalogue_device_idstringDevice id according to catalogue definition
-
logistics_shipping_order_idstringId of the shipping order related to the device according to logistics
-
logistics_pickup_order_idstringId of the pickup order related to the device according to reverse logistics
-
in_store_delivery_datestring (date-time)In shop delivery date to the customer. Format according to ISO 8601.
-
in_store_returned_datestring (date-time)In shop returned date. Format according to ISO 8601.
-
serial_numberstringThe serial number or any alphanumeric identifier of a particular device
-
mac_addressstringA unique identifier assigned to the device network interface controller
-
imeistringThe International Mobile Equipment Identity of the device
-
acquisition_typestringSpecifies the type of acquisition for the device
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
insurable_amountnumberThe insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable
-
statusstringDevice status derived from Apollo terminal and return data. See https://developers.masstack.com/en/guides/subscriptions/device-status for enum semantics and Device Insurance validation behavior.
-
account_idstring (uuid) RequiredUnique identifier of the account
-
promotionsobject[]Promotions associated to the device according to catalogue definition
-
idstring RequiredPromotion ID
-
legacy_idintegerLegacy promotion ID
-
catalogue_promotion_idstring RequiredCatalogue promotion ID
-
commitmentsobject[]-
idstring (uuid) RequiredAcquired commitment id
-
legacy_idintegerLegacy id for acquired commitment linked MySim/Apollo storage
-
catalogue_term_idstringCatalogue term ID
-
expiration_datestring (date-time)End date according to ISO 8601
-
cancellation_datestring (date-time)Cancellation date according to ISO 8601
-
cancellation_systemstringInfo about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available
-
cancellation_userstringInfo about the specific user that requested the commitment cancellation. N/A if not available
-
-
creation_datestring (date-time) RequiredPromotion creation date. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system that requested the promotion creation. It contains the mas-stack authentication audience info. N/A if not available
-
creation_userstring RequiredInfo about the specific user that requested the promotion creation. N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the promotion was last updated. Format according to ISO 8601
-
statusstring Required -
status_detailstringDetail for the promotion current status
Show 9 values Hide 9 values
AUTOMATICALLY_ADDEDAUTOMATICALLY_REMOVEDBUNDLE_SALEMANUALLY_ADDEDMANUALLY_REMOVEDOTHERPROMOTION_INCOMPATIBILITYSUBSCRIPTION_ADDED_TO_BUNDLESUBSCRIPTION_DEACTIVATION
-
activation_datestring (date-time)Activation date and time the promotion is or will be available in the subscription. When provided, it is restricted to be between current billing cycle and less than a year from now. Format according to ISO 8601
-
expiration_datestring (date-time)Exclusive upper bound of the promotion's validity: the promotion is active while activation_date <= now < expiration_date, and is no longer active from this instant on. Format according to ISO 8601.
-
deactivation_datestring (date-time)Deactivation date and time, promotion is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
deactivation_systemstringInfo about the system that requested the promotion deactivation. It contains the mas-stack authentication audience info when deactivation is requested by mas-stack authenticated user, N/A for legacy systems created promotions
-
deactivation_userstringInfo about the specific user that requested the promotion 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
-
-
commercial_transaction_idstringUnique identifier of the associated commercial transaction
-
-
last_status_updatestring (date-time) RequiredLast status update date and time. Format according to ISO 8601
-
last_status_reasonstring RequiredReason for the last status update according to defined values. Check possible values in STATUS/STATUS table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time)Activation date and time, subscription is considered chargeable and available for the user from this time on. Format according to ISO 8601
-
deactivation_datestring (date-time)Deactivation date and time, subscription is considered cancelled or inactive for the user from this time on. Format according to ISO 8601
-
account_idstring (uuid) RequiredUnique identifier of the account
-
bundle_related_infoobject-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
creation_datestring (date-time) RequiredSubscription creation date and time. Format according to ISO 8601
-
creation_systemstring RequiredInfo about the system/frontend originating the subscription creation. It contains the mas-stack authentication audience info for mas-stack authenticated subscription creation or N/A for others
-
creation_userstring RequiredInfo about the specific user that requested the subscription creation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription creation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
last_updated_datestring (date-time) RequiredDate and time when any field of the subscription was last updated. Format according to ISO 8601
-
deactivation_systemstringInfo about the system/frontend originating the subscription deactivation. It contains the mas-stack authentication audience info for mas-stack authenticated deactivation or other user info for legacy systems if available
-
deactivation_userstringInfo about the specific user that requested the subscription deactivation. It contains the mas-stack authentication subject info for mas-stack authenticated subscription deactivation, other user info for subscriptions created by legacy systems if available or N/A if not available
-
bundles_historyobject[]History of bundles the subscription has been part of
-
bundle_idstring (uuid)Unique identifier of the bundle
-
legacy_bundle_idintegerLegacy unique identifier of the bundle
-
start_datestring (date-time)Date and time when the subscription was added to the bundle. Format according to ISO 8601
-
end_datestring (date-time)Date and time when the subscription was removed from the bundle. Format according to ISO 8601
-
-
commercial_transaction_idstringUnique identifier of the last associated commercial transaction
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A subscription with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Subscription
Cancel subscription
/orgs /{org} /subscriptions /{subscriptionId} /cancel Authenticated with a bearer token in the Authorization header Authentication
Cancel an active subscription
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
Request body application/json Required
Cancellation request
-
reasonstring RequiredReason for the cancellation request
Show 11 values Hide 11 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONFRAUD_CHECK_REJECTIONEXPEDITION_CANCELLEDOTHERPAYMENT_ERRORPROVISIONING_ISSUESUBSCRIBER_RESIGNATIONAUTOMATICALLY_REMOVED
-
commercial_transaction_idstringCommercial transaction identifier associated with the cancellation
Responses
Cancellation process started
No body.
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A subscription with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Subscription was modified by another process. Concurrent modification detected.
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Subscription
Deactivate subscription
/orgs /{org} /subscriptions /{subscriptionId} /deactivate Authenticated with a bearer token in the Authorization header Authentication
Starts the deactivation process of the subscription.
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
Request body application/json Required
Deactivate subscription data
-
reasonstring RequiredReason for the deactivation
Show 12 values Hide 12 values
ACCOUNT_MIGRATIONBUNDLE_CANCELLATIONBUNDLE_DEACTIVATIONBUNDLE_MIGRATIONFRAUD_CHECK_REJECTIONNON_PAYMENTOTHERPAYMENT_ERRORPROVISIONING_ISSUESUBSCRIBER_RESIGNATIONDEACTIVATED_ON_THIRD_PARTYAUTOMATICALLY_REMOVED
-
promotion_commitments_to_cancelstring (uuid)[]Promotion commitment IDs to cancel in the deactivation process
-
device_commitments_to_cancelstring (uuid)[]Device commitment IDs to cancel in the deactivation process
-
commercial_transaction_idstringCommercial transaction identifier associated with the deactivation
Responses
Deactivation process started
No body.
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A subscription with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Subscription was modified by another process. Concurrent modification detected.
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Subscription
Get subscription history
/orgs /{org} /subscriptions /{subscriptionId} /history Authenticated with a bearer token in the Authorization header Authentication
Returns the life of a subscription as a list of periods. A period starts with a change of any historified
field of the subscription and lasts until the next change, and its snapshot is the full state of the
subscription during the whole period. The whole history is a sequence of contiguous periods that do not
overlap, and the period in force has end_date: null. The start_date and end_date of a period are the
same whatever the filters, but the filters only return some periods, so the returned ones can have gaps.
Filters only select periods, they never modify them, and they can be combined:
fromandtoselect the periods that overlap the interval[from, to).atselects the period in force at that instant.changed_fields[in]selects the periods opened by a change of any of the given fields.status,last_status_reason,catalogue_commercial_product_id,account_id,legacy_account_id,commercial_transaction_id,bundle_related_info.id,bundle_related_info.catalogue_bundled_product_idandbundle_related_info.catalogue_bundled_commercial_product_idselect the periods with one of the given values.
Two returned periods are continuous when the end_date of one is the start_date of the next. A gap between
them is time covered by periods that were not selected. With value filters only, a gap means that the
subscription did not have the given values during that time. With changed_fields[in], a gap can also be
time covered by periods opened by other changes, so it does not tell how long a value lasted.
For example, the billable periods of a billing cycle, each one with its tariff, are
from=…&to=…&status[in]=ACTIVE,DEACTIVATING&order=asc. The first and the last period may start before
from or end after to; the consumer clips them to the cycle.
Subscriptions that only exist in legacy systems answer with the same contract and less information: the
status only changes at the legacy milestones (installation, pre-activation, activation and deactivation),
last_status_reason is the reason of the last activation or deactivation recorded up to the start of the
period, and account_id and updated_by are null.
Path parameters
orgstringRequiredOrganization name
subscriptionIdstring (uuid)RequiredSubscription unique identifier
Query parameters
offsetintegerPagination offset
limitintegerPagination limit
fromstring (date-time)Start of the requested interval (inclusive). Selects the periods still in force at or after this date, so the first one is the period in force at
from, with its realstart_date. Cannot be combined withat. Format according to ISO 8601tostring (date-time)End of the requested interval (exclusive). Selects the periods that start before this date, with their real
end_date. Must be later thanfrom. Cannot be combined withat. Format according to ISO 8601atstring (date-time)Instant to look at. Selects only the period in force at that instant, or nothing if the subscription did not exist yet. Cannot be combined with
fromorto. Format according to ISO 8601changed_fieldsobjectReturns only the periods opened by a change of any of the given fields. With
from, only the periods that start inside the requested interval: the period in force atfromis not returned unless it started exactly atfrom. Useatto get itstatusobjectSubscription status filter
last_status_reasonobjectReturns only the periods with one of the given status reasons
catalogue_commercial_product_idobjectReturns only the periods with one of the given tariffs
account_idobjectReturns only the periods in which the subscription belonged to one of the given accounts
legacy_account_idobjectReturns only the periods in which the subscription belonged to one of the given legacy accounts
commercial_transaction_idobjectReturns only the periods in which the last commercial transaction of the subscription was one of the given ones, also the periods after the one it opened. Combine it with
changed_fields[in]=commercial_transaction_idto get only the period opened by the transactionbundle_related_info.idobjectReturns only the periods in which the subscription was included in one of the given bundles
bundle_related_info.catalogue_bundled_product_idobjectReturns only the periods in which the subscription had one of the given bundled products
bundle_related_info.catalogue_bundled_commercial_product_idobjectReturns only the periods in which the subscription had one of the given bundled commercial products
orderstringOrder of the periods by
start_date. Most recent first by default
Responses
Periods of the subscription matching the filters. Empty when no period matches
-
limitinteger RequiredLimit of items per response
-
offsetinteger RequiredLimit of items per response
-
totalinteger RequiredTotal number of results for search criteria
-
itemsobject[]-
start_datestring (date-time) RequiredDate and time of the change that opened the period. Format according to ISO 8601
-
end_datestring (date-time) | nullDate and time of the change that closed the period, that is, the
start_dateof the next period. Null while the period is in force. Format according to ISO 8601 -
snapshotobject RequiredFull state of the subscription during the whole period. None of these fields changed inside it
-
statusstring -
last_status_reasonstringReason for the last status update according to defined values. Check possible values in status table in https://developers.masstack.com/en/guides/subscriptions/lifecycle.
-
activation_datestring (date-time) | nullActivation date and time of the subscription. Format according to ISO 8601
-
deactivation_datestring (date-time) | nullDeactivation date and time of the subscription. Format according to ISO 8601
-
catalogue_commercial_product_idstringCommercial product id (tariff) according to catalogue definition
-
account_idstring (uuid) | nullUnique identifier of the account. Null for subscriptions that only exist in legacy systems
-
legacy_account_idinteger | nullLegacy unique identifier of the account
-
bundle_related_infoobject | nullBundle the subscription was included in during the period
-
idstring (uuid) RequiredUnique identifier of the bundle the subscription is included in
-
legacy_idintegerLegacy unique identifier of the bundle the subscription is included in
-
catalogue_bundled_product_idstring RequiredBundle product id according to catalogue definition
-
catalogue_bundled_commercial_product_idstring RequiredBundle commercial product id associated to subscription according to catalogue definition
-
mandatoryboolean RequiredSpecifies if subscription is mandatory to keep the associated bundle
-
-
commercial_transaction_idstring | nullUnique identifier of the last commercial transaction that changed the subscription, if any. It is kept in the following periods until another commercial transaction changes the subscription
-
-
changed_fieldsstring[] RequiredFields of the snapshot whose value changed at
start_datewith respect to the previous period, in the order defined bySubscriptionHistoryField. The first period of the subscription lists every field with a value -
updated_byobject | nullWho made the change that opened the period at
start_date. Null for subscriptions that only exist in legacy systems-
systemstring | nullmas-stack authentication audience info of the system that made the change
-
userstring | nullmas-stack authentication subject info of the user that made the change. Null for automatic changes
-
-
Bad request
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Forbidden access
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
A subscription with the specified id was not found
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Internal server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-
Any client or server error
-
errorobject Required-
codestring RequiredError code having an entry in a domain dictionary
-
messagestring RequiredMessage of the error
-
referencestring RequiredDomain error dictionary location in the developer portal
-