V1-rfm
Schemas
DateTime
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| anonymous | string(date-time) | false | Date and time. Format according to ISO 8601 |
HealthResponse
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| persistence | string | false | Database connectivity status |
| global | string | false | Overall service health status |
| Property | Values |
|---|---|
| persistence | one of [pass, fail] |
| global | one of [pass, fail] |
ErrorResponse
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| error | ErrorDetails | true | none |
ErrorDetails
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| code | string | true | Error code |
| message | string | true | Human-readable error message |
| reference | string(uri) | true | Link to error documentation |
SubscriptionType
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| anonymous | string | false | Subscription type |
SubscriptionBase
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| id | string(uuid) | false | Unique identifier of the subscription |
| type | SubscriptionType | false | Subscription type |
| status | string | true | Subscription status |
| activation_date | any | false | none |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | DateTime | false | Date and time. Format according to ISO 8601 |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | any | false | Activation date and time. - Required if status is ACTIVE or DEACTIVATED - Must be null if status is CANCELLED |
| Name | Type | Required | Description |
|---|---|---|---|
| deactivation_date | any | false | none |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | DateTime | false | Date and time. Format according to ISO 8601 |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | any | false | Deactivation date and time. - Required if status is DEACTIVATED - Must be null if status is ACTIVE and CANCELLED |
| Name | Type | Required | Description |
|---|---|---|---|
| last_status_update | any | false | none |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | DateTime | false | Date and time. Format according to ISO 8601 |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | any | false | Last status update date and time |
| Name | Type | Required | Description |
|---|---|---|---|
| last_status_reason | string | true | Reason for the last status update according to defined values. Check possible values in status table in https://developers.masstack.com/en/guides/subscriptions/lifecycle |
| last_updated_date | any | false | none |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | DateTime | false | Date and time. Format according to ISO 8601 |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | any | false | Date and time when any field of the subscription was last updated |
| Name | Type | Required | Description |
|---|---|---|---|
| catalogue_commercial_product_id | string | true | Commercial product ID according to catalogue definition |
| legacy_account_id | integer | true | Legacy account id the subscription is linked to |
| account_id | string(uuid) | false | Unique identifier of the account |
| creation_date | any | true | none |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | DateTime | false | Date and time. Format according to ISO 8601 |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | any | false | Subscription creation date and time |
| Name | Type | Required | Description |
|---|---|---|---|
| creation_user | string | true | User who created the subscription |
| creation_system | string | false | System that created the subscription |
| deactivation_user | string | false | User who deactivated the subscription (if applicable) |
| deactivation_system | string | false | System that deactivated the subscription (if applicable) |
| add_ons | [AddOn] | false | Ids of subscription applicable add-ons(value added services) according to catalogue definition |
| free_units_packages | [FreeUnitsPackage] | false | Ids of free units packages according to catalogue definition |
| devices_related_info | DevicesRelatedInfo | false | Info about devices associated to the subscription |
| bundle_related_info | BundleRelatedInfo | true | Bundle relation information for subscription migration |
| promotions | [Promotion] | false | Array of promotions associated to the subscription |
| bundles_history | [SubscriptionBundleHistory] | false | Historical bundle changes for the subscription |
| Property | Values |
|---|---|
| status | one of [ACTIVE, DEACTIVATED, CANCELLED] |
AddOn
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | false | Add-on unique identifier |
| legacy_id | integer | false | Legacy add-on id linked to MySim/Apollo storage |
| catalogue_add_on_id | string | true | Catalogue add-on ID |
| creation_date | any | true | none |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | DateTime | false | Date and time. Format according to ISO 8601 |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | any | false | add-on creation date |
| Name | Type | Required | Description |
|---|---|---|---|
| creation_system | string | false | Info about the system that requested the addOn creation. It contains the mas-stack authentication audience info. N/A if not available |
| creation_user | string | true | Info about the specific user that requested the addON creation. N/A if not available |
| last_updated_date | any | true | none |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | DateTime | false | Date and time. Format according to ISO 8601 |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | any | false | Date and time when any field of the addOn was last updated |
| Name | Type | Required | Description |
|---|---|---|---|
| status | string | true | add-on status |
| activation_date | any | false | none |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | DateTime | false | Date and time. Format according to ISO 8601 |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | any | false | add-on activation date |
| Name | Type | Required | Description |
|---|---|---|---|
| deactivation_date | any | false | none |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | DateTime | false | Date and time. Format according to ISO 8601 |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | any | false | add-on deactivation date |
| Name | Type | Required | Description |
|---|---|---|---|
| deactivation_system | string | false | none |
| deactivation_user | string | false | Info about the specific user that requested the addOn deactivation. It contains the mas-stack authentication subject info when deactivation was requested by mas-stack authenticated user, other user info for legacy systems deactivations if available or N/A otherwise |
| Property | Values |
|---|---|
| status | one of [REQUESTED, ACTIVE, CANCELLED, DEACTIVATED] |
FreeUnitsPackage
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | false | Assigned Free Units Package ID |
| legacy_id | integer | false | Assigned Free Units Package legacy ID |
| catalogue_free_units_packages_id | string | true | Catalogue free units packages ID |
| activation_date | any | true | none |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | DateTime | false | Date and time. Format according to ISO 8601 |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | any | false | Activation date and time of the package |
| Name | Type | Required | Description |
|---|---|---|---|
| deactivation_date | any | false | none |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | DateTime | false | Date and time. Format according to ISO 8601 |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | any | false | Deactivation date and time of the package |
BundleRelatedInfo
Promotion
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| catalogue_promotion_id | string | true | Catalogue promotion ID |
| creation_date | any | true | none |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | DateTime | false | Date and time. Format according to ISO 8601 |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | any | false | Promotion creation date |
| Name | Type | Required | Description |
|---|---|---|---|
| creation_user | string | true | User who created the promotion |
| creation_system | string | false | System that created the promotion |
| status | string | true | Promotion status |
| activation_date | any | false | none |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | DateTime | false | Date and time. Format according to ISO 8601 |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | any | false | Promotion activation date |
| Name | Type | Required | Description |
|---|---|---|---|
| expiration_date | any | false | none |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | DateTime | false | Date and time. Format according to ISO 8601 |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | any | false | Promotion expiration date |
| Name | Type | Required | Description |
|---|---|---|---|
| deactivation_date | any | false | none |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | DateTime | false | Date and time. Format according to ISO 8601 |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | any | false | Promotion deactivation date |
| Name | Type | Required | Description |
|---|---|---|---|
| deactivation_user | string | false | User who deactivated the promotion |
| deactivation_system | string | false | System that deactivated the promotion |
| status_detail | string | false | Additional status details |
| commitments | [Commitment] | false | Commitments associated to the promotion |
| Property | Values |
|---|---|
| status | one of [ACTIVE, DEACTIVATED, EXPIRED] |
SubscriptionBundleHistory
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| bundle_id | string(uuid) | false | Unique identifier of the bundle |
| legacy_bundle_id | integer | true | Legacy unique identifier of the bundle the subscription is included in |
| last_status_reason | string | true | Reason for bundle change |
| catalogue_bundled_product_id | string | true | Bundle product ID according to catalogue definition |
| catalogue_bundled_commercial_product_id | string | true | Bundle commercial product ID according to catalogue definition |
| catalogue_commercial_product_id | string | true | Commercial product ID according to catalogue definition |
| start_date | any | true | none |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | DateTime | false | Date and time. Format according to ISO 8601 |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | any | false | Date and time when the subscription was added to the bundle |
| Name | Type | Required | Description |
|---|---|---|---|
| end_date | any | true | none |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | DateTime | false | Date and time. Format according to ISO 8601 |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | any | false | Date and time when the subscription was removed from the bundle |
| Name | Type | Required | Description |
|---|---|---|---|
| mandatory | boolean | false | Indicates if subscription is mandatory for the bundle |
Commitment
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| id | string(uuid) | false | Acquired commitment id |
| legacy_id | integer | false | Legacy id for acquired commitment linked MySim/Apollo storage, to be deprecated but required when catalogue_term_id not available |
| catalogue_id | string | false | Catalogue Commitment ID |
| expiration_date | any | false | none |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | DateTime | false | Date and time. Format according to ISO 8601 |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | any | false | End date |
| Name | Type | Required | Description |
|---|---|---|---|
| cancellation_date | any | false | none |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | DateTime | false | Date and time. Format according to ISO 8601 |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | any | false | Cancellation date |
| Name | Type | Required | Description |
|---|---|---|---|
| cancellation_system | string | false | Info about the system that requested the commitment cancellation. It contains the mas-stack authentication audience info. N/A if not available |
| cancellation_user | string | false | Info about the specific user that requested the commitment cancellation. N/A if not available |
| creation_date | any | false | none |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | DateTime | false | Date and time. Format according to ISO 8601 |
| Name | Type | Required | Description |
|---|---|---|---|
| » anonymous | any | false | Commitment creation date |
| Name | Type | Required | Description |
|---|---|---|---|
| creation_system | string | false | Info about the system that requested the commitment creation. It contains the mas-stack authentication audience info. N/A if not available |
Device
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| id | string(uuid) | false | Device unique identifier |
| catalogue_commercial_device_id | string | true | Commercial device id according to catalogue definition |
| catalogue_device_id | string | false | Device id according to catalogue definition |
| shipping_order_id | string | false | Id of the shipping order related to the device according to logistic |
| pickup_order_id | string | false | Id of the pickup order related to the device according to reverse logistic |
| serial_number | string | false | The serial number or any alphanumeric identifier of a particular device |
| mac_address | string | false | A unique identifier assigned to the device network interface controller |
| acquisition_type | string | false | Specifies the type of acquisition for the device |
| commitments | [Commitment] | false | none |
| Property | Values |
|---|---|
| acquisition_type | one of [BORROWED, FINANCED, ONE_TIME_PAYMENT] |
DevicesRelatedInfo
CreateCreditLimitsRequest
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| subscription_type | string | true | Type of subscription |
| credit_limits | [CreditLimit] | true | Array of credit limits to create |
| Property | Values |
|---|---|
| subscription_type | one of [MOBILE, LANDLINE] |
CreditLimit
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| credit_limit_id | string | true | Type of credit limit |
| credit_limit_value | number(double) | true | Credit limit value in currency units |
| reason | string | true | Reason for setting this credit limit |
| Property | Values |
|---|---|
| credit_limit_id | one of [MOBILE_SUBSCRIPTION_TOTAL_CREDIT_LIMIT, MOBILE_SUBSCRIPTION_PREMIUM_CREDIT_LIMIT, MOBILE_SUBSCRIPTION_INTERNATIONAL_VOICE_CREDIT_LIMIT, MOBILE_SUBSCRIPTION_ROAMING_VOICE_CREDIT_LIMIT, LANDLINE_SUBSCRIPTION_INTERNATIONAL_VOICE_CREDIT_LIMIT, LANDLINE_SUBSCRIPTION_PREMIUM_CREDIT_LIMIT, LANDLINE_SUBSCRIPTION_TOTAL_CREDIT_LIMIT] |
CreateSegmentRequest
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| segment_id | string | true | Segment identifier (must match pattern based on subscription type - OM% for postpaid mobile, OP% for prepaid, OC% for convergent) |
| segment_value | string | true | Segment value |
| reason | string | true | Reason for segment creation |
Max
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| anonymous | SubscriptionBase | false | Base structure for subscription migration |
| Name | Type | Required | Description |
|---|---|---|---|
| anonymous | object | false | none |
| » specific_data | MaxSpecificData | true | Max subscription specific data for migration |
MaxSpecificData
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| service_id | string | true | Max internal ID that identifies the subscription |
| product_id | string | true | Max product ID according to catalog definition |
Disney
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| anonymous | SubscriptionBase | false | Base structure for subscription migration |
| Name | Type | Required | Description |
|---|---|---|---|
| anonymous | object | false | none |
| » specific_data | DisneySpecificData | true | Disney subscription specific data for migration |
DisneySpecificData
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| user_id | string | true | Disney internal ID that identifies the user |
| service_id | string | true | Disney internal ID that identifies the subscription |
| product_id | string | true | Disney product ID according to catalog definition |
AmazonPrime
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| anonymous | SubscriptionBase | false | Base structure for subscription migration |
| Name | Type | Required | Description |
|---|---|---|---|
| anonymous | object | false | none |
| » specific_data | AmazonPrimeSpecificData | true | Amazon Prime subscription specific data for migration |
AmazonPrimeSpecificData
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| entitlement_id | string | true | Amazon Prime entitlement ID |
| bundle_id | string | true | Amazon Prime bundle ID |
| tier_id | string | true | Amazon Prime tier ID |
| product_id | string | true | Amazon Prime product ID according to catalog definition |