MasCatalogue API
- production
- staging
- Authentication
- Bearer · JWT
About this API
I am MasCatalogue API.
My intention is to provide a set of REST services to support sales and post-sales operations from catalogue perspective.
Resources 17
- Commercial Products 4 endpoints
Access to commercial products
- Bundled Products 7 endpoints
Access to bundled products
- GET Get bundled product
/orgs /{org_id} /bundled_products /{id} - GET Get bundled products
/orgs /{org_id} /bundled_products - GET Get sellable bundled products
/orgs /{org_id} /bundled_products /sellable - GET Get bundled product by commercial products
/orgs /{org_id} /migrations /bundled_products - GET Get bundled product subscription types included in the bundled product
/orgs /{org_id} /bundled_products /{id} /bundled_product_subs_types
- GET Get bundled product
- Bundled Commercial Products 6 endpoints
Access to bundled commercial products
- GET Get sellable bundled commercial products
/orgs /{org_id} /bundled_products /{id} /bundled_product_subs_types /{subs_type_id} /bundled_commercial_products /sellable - GET Get all bundled commercial products
/orgs /{org_id} /bundled_products /{id} /bundled_product_subs_types /{subs_type_id} /bundled_commercial_products - GET Get bundled commercial product by id
/orgs /{org_id} /bundled_products /{id} /bundled_product_subs_types /{subs_type_id} /bundled_commercial_products /{bcp_id} - GET Get target bundled commercial products
/orgs /{org_id} /bundled_products /{bundled_product_id} /bundled_commercial_products /{id} /can-switch - GET Get bundled commercial product equivalence in a bundled product migration with no compatibility at tariff level
/orgs /{org_id} /bundled_products /{id} /bundled_commercial_products /can-migrate
- GET Get sellable bundled commercial products
- Free Units Packages 5 endpoints
Access to free units packages
- GET Get free units packages
/orgs /{org_id} /commercial_products /{id} /free_units_packages - GET Get free units package
/orgs /{org_id} /commercial_products /{id} /free_units_packages /{fup_id} - GET Get free units package by id
/orgs /{org_id} /free_units_packages /{fup_id} - GET Get free units package by service provider
/orgs /{org_id} /free_units_packages - GET Get sellable free units packages
/orgs /{org_id} /commercial_products /{id} /free_units_packages /sellable
- GET Get free units packages
- Promotions 14 endpoints
Access to promotions
- GET Get all promotions (paginated)
/orgs /{org_id} /promotions - GET Get sellable promotions
/orgs /{org_id} /promotions /sellable - GET Get promotions for commercial product
/orgs /{org_id} /commercial_products /{id} /promotions - GET Get sellable promotions for commercial product
/orgs /{org_id} /commercial_products /{id} /promotions /sellable - GET Get promotions for bundled product
/orgs /{org_id} /bundled_products /{id} /promotions
- GET Get all promotions (paginated)
- Commercial Devices 11 endpoints
Access to commercial devices
- GET Get terms assigned to sellable commercial devices.
/orgs /{org_id} /commercial_devices /terms /sellable - GET Get sellable commercial devices for commercial product
/orgs /{org_id} /commercial_products /{id} /commercial_devices /sellable - GET Get sellable commercial devices for bundled commercial product
/orgs /{org_id} /bundled_commercial_products /{id} /commercial_devices /sellable - GET Get sellable commercial devices for bundled commercial product in a particular bundled product
/orgs /{org_id} /bundled_products /{bundled_product_id} /bundled_commercial_products /{bcp_id} /commercial_devices /sellable - GET Get sellable commercial devices for value added service
/orgs /{org_id} /value_added_services /{id} /commercial_devices /sellable
- GET Get terms assigned to sellable commercial devices.
- Rate Plans 1 endpoint
Access to rate plans
- Base profiles and services 4 endpoints
Access to base profiles and services associated
- Value Added Services 7 endpoints
Access to value added services
- GET Get value added services for commercial product
/orgs /{org_id} /commercial_products /{id} /value_added_services - GET Get sellable value added services for commercial product
/orgs /{org_id} /commercial_products /{id} /value_added_services /sellable - GET Get value added services for bundled commercial product
/orgs /{org_id} /bundled_commercial_products /{id} /value_added_services - GET Get sellable value added services for bundled commercial product
/orgs /{org_id} /bundled_commercial_products /{id} /value_added_services /sellable - GET Get value added services for bundled commercial product in a particular bundled product
/orgs /{org_id} /bundled_products /{bp_id} /bundled_commercial_products /{bcp_id} /value_added_services
- GET Get value added services for commercial product
- Services 1 endpoint
Access to services
- Commercial Infos 7 endpoints
Access to commercial infos
- GET Get commercial infos for commercial product
/orgs /{org_id} /commercial_products /{id} /commercial_infos - GET Get commercial infos for bundled product
/orgs /{org_id} /bundled_products /{id} /commercial_infos - GET Get commercial infos for bundled commercial product
/orgs /{org_id} /bundled_commercial_products /{id} /commercial_infos - GET Get commercial infos for free units package
/orgs /{org_id} /free_units_packages /{id} /commercial_infos - GET Get commercial infos for promotion
/orgs /{org_id} /promotions /{id} /commercial_infos
- GET Get commercial infos for commercial product
- Transaction types 2 endpoints
Access to billing transaction type endpoints
- Devices 3 endpoints
Access to devices endpoints
- Commercial profiles 5 endpoints
Access to commercial profile endpoints
- GET Get a list with the commercial profiles defined
/orgs /{org_id} /commercial_profiles - GET Get a list of commercial products availables for a particular commercial profile and tenant
/orgs /{org_id} /commercial_profiles /{com_profile_id} /commercial_products - GET Get a list of free units packages availables for a particular commercial profile and tenant
/orgs /{org_id} /commercial_profiles /{com_profile_id} /free_units_packages - GET Get a list of promotions availables for a particular commercial profile and tenant
/orgs /{org_id} /commercial_profiles /{com_profile_id} /promotions - GET Get a list of bundled products availables for a particular commercial profile and tenant
/orgs /{org_id} /commercial_profiles /{com_profile_id} /bundled_products
- GET Get a list with the commercial profiles defined
- Misc services 4 endpoints
Access to different endpoints to get configuration definition
- Health 1 endpoint
- Ready 1 endpoint
MasCatalogue API
- production
- staging
- Authentication
- Bearer · JWT
About this API
I am MasCatalogue API.
My intention is to provide a set of REST services to support sales and post-sales operations from catalogue perspective.
Resources 17
- Commercial Products 4 endpoints
Access to commercial products
- Bundled Products 7 endpoints
Access to bundled products
- GET Get bundled product
/orgs /{org_id} /bundled_products /{id} - GET Get bundled products
/orgs /{org_id} /bundled_products - GET Get sellable bundled products
/orgs /{org_id} /bundled_products /sellable - GET Get bundled product by commercial products
/orgs /{org_id} /migrations /bundled_products - GET Get bundled product subscription types included in the bundled product
/orgs /{org_id} /bundled_products /{id} /bundled_product_subs_types
- GET Get bundled product
- Bundled Commercial Products 6 endpoints
Access to bundled commercial products
- GET Get sellable bundled commercial products
/orgs /{org_id} /bundled_products /{id} /bundled_product_subs_types /{subs_type_id} /bundled_commercial_products /sellable - GET Get all bundled commercial products
/orgs /{org_id} /bundled_products /{id} /bundled_product_subs_types /{subs_type_id} /bundled_commercial_products - GET Get bundled commercial product by id
/orgs /{org_id} /bundled_products /{id} /bundled_product_subs_types /{subs_type_id} /bundled_commercial_products /{bcp_id} - GET Get target bundled commercial products
/orgs /{org_id} /bundled_products /{bundled_product_id} /bundled_commercial_products /{id} /can-switch - GET Get bundled commercial product equivalence in a bundled product migration with no compatibility at tariff level
/orgs /{org_id} /bundled_products /{id} /bundled_commercial_products /can-migrate
- GET Get sellable bundled commercial products
- Free Units Packages 5 endpoints
Access to free units packages
- GET Get free units packages
/orgs /{org_id} /commercial_products /{id} /free_units_packages - GET Get free units package
/orgs /{org_id} /commercial_products /{id} /free_units_packages /{fup_id} - GET Get free units package by id
/orgs /{org_id} /free_units_packages /{fup_id} - GET Get free units package by service provider
/orgs /{org_id} /free_units_packages - GET Get sellable free units packages
/orgs /{org_id} /commercial_products /{id} /free_units_packages /sellable
- GET Get free units packages
- Promotions 14 endpoints
Access to promotions
- GET Get all promotions (paginated)
/orgs /{org_id} /promotions - GET Get sellable promotions
/orgs /{org_id} /promotions /sellable - GET Get promotions for commercial product
/orgs /{org_id} /commercial_products /{id} /promotions - GET Get sellable promotions for commercial product
/orgs /{org_id} /commercial_products /{id} /promotions /sellable - GET Get promotions for bundled product
/orgs /{org_id} /bundled_products /{id} /promotions
- GET Get all promotions (paginated)
- Commercial Devices 11 endpoints
Access to commercial devices
- GET Get terms assigned to sellable commercial devices.
/orgs /{org_id} /commercial_devices /terms /sellable - GET Get sellable commercial devices for commercial product
/orgs /{org_id} /commercial_products /{id} /commercial_devices /sellable - GET Get sellable commercial devices for bundled commercial product
/orgs /{org_id} /bundled_commercial_products /{id} /commercial_devices /sellable - GET Get sellable commercial devices for bundled commercial product in a particular bundled product
/orgs /{org_id} /bundled_products /{bundled_product_id} /bundled_commercial_products /{bcp_id} /commercial_devices /sellable - GET Get sellable commercial devices for value added service
/orgs /{org_id} /value_added_services /{id} /commercial_devices /sellable
- GET Get terms assigned to sellable commercial devices.
- Rate Plans 1 endpoint
Access to rate plans
- Base profiles and services 4 endpoints
Access to base profiles and services associated
- Value Added Services 7 endpoints
Access to value added services
- GET Get value added services for commercial product
/orgs /{org_id} /commercial_products /{id} /value_added_services - GET Get sellable value added services for commercial product
/orgs /{org_id} /commercial_products /{id} /value_added_services /sellable - GET Get value added services for bundled commercial product
/orgs /{org_id} /bundled_commercial_products /{id} /value_added_services - GET Get sellable value added services for bundled commercial product
/orgs /{org_id} /bundled_commercial_products /{id} /value_added_services /sellable - GET Get value added services for bundled commercial product in a particular bundled product
/orgs /{org_id} /bundled_products /{bp_id} /bundled_commercial_products /{bcp_id} /value_added_services
- GET Get value added services for commercial product
- Services 1 endpoint
Access to services
- Commercial Infos 7 endpoints
Access to commercial infos
- GET Get commercial infos for commercial product
/orgs /{org_id} /commercial_products /{id} /commercial_infos - GET Get commercial infos for bundled product
/orgs /{org_id} /bundled_products /{id} /commercial_infos - GET Get commercial infos for bundled commercial product
/orgs /{org_id} /bundled_commercial_products /{id} /commercial_infos - GET Get commercial infos for free units package
/orgs /{org_id} /free_units_packages /{id} /commercial_infos - GET Get commercial infos for promotion
/orgs /{org_id} /promotions /{id} /commercial_infos
- GET Get commercial infos for commercial product
- Transaction types 2 endpoints
Access to billing transaction type endpoints
- Devices 3 endpoints
Access to devices endpoints
- Commercial profiles 5 endpoints
Access to commercial profile endpoints
- GET Get a list with the commercial profiles defined
/orgs /{org_id} /commercial_profiles - GET Get a list of commercial products availables for a particular commercial profile and tenant
/orgs /{org_id} /commercial_profiles /{com_profile_id} /commercial_products - GET Get a list of free units packages availables for a particular commercial profile and tenant
/orgs /{org_id} /commercial_profiles /{com_profile_id} /free_units_packages - GET Get a list of promotions availables for a particular commercial profile and tenant
/orgs /{org_id} /commercial_profiles /{com_profile_id} /promotions - GET Get a list of bundled products availables for a particular commercial profile and tenant
/orgs /{org_id} /commercial_profiles /{com_profile_id} /bundled_products
- GET Get a list with the commercial profiles defined
- Misc services 4 endpoints
Access to different endpoints to get configuration definition
- Health 1 endpoint
- Ready 1 endpoint
Release notes
2.129.1
- Fix: make query param
sale_type_nameoptional inGET /orgs/{org_id}/bundled_products/{bp_id}/bundled_commercial_products/{bcp_id}/value_added_services/{vas_id}/promotions- It is still required when
sellable=true, otherwise400is returned - When
sellableisfalseor omitted andsale_type_nameis omitted, promotions are not filtered by sale type
- It is still required when
2.129.0
- Add new endpoint
GET /orgs/{org_id}/migrations/bundled_products- Returns the only bundled product whose mandatory commercial products are exactly those in
mandatory_commercial_product_ids(required, 1 to 6 integers, no repeated values) and which includes all those inoptional_commercial_product_ids(optional, up to 50 integers, no repeated values) as optional ones - Validity dates are not taken into account, so it may return bundled products that are no longer in the catalogue
- Aimed at customer migrations from stacks without bundles (RFM KRT)
- Returns
409if more than one bundled product matches - Response schema:
BundledProductByCommercialProducts_Response(onlyidandname)
- Returns the only bundled product whose mandatory commercial products are exactly those in
2.128.0
- Add optional field
sale_typestoPromotionDetail_Responseschema- Returns the sale types for which each promotion is available (
IsAvailablerelationship) - Affected endpoints: all endpoints returning
PromotionDetail_Response - The field is omitted from the response until the runtime populates it
- Returns the sale types for which each promotion is available (
- Add new endpoint
GET /orgs/{org_id}/promotions- Same filters as
/orgs/{org_id}/promotions/sellable(sale_type_name,customer_type_name,numeration_type_name,commercial_profile_nameandtarget_applicability_rule), but promotions are returned regardless of their validity dates - Paginated response (
offsetandlimit, maximum 1000), ordered by promotion id - Response schema:
PromotionDetailPaginated
- Same filters as
2.127.0
- Add new endpoint
GET /ready(readiness probe)- Returns
200when the service is ready to accept traffic (JVM not shutting down) - Returns
503immediately when the JVM is shutting down, allowing Kubernetes to drain in-flight requests before termination
- Returns
2.126.0
- Add query param
service_idto endpointGET /orgs/{org_id}/bundled_products/{bp_id}/bundled_commercial_products/{bcp_id}/value_added_services- Returns only the value added services whose
idmatches it
- Returns only the value added services whose
2.125.1
- Clarify the description of
GET /orgs/{org_id}/commercial_devices/{id}/can-switch- Although the response is an array, it always contains exactly one
CommercialDevicewhen there is an equivalent one, or is empty when there is none
- Although the response is an array, it always contains exactly one
2.125.0
- Add new endpoint
GET /orgs/{org_id}/bundled_products/{bp_id}/bundled_commercial_products/{bcp_id}/value_added_services- Same parameters and response as
/orgs/{org_id}/bundled_products/{bp_id}/bundled_commercial_products/{bcp_id}/value_added_services/sellable, but value added services are returned regardless of their validity dates
- Same parameters and response as
2.124.0
- Add new endpoint
GET /orgs/{org_id}/commercial_devices/{id}/can-switch- Returns the equivalent CPE commercial device (same
terminal_id,sale_typeandpayment_type) in the target commercial product and bundled product, resolved at the time of the call - New required query parameters
target_commercial_product_idandtarget_bundled_product_id - Returns an array with at most one
CommercialDevice, or an empty array when the device is not offered in the target context
- Returns the equivalent CPE commercial device (same
2.123.0
- Add new query param
used_for_address_relocationto/orgs/{org_id}/bundled_products/{id}/can-switch - Add
400response to/orgs/{org_id}/bundled_products/{id}/can-switch - This parameter is optional and cannot be combined with
used_for_automatic_changes=truenor with asubs_removedvalue
2.122.0
- Add new field
pin_enabledtoDevice_Responseschema- Indicates whether a SIM is shipped with the PIN enabled (
true) or disabled (false) - Only applies to devices of category
SIM; omitted for any other category or when undefined - Affects the following endpoints:
/orgs/{org_id}/devices/orgs/{org_id}/devices/sellable/orgs/{org_id}/devices/{device_id}
- Indicates whether a SIM is shipped with the PIN enabled (
2.121.2
- Remove
customer_segment_namequery parameter andCustomerSegmentNameschema fromGETendpoints:/orgs/{org_id}/commercial_products/orgs/{org_id}/commercial_products/sellable/orgs/{org_id}/bundled_products/orgs/{org_id}/bundled_products/sellable
2.121.1
- Deprecate
is_availablefield inCommercialDevice_device_Responseschema
2.121.0
- Add new field
is_billableto all fee responses- Indicates whether a fee will generate an actual charge in the billing system
- When
true, the fee is billable and will result in a charge to the customer - When
false, the fee is informational only and will not generate a charge to the customer - Affects the following endpoints returning fees:
/orgs/{org_id}/commercial_products/orgs/{org_id}/commercial_products/sellable/orgs/{org_id}/commercial_products/{id}/orgs/{org_id}/commercial_products/{id}/can-switch/orgs/{org_id}/commercial_products/{id}/commercial_devices/sellable/orgs/{org_id}/commercial_products/{id}/free_units_packages/orgs/{org_id}/commercial_products/{id}/free_units_packages/sellable/orgs/{org_id}/commercial_products/{id}/free_units_packages/{fup_id}/orgs/{org_id}/commercial_products/{id}/value_added_services/orgs/{org_id}/commercial_products/{id}/value_added_services/sellable/orgs/{org_id}/bundled_products/orgs/{org_id}/bundled_products/sellable/orgs/{org_id}/bundled_products/{id}/orgs/{org_id}/bundled_products/{id}/can-switch/orgs/{org_id}/bundled_products/{id}/can-switch/{target_id}/orgs/{org_id}/bundled_products/{id}/bundled_commercial_products/orgs/{org_id}/bundled_products/{id}/bundled_product_subs_types/{subs_type_id}/bundled_commercial_products/orgs/{org_id}/bundled_products/{id}/bundled_product_subs_types/{subs_type_id}/bundled_commercial_products/sellable/orgs/{org_id}/bundled_products/{id}/bundled_product_subs_types/{subs_type_id}/bundled_commercial_products/{bcp_id}/orgs/{org_id}/bundled_products/{bundled_product_id}/bundled_commercial_products/{id}/can-switch/orgs/{org_id}/bundled_products/{bundled_product_id}/bundled_commercial_products/{bcp_id}/commercial_devices/sellable/orgs/{org_id}/bundled_products/{bp_id}/bundled_commercial_products/{bcp_id}/value_added_services/sellable/orgs/{org_id}/bundled_products/{bp_id}/bundled_product_subs_types/{bpst_id}/bundled_commercial_products/{bcp_id}/value_added_services/sellable/orgs/{org_id}/bundled_commercial_products/{id}/commercial_devices/sellable/orgs/{org_id}/bundled_commercial_products/{id}/value_added_services/orgs/{org_id}/bundled_commercial_products/{id}/value_added_services/sellable/orgs/{org_id}/bundled_commercial_products/{bcp_id}/commercial_devices/{commercial_device_id}/orgs/{org_id}/commercial_devices/orgs/{org_id}/commercial_devices/sellable/orgs/{org_id}/commercial_devices/refinance/orgs/{org_id}/commercial_devices/{id}/orgs/{org_id}/free_units_packages/orgs/{org_id}/free_units_packages/{fup_id}/orgs/{org_id}/value_added_services/{id}/commercial_devices/sellable
2.120.0
- Add
checked_by_defaulttoValueAddedServiceschema - Affected endpoints:
/orgs/{org_id}/bundled_commercial_products/{id}/value_added_services/orgs/{org_id}/bundled_commercial_products/{id}/value_added_services/sellable/orgs/{org_id}/bundled_products/{bp_id}/bundled_commercial_products/{bcp_id}/value_added_services/sellable/orgs/{org_id}/bundled_products/{bp_id}/bundled_product_subs_types/{bpst_id}/bundled_commercial_products/{bcp_id}/value_added_services/sellable
2.119.1
- Move endpoint
/orgs/{org_id}/devices/{device_id}/commercial_infosfromDevicestag toCommercial Infostag
2.119.0
- Add new endpoint
/orgs/{org_id}/bundled_products/{bp_id}/bundled_commercial_products/{bcp_id}/value_added_services/{vas_id}/promotionsto retrieve VAS (Value Added Services) promotions filtered by bundled commercial product (BCP) - Deprecate old VAS promotions endpoints:
/orgs/{org_id}/value_added_services/{id}/promotions/orgs/{org_id}/value_added_services/{id}/promotions/sellable
2.118.0
- Add new endpoint
GET /orgs/{org_id}/devices/{device_id}/commercial_infos- Returns an array of commercial info (invoice and precontract fields) for a device by locale
2.117.1
- Deprecate endpoint
/orgs/{org_id}/bundled_commercial_products/{id}/commercial_devices/sellable
2.117.0
- Add new enum value
6PtoBundledType_Responseschema - Add new enum value
Fixed+Broadband+Mobile+TV+Netflix+DisneytoBundleCategoryandBundleCategory_Responseschemas
2.116.0
- Add new endpoint
GET /orgs/{org_id}/bundled_products/{bundled_product_id}/bundled_commercial_products/{bcp_id}/commercial_devices/sellable- Returns sellable commercial devices for a bundled commercial product scoped to a specific bundled product
2.115.0
- Remove query parameter
numeration_type_namefrom bundled commercial products endpoints- Affected endpoints:
/orgs/{org_id}/bundled_products/{id}/bundled_product_subs_types/{subs_type_id}/bundled_commercial_products/sellable/orgs/{org_id}/bundled_products/{id}/bundled_product_subs_types/{subs_type_id}/bundled_commercial_products/orgs/{org_id}/bundled_products/{id}/bundled_commercial_products
- The parameter is still accepted by the API for backward compatibility but is silently ignored
- Affected endpoints:
2.114.0
- Add new enum value
AGILETVtoSubsTypeNameandSubsTypeName_Responseschemas
2.113.0
- Add fields
charger_includedandcharger_labeltoDevice_Responseschemacharger_included(boolean): indicates whether a charger is included in the device boxcharger_label(string): descriptive label of the charger type/standard (e.g. USB-C 25W)- Required by EU Directive 2022/2380 on common chargers (legal obligation)
- Affects endpoints:
/orgs/{org_id}/devices,/orgs/{org_id}/devices/sellable,/orgs/{org_id}/devices/{device_id}
2.112.0
- Add new enum value
RECURRING_PAYMENTtoPaymentTypeandPaymentType_Responseschemas
2.111.1
- Rename properties
min_main_lineandmax_main_linetomin_main_linesandmax_main_linesin schemaBundledProductSubsTypeBasic
2.111.0
- Add field
reverse_logistic_methodtoDevice_Responseschema- New enum field to indicate the return method for a device in case of withdrawal
- Possible values:
POST_OFFICE(customer brings device to a post office),HOME_PICKUP(courier picks up at home) - Affects endpoints:
/orgs/{org_id}/devices,/orgs/{org_id}/devices/sellable,/orgs/{org_id}/devices/{device_id}
2.110.0
- Add property
min_devicesto schemaCommercialProductSimple - Add properties
min_main_lineandmax_main_lineto schemaBundledProductSubsTypeBasic
2.109.0
- Add new enum value
SIMtoDeviceCategoryandDevice_Responseschema
2.108.0
- Add new Fee subtype
RetailPricetoFeeInstallmentPlan_refinance_Responseschema
2.107.0
- Add
type_groupattribute toPromotionDetail_Responseschema- New field identifies if a promotion is of type BUNDLE or OTHER
- Determined based on
type_name(BUNDLE for "PAQUETE SUBS" types, OTHER for all else) - Follows same pattern as
promotion_type_groupinPromotionIncompatibility
- Move
category_nameandtype_namefromgetPromoByComProfile_ResponsetoPromotionDetail_Response- These fields are only returned in promotion detail endpoints, not in the base commercial profile promotions endpoint
- No functional impact as
PromotionDetail_Responsepreviously inherited these fields viaallOf
2.106.2
- Remove attribute
digital_channels_namefromCommercialDeviceschema
2.106.1
- Rename attributes in
CommercialDevice_device_Responseschema:in_catalogue_sincerenamed tofromin_catalogue_untilrenamed toto
2.106.0
- Add new Fee subtypes to
Fee_Responseschema:RepairExcessFee- Franquicia de reparaciónReplacementExcessFee- Franquicia de reemplazo
2.105.0
- Add the new attribute
promotion_type_groupto the promotion incompatibility schemas.- Group classification of the promotion type. Use this field to identify bundle promotions.
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)OTHER: Any other promotion type
- Group classification of the promotion type. Use this field to identify bundle promotions.
2.104.0
- Add the new attribute
insurance_typeto theCommercialProductschemas.- Possible values for this field:
GLOBAL,MULTIMEDIA,null(only if theCommercialProductis not a Zurich insurance tariff).
- Possible values for this field:
2.103.0
- Add new query param
device_category_webto the following endpoint:/orgs/{org_id}/bundled_products/{id}/bundled_product_subs_types/{subs_type_id}/bundled_commercial_products/sellable
- This parameter is optional and should only be used to retrieve device insurance tariffs (subs_type=DEVICEINSURANCE)
2.102.0
- Add new query param
device_category_webto the following endpoints:/orgs/{org_id}/bundled_products/{id}/bundled_product_subs_types/{subs_type_id}/bundled_commercial_products/orgs/{org_id}/bundled_products/{id}/bundled_commercial_products
- This parameter is optional and should only be used to retrieve device insurance tariffs (subs_type=DEVICEINSURANCE)
2.101.0
- Add new query param
applicable_atto commercial_product and bundled_commercial_product incompatibilities endpoints
2.100.0
- Add query param
category_groupto/devices/sellableand/devicesendpoints - Add field
category_grouptoDeviceResponse
2.99.0
- Delete query param
promotional_renewfor the following endpoints:/orgs/{org_id}/commercial_devices/orgs/{org_id}/commercial_devices/sellable
2.98.0
- Add new endpoint
/orgs/{org_id}/value_added_services/{id}/commercial_infosto get commercial infos for value added services
2.97.0
- Add field
ean_codetoDeviceResponse
2.96.0
- Add field
esim_onlytoDeviceResponse
2.95.0
- Add field
energy_labeltoDeviceResponse
2.94.0
- Add query param
category_webto/devices/sellableand/devicesendpoints
2.93.0
- Add new endpoint endpoint
/orgs/{org_id}/bundled_commercial_products/{bcp_id}/commercial_devices/{cd_id}
2.92.2
- Change query param
dest_bundled_product_idname todestination_bundled_product_id
2.92.1
- Fix endpoint
/orgs/{org_id}/devicesnot rendering in developer portal - Add missing
401response/orgs/{org_id}/devices/{device_id}
2.92.0
- Remove
/orgs/{org_id}/bundled_products/{id}/provisioning_profilesendpoint - Add
upload_speedanddownload_speedfields toTerritoryOwnerDetailschema - Deprecate
upload_speedanddownload_speedfields inBundledProductBasic_Responseschema - Deprecate
upload_speedanddownload_speedfields ingetBaseProfiles_Responseschema
2.91.0
- Add query param
target_applicability_ruleto endpoint/orgs/{org_id}/promotions/sellable
2.90.3
- Add new query_param
destBundledProductIdto endpoint:/orgs/{org_id}/bundled_products/{bundled_product_id}/bundled_commercial_products/{id}/can-switch
2.90.2
- Rename
refound_transaction_type_idtorefund_transaction_type_idinTransactionTypeschema
2.90.1
- Update enum values of
SubsTypeName, removeDISNEY+
2.90.0
- Update enum values of
SubsTypeNameforDISNEYandDISNEY+
2.89.0
- Add new field
unlimited_durationtoTerms_alone_Responseschema
2.88.0
- Add new field
unlimited_durationtoPromotionDetail_Responseschema
2.87.0
- Add new query param
permanence_typeto endpoints:/orgs/{org_id}/commercial_devices/orgs/{org_id}/commercial_devices/sellable/orgs/{org_id}/bundled_commercial_products/{id}/commercial_devices/sellable
2.86.0
- Add new field
refound_transaction_type_idtoTransactionTypeschema
2.85.1
- Fix wrong BillingType enum value: "PREPAGO AUTOMATICO" -> "RECARGA AUTOMATICA"
2.85.0
- Define new endpoints to get promotion incompatibilities by commercial_product or bundled_commercial_product:
/orgs/{org_id}/commercial_products/{commercial_product_id}/promotions/{promotion_id}/incompatibilities/orgs/{org_id}/bundled_commercial_products/{bcp_id}/promotions/{promotion_id}/incompatibilities
2.84.0
- Add new field
promotional_infotoDevice_Responseschema
2.83.0
- Add new subtype
ExcessFeetoFee_Responseschema
2.82.0
- Update enum values of
BundleCategoryandSubsTypeNameforORANGE_TV_LIBRE
2.81.0
- Add query param
mandatoryto endpoints:/orgs/{org_id}/bundled_commercial_products/{id}/commercial_devices/sellable/orgs/{org_id}/commercial_devices
2.80.0
- Add
store_delivery_allowedfield inCommercialProfileschema
2.79.1
- Fix
ValueAddedServiceDetailandValueAddedServiceschemas by addingmax_quantityfield and deprecatingmax_cardinality
2.79.0
- Add
TVsubscription type - Add new fields in
CommercialProductschema:max_devicesmax_concurrent_views
2.78.0
- Add
permanence_typetoTerms_alone_Response
2.77.0
- Add new fields in FUP responses:
volume_home_sl0volume_home_sl1volume_rlah_sl0volume_rlah_sl1volume_nr_sl0volume_nr_sl1
2.76.0
- Add
NOT_APPLICABLEtotarget_applicability_ruleandapplicability_modelextensible enums
2.75.0
- Add query param
mysim_service_idto endpoints:/orgs/{org_id}/commercial_products/{id}/value_added_services/orgs/{org_id}/bundled_commercial_products/{id}/value_added_services
2.74.0
- Add
binding_type_idtoTermsPromotion_Response
2.73.0
- Remove designer endpoints.
2.72.0
- Modify number formats in
BundledProductandFreeUnitsPackageschemas - Add
type[in]andcategory[in]query params inGET /commercial_profiles/{commercial_profile_id}/free_units_packagesendpoint
2.71.0
- Add new endpoint
GET /orgs/{org_id}/designer/commercial_profiles/{commercial_profile_id}/free_units_packages
2.70.2
- Remove
FeeGenerationand addFeeSubtypefromtarget_applicability_ruleenum ingetPromoByComProfile_Responseschema - Remove
FEE_GENERATIONand addFEE_SUBTYPEfromtarget_applicability_ruleenum inPromotionschema
2.70.1
- Rename
provisioning_idasexternal_provisioning_idinCommercialProductschema
2.70.0
- Add endpoints for CRUD operations of promotion categories:
/orgs/{org_id}/designer/promotion_categories/orgs/{org_id}/designer/promotion_category/{promotion_category_id}
2.69.0
- Modify type of
rate_planandbilling_typefields inCommercialProductschema - Add
provisioning_id,service_class,external_offer_id,external_charging_idandmanual_renewalfields inCommercialProductschema
2.68.0
- Add base_profile query filters in
GET/orgs/{org_id}/designer/commercial_profiles/{commercial_profile_id}/commercial_productsendpoint - Add
promotion_category_name[in]andpromotion_type_name[in]query filters inGET/orgs/{org_id}/designer/commercial_profiles/{commercial_profile_id}/promotionsendpoint - Add
type[in]query filter inGET/orgs/{org_id}/designer/commercial_profiles/{commercial_profile_id}/bundled_productsendpoint
2.67.1
- Remove prefix
is_on params oftransaction_typeschema
2.67.0
- Add new endpoint
GET/orgs/{org_id}/designer/commercial_profiles/{commercial_profile_id}/bundled_products - Add
BundledProductType, CustomerSegment, BillingType, Technology and SubscriptionTypeenums
2.66.2
- Remove
refound_transaction_type_idfrom fields required intransaction_typescreate
2.66.1
- Remove
iso_languagefromPromotionandCommercialProductschemas
2.66.0
- Adding new endpoints for CRUD operations of transaction types:
/orgs/{org_id}/designer/transaction_types/orgs/{org_id}/designer/transaction_types/{transaction_type_id}
2.65.0
- Add
promotion_type_idandpromotion_category_idquery params inGET/orgs/{org_id}/designer/commercial_profiles/{commercial_profile_id}/promotionsendpoint
2.64.0
- Add new endpoint
/bundled_products/{bp_id}/bundled_commercial_products
2.63.1
- Add 409 status code in response of
POSTandPATCHendpoint:/orgs/{org_id}/designer/commercial_profiles/orgs/{org_id}/designer/commercial_profiles/{commercial_profile_id}/orgs/{org_id}/designer/commercial_profiles/{commercial_profile_id}/promotions/{promotion_id}/orgs/{org_id}/designer/commercial_profiles/{commercial_profile_id}/commercial_products/{commercial_product_id}/orgs/{org_id}/designer/commercial_profiles/{commercial_profile_id}/free_units_packages/{free_units_package_id}/orgs/{org_id}/designer/commercial_profiles/{commercial_profile_id}/bundled_products/{bundled_product_id}
2.63.0
- Add endpoints for CRUD operations of free units package:
/orgs/{org_id}/designer/free_units_package/orgs/{org_id}/designer/free_units_package/{free_units_package_id}
2.62.0
- Adapting designer to masstack url convention
2.61.0
- Deleting bundle_category_id and bundle_type_name from PromotionCanSwitchPromotion
2.60.0
- Rename
rate_plan_idfield inCommercialProductschema asrate_plan - Rename
billing_type_idfield inCommercialProductschema asbilling_type - Add endpoints for CRUD operations of bundled products:
/designer/orgs/{org_id}/bundled_products/designer/orgs/{org_id}/bundled_products/{bundled_product_id}
2.59.0
- Deleting unused endpoint promotions can-switch
/orgs/{org_id}/promotions/{existent_promotion_id}/can-switch/{new_promotion_id}
2.58.0
- Include new SubsType value for Max subscriptions:
MAX
2.57.5
- Rename
id[contains]query param todevice_id[contains]for the/commercial_devicesendpoint
2.57.4
- Adding
customer_typeto Promotion schema - Adding
customer_typequery param inGET/designer/orgs/{org_id}/commercial_profiles/{commercial_profile_id}/promotionsendpoint
2.57.3
- Update description of DELETE
/designer/orgs/{org_id}/commercial_profiles/{commercial_profile_id}endpoint - Update description of DELETE
/designer/orgs/{org_id}/commercial_profiles/{commercial_profile_id}/promotions/{promotion_id}endpoint - Update description of DELETE
/designer/orgs/{org_id}/commercial_profiles/{commercial_profile_id}/commercial_products/{commercial_product_id}endpoint
2.57.2
- Update description of DELETE
/designer/orgs/{org_id}/sale_types/{sale_type_id}endpoint
2.57.1
- Update description of DELETE
/designer/orgs/{org_id}/promotion_types/{promotion_type_id}endpoint
2.57.0
- Add endpoints for commercial products related to commercial profiles:
/designer/orgs/{org_id}/commercial_profiles/{commercial_profile_id}/commercial_products/designer/orgs/{org_id}/commercial_products/{commercial_product_id}/commercial_profiles/designer/orgs/{org_id}/commercial_profiles/{commercial_profile_id}/commercial_products/{commercial_product_id}
2.56.0
- Rename
PromotionRelatedRawandPromotionRelatedRawListschemas asPromotionRelatedWithDatesRawandPromotionRelatedWithDatesRawListrespectively - Create
PromotionSoldByCommercialProfileRawListandPromotionSoldByCommercialProfileRawschemas
2.55.0
- Adding category_name to getPromoByComProfile_Response
2.54.1
- Change type of
durationfield inPromotionschema as integer - Rename
term_idfields inPromotionschema ascommitment_idand set as nullable - Remove
external_market_idfield fromPromotionschema and added as field inPromotionRawschema
2.54.0
- Adding query params sort, deviceName, deviceModel and deviceColour for paginated commercial devices:
/orgs/{org_id}/commercial_devices
2.53.0
- Adding new endpoints for CRUD operations of sale types:
/designer/orgs/{org_id}/sale_types/designer/orgs/{org_id}/sale_types/{sale_type_id}
2.52.0
- Adding new endpoints for CRUD operations of promotion types:
/designer/orgs/{org_id}/promotion_types/designer/orgs/{org_id}/promotion_types/{promotion_type_id}
2.51.0
- Add endpoint to get promotions sold by commercial profile:
- GET
/designer/orgs/{org_id}/commercial_profiles/{commercial_profile_id}/promotions
- GET
2.50.0
- Return
201status code in response of endpoint:- POST
/designer/orgs/{org_id}/commercial_profiles/{commercial_profile_id}/promotions/{promotion_id}
- POST
2.49.0
- Add
category_nameto promotions response for endpoint:/orgs/{org_id}/promotion/{id}
2.48.0
- Add paginated endpoint for commercial devices
/orgs/{org_id}/commercial_devices
2.47.0
- Add endpoints for promotions related to commercial profiles:
/designer/orgs/{org_id}/promotions/{promotion_id}/commercial_profiles/designer/orgs/{org_id}/commercial_profiles/{commercial_profile_id}/promotions/{promotion_id}
2.46.0
- Add
penalty_referencefield in the response of CommercialProduct
2.45.2
- Add query params in GET
/commercial_profilesenpoint:namestart_date[gt]start_date[gte]start_date[lt]start_date[lte]end_date[gt]end_date[gte]end_date[lt]end_date[lte]
- Return
CommercialProfileRawListschema in GET/commercial_profilesendpoint.
2.45.1
- Change query parameter
language_codeto header parameter
2.45.0
- Add
reduce_penalty_thresholdfield in the response of Promotions
2.44.1
- Add
consolidatedandupdated_atfields in the response body of commercial profile by id.
2.44.0
- Add
skip_first_periodfield in the response body of Promotions
2.43.2
- Add
start_dateandend_datefields in the response body of commercial profile getters.
2.43.1
- Add
start_dateandend_datefields in the request body of commercial profile operations.
2.43.0
- Adding bundled_type to bundled product schemas:
- BundledProduct_Response
- SwitchBundledProduct_Response
- BundledProductBasic_Response
- Endpoints affected:
/orgs/{org_id}/bundled_products/{id}/orgs/{org_id}/bundled_products/orgs/{org_id}/bundled_products/sellable/orgs/{org_id}/bundled_products/{id}/can-switch/orgs/{org_id}/bundled_products/{id}/can-switch/{target_id}
2.42.2
- Include new SubsType value for Amazon subscriptions:
AMAZONPRIME. - Include missing property
mysim_idin ValueAddedService schemas.
2.42.1
- Remove wrong encoding in
/designer/orgs/{org_id}/upload_fileendpoint.
2.42.0
- Add new query parameter language_code
2.41.1
- Update
/designer/orgs/{org_id}/download/{file_name}to return a ResponseBody
2.41.0
- Removing values node from all responses
2.40.0
- Adding new endpoints for CRUD operations of commercial profiles:
/designer/orgs/{org_id}/commercial_profiles/designer/orgs/{org_id}/commercial_profiles/{commercial_profile_id}
2.39.2
- Changed
/designer/orgs/{org_id}/upload_filecontent from csv to multipart/form-data
2.39.1
- Split swagger difinition into modules (one swagger file for each service)
- Removing unused schemas: Tax and TaxValue
- Removing
ofc-managerAPI (it must be used throughdesigner) - Refactoring several descriptions
2.39.0
- Adding is_bundled to bundled commercial product schemas:
- BundledCommercialProductBasic
- BundledCommercialProductDetail
- BundledCommercialProductCanSwitch
- BundledCommercialProduct
2.38.0
- Adding retail_price and discount properties to commercial device schemas CommercialDevice and CommercialDeviceAlone
2.37.0
- Adding new endpoint to download file from storage
/designer/orgs/{org_id}/download/{fileName}
2.36.0
- Adding new query param
debit_account_idfor the following endpoints:/orgs/{org_id}/commercial_products/{id}/free_units_packages/orgs/{org_id}/commercial_products/{id}/free_units_packages/sellable
2.35.0
- Adding new endpoint to upload file to storage
/designer/orgs/{org_id}/upload_file
2.34.0
- Adding used_for_automatic_orphan_subscription_change to BundledProductSubsTypeDetail and
BundledProductSubsTypeBasic. Affected endpoints:
/orgs/{org_id}/bundled_products/{id}/orgs/{org_id}/bundled_products/{id}/bundled_product_subs_types
2.33.0
- Adding model_web property to device schema CommercialDevice_device_Response
2.32.0
- Example added for endpoint (successful response with promotions) :
/orgs/{org_id}/commercial_devices/sellable
2.31.0
- Add new optional query param
permanencefor the endpoints:/orgs/{org_id}/commercial_devices/sellable/orgs/{org_id}/commercial_products/{id}/commercial_devices/sellable/orgs/{org_id}/bundled_commercial_products/{id}/commercial_devices/sellable/orgs/{org_id}/value_added_services/{id}/commercial_devices/sellable
2.30.0
- Add promotions array to response endpoint :
/orgs/{org_id}/commercial_devices/sellable - Add new LoadType
mandatory_commercial_devices
2.29.0
- Remove values array from endpoint :
/orgs/{org_id}/commercial_devices/refinance
2.28.0
- Remove mandatory query param commercial_profile_name for endpoint
/orgs/{org_id}/devices
2.27.0
- Including new query params for endpoint
/orgs/{org_id}/bundled_products/{id}/bundled_product_subs_types/{subs_type_id}/bundled_commercial_productsnumeration_type_namesale_type_namecommercial_profile_nameinsured_amount- Including new query params for endpoint
/orgs/{org_id}/commercial_products/{id}/free_units_packagessale_type_name
- Including new query params for endpoint
/orgs/{org_id}/commercial_products/{id}/promotionscustomer_type_namesale_type_namenumeration_type_name
- Including new query params for endpoint
/orgs/{org_id}/bundled_commercial_products/{id}/promotionscustomer_type_namesale_type_namenumeration_type_name
2.26.0
- Include new substype
APPLEWATCH
2.25.0
- Including new query param
promotional_renewfor endpoint/orgs/{org_id}/commercial_devices/sellable
2.24.1
- Minor corrections to endpoint
/orgs/{org_id}/commercial_devices/refinancedescriptions
2.24.0
- New endpoint
/orgs/{org_id}/commercial_devices/refinanceto cover commercial device refinancing functionality
2.23.0
- Including ofc-manager endpoints
/manager/orgs/{org_id}/validationand/manager/orgs/{org_id}/execution/{load_id}
2.22.0
- Changes in endpoint
/orgs/{org_id}/bundled_products/{bundled_product_id}/bundled_commercial_products/{id}/can-switch- Include new query param
used_for_automatic_orphan_subscription_change - Fix response by creating new schema
BundledCommercialProductCanSwitch
- Include new query param
- Fix
BundledCommercialProduct,BundledCommercialProductDetailandBundledCommercialProductBasicschema by addinginvoice_namemissing attribute
2.21.1
- Include
external_idin BundledProductBasic_Response schema
2.21.0
- Add endpoint : /orgs/{org_id}/free_units_packages
- new value in
LoadSegmentschema
2.20.0
- Remove endpoint : /orgs/{org_id}/value_added_services/{id}/commercial_infos
2.19.0
- Add
in_catalogue_sinceandin_catalogue_untilfromCommercialDevice_device_Response - New schema
Device_Responsefor extended device characteristics - New values in schema `LoadType'
2.18.1
- Include
is_externalattribute inCommercialDevice_fees_ResponseyFeeInstallmentPlan_Response - Remove
in_catalogue_sinceandin_catalogue_untilfromCommercialDevice_device_Response
2.18.0
- Add new schema Terms_alone_Response
- Remove attributes
fromandtoin CommercialDevicesTerms_Response schema updating terms response
2.17.0
- New endpoint: /orgs/{org_id}/free_units_packages/{id}
- New attribute
event_typein FreeUnitsPackage_Response schema - Remove FreeUnitsPackageDetail schema
2.16.0
- Remove endpoint : /orgs/{org_id}/commercial_devices/{id}/commercial_infos
2.15.0
- Include new attibute used_for_automatic_orphan_subscription_change in BundledProductSubsType Schema
- New query params
used_for_automatic_changes- /orgs/{org_id}/bundled_products/{id}/can-switch (and
subs_removed) - /orgs/{org_id}/bundled_products/{id}/can-switch/{target_id}
- /orgs/{org_id}/bundled_products/{id}/can-switch (and
- New attribute
subs_removedin schema SwitchBundledProduct_Response - Include
payment_typein commercial_devices endpoints response, CommercialDevice and CommercialDeviceAlone schemas - New attribute
generic_code:- Include in CommercialDevice_device_Response Schema
- Include as query param in:
- /orgs/{org_id}/devices/sellable
- /orgs/{org_id}/devices
- /orgs/{org_id}/commercial_products/{id}/commercial_devices/sellable
- /orgs/{org_id}/bundled_commercial_products/{id}/commercial_devices/sellable
- /orgs/{org_id}/value_added_services/{id}/commercial_devices/sellable
- /orgs/{org_id}/commercial_devices/sellable
- New endpoint /orgs/{org_id}/bundled_products/{id}/bundled_commercial_products/can-migrate
- Include
sale_type_namequery param in:- /orgs/{org_id}/bundled_commercial_products/{id}/value_added_services
- /orgs/{org_id}/commercial_products/{id}/value_added_services
2.14.1
- Include new properties value and currency in Fee, Term and Promotion in CommercialDevice_fees_Response schema
- Remove unsed query param channel_name
- commercial_devices endpoints:
- new query params:
- payment_type
- device_category
- device_brand
- new query params:
- fix wrong query params in
- /orgs/{org_id}/bundled_products/{id}/promotions
- /orgs/{org_id}/bundled_products/{bp_id}/bundled_commercial_products/{bcp_id}/value_added_services/sellable
- /orgs/{org_id}/value_added_services/{id}/commercial_devices/sellable
- /orgs/{org_id}/bundled_commercial_products/{id}/value_added_services/sellable
- /orgs/{org_id}/commercial_products/{id}/value_added_services/sellable
- /orgs/{org_id}/bundled_products/{bp_id}/bundled_product_subs_types/{bpst_id}/bundled_commercial_products/{bcp_id}/value_added_services/sellable
- Replace Promotion_Response by PromotionDetail_Response schema
2.14.0
- Fix invoice_ name by invoice_name
- New endpoints:
- /orgs/{org_id}/base_profiles
- /orgs/{org_id}/base_profiles/{id}
- /orgs/{org_id}/base_profiles/{id}/services
- /orgs/{org_id}/subs_type
- /orgs/{org_id}/subs_type/{id}
- /orgs/{org_id}/territory_owners
- /orgs/{org_id}/territory_owners/{id}
2.13.7
- Include 'Fixed+Broadband+Mobile+Netflix' in BundleCategory and BundleCategory_Response schemas
- Include 'NETFLIX' in SubsTypeName and SubsTypeName_Response
- Remove query param restricted_to_user_profile
- Include internet_speed attribute in BundledProductBasic_Response Schema
- Include query params in /orgs/{org_id}/value_added_services/{id}/promotions
2.13.6
- Commercial profile endpoints:
- /orgs/{org_id}/commercial_profiles
- /orgs/{org_id}/commercial_profiles/{com_profile_id}/commercial_products
- /orgs/{org_id}/commercial_profiles/{com_profile_id}/free_units_packages
- /orgs/{org_id}/commercial_profiles/{com_profile_id}/bundled_products
- /orgs/{org_id}/commercial_profiles/{com_profile_id}/promotions
- Endpoint /{org_id}/promotions/sellable include query param commercial_profile_name and remove unused query param channel_name
- Endpoint /orgs/{org_id}/bundled_commercial_products/{id}/commercial_devices/sellable remove channels in response
schema and remove query params
- channel_name unused
- renewal_category not sense in this endpoint
- subs_offer_segment not sense in this endpoint
- Endpoint /{org_id}/commercial_devices/sellable remove channels in response schema
- Endpoint /{org_id}/commercial_products/{id}/commercial_devices/sellable remove query params
- channel_name unused
- renewal_category not sense in this endpoint
- subs_offer_segment not sense in this endpoint
2.13.5
- Adapt error codes from int to string due to openapi version update
2.13.4
- Include new property internet_speed in following schemas:
- BundledProduct_Response
- BaseProfile
2.13.3
- Remove query param restricted_to_user_profile for the /orgs/{org_id}/bundled_products/{id}/can-switch endpoint
- Remove query param include_optional_bundled_commercial_products for the /orgs/{org_id}/bundled_products/sellable endpoint
2.13.2
- Fix /orgs/{org_id}/devices:
- add mandatory query param commercial_profile_name
- Fix /orgs/{org_id}/devices/sellable:
- add mandatory query param commercial_profile_name
2.13.1
- Change CommercialDevice_fees_Response by remove type
2.13.0
- Include new properties value and currency in Fee, Term and Promotion
- Include TransactionType in commercialDevice fee and term response
- New endpoints
- /orgs/{org_id}/commercial_products/sellable
- /orgs/{org_id}/bundled_products/sellable
- /orgs/{org_id}/devices/sellable
- /orgs/{org_id}/devices/{id}
- /orgs/{org_id}/devices
- /orgs/{org_id}/transaction_types/{id}
- /orgs/{org_id}/bundled_products/{bp_id}/bundled_commercial_products/{bcp_id}/value_added_services/sellable
- /orgs/{org_id}/bundled_products/{bp_id}/bundled_product_subs_types/{bpst_id}/bundled_commercial_products/{bcp_id}/value_added_services/sellable
2.12.2
- Define getCommercialProducts and getCommercialProductsCanSwitch operationId
2.12.1
- Fix /orgs/{org_id}/bundled_products/{id}/bundled_product_subs_types/{subs_type_id}/bundled_commercial_products:
- remove optional query params
- create schema BundledCommercialProductBasic for its response
- Update DonorNumerationType_Response schema
2.12.0
- New subscription type DEVICEINSURANCE in SubsTypeName and SubsTypeName_Response schemas
- Include new query param 'insured_amount' in /orgs/{org_id}/bundled_products/{id}/bundled_product_subs_types/{subs_type_id}/bundled_commercial_products/sellable
2.11.2
- Fix postOFCupdates, defining request body instead of query param
- Change subs_offer_segment_name from enum to string
- Fix CommercialDevice Schema by changing donor_numeration_type_name by donor_numeration_types
- New CommercialDeviceAlone schema for /commercial_devices/sellable response removing from, to and is_mandatory properties
2.11.1
- Include body definition in POST /designer/orgs/{org_id}/catalogue_updates
2.11.0
- Include new endpoints for Designer service to request an update of commercial offer
- /designer/orgs/{org_id}/catalogue_updates
- /designer/orgs/{org_id}/catalogue_updates/{update_id}
- Include new SubsOfferSegment values
- Include insured_amount property in CommercialDevice
- Include Fee at bundled product level:
- /bundled_products
- /bundled_products/{id}
2.10.2
- Include new property 'available_networks' in BaseProfile_services schema
- Fix /commercial_devices/sellable:
- remove channel_name as query param not in use
- add commercial_profile_name as query param
2.10.1
- Fix subs_type as object in /commercial_products
2.10.0
- Fix to include from and to in ValueFT schema
- Fix CommercialProduct_SubsTypeName_Response schema
- Fix customer_offer_segment_name by subs_offer_segment_name, query param not in use by today
- New Schema InstallationType_Response included as optional in Commercial Devices Endpoints
- New endpoint /orgs/{org_id}/bundled_products/{id}/bundled_product_subs_types
- New endpoint /orgs/{org_id}/bundled_products/{id}/bundled_product_subs_types/{subs_type_id}/bundled_commercial_products
- New endpoint /orgs/{org_id}/bundled_products/{id}/bundled_product_subs_types/{subs_type_id}/bundled_commercial_products/{bcp_id}
2.9.1
- Fix remove is_recurring_package property from Change FreeUnitsPackage_free_units_package_template_Response to FreeUnitsPackage_Response and FreeUnitsPackageDetail
2.9.0
- New property commission_percentage in CommercialDevice_installment_plan schema
- fix response /orgs/{org_id}/promotions/{existent_promotion_id}/can-switch/{new_promotion_id}
2.8.0
- New value 'Cross Sell' in query param sale_type_name and new value in response to identify Cross Sell promotions, schema SaleTypeName SaleTypeName_Response
- Include commercial_profile_name as queryparam in request and in response
- New property 'duo_type' in BundledCommercialProductDetail and BundledCommercialProduct schema
2.7.0
- New commercial profile visibility functionality, implies:
- new query param commercial_profile_name
- /commercial_products
- /bundled_products
- /bundled_products/{id}/bundled_product_subs_types/{subs_type_id}/bundled_commercial_products/sellable
- /commercial_products/{id}/free_units_packages/sellable
- /bundled_products/{id}/can-switch
- /bundled_products/{id}/can-switch/{target_id}
- /bundled_products/{bundled_product_id}/bundled_commercial_products/{id}/can-switch
- /commercial_products/{id}/can-switch
- remove center and user query param (not in use)
- new query param commercial_profile_name
2.6.2
- Fix TransactionType schema changing transaction_type attribute values to Credit and Debit instead lowercase
2.6.1
- Include bundled_segment attribute in bundled_products node
- BundledProductBasic_Response
- BundledProduct_Response
- SwitchCommercialProduct_Response
2.6.0
- Include response codes information
- New endpoints:
- /orgs/{org_id}/transaction_types
- /orgs/{org_id}/promotions/id
- Include following attributes in promotions:
- xsell_permit
- reduced_fee_amount
- New query param donor_numeration_type_name to cover commercial devices definition for new subscriptions in following
endpoints:
- /orgs/{org_id}/bundled_commercial_products/{id}/commercial_devices/sellable
- /orgs/{org_id}/commercial_devices/sellable
2.5.0
- Fix BundledCommercialProduct Schema by adding Fee structure
- Tax definition functionality by creating TransactionType schema and include it in Fee, Terms and Promotion Response Schemas
- Compatibility promotions functionality new endpoint /orgs/{org_id}/promotions/{existent_promotion_id}/can-switch/{new_promotion_id}
2.4.0
- Filter FreeUnitsPackages by CommercialProfile
- new query param commercial_profile_name in endpoint /orgs/{org_id}/commercial_products/{id}/free_units_packages/sellable
- Include multilanguage invoice name and invoice description info in the following schemas:
- CommercialInfo
- CommercialProduct_Response
- CommercialProductBasic
- FreeUnitsPackageDetail
- FreeUnitsPackage_Response
- PromotionDetail_Response
- Promotion_Response
- ValueAddedService
- BundledProductBasic_Response
- BundledProduct_Response
- SwitchCommercialProduct_Response
- Fix schema type response in:
- /orgs/{org_id}/bundled_products/{id}/can-switch/{target_id}
- /orgs/{org_id}/commercial_products/{id}/free_units_packages/{fup_id}
2.3.1
- DataSharing funcionality:
- include sharing_compatible in FreeUnitsPackageDetail
2.3.0
- DataSharing funcionality
- new endpoint /orgs/{org_id}/commercial_products/{id}/free_units_packages/{fup_id}
- add SubsTypeName_Response
- new value in SubsTypeName
- Adopt API Conventions
- change all enum in responses to x-extensible-enum to allow new values in future
2.2.4
- Fix is_recurring_package instead of isRecurringPackage in FreeUnitsPackage_free_units_package_template schema
- BaseProfile_services schema:
- mantain default_initial_status
- remove masbarring_code
2.2.3
- Update Designer endpoint including /designer prefix
- Update CommercialDevice_installment_plan schema including:
- tin
- tae
- commission
- Modifiy /orgs/{org_id}/commercial_products/{id}/base_profiles to include more info in the services schema
BaseProfile_services
- remove default_initial_status
- add:
- network_code
- masbarring_code
- is_changeable
- Modify CommercialDevice_device schema by adding image_url property
2.2.1
- Update FUP endpoints to cover rating requirements
- change event_type enum to english
- remove FreeUnitsPackageDetail_free_units_package_template schema
2.2.0
- Update FUP endpoints to cover rating requirements
- Include new logic to populate applicability_rule attribute
- Remove following attributes from free units package template:
- recurrence_scheme
- recurrence_interval_type
- recurrence_interval_value
- prorated
- carry_over
- New endpoint /orgs/{org_id}/commercial_devices/terms/sellable
2.1.3
- Change query enum to schema
- RenewalCategory
- TechnologyName
- Designer Endpoints Updated
- Include new response in execution
- Include format and example for validation_requested_date and execution_requested_date
- Include url_file example
- LoadType schema changed
2.1.2
- Change query enum to schema
2.1.1
- Updated information, no code impact: change BaseProfile_services speed attribute from number to string
Release and compatibility
- Deprecations for current versions whenever a new version is announced is 6 months.
- After 6 months, the deprecated version will no longer be supported but will remain accessible for at least 1 year.
- Our APIs will allow requests only from two versions simultaneously, however we won't support the older of the two.
- All enum in responses are define as x-extensible-enum, it means they all are susceptible to increase values.
Version criteria
{MAJOR}.{MINOR}.{PATCH}
{MAJOR}implies uncompatible changes with the previous{MAJOR}version and also set{MINOR}to0{MINOR}implies new functionalities or information compatible with previous version and set{PATCH}to0{PATCH}implies bug fixes compatible with previous version
Commercial Products
Get commercial product
/orgs /{org_id} /commercial_products /{id} Authenticated with a bearer token in the Authorization header Authentication
Returns basic commercial product info for a commercial product id, including marketing name, billing type and fees applicable to the commercial product when this is sold as a standalone product.
Path parameters
org_idstringRequiredorganization name
idstringRequiredcommercial product identifier
Responses
Commercial product
-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
mysim_commercial_product_idstringinternal id used within MySim
-
data_sharing_compatibleboolean -
penalty_referencenumber (double)it is the reference price of the fee to take in account when a penalty is applied to the terminal
-
min_devicesintegerMinimum number of devices that must be purchased for this tariff.
-
max_devicesintegerMaximum number of devices that can be purchased for this tariff.
-
max_concurrent_viewsintegerMaximum number of concurrent views allowed for the TV tariff.
-
insurance_typestringType of insurance product. Possible values:
- GLOBAL
- MULTIMEDIA
- null: When CommercialProduct is not a Zurich insurance tariff
-
billing_typeobject-
idstring -
namestring -
descriptionstring
-
-
subs_typeobject-
namestringsubscription type name
-
descriptionstringsubscription type description
-
idstringsubscription type id
-
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Commercial Products
Get commercial products
/orgs /{org_id} /commercial_products Authenticated with a bearer token in the Authorization header Authentication
Returns an array of standalone commercial products based on input criteria. Includes details for each commercial product about the marketing name, fees, mandatory free units packages included within the product and mandatory promotions applicable for the product.
Path parameters
org_idstringRequiredorganization name
Query parameters
commercial_profile_namestringcommercial profile name
commercial_segment_namestringcommercial segment name (SME (SmallMediumEnterprise) or Consumer)
customer_type_namestringcustomer type name
subs_type_namestringsubscription type name
Show 21 valuesHide 21 values
PRE-PAGOPOST-PAGOINTERNET FTTHFIJO ANALOGICOFIJO DIGITALINTERNET ADSLAGILE TVENERGYSECURITYDATA_SHARINGMULTISIMHEALTHDEVICEINSURANCENETFLIXAPPLEWATCHAMAZONPRIMEMAXTVORANGE_TV_LIBREDISNEYAGILETV
billing_type_namestringbilling type name
numeration_type_namestringnumeration type name
sale_type_namestringsale type name
Responses
Commercial products
-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
mysim_commercial_product_idstringinternal id used within MySim
-
data_sharing_compatibleboolean -
penalty_referencenumber (double)it is the reference price of the fee to take in account when a penalty is applied to the terminal
-
min_devicesintegerMinimum number of devices that must be purchased for this tariff.
-
max_devicesintegerMaximum number of devices that can be purchased for this tariff.
-
max_concurrent_viewsintegerMaximum number of concurrent views allowed for the TV tariff.
-
insurance_typestringType of insurance product. Possible values:
- GLOBAL
- MULTIMEDIA
- null: When CommercialProduct is not a Zurich insurance tariff
-
free_units_packagesobject[]-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
mysim_free_units_package_idstringinternal id used within Mysim, null for 'dummy' unlimited voice free units packages
-
unit_amountnumber (int64)amount of units granted within the package.Currently, the unit type is always the same depending on the event type. VOZ (secs), DATOS (bytes), SMS (SMS)
-
volume_home_sl0number (int64)Data volume in bytes navigable at maximum speed
-
volume_home_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps)
-
volume_rlah_sl0number (int64)Data volume in bytes navigable at maximum speed with roaming like at home
-
volume_rlah_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps) with roaming like at home
-
volume_nr_sl0number (int64)Data volume in bytes navigable at maximum speed with national roaming
-
volume_nr_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps) with national roaming
-
event_typestring -
unlimitedbooleanindicates if the free units is sold as an unlimited package
-
max_grantsnumber (int32)maximum number of grants before the free units package expires (the maxGrants value never includes the first grant period. This means that a free units package with NRTIMES = 11 that is activated on 15/01/2020 will be active until 31/12/2020). Zero for recurring packages with no limit. In this case the package will expire when being explicitly deactivated. Null for one time packages
-
is_recurring_packagebooleanindicates if the free units package is a periodical package. Currently, if it is periodical, monthly schedule will be assigned
-
applicability_prioritynumber (int32)priority of the free units package when consuming
-
used_for_policy_rule_changebooleanindicates if the free units package is used for policy rules changes (for changing the download speed when limits are reached)
-
categorystring -
sharing_compatibleboolean -
free_units_package_templateobject-
idstring -
event_typestring -
applicability_rulestringapplicability rule for the free units package. Defines when the free units of the package can be consumed. Currently, this is always based on the packageType. Therefore, the only value allowed for now will be ‘ByEventTypeOriginDestination’
-
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject -
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
promotionsobject[]-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
need_promotion_codebooleanboolean to indicate if the promotion requires capturing a code for being applied
-
need_existent_MSISDNbooleanboolean to indicate if the promotion requires an existent MSISDN (i,e for M2M campaign)
-
applicability_modelstringit defines how the promotion is applied in terms of calculation phase and application model. FeeGeneraton (for promotions that should be applied when generating one time or recurring fees), Billing (for promotions that should be applied during billing phase),
-
restrictions_applicability_rulestringrule used for obtaining the discount value (% value or fixed value) or top-up amount to be applied. Not used currently because the discount value (% value or fixed value) is fixed, not dependent on restrictions
-
target_applicability_rulestringrule used for determining the charges on which the discount is applied. PreviousInvoiceTotalAmount (used for Billing discounts that must be applied to the previous invoice total amount), CurrentInvoiceTotalAmount (used for Billing discounts that must be applied to the current invoice total amount), FeeSubtype (discounts that must be applied to fees with specific subtype)
-
fee_subtypesstringused for promotions with targetApplicabilityRule = FeeSubType, for indicating fee subtypes to which the promotion must be applied
-
calculation_modelstringused for obtaining the discount % value/fixed value/top-up amount to be applied. Flat (fixed %/fixed discount value/top-up amount), Bulk (%/fixed discount value/top-up amount depends on the total amount of restrictions. Currently not used)
-
discount_typestringit defines if the discount value is a % or a fixed amount
-
durationnumber (int32)promotion duration indicated in number of months
-
unlimited_durationbooleanUsed to indicate if the promotion is valid for an unlimited period of time
-
keep_on_upgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a higher cost
-
keep_on_downgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a lower cost
-
prioritynumber (int32)promotion applicability priority (lower value = higher priority). Currently always 1
-
is_mandatoryboolean -
xsell_permitboolean -
reduced_fee_amountboolean -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
fromstring (date-time)date when the promotion starts to be included within the commercial profile
-
tostring (date-time)date when the promotion starts to be included within the commercial profile
-
skip_first_periodbooleanit indicates if the first period of billing is skipped
-
reduce_penalty_thresholdbooleanit indicates if the reference value has to be decreased
-
type_groupstringGroup classification of the promotion type. Use this field to identify bundle promotions.
-
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)
-
OTHER: Any other promotion type
-
-
category_namestringname to define the promotion category
-
type_namestringname to define the promotion type
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject -
binding_type_idstring
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]sale types for which this promotion is available
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
-
base_profilesobject[]-
idstring -
namestring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
network_idstringnetwork that can be used for provisioning the free units package (decision on which network to be used is out of catalogue domain, catalogue configuration will consider all possible networks)
-
network_provisioning_idstringid used for provisioning the free units package within the correspondent network
-
offer_idstringadditional value required for provisioning prepaid free units packages within Yoigo network (networkId=2). Not used for networkId=1
-
charging_idstringadditional value required for provisioning prepaid free units packages within Yoigo network (networkId=2). Not used for networkId=1
-
expire_with_tariffbooleanboolean additional value required for provisioning prepaid free units packages within Yoigo network (networkId=2). Not used for networkId=1
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
fromstring (date-time)date when the free units package starts to be included within the commercial product
-
tostring (date-time)date when the free units package is no longer included within the commercial product
-
is_mandatorybooleanindicates if the free units package is mandatory with the commercial product
-
is_mandatory_optionalbooleanindicates if the free units package is one of those that require at least one package to be selected with the commercial product
-
is_mandatory_for_salebooleanindicates if the free units package is mandatory with the commercial product during sale, but not for migration (commercial product change)
-
-
promotionsobject[]-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
need_promotion_codebooleanboolean to indicate if the promotion requires capturing a code for being applied
-
need_existent_MSISDNbooleanboolean to indicate if the promotion requires an existent MSISDN (i,e for M2M campaign)
-
applicability_modelstringit defines how the promotion is applied in terms of calculation phase and application model. FeeGeneraton (for promotions that should be applied when generating one time or recurring fees), Billing (for promotions that should be applied during billing phase),
-
restrictions_applicability_rulestringrule used for obtaining the discount value (% value or fixed value) or top-up amount to be applied. Not used currently because the discount value (% value or fixed value) is fixed, not dependent on restrictions
-
target_applicability_rulestringrule used for determining the charges on which the discount is applied. PreviousInvoiceTotalAmount (used for Billing discounts that must be applied to the previous invoice total amount), CurrentInvoiceTotalAmount (used for Billing discounts that must be applied to the current invoice total amount), FeeSubtype (discounts that must be applied to fees with specific subtype)
-
fee_subtypesstringused for promotions with targetApplicabilityRule = FeeSubType, for indicating fee subtypes to which the promotion must be applied
-
calculation_modelstringused for obtaining the discount % value/fixed value/top-up amount to be applied. Flat (fixed %/fixed discount value/top-up amount), Bulk (%/fixed discount value/top-up amount depends on the total amount of restrictions. Currently not used)
-
discount_typestringit defines if the discount value is a % or a fixed amount
-
durationnumber (int32)promotion duration indicated in number of months
-
unlimited_durationbooleanUsed to indicate if the promotion is valid for an unlimited period of time
-
keep_on_upgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a higher cost
-
keep_on_downgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a lower cost
-
prioritynumber (int32)promotion applicability priority (lower value = higher priority). Currently always 1
-
is_mandatoryboolean -
xsell_permitboolean -
reduced_fee_amountboolean -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
fromstring (date-time)date when the promotion starts to be included within the commercial profile
-
tostring (date-time)date when the promotion starts to be included within the commercial profile
-
skip_first_periodbooleanit indicates if the first period of billing is skipped
-
reduce_penalty_thresholdbooleanit indicates if the reference value has to be decreased
-
type_groupstringGroup classification of the promotion type. Use this field to identify bundle promotions.
-
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)
-
OTHER: Any other promotion type
-
-
category_namestringname to define the promotion category
-
type_namestringname to define the promotion type
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
binding_type_idstring
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]sale types for which this promotion is available
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
subs_typeobject-
namestringsubscription type name
-
descriptionstringsubscription type description
-
idstringsubscription type id
-
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Commercial Products
Get sellable commercial products
/orgs /{org_id} /commercial_products /sellable Authenticated with a bearer token in the Authorization header Authentication
Returns an array of sellable standalone commercial products based on input criteria. Includes details for each commercial product about the marketing name, fees, mandatory free units packages included within the product and mandatory promotions applicable for the product.
Path parameters
org_idstringRequiredorganization name
Query parameters
commercial_profile_namestringcommercial profile name
commercial_segment_namestringcommercial segment name (SME (SmallMediumEnterprise) or Consumer)
customer_type_namestringcustomer type name
subs_type_namestringsubscription type name
Show 21 valuesHide 21 values
PRE-PAGOPOST-PAGOINTERNET FTTHFIJO ANALOGICOFIJO DIGITALINTERNET ADSLAGILE TVENERGYSECURITYDATA_SHARINGMULTISIMHEALTHDEVICEINSURANCENETFLIXAPPLEWATCHAMAZONPRIMEMAXTVORANGE_TV_LIBREDISNEYAGILETV
billing_type_namestringbilling type name
numeration_type_namestringnumeration type name
sale_type_namestringsale type name
Responses
Commercial products
-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
mysim_commercial_product_idstringinternal id used within MySim
-
data_sharing_compatibleboolean -
penalty_referencenumber (double)it is the reference price of the fee to take in account when a penalty is applied to the terminal
-
min_devicesintegerMinimum number of devices that must be purchased for this tariff.
-
max_devicesintegerMaximum number of devices that can be purchased for this tariff.
-
max_concurrent_viewsintegerMaximum number of concurrent views allowed for the TV tariff.
-
insurance_typestringType of insurance product. Possible values:
- GLOBAL
- MULTIMEDIA
- null: When CommercialProduct is not a Zurich insurance tariff
-
free_units_packagesobject[]-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
mysim_free_units_package_idstringinternal id used within Mysim, null for 'dummy' unlimited voice free units packages
-
unit_amountnumber (int64)amount of units granted within the package.Currently, the unit type is always the same depending on the event type. VOZ (secs), DATOS (bytes), SMS (SMS)
-
volume_home_sl0number (int64)Data volume in bytes navigable at maximum speed
-
volume_home_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps)
-
volume_rlah_sl0number (int64)Data volume in bytes navigable at maximum speed with roaming like at home
-
volume_rlah_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps) with roaming like at home
-
volume_nr_sl0number (int64)Data volume in bytes navigable at maximum speed with national roaming
-
volume_nr_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps) with national roaming
-
event_typestring -
unlimitedbooleanindicates if the free units is sold as an unlimited package
-
max_grantsnumber (int32)maximum number of grants before the free units package expires (the maxGrants value never includes the first grant period. This means that a free units package with NRTIMES = 11 that is activated on 15/01/2020 will be active until 31/12/2020). Zero for recurring packages with no limit. In this case the package will expire when being explicitly deactivated. Null for one time packages
-
is_recurring_packagebooleanindicates if the free units package is a periodical package. Currently, if it is periodical, monthly schedule will be assigned
-
applicability_prioritynumber (int32)priority of the free units package when consuming
-
used_for_policy_rule_changebooleanindicates if the free units package is used for policy rules changes (for changing the download speed when limits are reached)
-
categorystring -
sharing_compatibleboolean -
free_units_package_templateobject-
idstring -
event_typestring -
applicability_rulestringapplicability rule for the free units package. Defines when the free units of the package can be consumed. Currently, this is always based on the packageType. Therefore, the only value allowed for now will be ‘ByEventTypeOriginDestination’
-
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject -
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
promotionsobject[]-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
need_promotion_codebooleanboolean to indicate if the promotion requires capturing a code for being applied
-
need_existent_MSISDNbooleanboolean to indicate if the promotion requires an existent MSISDN (i,e for M2M campaign)
-
applicability_modelstringit defines how the promotion is applied in terms of calculation phase and application model. FeeGeneraton (for promotions that should be applied when generating one time or recurring fees), Billing (for promotions that should be applied during billing phase),
-
restrictions_applicability_rulestringrule used for obtaining the discount value (% value or fixed value) or top-up amount to be applied. Not used currently because the discount value (% value or fixed value) is fixed, not dependent on restrictions
-
target_applicability_rulestringrule used for determining the charges on which the discount is applied. PreviousInvoiceTotalAmount (used for Billing discounts that must be applied to the previous invoice total amount), CurrentInvoiceTotalAmount (used for Billing discounts that must be applied to the current invoice total amount), FeeSubtype (discounts that must be applied to fees with specific subtype)
-
fee_subtypesstringused for promotions with targetApplicabilityRule = FeeSubType, for indicating fee subtypes to which the promotion must be applied
-
calculation_modelstringused for obtaining the discount % value/fixed value/top-up amount to be applied. Flat (fixed %/fixed discount value/top-up amount), Bulk (%/fixed discount value/top-up amount depends on the total amount of restrictions. Currently not used)
-
discount_typestringit defines if the discount value is a % or a fixed amount
-
durationnumber (int32)promotion duration indicated in number of months
-
unlimited_durationbooleanUsed to indicate if the promotion is valid for an unlimited period of time
-
keep_on_upgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a higher cost
-
keep_on_downgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a lower cost
-
prioritynumber (int32)promotion applicability priority (lower value = higher priority). Currently always 1
-
is_mandatoryboolean -
xsell_permitboolean -
reduced_fee_amountboolean -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
fromstring (date-time)date when the promotion starts to be included within the commercial profile
-
tostring (date-time)date when the promotion starts to be included within the commercial profile
-
skip_first_periodbooleanit indicates if the first period of billing is skipped
-
reduce_penalty_thresholdbooleanit indicates if the reference value has to be decreased
-
type_groupstringGroup classification of the promotion type. Use this field to identify bundle promotions.
-
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)
-
OTHER: Any other promotion type
-
-
category_namestringname to define the promotion category
-
type_namestringname to define the promotion type
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject -
binding_type_idstring
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]sale types for which this promotion is available
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
-
base_profilesobject[]-
idstring -
namestring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
network_idstringnetwork that can be used for provisioning the free units package (decision on which network to be used is out of catalogue domain, catalogue configuration will consider all possible networks)
-
network_provisioning_idstringid used for provisioning the free units package within the correspondent network
-
offer_idstringadditional value required for provisioning prepaid free units packages within Yoigo network (networkId=2). Not used for networkId=1
-
charging_idstringadditional value required for provisioning prepaid free units packages within Yoigo network (networkId=2). Not used for networkId=1
-
expire_with_tariffbooleanboolean additional value required for provisioning prepaid free units packages within Yoigo network (networkId=2). Not used for networkId=1
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
fromstring (date-time)date when the free units package starts to be included within the commercial product
-
tostring (date-time)date when the free units package is no longer included within the commercial product
-
is_mandatorybooleanindicates if the free units package is mandatory with the commercial product
-
is_mandatory_optionalbooleanindicates if the free units package is one of those that require at least one package to be selected with the commercial product
-
is_mandatory_for_salebooleanindicates if the free units package is mandatory with the commercial product during sale, but not for migration (commercial product change)
-
-
promotionsobject[]-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
need_promotion_codebooleanboolean to indicate if the promotion requires capturing a code for being applied
-
need_existent_MSISDNbooleanboolean to indicate if the promotion requires an existent MSISDN (i,e for M2M campaign)
-
applicability_modelstringit defines how the promotion is applied in terms of calculation phase and application model. FeeGeneraton (for promotions that should be applied when generating one time or recurring fees), Billing (for promotions that should be applied during billing phase),
-
restrictions_applicability_rulestringrule used for obtaining the discount value (% value or fixed value) or top-up amount to be applied. Not used currently because the discount value (% value or fixed value) is fixed, not dependent on restrictions
-
target_applicability_rulestringrule used for determining the charges on which the discount is applied. PreviousInvoiceTotalAmount (used for Billing discounts that must be applied to the previous invoice total amount), CurrentInvoiceTotalAmount (used for Billing discounts that must be applied to the current invoice total amount), FeeSubtype (discounts that must be applied to fees with specific subtype)
-
fee_subtypesstringused for promotions with targetApplicabilityRule = FeeSubType, for indicating fee subtypes to which the promotion must be applied
-
calculation_modelstringused for obtaining the discount % value/fixed value/top-up amount to be applied. Flat (fixed %/fixed discount value/top-up amount), Bulk (%/fixed discount value/top-up amount depends on the total amount of restrictions. Currently not used)
-
discount_typestringit defines if the discount value is a % or a fixed amount
-
durationnumber (int32)promotion duration indicated in number of months
-
unlimited_durationbooleanUsed to indicate if the promotion is valid for an unlimited period of time
-
keep_on_upgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a higher cost
-
keep_on_downgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a lower cost
-
prioritynumber (int32)promotion applicability priority (lower value = higher priority). Currently always 1
-
is_mandatoryboolean -
xsell_permitboolean -
reduced_fee_amountboolean -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
fromstring (date-time)date when the promotion starts to be included within the commercial profile
-
tostring (date-time)date when the promotion starts to be included within the commercial profile
-
skip_first_periodbooleanit indicates if the first period of billing is skipped
-
reduce_penalty_thresholdbooleanit indicates if the reference value has to be decreased
-
type_groupstringGroup classification of the promotion type. Use this field to identify bundle promotions.
-
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)
-
OTHER: Any other promotion type
-
-
category_namestringname to define the promotion category
-
type_namestringname to define the promotion type
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
binding_type_idstring
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]sale types for which this promotion is available
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
subs_typeobject-
namestringsubscription type name
-
descriptionstringsubscription type description
-
idstringsubscription type id
-
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Commercial Products
Get target commercial products
/orgs /{org_id} /commercial_products /{id} /can-switch Authenticated with a bearer token in the Authorization header Authentication
Returns an array of eligible commercial products to which a given commercial product id can be changed. Aimed to be used for retrieving allowed commercial product changes for a standalone subscription (which may be a standalone subscription from the beginning of the subscription life cycle or a subcription that has become orphan after a package partial deactivation). Includes details for each commercial product about the marketing name, fees, mandatory free units packages included within the product and mandatory promotions applicable for the product.
Path parameters
org_idstringRequiredorganization name
idstringRequiredcommercial product identifier
Query parameters
commercial_profile_namestringcommercial profile name
Responses
Commercial products
-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
mysim_commercial_product_idstringinternal id used within MySim
-
data_sharing_compatibleboolean -
penalty_referencenumber (double)it is the reference price of the fee to take in account when a penalty is applied to the terminal
-
min_devicesintegerMinimum number of devices that must be purchased for this tariff.
-
max_devicesintegerMaximum number of devices that can be purchased for this tariff.
-
max_concurrent_viewsintegerMaximum number of concurrent views allowed for the TV tariff.
-
insurance_typestringType of insurance product. Possible values:
- GLOBAL
- MULTIMEDIA
- null: When CommercialProduct is not a Zurich insurance tariff
-
free_units_packagesobject[]-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
mysim_free_units_package_idstringinternal id used within Mysim, null for 'dummy' unlimited voice free units packages
-
unit_amountnumber (int64)amount of units granted within the package.Currently, the unit type is always the same depending on the event type. VOZ (secs), DATOS (bytes), SMS (SMS)
-
volume_home_sl0number (int64)Data volume in bytes navigable at maximum speed
-
volume_home_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps)
-
volume_rlah_sl0number (int64)Data volume in bytes navigable at maximum speed with roaming like at home
-
volume_rlah_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps) with roaming like at home
-
volume_nr_sl0number (int64)Data volume in bytes navigable at maximum speed with national roaming
-
volume_nr_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps) with national roaming
-
event_typestring -
unlimitedbooleanindicates if the free units is sold as an unlimited package
-
max_grantsnumber (int32)maximum number of grants before the free units package expires (the maxGrants value never includes the first grant period. This means that a free units package with NRTIMES = 11 that is activated on 15/01/2020 will be active until 31/12/2020). Zero for recurring packages with no limit. In this case the package will expire when being explicitly deactivated. Null for one time packages
-
is_recurring_packagebooleanindicates if the free units package is a periodical package. Currently, if it is periodical, monthly schedule will be assigned
-
applicability_prioritynumber (int32)priority of the free units package when consuming
-
used_for_policy_rule_changebooleanindicates if the free units package is used for policy rules changes (for changing the download speed when limits are reached)
-
categorystring -
sharing_compatibleboolean -
free_units_package_templateobject-
idstring -
event_typestring -
applicability_rulestringapplicability rule for the free units package. Defines when the free units of the package can be consumed. Currently, this is always based on the packageType. Therefore, the only value allowed for now will be ‘ByEventTypeOriginDestination’
-
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject -
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
promotionsobject[]-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
need_promotion_codebooleanboolean to indicate if the promotion requires capturing a code for being applied
-
need_existent_MSISDNbooleanboolean to indicate if the promotion requires an existent MSISDN (i,e for M2M campaign)
-
applicability_modelstringit defines how the promotion is applied in terms of calculation phase and application model. FeeGeneraton (for promotions that should be applied when generating one time or recurring fees), Billing (for promotions that should be applied during billing phase),
-
restrictions_applicability_rulestringrule used for obtaining the discount value (% value or fixed value) or top-up amount to be applied. Not used currently because the discount value (% value or fixed value) is fixed, not dependent on restrictions
-
target_applicability_rulestringrule used for determining the charges on which the discount is applied. PreviousInvoiceTotalAmount (used for Billing discounts that must be applied to the previous invoice total amount), CurrentInvoiceTotalAmount (used for Billing discounts that must be applied to the current invoice total amount), FeeSubtype (discounts that must be applied to fees with specific subtype)
-
fee_subtypesstringused for promotions with targetApplicabilityRule = FeeSubType, for indicating fee subtypes to which the promotion must be applied
-
calculation_modelstringused for obtaining the discount % value/fixed value/top-up amount to be applied. Flat (fixed %/fixed discount value/top-up amount), Bulk (%/fixed discount value/top-up amount depends on the total amount of restrictions. Currently not used)
-
discount_typestringit defines if the discount value is a % or a fixed amount
-
durationnumber (int32)promotion duration indicated in number of months
-
unlimited_durationbooleanUsed to indicate if the promotion is valid for an unlimited period of time
-
keep_on_upgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a higher cost
-
keep_on_downgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a lower cost
-
prioritynumber (int32)promotion applicability priority (lower value = higher priority). Currently always 1
-
is_mandatoryboolean -
xsell_permitboolean -
reduced_fee_amountboolean -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
fromstring (date-time)date when the promotion starts to be included within the commercial profile
-
tostring (date-time)date when the promotion starts to be included within the commercial profile
-
skip_first_periodbooleanit indicates if the first period of billing is skipped
-
reduce_penalty_thresholdbooleanit indicates if the reference value has to be decreased
-
type_groupstringGroup classification of the promotion type. Use this field to identify bundle promotions.
-
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)
-
OTHER: Any other promotion type
-
-
category_namestringname to define the promotion category
-
type_namestringname to define the promotion type
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject -
binding_type_idstring
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]sale types for which this promotion is available
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
-
base_profilesobject[]-
idstring -
namestring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
network_idstringnetwork that can be used for provisioning the free units package (decision on which network to be used is out of catalogue domain, catalogue configuration will consider all possible networks)
-
network_provisioning_idstringid used for provisioning the free units package within the correspondent network
-
offer_idstringadditional value required for provisioning prepaid free units packages within Yoigo network (networkId=2). Not used for networkId=1
-
charging_idstringadditional value required for provisioning prepaid free units packages within Yoigo network (networkId=2). Not used for networkId=1
-
expire_with_tariffbooleanboolean additional value required for provisioning prepaid free units packages within Yoigo network (networkId=2). Not used for networkId=1
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
fromstring (date-time)date when the free units package starts to be included within the commercial product
-
tostring (date-time)date when the free units package is no longer included within the commercial product
-
is_mandatorybooleanindicates if the free units package is mandatory with the commercial product
-
is_mandatory_optionalbooleanindicates if the free units package is one of those that require at least one package to be selected with the commercial product
-
is_mandatory_for_salebooleanindicates if the free units package is mandatory with the commercial product during sale, but not for migration (commercial product change)
-
-
promotionsobject[]-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
need_promotion_codebooleanboolean to indicate if the promotion requires capturing a code for being applied
-
need_existent_MSISDNbooleanboolean to indicate if the promotion requires an existent MSISDN (i,e for M2M campaign)
-
applicability_modelstringit defines how the promotion is applied in terms of calculation phase and application model. FeeGeneraton (for promotions that should be applied when generating one time or recurring fees), Billing (for promotions that should be applied during billing phase),
-
restrictions_applicability_rulestringrule used for obtaining the discount value (% value or fixed value) or top-up amount to be applied. Not used currently because the discount value (% value or fixed value) is fixed, not dependent on restrictions
-
target_applicability_rulestringrule used for determining the charges on which the discount is applied. PreviousInvoiceTotalAmount (used for Billing discounts that must be applied to the previous invoice total amount), CurrentInvoiceTotalAmount (used for Billing discounts that must be applied to the current invoice total amount), FeeSubtype (discounts that must be applied to fees with specific subtype)
-
fee_subtypesstringused for promotions with targetApplicabilityRule = FeeSubType, for indicating fee subtypes to which the promotion must be applied
-
calculation_modelstringused for obtaining the discount % value/fixed value/top-up amount to be applied. Flat (fixed %/fixed discount value/top-up amount), Bulk (%/fixed discount value/top-up amount depends on the total amount of restrictions. Currently not used)
-
discount_typestringit defines if the discount value is a % or a fixed amount
-
durationnumber (int32)promotion duration indicated in number of months
-
unlimited_durationbooleanUsed to indicate if the promotion is valid for an unlimited period of time
-
keep_on_upgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a higher cost
-
keep_on_downgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a lower cost
-
prioritynumber (int32)promotion applicability priority (lower value = higher priority). Currently always 1
-
is_mandatoryboolean -
xsell_permitboolean -
reduced_fee_amountboolean -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
fromstring (date-time)date when the promotion starts to be included within the commercial profile
-
tostring (date-time)date when the promotion starts to be included within the commercial profile
-
skip_first_periodbooleanit indicates if the first period of billing is skipped
-
reduce_penalty_thresholdbooleanit indicates if the reference value has to be decreased
-
type_groupstringGroup classification of the promotion type. Use this field to identify bundle promotions.
-
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)
-
OTHER: Any other promotion type
-
-
category_namestringname to define the promotion category
-
type_namestringname to define the promotion type
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
binding_type_idstring
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]sale types for which this promotion is available
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
used_for_automatic_orphan_subscription_changebooleanindicates if the change is supposed to be used for automatic commercial product changes triggered when a subscription within a package becomes orphan (i.e after partial deactivation of fixed and broadband within a 3P package, the mobile subscription becomes orphan)
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Bundled Products
Get bundled product
/orgs /{org_id} /bundled_products /{id} Authenticated with a bearer token in the Authorization header Authentication
Returns basic bundled product info for a bundled product id, including marketing name, technology, territory owners and associated bundled product subscription types. For each bundled product subscription type, the related bundled commercial products are returned including the fees that are applicable for each bundled commercial product (which may be different than the fees applicable for the correspondent commercial product when it is sold as a standalone product).
Path parameters
org_idstringRequiredorganization name
idstringRequiredbundled product identifier
Responses
Bundled product
-
idstring -
namestring -
marketing_namestring -
external_idstringidentifies the product in external systems, so it is only informed in bundled with third party interactions, for example Netflix
-
digital_channels_namestringname used within digital channels
-
bundled_segmentstring -
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
categorystring -
category_idstring -
bundled_typestring -
download_speedstringused for filtering purpose within API consumers, fo bundled product with category (‘Fixed+Broadband' or ‘Fixed+Broadband+Mobile’ or 'Fixed+Broadband+Mobile+TV') and with technology = 2 (FTTH). Null for bundled products with category ((‘Fixed+Broadband' or ‘Fixed+Broadband+Mobile’ or 'Fixed+Broadband+Mobile+TV') and with technology = 1 (ADSL)) or bundled products with category ‘Fixed+Mobile’
-
upload_speedstringused for filtering purpose within API consumers, fo bundled product with category (‘Fixed+Broadband' or ‘Fixed+Broadband+Mobile’ or 'Fixed+Broadband+Mobile+TV') and with technology = 2 (FTTH). Null for bundled products with category ((‘Fixed+Broadband' or ‘Fixed+Broadband+Mobile’ or 'Fixed+Broadband+Mobile+TV') and with technology = 1 (ADSL)) or bundled products with category ‘Fixed+Mobile’
-
internet_speedstringcommercial speed to be shown to client, could be different than the down and upload provisioning speed, used for filtering purpose within API consumers, fo bundled product with category (‘Fixed+Broadband' or ‘Fixed+Broadband+Mobile’ or 'Fixed+Broadband+Mobile+TV') and with technology = 2 (FTTH). Null for bundled products with category ((‘Fixed+Broadband' or ‘Fixed+Broadband+Mobile’ or 'Fixed+Broadband+Mobile+TV') and with technology = 1 (ADSL)) or bundled products with category ‘Fixed+Mobile’
-
technologyobject-
idstring -
namestringit can be FIBRA or ADSL
-
-
territory_ownersobject[]array of territory owners where the bundled product services can be provisioned and the bundled product product can be purchased
-
idstring -
namestring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
fromstring (date-time) -
tostring (date-time) -
download_speedintegerreal download speed
-
upload_speedintegerreal upload speed
-
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
bundled_product_subs_typesobject[]array of subscription types included within the bundled products
-
idstring -
fromstring (date-time) -
tostring (date-time) -
min_quantitynumber (int32)number of minimum subscriptions that must be included within the bundled product for the correspondent subscription type
-
max_quantitynumber (int32)number of maximum subscriptions that can be included within the bundled product for the correspondent subscription type
-
is_mandatorybooleanindicates if the correspondent subscription type is mandatory within the bundled product
-
used_for_automatic_orphan_subscription_changebooleanboolean to indicate if the bundled commercial product change is available for manual or automatic changes.
-
subs_typeobject-
namestringsubscription type name
-
descriptionstringsubscription type description
-
idstringsubscription type id
-
-
min_main_linesinteger (int32)Minimum number of main line products that must be contracted when this subscription type is included in a bundle.
-
max_main_linesinteger (int32)Maximum number of main line products that can be contracted when this subscription type is included in a bundle.
-
bundled_commercial_productsobject[]array of bundled commercial produts included within the bundled product subscription type
-
idstring -
fromstring (date-time) -
tostring (date-time) -
is_mandatorybooleanindicates if the bundled commercial product is mandatory within the bundled product subscription type
-
is_main_linebooleanindicates if the bundled commercial product must be handled as main line within the bundled product
-
is_extrabooleanindicates if the bundled commercial product must be handed as an extra line within the bundled product
-
is_additionalbooleanindicates if the bundled commercial product must be handed as an additional line within the bundled product
-
is_bundledbooleanindicates if the bundled commercial product must be 'bundled' in invoice, contract and pre-contractual info.
-
duo_typestring -
max_quantitynumber (int32)max quantity of the correspondent bundled commercial product allowed for the specific bundled product subscription type
-
invoice_namestring -
commercial_productobject-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
mysim_commercial_product_idstringinternal id used within MySim
-
data_sharing_compatibleboolean -
penalty_referencenumber (double)it is the reference price of the fee to take in account when a penalty is applied to the terminal
-
min_devicesintegerMinimum number of devices that must be purchased for this tariff.
-
max_devicesintegerMaximum number of devices that can be purchased for this tariff.
-
max_concurrent_viewsintegerMaximum number of concurrent views allowed for the TV tariff.
-
insurance_typestringType of insurance product. Possible values:
- GLOBAL
- MULTIMEDIA
- null: When CommercialProduct is not a Zurich insurance tariff
-
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject -
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
-
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Bundled Products
Get bundled products
/orgs /{org_id} /bundled_products Authenticated with a bearer token in the Authorization header Authentication
Returns an array of bundled products based on input criteria, including the mandatory bundled commercial products for each bundled product (default behaviour returns only mandatory bundled commercial products. With additional boolean include_optional_bundled_commercial_products query param, optional ones can be returned too, with considerable impact on response time and response size). Provides details for each bundled commercial product about the marketing name, fees (which may be different than the fees applicable for the correspondent commercial product when it is sold as a standalone product), mandatory free units packages included within the bundled commercial product and mandatory promotions applicable for the bundle commercial product (which may be different than the promotions applicable for the correspondent commercial product when it is sold as a standalone product).
Path parameters
org_idstringRequiredorganization name
Query parameters
commercial_profile_namestringcommercial profile name
technology_namestringtechnology name
territory_owner_idstringterritory owner identifier
categorystringbundled product category
Show 9 valuesHide 9 values
MobileTVFixed+BroadbandFixed+MobileFixed+Broadband+MobileFixed+Broadband+TVFixed+Broadband+Mobile+NetflixFixed+Broadband+Mobile+TVFixed+Broadband+Mobile+TV+Netflix+Disney
commercial_segment_namestringcommercial segment name (SME (SmallMediumEnterprise) or Consumer)
customer_type_namestringcustomer type name
sale_type_namestringsale type name
include_optional_bundled_commercial_productsbooleanboolean to indicate if optional bundled commercial products details must be returned (not recommended). false by default
Responses
Bundled products
-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
bundled_segmentstring -
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
categorystring -
category_idstring -
bundled_typestring -
download_speedstringreal provisioning download speed, used for filtering purpose within API consumers, fo bundled product with category (‘Fixed+Broadband' or ‘Fixed+Broadband+Mobile’ or 'Fixed+Broadband+Mobile+TV') and with technology = 2 (FTTH). Null for bundled products with category ((‘Fixed+Broadband' or ‘Fixed+Broadband+Mobile’ or 'Fixed+Broadband+Mobile+TV') and with technology = 1 (ADSL)) or bundled products with category ‘Fixed+Mobile’
-
upload_speedstringreal provisioning upload speed, used for filtering purpose within API consumers, fo bundled product with category (‘Fixed+Broadband' or ‘Fixed+Broadband+Mobile’ or 'Fixed+Broadband+Mobile+TV') and with technology = 2 (FTTH). Null for bundled products with category ((‘Fixed+Broadband' or ‘Fixed+Broadband+Mobile’ or 'Fixed+Broadband+Mobile+TV') and with technology = 1 (ADSL)) or bundled products with category ‘Fixed+Mobile’
-
internet_speedstringcommercial speed to be shown to client, could be different than the down and upload provisioning speed, used for filtering purpose within API consumers, fo bundled product with category (‘Fixed+Broadband' or ‘Fixed+Broadband+Mobile’ or 'Fixed+Broadband+Mobile+TV') and with technology = 2 (FTTH). Null for bundled products with category ((‘Fixed+Broadband' or ‘Fixed+Broadband+Mobile’ or 'Fixed+Broadband+Mobile+TV') and with technology = 1 (ADSL)) or bundled products with category ‘Fixed+Mobile’
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
bundled_product_subs_typesobject[]array of subscription types included within the bundled products
-
idstring -
fromstring (date-time) -
tostring (date-time) -
min_quantitynumber (int32)number of minimum subscriptions that must be included within the bundled product for the correspondent subscription type
-
max_quantitynumber (int32)number of maximum subscriptions that can be included within the bundled product for the correspondent subscription type
-
is_mandatorybooleanindicates if the correspondent subscription type is mandatory within the bundled product
-
used_for_automatic_orphan_subscription_changebooleanboolean to indicate if the bundled commercial product change is available for manual or automatic changes.
-
subs_typeobject-
namestringsubscription type name
-
descriptionstringsubscription type description
-
idstringsubscription type id
-
-
min_main_linesinteger (int32)Minimum number of main line products that must be contracted when this subscription type is included in a bundle.
-
max_main_linesinteger (int32)Maximum number of main line products that can be contracted when this subscription type is included in a bundle.
-
bundled_commercial_productsobject[]array of bundled commercial produts included within the bundled product subscription type
-
idstring -
fromstring (date-time) -
tostring (date-time) -
is_mandatorybooleanindicates if the bundled commercial product is mandatory within the bundled product subscription type
-
is_main_linebooleanindicates if the bundled commercial product must be handled as main line within the bundled product
-
is_extrabooleanindicates if the bundled commercial product must be handed as an extra line within the bundled product
-
is_additionalbooleanindicates if the bundled commercial product must be handed as an additional line within the bundled product
-
is_bundledbooleanindicates if the bundled commercial product must be 'bundled' in invoice, contract and pre-contractual info.
-
duo_typestring -
max_quantitynumber (int32)max quantity of the correspondent bundled commercial product allowed for the specific bundled product subscription type
-
invoice_namestring -
commercial_productobject-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
mysim_commercial_product_idstringinternal id used within MySim
-
data_sharing_compatibleboolean -
penalty_referencenumber (double)it is the reference price of the fee to take in account when a penalty is applied to the terminal
-
min_devicesintegerMinimum number of devices that must be purchased for this tariff.
-
max_devicesintegerMaximum number of devices that can be purchased for this tariff.
-
max_concurrent_viewsintegerMaximum number of concurrent views allowed for the TV tariff.
-
insurance_typestringType of insurance product. Possible values:
- GLOBAL
- MULTIMEDIA
- null: When CommercialProduct is not a Zurich insurance tariff
-
free_units_packagesobject[] -
promotionsobject[] -
commercial_profilesobject[] -
feesobject[]
-
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[] -
transaction_typeobject
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
-
-
promotionsobject[]array of promotions compatible with the bundled product
-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
need_promotion_codebooleanboolean to indicate if the promotion requires capturing a code for being applied
-
need_existent_MSISDNbooleanboolean to indicate if the promotion requires an existent MSISDN (i,e for M2M campaign)
-
applicability_modelstringit defines how the promotion is applied in terms of calculation phase and application model. FeeGeneraton (for promotions that should be applied when generating one time or recurring fees), Billing (for promotions that should be applied during billing phase),
-
restrictions_applicability_rulestringrule used for obtaining the discount value (% value or fixed value) or top-up amount to be applied. Not used currently because the discount value (% value or fixed value) is fixed, not dependent on restrictions
-
target_applicability_rulestringrule used for determining the charges on which the discount is applied. PreviousInvoiceTotalAmount (used for Billing discounts that must be applied to the previous invoice total amount), CurrentInvoiceTotalAmount (used for Billing discounts that must be applied to the current invoice total amount), FeeSubtype (discounts that must be applied to fees with specific subtype)
-
fee_subtypesstringused for promotions with targetApplicabilityRule = FeeSubType, for indicating fee subtypes to which the promotion must be applied
-
calculation_modelstringused for obtaining the discount % value/fixed value/top-up amount to be applied. Flat (fixed %/fixed discount value/top-up amount), Bulk (%/fixed discount value/top-up amount depends on the total amount of restrictions. Currently not used)
-
discount_typestringit defines if the discount value is a % or a fixed amount
-
durationnumber (int32)promotion duration indicated in number of months
-
unlimited_durationbooleanUsed to indicate if the promotion is valid for an unlimited period of time
-
keep_on_upgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a higher cost
-
keep_on_downgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a lower cost
-
prioritynumber (int32)promotion applicability priority (lower value = higher priority). Currently always 1
-
is_mandatoryboolean -
xsell_permitboolean -
reduced_fee_amountboolean -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
fromstring (date-time)date when the promotion starts to be included within the commercial profile
-
tostring (date-time)date when the promotion starts to be included within the commercial profile
-
skip_first_periodbooleanit indicates if the first period of billing is skipped
-
reduce_penalty_thresholdbooleanit indicates if the reference value has to be decreased
-
type_groupstringGroup classification of the promotion type. Use this field to identify bundle promotions.
-
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)
-
OTHER: Any other promotion type
-
-
category_namestringname to define the promotion category
-
type_namestringname to define the promotion type
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
binding_type_idstring
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]sale types for which this promotion is available
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Bundled Products
Get sellable bundled products
/orgs /{org_id} /bundled_products /sellable Authenticated with a bearer token in the Authorization header Authentication
Returns an array of sellable bundled products based on input criteria, including the mandatory bundled commercial products for each bundled product (default behaviour returns only mandatory bundled commercial products. With additional boolean include_optional_bundled_commercial_products query param, optional ones can be returned too, with considerable impact on response time and response size). Provides details for each bundled commercial product about the marketing name, fees (which may be different than the fees applicable for the correspondent commercial product when it is sold as a standalone product), mandatory free units packages included within the bundled commercial product and mandatory promotions applicable for the bundle commercial product (which may be different than the promotions applicable for the correspondent commercial product when it is sold as a standalone product)
Path parameters
org_idstringRequiredorganization name
Query parameters
commercial_profile_namestringcommercial profile name
technology_namestringtechnology name
territory_owner_idstringterritory owner identifier
categorystringbundled product category
Show 9 valuesHide 9 values
MobileTVFixed+BroadbandFixed+MobileFixed+Broadband+MobileFixed+Broadband+TVFixed+Broadband+Mobile+NetflixFixed+Broadband+Mobile+TVFixed+Broadband+Mobile+TV+Netflix+Disney
commercial_segment_namestringcommercial segment name (SME (SmallMediumEnterprise) or Consumer)
customer_type_namestringcustomer type name
sale_type_namestringsale type name
Responses
Bundled products
-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
bundled_segmentstring -
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
categorystring -
category_idstring -
bundled_typestring -
download_speedstringreal provisioning download speed, used for filtering purpose within API consumers, fo bundled product with category (‘Fixed+Broadband' or ‘Fixed+Broadband+Mobile’ or 'Fixed+Broadband+Mobile+TV') and with technology = 2 (FTTH). Null for bundled products with category ((‘Fixed+Broadband' or ‘Fixed+Broadband+Mobile’ or 'Fixed+Broadband+Mobile+TV') and with technology = 1 (ADSL)) or bundled products with category ‘Fixed+Mobile’
-
upload_speedstringreal provisioning upload speed, used for filtering purpose within API consumers, fo bundled product with category (‘Fixed+Broadband' or ‘Fixed+Broadband+Mobile’ or 'Fixed+Broadband+Mobile+TV') and with technology = 2 (FTTH). Null for bundled products with category ((‘Fixed+Broadband' or ‘Fixed+Broadband+Mobile’ or 'Fixed+Broadband+Mobile+TV') and with technology = 1 (ADSL)) or bundled products with category ‘Fixed+Mobile’
-
internet_speedstringcommercial speed to be shown to client, could be different than the down and upload provisioning speed, used for filtering purpose within API consumers, fo bundled product with category (‘Fixed+Broadband' or ‘Fixed+Broadband+Mobile’ or 'Fixed+Broadband+Mobile+TV') and with technology = 2 (FTTH). Null for bundled products with category ((‘Fixed+Broadband' or ‘Fixed+Broadband+Mobile’ or 'Fixed+Broadband+Mobile+TV') and with technology = 1 (ADSL)) or bundled products with category ‘Fixed+Mobile’
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
bundled_product_subs_typesobject[]array of subscription types included within the bundled products
-
idstring -
fromstring (date-time) -
tostring (date-time) -
min_quantitynumber (int32)number of minimum subscriptions that must be included within the bundled product for the correspondent subscription type
-
max_quantitynumber (int32)number of maximum subscriptions that can be included within the bundled product for the correspondent subscription type
-
is_mandatorybooleanindicates if the correspondent subscription type is mandatory within the bundled product
-
used_for_automatic_orphan_subscription_changebooleanboolean to indicate if the bundled commercial product change is available for manual or automatic changes.
-
subs_typeobject-
namestringsubscription type name
-
descriptionstringsubscription type description
-
idstringsubscription type id
-
-
min_main_linesinteger (int32)Minimum number of main line products that must be contracted when this subscription type is included in a bundle.
-
max_main_linesinteger (int32)Maximum number of main line products that can be contracted when this subscription type is included in a bundle.
-
bundled_commercial_productsobject[]array of bundled commercial produts included within the bundled product subscription type
-
idstring -
fromstring (date-time) -
tostring (date-time) -
is_mandatorybooleanindicates if the bundled commercial product is mandatory within the bundled product subscription type
-
is_main_linebooleanindicates if the bundled commercial product must be handled as main line within the bundled product
-
is_extrabooleanindicates if the bundled commercial product must be handed as an extra line within the bundled product
-
is_additionalbooleanindicates if the bundled commercial product must be handed as an additional line within the bundled product
-
is_bundledbooleanindicates if the bundled commercial product must be 'bundled' in invoice, contract and pre-contractual info.
-
duo_typestring -
max_quantitynumber (int32)max quantity of the correspondent bundled commercial product allowed for the specific bundled product subscription type
-
invoice_namestring -
commercial_productobject-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
mysim_commercial_product_idstringinternal id used within MySim
-
data_sharing_compatibleboolean -
penalty_referencenumber (double)it is the reference price of the fee to take in account when a penalty is applied to the terminal
-
min_devicesintegerMinimum number of devices that must be purchased for this tariff.
-
max_devicesintegerMaximum number of devices that can be purchased for this tariff.
-
max_concurrent_viewsintegerMaximum number of concurrent views allowed for the TV tariff.
-
insurance_typestringType of insurance product. Possible values:
- GLOBAL
- MULTIMEDIA
- null: When CommercialProduct is not a Zurich insurance tariff
-
free_units_packagesobject[] -
promotionsobject[] -
commercial_profilesobject[] -
feesobject[]
-
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[] -
transaction_typeobject
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
-
-
promotionsobject[]array of promotions compatible with the bundled product
-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
need_promotion_codebooleanboolean to indicate if the promotion requires capturing a code for being applied
-
need_existent_MSISDNbooleanboolean to indicate if the promotion requires an existent MSISDN (i,e for M2M campaign)
-
applicability_modelstringit defines how the promotion is applied in terms of calculation phase and application model. FeeGeneraton (for promotions that should be applied when generating one time or recurring fees), Billing (for promotions that should be applied during billing phase),
-
restrictions_applicability_rulestringrule used for obtaining the discount value (% value or fixed value) or top-up amount to be applied. Not used currently because the discount value (% value or fixed value) is fixed, not dependent on restrictions
-
target_applicability_rulestringrule used for determining the charges on which the discount is applied. PreviousInvoiceTotalAmount (used for Billing discounts that must be applied to the previous invoice total amount), CurrentInvoiceTotalAmount (used for Billing discounts that must be applied to the current invoice total amount), FeeSubtype (discounts that must be applied to fees with specific subtype)
-
fee_subtypesstringused for promotions with targetApplicabilityRule = FeeSubType, for indicating fee subtypes to which the promotion must be applied
-
calculation_modelstringused for obtaining the discount % value/fixed value/top-up amount to be applied. Flat (fixed %/fixed discount value/top-up amount), Bulk (%/fixed discount value/top-up amount depends on the total amount of restrictions. Currently not used)
-
discount_typestringit defines if the discount value is a % or a fixed amount
-
durationnumber (int32)promotion duration indicated in number of months
-
unlimited_durationbooleanUsed to indicate if the promotion is valid for an unlimited period of time
-
keep_on_upgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a higher cost
-
keep_on_downgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a lower cost
-
prioritynumber (int32)promotion applicability priority (lower value = higher priority). Currently always 1
-
is_mandatoryboolean -
xsell_permitboolean -
reduced_fee_amountboolean -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
fromstring (date-time)date when the promotion starts to be included within the commercial profile
-
tostring (date-time)date when the promotion starts to be included within the commercial profile
-
skip_first_periodbooleanit indicates if the first period of billing is skipped
-
reduce_penalty_thresholdbooleanit indicates if the reference value has to be decreased
-
type_groupstringGroup classification of the promotion type. Use this field to identify bundle promotions.
-
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)
-
OTHER: Any other promotion type
-
-
category_namestringname to define the promotion category
-
type_namestringname to define the promotion type
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
binding_type_idstring
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]sale types for which this promotion is available
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Bundled Products
Get bundled product by commercial products
/orgs /{org_id} /migrations /bundled_products Authenticated with a bearer token in the Authorization header Authentication
Returns the only bundled product whose mandatory commercial products are exactly those in mandatory_commercial_product_ids and which includes, as optional ones, all those in optional_commercial_product_ids. Optional commercial products of the bundled product that are not received do not discard it. Validity dates are not taken into account, so it may return bundled products that are no longer in the catalogue. Aimed at customer migrations from stacks without bundles (RFM KRT). Returns 409 if more than one bundled product matches.
Path parameters
org_idstringRequiredorganization name
Query parameters
mandatory_commercial_product_idsinteger (int64)[]Requiredcomma-separated identifiers of the mandatory commercial products of the bundled product (1 to 6, no repeated values). The bundled product must have exactly these commercial products as mandatory ones
optional_commercial_product_idsinteger (int64)[]comma-separated identifiers of the optional commercial products that the bundled product must include (up to 50, no repeated values). Optional commercial products of the bundled product that are not received do not discard it
Responses
Bundled product
-
idstring -
namestring
Bad request
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Conflict
-
errorstring -
messagestring -
codestring
Bundled Products
Get bundled product subscription types included in the bundled product
/orgs /{org_id} /bundled_products /{id} /bundled_product_subs_types Authenticated with a bearer token in the Authorization header Authentication
Returns an array of bundled product subscription types included in the bundled product
Path parameters
org_idstringRequiredorganization name
idstringRequiredbundled product identifier
Query parameters
subs_type_namestringsubscription type name
Show 21 valuesHide 21 values
PRE-PAGOPOST-PAGOINTERNET FTTHFIJO ANALOGICOFIJO DIGITALINTERNET ADSLAGILE TVENERGYSECURITYDATA_SHARINGMULTISIMHEALTHDEVICEINSURANCENETFLIXAPPLEWATCHAMAZONPRIMEMAXTVORANGE_TV_LIBREDISNEYAGILETV
Responses
Bundled Product Subscription Type
-
idstring -
fromstring (date-time) -
tostring (date-time) -
min_quantitynumber (int32)number of minimum subscriptions that must be included within the bundled product for the correspondent subscription type
-
max_quantitynumber (int32)number of maximum subscriptions that can be included within the bundled product for the correspondent subscription type
-
is_mandatorybooleanindicates if the correspondent subscription type is mandatory within the bundled product
-
used_for_automatic_orphan_subscription_changebooleanboolean to indicate if the bundled commercial product change is available for manual or automatic changes.
-
subs_typeobject-
namestringsubscription type name
-
descriptionstringsubscription type description
-
idstringsubscription type id
-
-
min_main_linesinteger (int32)Minimum number of main line products that must be contracted when this subscription type is included in a bundle.
-
max_main_linesinteger (int32)Maximum number of main line products that can be contracted when this subscription type is included in a bundle.
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Bundled Products
Get target bundled products
/orgs /{org_id} /bundled_products /{id} /can-switch Authenticated with a bearer token in the Authorization header Authentication
Returns an array of eligible bundled products to which a given bundled product id can be changed. Aimed to be used for retrieving allowed bundled product changes for a package of subscriptions, required within different use cases, like package tariff change (with or without speed change), package tariff change together with a service address change, technology change, technology change together with a service address change, 2P → 3P/4P migration, 3P → 2P migration, 4P → 3P migration or 4P → 2P migration). With the used_for_address_relocation query param it also covers the address relocation use case, where the customer may keep their current package and no downsell may be offered: the response then leads with the origin bundled product itself. For each bundled product, response includes the mandatory bundled commercial products for (default behaviour returns only mandatory bundled commercial products. With additional boolean include_optional_bundled_commercial_products query param, optional ones can be returned too, with considerable impact on response time and response size). Provides details for each bundled commercial product about the marketing name, fees (which may be different than the fees applicable for the correspondent commercial product when it is sold as a standalone product), mandatory free units packages included within the bundled commercial product and mandatory promotions applicable for the bundle commercial product (which may be different than the promotions applicable for the correspondent commercial product when it is sold as a standalone product).
Path parameters
org_idstringRequiredorganization name
idstringRequiredbundled product identifier
Query parameters
technology_namestringtechnology name
territory_owner_idstringterritory owner identifier
categorystringbundled product category
Show 9 valuesHide 9 values
MobileTVFixed+BroadbandFixed+MobileFixed+Broadband+MobileFixed+Broadband+TVFixed+Broadband+Mobile+NetflixFixed+Broadband+Mobile+TVFixed+Broadband+Mobile+TV+Netflix+Disney
commercial_profile_namestringcommercial profile name
include_optional_bundled_commercial_productsbooleanboolean to indicate if optional bundled commercial products details must be returned (not recommended). false by default
used_for_automatic_changesbooleanboolean to indicate if the bundled product change is available for manual or automatic changes.
falseby default. Sale channels and customer apps must use alwaysfalse. Incompatible withused_for_address_relocation=true.subs_removedstringthis query param allows to filter by a particular bundled_product_subscription_type. Incompatible with
used_for_address_relocation=true.used_for_address_relocationbooleanboolean to indicate if the bundled product change is queried for an address relocation.
falseby default. Whentrue, the response also includes the origin bundled product, which the customer may keep, and excludes every downsell. Incompatible withused_for_automatic_changes=trueand asubs_removedvalue.
Responses
Bundled products
-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
bundled_segmentstring -
categorystring -
category_idstring -
bundled_typestring -
download_speedstringused for filtering purpose within API consumers, fo bundled product with category (‘Fixed+Broadband' or ‘Fixed+Broadband+Mobile’ or 'Fixed+Broadband+Mobile+TV') and with technology = 2 (FTTH). Null for bundled products with category ((‘Fixed+Broadband' or ‘Fixed+Broadband+Mobile’ or 'Fixed+Broadband+Mobile+TV') and with technology = 1 (ADSL)) or bundled products with category ‘Fixed+Mobile’
-
upload_speedstringused for filtering purpose within API consumers, fo bundled product with category (‘Fixed+Broadband' or ‘Fixed+Broadband+Mobile’ or 'Fixed+Broadband+Mobile+TV') and with technology = 2 (FTTH). Null for bundled products with category ((‘Fixed+Broadband' or ‘Fixed+Broadband+Mobile’ or 'Fixed+Broadband+Mobile+TV') and with technology = 1 (ADSL)) or bundled products with category ‘Fixed+Mobile’
-
bundled_product_subs_typesobject[]array of subscription types included within the bundled products
-
idstring -
fromstring (date-time) -
tostring (date-time) -
min_quantitynumber (int32)number of minimum subscriptions that must be included within the bundled product for the correspondent subscription type
-
max_quantitynumber (int32)number of maximum subscriptions that can be included within the bundled product for the correspondent subscription type
-
is_mandatorybooleanindicates if the correspondent subscription type is mandatory within the bundled product
-
used_for_automatic_orphan_subscription_changebooleanboolean to indicate if the bundled commercial product change is available for manual or automatic changes.
-
subs_typeobject-
namestringsubscription type name
-
descriptionstringsubscription type description
-
idstringsubscription type id
-
-
min_main_linesinteger (int32)Minimum number of main line products that must be contracted when this subscription type is included in a bundle.
-
max_main_linesinteger (int32)Maximum number of main line products that can be contracted when this subscription type is included in a bundle.
-
bundled_commercial_productsobject[]array of bundled commercial produts included within the bundled product subscription type
-
idstring -
fromstring (date-time) -
tostring (date-time) -
is_mandatorybooleanindicates if the bundled commercial product is mandatory within the bundled product subscription type
-
is_main_linebooleanindicates if the bundled commercial product must be handled as main line within the bundled product
-
is_extrabooleanindicates if the bundled commercial product must be handed as an extra line within the bundled product
-
is_additionalbooleanindicates if the bundled commercial product must be handed as an additional line within the bundled product
-
is_bundledbooleanindicates if the bundled commercial product must be 'bundled' in invoice, contract and pre-contractual info.
-
duo_typestring -
max_quantitynumber (int32)max quantity of the correspondent bundled commercial product allowed for the specific bundled product subscription type
-
invoice_namestring -
commercial_productobject-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
mysim_commercial_product_idstringinternal id used within MySim
-
data_sharing_compatibleboolean -
penalty_referencenumber (double)it is the reference price of the fee to take in account when a penalty is applied to the terminal
-
min_devicesintegerMinimum number of devices that must be purchased for this tariff.
-
max_devicesintegerMaximum number of devices that can be purchased for this tariff.
-
max_concurrent_viewsintegerMaximum number of concurrent views allowed for the TV tariff.
-
insurance_typestringType of insurance product. Possible values:
- GLOBAL
- MULTIMEDIA
- null: When CommercialProduct is not a Zurich insurance tariff
-
free_units_packagesobject[] -
promotionsobject[] -
commercial_profilesobject[] -
feesobject[]
-
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[] -
transaction_typeobject
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
-
-
promotionsobject[]array of promotions compatible with the bundled product
-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
need_promotion_codebooleanboolean to indicate if the promotion requires capturing a code for being applied
-
need_existent_MSISDNbooleanboolean to indicate if the promotion requires an existent MSISDN (i,e for M2M campaign)
-
applicability_modelstringit defines how the promotion is applied in terms of calculation phase and application model. FeeGeneraton (for promotions that should be applied when generating one time or recurring fees), Billing (for promotions that should be applied during billing phase),
-
restrictions_applicability_rulestringrule used for obtaining the discount value (% value or fixed value) or top-up amount to be applied. Not used currently because the discount value (% value or fixed value) is fixed, not dependent on restrictions
-
target_applicability_rulestringrule used for determining the charges on which the discount is applied. PreviousInvoiceTotalAmount (used for Billing discounts that must be applied to the previous invoice total amount), CurrentInvoiceTotalAmount (used for Billing discounts that must be applied to the current invoice total amount), FeeSubtype (discounts that must be applied to fees with specific subtype)
-
fee_subtypesstringused for promotions with targetApplicabilityRule = FeeSubType, for indicating fee subtypes to which the promotion must be applied
-
calculation_modelstringused for obtaining the discount % value/fixed value/top-up amount to be applied. Flat (fixed %/fixed discount value/top-up amount), Bulk (%/fixed discount value/top-up amount depends on the total amount of restrictions. Currently not used)
-
discount_typestringit defines if the discount value is a % or a fixed amount
-
durationnumber (int32)promotion duration indicated in number of months
-
unlimited_durationbooleanUsed to indicate if the promotion is valid for an unlimited period of time
-
keep_on_upgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a higher cost
-
keep_on_downgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a lower cost
-
prioritynumber (int32)promotion applicability priority (lower value = higher priority). Currently always 1
-
is_mandatoryboolean -
xsell_permitboolean -
reduced_fee_amountboolean -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
fromstring (date-time)date when the promotion starts to be included within the commercial profile
-
tostring (date-time)date when the promotion starts to be included within the commercial profile
-
skip_first_periodbooleanit indicates if the first period of billing is skipped
-
reduce_penalty_thresholdbooleanit indicates if the reference value has to be decreased
-
type_groupstringGroup classification of the promotion type. Use this field to identify bundle promotions.
-
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)
-
OTHER: Any other promotion type
-
-
category_namestringname to define the promotion category
-
type_namestringname to define the promotion type
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
binding_type_idstring
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]sale types for which this promotion is available
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
-
is_downsellbooleanindicates if the switch involves a 3P to 2P change or a 4P to 3P/2P change
-
used_for_automatic_changesbooleanindicates if the bundled product change is supposed to be used for changes that don’t require manual agent/customer intervention (i,e partial deactivations due to mobile portability processes)
-
involve_speed_changebooleanindicates if the switch involves a speed change
-
subs_removedstringbundled product subscription type id removed in the automatic change. Null if
used_for_automatic_changes= false -
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
Bad request
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Bundled Products
Get target bundled product
/orgs /{org_id} /bundled_products /{id} /can-switch /{target_id} Authenticated with a bearer token in the Authorization header Authentication
Returns the details of a target bundled product to which a given bundled product id can be changed. Aimed to be used for validating if a specific bundled product switch is valid and in that case retrieving the details of the target bundled product. It can be used in the context of different use cases, like package tariff change (with or without speed change), package tariff change together with a service address change, technology change, technology change together with a service address change, 2P->3P/4P migration, 3P → 2P migration, 4P → 3P migration or 4P → 2P migration).
Path parameters
org_idstringRequiredorganization name
target_idstringRequiredid of target bundled_product to switch
idstringRequiredbundled product identifier
Query parameters
territory_owner_idstringterritory owner identifier
commercial_profile_namestringcommercial profile name
include_optional_bundled_commercial_productsbooleanboolean to indicate if optional bundled commercial products details must be returned (not recommended). false by default
used_for_automatic_changesbooleanboolean to indicate if the bundled product change is available for manual or automatic changes.
falseby default. Sale channels and customer apps must use alwaysfalse. Incompatible withused_for_address_relocation=true.
Responses
Bundled products
-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
bundled_segmentstring -
categorystring -
category_idstring -
bundled_typestring -
download_speedstringused for filtering purpose within API consumers, fo bundled product with category (‘Fixed+Broadband' or ‘Fixed+Broadband+Mobile’ or 'Fixed+Broadband+Mobile+TV') and with technology = 2 (FTTH). Null for bundled products with category ((‘Fixed+Broadband' or ‘Fixed+Broadband+Mobile’ or 'Fixed+Broadband+Mobile+TV') and with technology = 1 (ADSL)) or bundled products with category ‘Fixed+Mobile’
-
upload_speedstringused for filtering purpose within API consumers, fo bundled product with category (‘Fixed+Broadband' or ‘Fixed+Broadband+Mobile’ or 'Fixed+Broadband+Mobile+TV') and with technology = 2 (FTTH). Null for bundled products with category ((‘Fixed+Broadband' or ‘Fixed+Broadband+Mobile’ or 'Fixed+Broadband+Mobile+TV') and with technology = 1 (ADSL)) or bundled products with category ‘Fixed+Mobile’
-
bundled_product_subs_typesobject[]array of subscription types included within the bundled products
-
idstring -
fromstring (date-time) -
tostring (date-time) -
min_quantitynumber (int32)number of minimum subscriptions that must be included within the bundled product for the correspondent subscription type
-
max_quantitynumber (int32)number of maximum subscriptions that can be included within the bundled product for the correspondent subscription type
-
is_mandatorybooleanindicates if the correspondent subscription type is mandatory within the bundled product
-
used_for_automatic_orphan_subscription_changebooleanboolean to indicate if the bundled commercial product change is available for manual or automatic changes.
-
subs_typeobject-
namestringsubscription type name
-
descriptionstringsubscription type description
-
idstringsubscription type id
-
-
min_main_linesinteger (int32)Minimum number of main line products that must be contracted when this subscription type is included in a bundle.
-
max_main_linesinteger (int32)Maximum number of main line products that can be contracted when this subscription type is included in a bundle.
-
bundled_commercial_productsobject[]array of bundled commercial produts included within the bundled product subscription type
-
idstring -
fromstring (date-time) -
tostring (date-time) -
is_mandatorybooleanindicates if the bundled commercial product is mandatory within the bundled product subscription type
-
is_main_linebooleanindicates if the bundled commercial product must be handled as main line within the bundled product
-
is_extrabooleanindicates if the bundled commercial product must be handed as an extra line within the bundled product
-
is_additionalbooleanindicates if the bundled commercial product must be handed as an additional line within the bundled product
-
is_bundledbooleanindicates if the bundled commercial product must be 'bundled' in invoice, contract and pre-contractual info.
-
duo_typestring -
max_quantitynumber (int32)max quantity of the correspondent bundled commercial product allowed for the specific bundled product subscription type
-
invoice_namestring -
commercial_productobject-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
mysim_commercial_product_idstringinternal id used within MySim
-
data_sharing_compatibleboolean -
penalty_referencenumber (double)it is the reference price of the fee to take in account when a penalty is applied to the terminal
-
min_devicesintegerMinimum number of devices that must be purchased for this tariff.
-
max_devicesintegerMaximum number of devices that can be purchased for this tariff.
-
max_concurrent_viewsintegerMaximum number of concurrent views allowed for the TV tariff.
-
insurance_typestringType of insurance product. Possible values:
- GLOBAL
- MULTIMEDIA
- null: When CommercialProduct is not a Zurich insurance tariff
-
free_units_packagesobject[]-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
mysim_free_units_package_idstringinternal id used within Mysim, null for 'dummy' unlimited voice free units packages
-
unit_amountnumber (int64)amount of units granted within the package.Currently, the unit type is always the same depending on the event type. VOZ (secs), DATOS (bytes), SMS (SMS)
-
volume_home_sl0number (int64)Data volume in bytes navigable at maximum speed
-
volume_home_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps)
-
volume_rlah_sl0number (int64)Data volume in bytes navigable at maximum speed with roaming like at home
-
volume_rlah_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps) with roaming like at home
-
volume_nr_sl0number (int64)Data volume in bytes navigable at maximum speed with national roaming
-
volume_nr_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps) with national roaming
-
event_typestring -
unlimitedbooleanindicates if the free units is sold as an unlimited package
-
max_grantsnumber (int32)maximum number of grants before the free units package expires (the maxGrants value never includes the first grant period. This means that a free units package with NRTIMES = 11 that is activated on 15/01/2020 will be active until 31/12/2020). Zero for recurring packages with no limit. In this case the package will expire when being explicitly deactivated. Null for one time packages
-
is_recurring_packagebooleanindicates if the free units package is a periodical package. Currently, if it is periodical, monthly schedule will be assigned
-
applicability_prioritynumber (int32)priority of the free units package when consuming
-
used_for_policy_rule_changebooleanindicates if the free units package is used for policy rules changes (for changing the download speed when limits are reached)
-
categorystring -
sharing_compatibleboolean -
free_units_package_templateobject -
feesobject[] -
promotionsobject[] -
base_profilesobject[] -
commercial_profilesobject[] -
fromstring (date-time)date when the free units package starts to be included within the commercial product
-
tostring (date-time)date when the free units package is no longer included within the commercial product
-
is_mandatorybooleanindicates if the free units package is mandatory with the commercial product
-
is_mandatory_optionalbooleanindicates if the free units package is one of those that require at least one package to be selected with the commercial product
-
is_mandatory_for_salebooleanindicates if the free units package is mandatory with the commercial product during sale, but not for migration (commercial product change)
-
-
promotionsobject[]-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
need_promotion_codebooleanboolean to indicate if the promotion requires capturing a code for being applied
-
need_existent_MSISDNbooleanboolean to indicate if the promotion requires an existent MSISDN (i,e for M2M campaign)
-
applicability_modelstringit defines how the promotion is applied in terms of calculation phase and application model. FeeGeneraton (for promotions that should be applied when generating one time or recurring fees), Billing (for promotions that should be applied during billing phase),
-
restrictions_applicability_rulestringrule used for obtaining the discount value (% value or fixed value) or top-up amount to be applied. Not used currently because the discount value (% value or fixed value) is fixed, not dependent on restrictions
-
target_applicability_rulestringrule used for determining the charges on which the discount is applied. PreviousInvoiceTotalAmount (used for Billing discounts that must be applied to the previous invoice total amount), CurrentInvoiceTotalAmount (used for Billing discounts that must be applied to the current invoice total amount), FeeSubtype (discounts that must be applied to fees with specific subtype)
-
fee_subtypesstringused for promotions with targetApplicabilityRule = FeeSubType, for indicating fee subtypes to which the promotion must be applied
-
calculation_modelstringused for obtaining the discount % value/fixed value/top-up amount to be applied. Flat (fixed %/fixed discount value/top-up amount), Bulk (%/fixed discount value/top-up amount depends on the total amount of restrictions. Currently not used)
-
discount_typestringit defines if the discount value is a % or a fixed amount
-
durationnumber (int32)promotion duration indicated in number of months
-
unlimited_durationbooleanUsed to indicate if the promotion is valid for an unlimited period of time
-
keep_on_upgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a higher cost
-
keep_on_downgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a lower cost
-
prioritynumber (int32)promotion applicability priority (lower value = higher priority). Currently always 1
-
is_mandatoryboolean -
xsell_permitboolean -
reduced_fee_amountboolean -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
fromstring (date-time)date when the promotion starts to be included within the commercial profile
-
tostring (date-time)date when the promotion starts to be included within the commercial profile
-
skip_first_periodbooleanit indicates if the first period of billing is skipped
-
reduce_penalty_thresholdbooleanit indicates if the reference value has to be decreased
-
type_groupstringGroup classification of the promotion type. Use this field to identify bundle promotions.
-
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)
-
OTHER: Any other promotion type
-
-
category_namestringname to define the promotion category
-
type_namestringname to define the promotion type
-
termsobject[] -
transaction_typeobject -
commercial_profilesobject[] -
sale_typesobject[]sale types for which this promotion is available
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[] -
transaction_typeobject
-
-
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject -
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
-
-
promotionsobject[]array of promotions compatible with the bundled product
-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
need_promotion_codebooleanboolean to indicate if the promotion requires capturing a code for being applied
-
need_existent_MSISDNbooleanboolean to indicate if the promotion requires an existent MSISDN (i,e for M2M campaign)
-
applicability_modelstringit defines how the promotion is applied in terms of calculation phase and application model. FeeGeneraton (for promotions that should be applied when generating one time or recurring fees), Billing (for promotions that should be applied during billing phase),
-
restrictions_applicability_rulestringrule used for obtaining the discount value (% value or fixed value) or top-up amount to be applied. Not used currently because the discount value (% value or fixed value) is fixed, not dependent on restrictions
-
target_applicability_rulestringrule used for determining the charges on which the discount is applied. PreviousInvoiceTotalAmount (used for Billing discounts that must be applied to the previous invoice total amount), CurrentInvoiceTotalAmount (used for Billing discounts that must be applied to the current invoice total amount), FeeSubtype (discounts that must be applied to fees with specific subtype)
-
fee_subtypesstringused for promotions with targetApplicabilityRule = FeeSubType, for indicating fee subtypes to which the promotion must be applied
-
calculation_modelstringused for obtaining the discount % value/fixed value/top-up amount to be applied. Flat (fixed %/fixed discount value/top-up amount), Bulk (%/fixed discount value/top-up amount depends on the total amount of restrictions. Currently not used)
-
discount_typestringit defines if the discount value is a % or a fixed amount
-
durationnumber (int32)promotion duration indicated in number of months
-
unlimited_durationbooleanUsed to indicate if the promotion is valid for an unlimited period of time
-
keep_on_upgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a higher cost
-
keep_on_downgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a lower cost
-
prioritynumber (int32)promotion applicability priority (lower value = higher priority). Currently always 1
-
is_mandatoryboolean -
xsell_permitboolean -
reduced_fee_amountboolean -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
fromstring (date-time)date when the promotion starts to be included within the commercial profile
-
tostring (date-time)date when the promotion starts to be included within the commercial profile
-
skip_first_periodbooleanit indicates if the first period of billing is skipped
-
reduce_penalty_thresholdbooleanit indicates if the reference value has to be decreased
-
type_groupstringGroup classification of the promotion type. Use this field to identify bundle promotions.
-
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)
-
OTHER: Any other promotion type
-
-
category_namestringname to define the promotion category
-
type_namestringname to define the promotion type
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
binding_type_idstring
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]sale types for which this promotion is available
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
-
is_downsellbooleanindicates if the switch involves a 3P to 2P change or a 4P to 3P/2P change
-
used_for_automatic_changesbooleanindicates if the bundled product change is supposed to be used for changes that don’t require manual agent/customer intervention (i,e partial deactivations due to mobile portability processes)
-
involve_speed_changebooleanindicates if the switch involves a speed change
-
subs_removedstringbundled product subscription type id removed in the automatic change. Null if
used_for_automatic_changes= false -
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Bundled Commercial Products
Get sellable bundled commercial products
/orgs /{org_id} /bundled_products /{id} /bundled_product_subs_types /{subs_type_id} /bundled_commercial_products /sellable Authenticated with a bearer token in the Authorization header Authentication
Returns an array of eligible bundled commercial products related to a given bundled product and a given bundled product subscription type. Aimed to be used for retrieving sellable bundled commercial products within the context of a given bundled product, required for the use case of adding a new subscription to an existent package. It includes within the response fees related with each bundled commercial product, as well as all the mandatory promotions and free units packages that are compatible/included within each bundled commercial product.
Path parameters
org_idstringRequiredorganization name
idstringRequiredbundled product identifier
subs_type_idstringRequiredbundled product subscription type identifier
Query parameters
sale_type_namestringsale type name
commercial_profile_namestringcommercial profile name
insured_amountnumber (double)in case subs_type_id belongs to DEVICEINSURANCE this query param will be used to search by the insurance policy available for this particular amount
device_category_webstringThis parameter is optional and should only be used to retrieve device insurance tariffs (subs_type=DEVICEINSURANCE)
Show 15 valuesHide 15 values
SMARTPHONETABLETSMARTWATCHSMART_TVROBOT_VACUUM_CLEANERLAPTOPSCOOTERMONITORMODEMGAMINGDEVICESCALEHEADPHONESPEAKERAIR_FRYER
Responses
Bundled Commercial products
-
idstring -
fromstring (date-time) -
tostring (date-time) -
is_mandatorybooleanindicates if the bundled commercial product is mandatory within the bundled product subscription type
-
is_main_linebooleanindicates if the bundled commercial product must be handled as main line within the bundled product
-
is_extrabooleanindicates if the bundled commercial product must be handed as an extra line within the bundled product
-
is_additionalbooleanindicates if the bundled commercial product must be handed as an additional line within the bundled product
-
is_bundledbooleanindicates if the bundled commercial product must be 'bundled' in invoice, contract and pre-contractual info.
-
duo_typestring -
max_quantitynumber (int32)max quantity of the correspondent bundled commercial product allowed for the specific bundled product subscription type
-
invoice_namestring -
commercial_productobject-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
mysim_commercial_product_idstringinternal id used within MySim
-
data_sharing_compatibleboolean -
penalty_referencenumber (double)it is the reference price of the fee to take in account when a penalty is applied to the terminal
-
min_devicesintegerMinimum number of devices that must be purchased for this tariff.
-
max_devicesintegerMaximum number of devices that can be purchased for this tariff.
-
max_concurrent_viewsintegerMaximum number of concurrent views allowed for the TV tariff.
-
insurance_typestringType of insurance product. Possible values:
- GLOBAL
- MULTIMEDIA
- null: When CommercialProduct is not a Zurich insurance tariff
-
free_units_packagesobject[]-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
mysim_free_units_package_idstringinternal id used within Mysim, null for 'dummy' unlimited voice free units packages
-
unit_amountnumber (int64)amount of units granted within the package.Currently, the unit type is always the same depending on the event type. VOZ (secs), DATOS (bytes), SMS (SMS)
-
volume_home_sl0number (int64)Data volume in bytes navigable at maximum speed
-
volume_home_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps)
-
volume_rlah_sl0number (int64)Data volume in bytes navigable at maximum speed with roaming like at home
-
volume_rlah_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps) with roaming like at home
-
volume_nr_sl0number (int64)Data volume in bytes navigable at maximum speed with national roaming
-
volume_nr_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps) with national roaming
-
event_typestring -
unlimitedbooleanindicates if the free units is sold as an unlimited package
-
max_grantsnumber (int32)maximum number of grants before the free units package expires (the maxGrants value never includes the first grant period. This means that a free units package with NRTIMES = 11 that is activated on 15/01/2020 will be active until 31/12/2020). Zero for recurring packages with no limit. In this case the package will expire when being explicitly deactivated. Null for one time packages
-
is_recurring_packagebooleanindicates if the free units package is a periodical package. Currently, if it is periodical, monthly schedule will be assigned
-
applicability_prioritynumber (int32)priority of the free units package when consuming
-
used_for_policy_rule_changebooleanindicates if the free units package is used for policy rules changes (for changing the download speed when limits are reached)
-
categorystring -
sharing_compatibleboolean -
free_units_package_templateobject-
idstring -
event_typestring -
applicability_rulestringapplicability rule for the free units package. Defines when the free units of the package can be consumed. Currently, this is always based on the packageType. Therefore, the only value allowed for now will be ‘ByEventTypeOriginDestination’
-
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[] -
transaction_typeobject
-
-
promotionsobject[]-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
need_promotion_codebooleanboolean to indicate if the promotion requires capturing a code for being applied
-
need_existent_MSISDNbooleanboolean to indicate if the promotion requires an existent MSISDN (i,e for M2M campaign)
-
applicability_modelstringit defines how the promotion is applied in terms of calculation phase and application model. FeeGeneraton (for promotions that should be applied when generating one time or recurring fees), Billing (for promotions that should be applied during billing phase),
-
restrictions_applicability_rulestringrule used for obtaining the discount value (% value or fixed value) or top-up amount to be applied. Not used currently because the discount value (% value or fixed value) is fixed, not dependent on restrictions
-
target_applicability_rulestringrule used for determining the charges on which the discount is applied. PreviousInvoiceTotalAmount (used for Billing discounts that must be applied to the previous invoice total amount), CurrentInvoiceTotalAmount (used for Billing discounts that must be applied to the current invoice total amount), FeeSubtype (discounts that must be applied to fees with specific subtype)
-
fee_subtypesstringused for promotions with targetApplicabilityRule = FeeSubType, for indicating fee subtypes to which the promotion must be applied
-
calculation_modelstringused for obtaining the discount % value/fixed value/top-up amount to be applied. Flat (fixed %/fixed discount value/top-up amount), Bulk (%/fixed discount value/top-up amount depends on the total amount of restrictions. Currently not used)
-
discount_typestringit defines if the discount value is a % or a fixed amount
-
durationnumber (int32)promotion duration indicated in number of months
-
unlimited_durationbooleanUsed to indicate if the promotion is valid for an unlimited period of time
-
keep_on_upgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a higher cost
-
keep_on_downgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a lower cost
-
prioritynumber (int32)promotion applicability priority (lower value = higher priority). Currently always 1
-
is_mandatoryboolean -
xsell_permitboolean -
reduced_fee_amountboolean -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
fromstring (date-time)date when the promotion starts to be included within the commercial profile
-
tostring (date-time)date when the promotion starts to be included within the commercial profile
-
skip_first_periodbooleanit indicates if the first period of billing is skipped
-
reduce_penalty_thresholdbooleanit indicates if the reference value has to be decreased
-
type_groupstringGroup classification of the promotion type. Use this field to identify bundle promotions.
-
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)
-
OTHER: Any other promotion type
-
-
category_namestringname to define the promotion category
-
type_namestringname to define the promotion type
-
termsobject[] -
transaction_typeobject -
commercial_profilesobject[] -
sale_typesobject[]sale types for which this promotion is available
-
-
base_profilesobject[]-
idstring -
namestring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
network_idstringnetwork that can be used for provisioning the free units package (decision on which network to be used is out of catalogue domain, catalogue configuration will consider all possible networks)
-
network_provisioning_idstringid used for provisioning the free units package within the correspondent network
-
offer_idstringadditional value required for provisioning prepaid free units packages within Yoigo network (networkId=2). Not used for networkId=1
-
charging_idstringadditional value required for provisioning prepaid free units packages within Yoigo network (networkId=2). Not used for networkId=1
-
expire_with_tariffbooleanboolean additional value required for provisioning prepaid free units packages within Yoigo network (networkId=2). Not used for networkId=1
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
fromstring (date-time)date when the free units package starts to be included within the commercial product
-
tostring (date-time)date when the free units package is no longer included within the commercial product
-
is_mandatorybooleanindicates if the free units package is mandatory with the commercial product
-
is_mandatory_optionalbooleanindicates if the free units package is one of those that require at least one package to be selected with the commercial product
-
is_mandatory_for_salebooleanindicates if the free units package is mandatory with the commercial product during sale, but not for migration (commercial product change)
-
-
promotionsobject[]-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
need_promotion_codebooleanboolean to indicate if the promotion requires capturing a code for being applied
-
need_existent_MSISDNbooleanboolean to indicate if the promotion requires an existent MSISDN (i,e for M2M campaign)
-
applicability_modelstringit defines how the promotion is applied in terms of calculation phase and application model. FeeGeneraton (for promotions that should be applied when generating one time or recurring fees), Billing (for promotions that should be applied during billing phase),
-
restrictions_applicability_rulestringrule used for obtaining the discount value (% value or fixed value) or top-up amount to be applied. Not used currently because the discount value (% value or fixed value) is fixed, not dependent on restrictions
-
target_applicability_rulestringrule used for determining the charges on which the discount is applied. PreviousInvoiceTotalAmount (used for Billing discounts that must be applied to the previous invoice total amount), CurrentInvoiceTotalAmount (used for Billing discounts that must be applied to the current invoice total amount), FeeSubtype (discounts that must be applied to fees with specific subtype)
-
fee_subtypesstringused for promotions with targetApplicabilityRule = FeeSubType, for indicating fee subtypes to which the promotion must be applied
-
calculation_modelstringused for obtaining the discount % value/fixed value/top-up amount to be applied. Flat (fixed %/fixed discount value/top-up amount), Bulk (%/fixed discount value/top-up amount depends on the total amount of restrictions. Currently not used)
-
discount_typestringit defines if the discount value is a % or a fixed amount
-
durationnumber (int32)promotion duration indicated in number of months
-
unlimited_durationbooleanUsed to indicate if the promotion is valid for an unlimited period of time
-
keep_on_upgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a higher cost
-
keep_on_downgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a lower cost
-
prioritynumber (int32)promotion applicability priority (lower value = higher priority). Currently always 1
-
is_mandatoryboolean -
xsell_permitboolean -
reduced_fee_amountboolean -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
fromstring (date-time)date when the promotion starts to be included within the commercial profile
-
tostring (date-time)date when the promotion starts to be included within the commercial profile
-
skip_first_periodbooleanit indicates if the first period of billing is skipped
-
reduce_penalty_thresholdbooleanit indicates if the reference value has to be decreased
-
type_groupstringGroup classification of the promotion type. Use this field to identify bundle promotions.
-
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)
-
OTHER: Any other promotion type
-
-
category_namestringname to define the promotion category
-
type_namestringname to define the promotion type
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject -
binding_type_idstring
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]sale types for which this promotion is available
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject -
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Bundled Commercial Products
Get all bundled commercial products
/orgs /{org_id} /bundled_products /{id} /bundled_product_subs_types /{subs_type_id} /bundled_commercial_products Authenticated with a bearer token in the Authorization header Authentication
Returns an array of all, not only sellable, bundled commercial products related to a given bundled product and a given bundled product subscription type.
Path parameters
org_idstringRequiredorganization name
idstringRequiredbundled product identifier
subs_type_idstringRequiredbundled product subscription type identifier
Query parameters
sale_type_namestringsale type name
commercial_profile_namestringcommercial profile name
insured_amountnumber (double)in case subs_type_id belongs to DEVICEINSURANCE this query param will be used to search by the insurance policy available for this particular amount
device_category_webstringThis parameter is optional and should only be used to retrieve device insurance tariffs (subs_type=DEVICEINSURANCE)
Show 15 valuesHide 15 values
SMARTPHONETABLETSMARTWATCHSMART_TVROBOT_VACUUM_CLEANERLAPTOPSCOOTERMONITORMODEMGAMINGDEVICESCALEHEADPHONESPEAKERAIR_FRYER
Responses
Bundled Commercial products
-
idstring -
fromstring (date-time) -
tostring (date-time) -
is_mandatorybooleanindicates if the bundled commercial product is mandatory within the bundled product subscription type
-
is_main_linebooleanindicates if the bundled commercial product must be handled as main line within the bundled product
-
is_extrabooleanindicates if the bundled commercial product must be handed as an extra line within the bundled product
-
is_additionalbooleanindicates if the bundled commercial product must be handed as an additional line within the bundled product
-
is_bundledbooleanindicates if the bundled commercial product must be 'bundled' in invoice, contract and pre-contractual info.
-
duo_typestring -
max_quantitynumber (int32)max quantity of the correspondent bundled commercial product allowed for the specific bundled product subscription type
-
invoice_namestring
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Bundled Commercial Products
Get bundled commercial product by id
/orgs /{org_id} /bundled_products /{id} /bundled_product_subs_types /{subs_type_id} /bundled_commercial_products /{bcp_id} Authenticated with a bearer token in the Authorization header Authentication
Returns details of a bundled commercial product related to a given bundled product and a given bundled product subscription type. It includes within the response the related fees as well as all the mandatory promotions and free units packages that are compatible/included within it
Path parameters
org_idstringRequiredorganization name
idstringRequiredbundled product identifier
subs_type_idstringRequiredbundled product subscription type identifier
bcp_idstringRequiredbundled commercial product identifier
Responses
Bundled Commercial product
-
idstring -
fromstring (date-time) -
tostring (date-time) -
is_mandatorybooleanindicates if the bundled commercial product is mandatory within the bundled product subscription type
-
is_main_linebooleanindicates if the bundled commercial product must be handled as main line within the bundled product
-
is_extrabooleanindicates if the bundled commercial product must be handed as an extra line within the bundled product
-
is_additionalbooleanindicates if the bundled commercial product must be handed as an additional line within the bundled product
-
is_bundledbooleanindicates if the bundled commercial product must be 'bundled' in invoice, contract and pre-contractual info.
-
duo_typestring -
max_quantitynumber (int32)max quantity of the correspondent bundled commercial product allowed for the specific bundled product subscription type
-
invoice_namestring -
commercial_productobject-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
mysim_commercial_product_idstringinternal id used within MySim
-
data_sharing_compatibleboolean -
penalty_referencenumber (double)it is the reference price of the fee to take in account when a penalty is applied to the terminal
-
min_devicesintegerMinimum number of devices that must be purchased for this tariff.
-
max_devicesintegerMaximum number of devices that can be purchased for this tariff.
-
max_concurrent_viewsintegerMaximum number of concurrent views allowed for the TV tariff.
-
insurance_typestringType of insurance product. Possible values:
- GLOBAL
- MULTIMEDIA
- null: When CommercialProduct is not a Zurich insurance tariff
-
free_units_packagesobject[]-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
mysim_free_units_package_idstringinternal id used within Mysim, null for 'dummy' unlimited voice free units packages
-
unit_amountnumber (int64)amount of units granted within the package.Currently, the unit type is always the same depending on the event type. VOZ (secs), DATOS (bytes), SMS (SMS)
-
volume_home_sl0number (int64)Data volume in bytes navigable at maximum speed
-
volume_home_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps)
-
volume_rlah_sl0number (int64)Data volume in bytes navigable at maximum speed with roaming like at home
-
volume_rlah_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps) with roaming like at home
-
volume_nr_sl0number (int64)Data volume in bytes navigable at maximum speed with national roaming
-
volume_nr_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps) with national roaming
-
event_typestring -
unlimitedbooleanindicates if the free units is sold as an unlimited package
-
max_grantsnumber (int32)maximum number of grants before the free units package expires (the maxGrants value never includes the first grant period. This means that a free units package with NRTIMES = 11 that is activated on 15/01/2020 will be active until 31/12/2020). Zero for recurring packages with no limit. In this case the package will expire when being explicitly deactivated. Null for one time packages
-
is_recurring_packagebooleanindicates if the free units package is a periodical package. Currently, if it is periodical, monthly schedule will be assigned
-
applicability_prioritynumber (int32)priority of the free units package when consuming
-
used_for_policy_rule_changebooleanindicates if the free units package is used for policy rules changes (for changing the download speed when limits are reached)
-
categorystring -
sharing_compatibleboolean -
free_units_package_templateobject-
idstring -
event_typestring -
applicability_rulestringapplicability rule for the free units package. Defines when the free units of the package can be consumed. Currently, this is always based on the packageType. Therefore, the only value allowed for now will be ‘ByEventTypeOriginDestination’
-
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject -
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
promotionsobject[]-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
need_promotion_codebooleanboolean to indicate if the promotion requires capturing a code for being applied
-
need_existent_MSISDNbooleanboolean to indicate if the promotion requires an existent MSISDN (i,e for M2M campaign)
-
applicability_modelstringit defines how the promotion is applied in terms of calculation phase and application model. FeeGeneraton (for promotions that should be applied when generating one time or recurring fees), Billing (for promotions that should be applied during billing phase),
-
restrictions_applicability_rulestringrule used for obtaining the discount value (% value or fixed value) or top-up amount to be applied. Not used currently because the discount value (% value or fixed value) is fixed, not dependent on restrictions
-
target_applicability_rulestringrule used for determining the charges on which the discount is applied. PreviousInvoiceTotalAmount (used for Billing discounts that must be applied to the previous invoice total amount), CurrentInvoiceTotalAmount (used for Billing discounts that must be applied to the current invoice total amount), FeeSubtype (discounts that must be applied to fees with specific subtype)
-
fee_subtypesstringused for promotions with targetApplicabilityRule = FeeSubType, for indicating fee subtypes to which the promotion must be applied
-
calculation_modelstringused for obtaining the discount % value/fixed value/top-up amount to be applied. Flat (fixed %/fixed discount value/top-up amount), Bulk (%/fixed discount value/top-up amount depends on the total amount of restrictions. Currently not used)
-
discount_typestringit defines if the discount value is a % or a fixed amount
-
durationnumber (int32)promotion duration indicated in number of months
-
unlimited_durationbooleanUsed to indicate if the promotion is valid for an unlimited period of time
-
keep_on_upgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a higher cost
-
keep_on_downgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a lower cost
-
prioritynumber (int32)promotion applicability priority (lower value = higher priority). Currently always 1
-
is_mandatoryboolean -
xsell_permitboolean -
reduced_fee_amountboolean -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
fromstring (date-time)date when the promotion starts to be included within the commercial profile
-
tostring (date-time)date when the promotion starts to be included within the commercial profile
-
skip_first_periodbooleanit indicates if the first period of billing is skipped
-
reduce_penalty_thresholdbooleanit indicates if the reference value has to be decreased
-
type_groupstringGroup classification of the promotion type. Use this field to identify bundle promotions.
-
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)
-
OTHER: Any other promotion type
-
-
category_namestringname to define the promotion category
-
type_namestringname to define the promotion type
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject -
binding_type_idstring
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]sale types for which this promotion is available
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
-
base_profilesobject[]-
idstring -
namestring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
network_idstringnetwork that can be used for provisioning the free units package (decision on which network to be used is out of catalogue domain, catalogue configuration will consider all possible networks)
-
network_provisioning_idstringid used for provisioning the free units package within the correspondent network
-
offer_idstringadditional value required for provisioning prepaid free units packages within Yoigo network (networkId=2). Not used for networkId=1
-
charging_idstringadditional value required for provisioning prepaid free units packages within Yoigo network (networkId=2). Not used for networkId=1
-
expire_with_tariffbooleanboolean additional value required for provisioning prepaid free units packages within Yoigo network (networkId=2). Not used for networkId=1
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
fromstring (date-time)date when the free units package starts to be included within the commercial product
-
tostring (date-time)date when the free units package is no longer included within the commercial product
-
is_mandatorybooleanindicates if the free units package is mandatory with the commercial product
-
is_mandatory_optionalbooleanindicates if the free units package is one of those that require at least one package to be selected with the commercial product
-
is_mandatory_for_salebooleanindicates if the free units package is mandatory with the commercial product during sale, but not for migration (commercial product change)
-
-
promotionsobject[]-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
need_promotion_codebooleanboolean to indicate if the promotion requires capturing a code for being applied
-
need_existent_MSISDNbooleanboolean to indicate if the promotion requires an existent MSISDN (i,e for M2M campaign)
-
applicability_modelstringit defines how the promotion is applied in terms of calculation phase and application model. FeeGeneraton (for promotions that should be applied when generating one time or recurring fees), Billing (for promotions that should be applied during billing phase),
-
restrictions_applicability_rulestringrule used for obtaining the discount value (% value or fixed value) or top-up amount to be applied. Not used currently because the discount value (% value or fixed value) is fixed, not dependent on restrictions
-
target_applicability_rulestringrule used for determining the charges on which the discount is applied. PreviousInvoiceTotalAmount (used for Billing discounts that must be applied to the previous invoice total amount), CurrentInvoiceTotalAmount (used for Billing discounts that must be applied to the current invoice total amount), FeeSubtype (discounts that must be applied to fees with specific subtype)
-
fee_subtypesstringused for promotions with targetApplicabilityRule = FeeSubType, for indicating fee subtypes to which the promotion must be applied
-
calculation_modelstringused for obtaining the discount % value/fixed value/top-up amount to be applied. Flat (fixed %/fixed discount value/top-up amount), Bulk (%/fixed discount value/top-up amount depends on the total amount of restrictions. Currently not used)
-
discount_typestringit defines if the discount value is a % or a fixed amount
-
durationnumber (int32)promotion duration indicated in number of months
-
unlimited_durationbooleanUsed to indicate if the promotion is valid for an unlimited period of time
-
keep_on_upgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a higher cost
-
keep_on_downgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a lower cost
-
prioritynumber (int32)promotion applicability priority (lower value = higher priority). Currently always 1
-
is_mandatoryboolean -
xsell_permitboolean -
reduced_fee_amountboolean -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
fromstring (date-time)date when the promotion starts to be included within the commercial profile
-
tostring (date-time)date when the promotion starts to be included within the commercial profile
-
skip_first_periodbooleanit indicates if the first period of billing is skipped
-
reduce_penalty_thresholdbooleanit indicates if the reference value has to be decreased
-
type_groupstringGroup classification of the promotion type. Use this field to identify bundle promotions.
-
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)
-
OTHER: Any other promotion type
-
-
category_namestringname to define the promotion category
-
type_namestringname to define the promotion type
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
binding_type_idstring
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]sale types for which this promotion is available
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Bundled Commercial Products
Get target bundled commercial products
/orgs /{org_id} /bundled_products /{bundled_product_id} /bundled_commercial_products /{id} /can-switch Authenticated with a bearer token in the Authorization header Authentication
Returns an array of eligible bundled commercial products to which a given bundled commercial product id can be changed, in the context of a specific bundled product. If it is a migration within the same package, the origin bundled product from the path is enough (it acts as both origin and destination). Otherwise, for migrations between different bundled products, the existing query parameter for the destination bundled product must be filled. Aimed to be used for retrieving allowed bundled commercial product changes for a subscription included within a package. It includes within the response fees related with each bundled commercial product, as well as all the mandatory promotions and free units packages that are compatible/included within each bundled commercial product.
Path parameters
org_idstringRequiredorganization name
bundled_product_idstringRequiredbundled product identifier
idstringRequiredbundled commercial product identifier
Query parameters
used_for_automatic_orphan_subscription_changebooleanboolean to indicate if the bundled commercial product change is available for manual or automatic changes. false by default. Sale channels and customer apps must use always false.
commercial_profile_namestringcommercial profile name
destination_bundled_product_idstringdestination bundled product identifier
Responses
Bundled Commercial products
-
idstring -
fromstring (date-time) -
tostring (date-time) -
is_mandatorybooleanindicates if the bundled commercial product is mandatory within the bundled product subscription type
-
is_main_linebooleanindicates if the bundled commercial product must be handled as main line within the bundled product
-
is_extrabooleanindicates if the bundled commercial product must be handed as an extra line within the bundled product
-
is_additionalbooleanindicates if the bundled commercial product must be handed as an additional line within the bundled product
-
is_bundledbooleanindicates if the bundled commercial product must be 'bundled' in invoice, contract and pre-contractual info.
-
duo_typestring -
max_quantitynumber (int32)max quantity of the correspondent bundled commercial product allowed for the specific bundled product subscription type
-
invoice_namestring -
commercial_productobject-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
mysim_commercial_product_idstringinternal id used within MySim
-
data_sharing_compatibleboolean -
penalty_referencenumber (double)it is the reference price of the fee to take in account when a penalty is applied to the terminal
-
min_devicesintegerMinimum number of devices that must be purchased for this tariff.
-
max_devicesintegerMaximum number of devices that can be purchased for this tariff.
-
max_concurrent_viewsintegerMaximum number of concurrent views allowed for the TV tariff.
-
insurance_typestringType of insurance product. Possible values:
- GLOBAL
- MULTIMEDIA
- null: When CommercialProduct is not a Zurich insurance tariff
-
free_units_packagesobject[]-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
mysim_free_units_package_idstringinternal id used within Mysim, null for 'dummy' unlimited voice free units packages
-
unit_amountnumber (int64)amount of units granted within the package.Currently, the unit type is always the same depending on the event type. VOZ (secs), DATOS (bytes), SMS (SMS)
-
volume_home_sl0number (int64)Data volume in bytes navigable at maximum speed
-
volume_home_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps)
-
volume_rlah_sl0number (int64)Data volume in bytes navigable at maximum speed with roaming like at home
-
volume_rlah_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps) with roaming like at home
-
volume_nr_sl0number (int64)Data volume in bytes navigable at maximum speed with national roaming
-
volume_nr_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps) with national roaming
-
event_typestring -
unlimitedbooleanindicates if the free units is sold as an unlimited package
-
max_grantsnumber (int32)maximum number of grants before the free units package expires (the maxGrants value never includes the first grant period. This means that a free units package with NRTIMES = 11 that is activated on 15/01/2020 will be active until 31/12/2020). Zero for recurring packages with no limit. In this case the package will expire when being explicitly deactivated. Null for one time packages
-
is_recurring_packagebooleanindicates if the free units package is a periodical package. Currently, if it is periodical, monthly schedule will be assigned
-
applicability_prioritynumber (int32)priority of the free units package when consuming
-
used_for_policy_rule_changebooleanindicates if the free units package is used for policy rules changes (for changing the download speed when limits are reached)
-
categorystring -
sharing_compatibleboolean -
free_units_package_templateobject-
idstring -
event_typestring -
applicability_rulestringapplicability rule for the free units package. Defines when the free units of the package can be consumed. Currently, this is always based on the packageType. Therefore, the only value allowed for now will be ‘ByEventTypeOriginDestination’
-
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[] -
transaction_typeobject
-
-
promotionsobject[]-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
need_promotion_codebooleanboolean to indicate if the promotion requires capturing a code for being applied
-
need_existent_MSISDNbooleanboolean to indicate if the promotion requires an existent MSISDN (i,e for M2M campaign)
-
applicability_modelstringit defines how the promotion is applied in terms of calculation phase and application model. FeeGeneraton (for promotions that should be applied when generating one time or recurring fees), Billing (for promotions that should be applied during billing phase),
-
restrictions_applicability_rulestringrule used for obtaining the discount value (% value or fixed value) or top-up amount to be applied. Not used currently because the discount value (% value or fixed value) is fixed, not dependent on restrictions
-
target_applicability_rulestringrule used for determining the charges on which the discount is applied. PreviousInvoiceTotalAmount (used for Billing discounts that must be applied to the previous invoice total amount), CurrentInvoiceTotalAmount (used for Billing discounts that must be applied to the current invoice total amount), FeeSubtype (discounts that must be applied to fees with specific subtype)
-
fee_subtypesstringused for promotions with targetApplicabilityRule = FeeSubType, for indicating fee subtypes to which the promotion must be applied
-
calculation_modelstringused for obtaining the discount % value/fixed value/top-up amount to be applied. Flat (fixed %/fixed discount value/top-up amount), Bulk (%/fixed discount value/top-up amount depends on the total amount of restrictions. Currently not used)
-
discount_typestringit defines if the discount value is a % or a fixed amount
-
durationnumber (int32)promotion duration indicated in number of months
-
unlimited_durationbooleanUsed to indicate if the promotion is valid for an unlimited period of time
-
keep_on_upgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a higher cost
-
keep_on_downgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a lower cost
-
prioritynumber (int32)promotion applicability priority (lower value = higher priority). Currently always 1
-
is_mandatoryboolean -
xsell_permitboolean -
reduced_fee_amountboolean -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
fromstring (date-time)date when the promotion starts to be included within the commercial profile
-
tostring (date-time)date when the promotion starts to be included within the commercial profile
-
skip_first_periodbooleanit indicates if the first period of billing is skipped
-
reduce_penalty_thresholdbooleanit indicates if the reference value has to be decreased
-
type_groupstringGroup classification of the promotion type. Use this field to identify bundle promotions.
-
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)
-
OTHER: Any other promotion type
-
-
category_namestringname to define the promotion category
-
type_namestringname to define the promotion type
-
termsobject[] -
transaction_typeobject -
commercial_profilesobject[] -
sale_typesobject[]sale types for which this promotion is available
-
-
base_profilesobject[]-
idstring -
namestring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
network_idstringnetwork that can be used for provisioning the free units package (decision on which network to be used is out of catalogue domain, catalogue configuration will consider all possible networks)
-
network_provisioning_idstringid used for provisioning the free units package within the correspondent network
-
offer_idstringadditional value required for provisioning prepaid free units packages within Yoigo network (networkId=2). Not used for networkId=1
-
charging_idstringadditional value required for provisioning prepaid free units packages within Yoigo network (networkId=2). Not used for networkId=1
-
expire_with_tariffbooleanboolean additional value required for provisioning prepaid free units packages within Yoigo network (networkId=2). Not used for networkId=1
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
fromstring (date-time)date when the free units package starts to be included within the commercial product
-
tostring (date-time)date when the free units package is no longer included within the commercial product
-
is_mandatorybooleanindicates if the free units package is mandatory with the commercial product
-
is_mandatory_optionalbooleanindicates if the free units package is one of those that require at least one package to be selected with the commercial product
-
is_mandatory_for_salebooleanindicates if the free units package is mandatory with the commercial product during sale, but not for migration (commercial product change)
-
-
promotionsobject[]-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
need_promotion_codebooleanboolean to indicate if the promotion requires capturing a code for being applied
-
need_existent_MSISDNbooleanboolean to indicate if the promotion requires an existent MSISDN (i,e for M2M campaign)
-
applicability_modelstringit defines how the promotion is applied in terms of calculation phase and application model. FeeGeneraton (for promotions that should be applied when generating one time or recurring fees), Billing (for promotions that should be applied during billing phase),
-
restrictions_applicability_rulestringrule used for obtaining the discount value (% value or fixed value) or top-up amount to be applied. Not used currently because the discount value (% value or fixed value) is fixed, not dependent on restrictions
-
target_applicability_rulestringrule used for determining the charges on which the discount is applied. PreviousInvoiceTotalAmount (used for Billing discounts that must be applied to the previous invoice total amount), CurrentInvoiceTotalAmount (used for Billing discounts that must be applied to the current invoice total amount), FeeSubtype (discounts that must be applied to fees with specific subtype)
-
fee_subtypesstringused for promotions with targetApplicabilityRule = FeeSubType, for indicating fee subtypes to which the promotion must be applied
-
calculation_modelstringused for obtaining the discount % value/fixed value/top-up amount to be applied. Flat (fixed %/fixed discount value/top-up amount), Bulk (%/fixed discount value/top-up amount depends on the total amount of restrictions. Currently not used)
-
discount_typestringit defines if the discount value is a % or a fixed amount
-
durationnumber (int32)promotion duration indicated in number of months
-
unlimited_durationbooleanUsed to indicate if the promotion is valid for an unlimited period of time
-
keep_on_upgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a higher cost
-
keep_on_downgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a lower cost
-
prioritynumber (int32)promotion applicability priority (lower value = higher priority). Currently always 1
-
is_mandatoryboolean -
xsell_permitboolean -
reduced_fee_amountboolean -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
fromstring (date-time)date when the promotion starts to be included within the commercial profile
-
tostring (date-time)date when the promotion starts to be included within the commercial profile
-
skip_first_periodbooleanit indicates if the first period of billing is skipped
-
reduce_penalty_thresholdbooleanit indicates if the reference value has to be decreased
-
type_groupstringGroup classification of the promotion type. Use this field to identify bundle promotions.
-
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)
-
OTHER: Any other promotion type
-
-
category_namestringname to define the promotion category
-
type_namestringname to define the promotion type
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject -
binding_type_idstring
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]sale types for which this promotion is available
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject -
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
used_for_automatic_orphan_subscription_changebooleanboolean to indicate if the bundled commercial product change is available for manual or automatic changes.
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Bundled Commercial Products
Get bundled commercial product equivalence in a bundled product migration with no compatibility at tariff level
/orgs /{org_id} /bundled_products /{id} /bundled_commercial_products /can-migrate Authenticated with a bearer token in the Authorization header Authentication
This endpoint allows us to resolve the scenario in a bundled product movement where a particular subscription type is compatible but the origin tariff is not present in destination bundled product, providing this destination bundled product ({id}) you can get all the equivalence between conflictives bcp.
Path parameters
org_idstringRequiredorganization name
idstringRequireddestination bundled product id
Query parameters
origin_bundled_commercial_productstringbundled commercial product for which it is necessary an equivalence in the commercial definition of a particular bundled product
Responses
OK
-
origin_bundled_commercial_productstring -
destination_bundled_commercial_productstring
Bad request
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Bundled Commercial Products
Get all bundled commercial products related to a bundled product id
/orgs /{org_id} /bundled_products /{id} /bundled_commercial_products Authenticated with a bearer token in the Authorization header Authentication
Returns an array of all bundled commercial products related to a given bundled product.
Path parameters
org_idstringRequiredorganization name
idstringRequiredbundled product identifier
Query parameters
sale_type_namestringsale type name
commercial_profile_namestringcommercial profile name
insured_amountnumber (double)in case subs_type_id belongs to DEVICEINSURANCE this query param will be used to search by the insurance policy available for this particular amount
sellablebooleanflag to filter items that are commercially active or not. If absent default is true
subs_type_namestringsubscription type name
Show 21 valuesHide 21 values
PRE-PAGOPOST-PAGOINTERNET FTTHFIJO ANALOGICOFIJO DIGITALINTERNET ADSLAGILE TVENERGYSECURITYDATA_SHARINGMULTISIMHEALTHDEVICEINSURANCENETFLIXAPPLEWATCHAMAZONPRIMEMAXTVORANGE_TV_LIBREDISNEYAGILETV
device_category_webstringThis parameter is optional and should only be used to retrieve device insurance tariffs (subs_type=DEVICEINSURANCE)
Show 15 valuesHide 15 values
SMARTPHONETABLETSMARTWATCHSMART_TVROBOT_VACUUM_CLEANERLAPTOPSCOOTERMONITORMODEMGAMINGDEVICESCALEHEADPHONESPEAKERAIR_FRYER
Responses
Bundled Commercial products
-
idstring -
fromstring (date-time) -
tostring (date-time) -
is_mandatorybooleanindicates if the bundled commercial product is mandatory within the bundled product subscription type
-
is_main_linebooleanindicates if the bundled commercial product must be handled as main line within the bundled product
-
is_extrabooleanindicates if the bundled commercial product must be handed as an extra line within the bundled product
-
is_additionalbooleanindicates if the bundled commercial product must be handed as an additional line within the bundled product
-
is_bundledbooleanindicates if the bundled commercial product must be 'bundled' in invoice, contract and pre-contractual info.
-
duo_typestring -
max_quantitynumber (int32)max quantity of the correspondent bundled commercial product allowed for the specific bundled product subscription type
-
invoice_namestring -
commercial_productobject-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
mysim_commercial_product_idstringinternal id used within MySim
-
data_sharing_compatibleboolean -
penalty_referencenumber (double)it is the reference price of the fee to take in account when a penalty is applied to the terminal
-
min_devicesintegerMinimum number of devices that must be purchased for this tariff.
-
max_devicesintegerMaximum number of devices that can be purchased for this tariff.
-
max_concurrent_viewsintegerMaximum number of concurrent views allowed for the TV tariff.
-
insurance_typestringType of insurance product. Possible values:
- GLOBAL
- MULTIMEDIA
- null: When CommercialProduct is not a Zurich insurance tariff
-
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
Bad request
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Free Units Packages
Get free units packages
/orgs /{org_id} /commercial_products /{id} /free_units_packages Authenticated with a bearer token in the Authorization header Authentication
Returns an array of both mandatory and optional free units packages related to a commercial product id. Includes main characteristics of each free units package, as well as fees and promotions associated to the free units package. Note that the free units packages compatible with a product are always related to the commercial product and are available for both bundled product and standalone product sales scenarios.
Path parameters
org_idstringRequiredorganization name
idstringRequiredcommercial product identifier
Query parameters
sale_type_namestringsale type name
commercial_profile_namestringcommercial profile name
debit_account_idstringid to filter free_units_packages with a specific debit_account
Responses
Free Units Package
-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
mysim_free_units_package_idstringinternal id used within Mysim, null for 'dummy' unlimited voice free units packages
-
unit_amountnumber (int64)amount of units granted within the package.Currently, the unit type is always the same depending on the event type. VOZ (secs), DATOS (bytes), SMS (SMS)
-
volume_home_sl0number (int64)Data volume in bytes navigable at maximum speed
-
volume_home_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps)
-
volume_rlah_sl0number (int64)Data volume in bytes navigable at maximum speed with roaming like at home
-
volume_rlah_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps) with roaming like at home
-
volume_nr_sl0number (int64)Data volume in bytes navigable at maximum speed with national roaming
-
volume_nr_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps) with national roaming
-
event_typestring -
unlimitedbooleanindicates if the free units is sold as an unlimited package
-
max_grantsnumber (int32)maximum number of grants before the free units package expires (the maxGrants value never includes the first grant period. This means that a free units package with NRTIMES = 11 that is activated on 15/01/2020 will be active until 31/12/2020). Zero for recurring packages with no limit. In this case the package will expire when being explicitly deactivated. Null for one time packages
-
is_recurring_packagebooleanindicates if the free units package is a periodical package. Currently, if it is periodical, monthly schedule will be assigned
-
applicability_prioritynumber (int32)priority of the free units package when consuming
-
used_for_policy_rule_changebooleanindicates if the free units package is used for policy rules changes (for changing the download speed when limits are reached)
-
categorystring -
sharing_compatibleboolean -
free_units_package_templateobject-
idstring -
event_typestring -
applicability_rulestringapplicability rule for the free units package. Defines when the free units of the package can be consumed. Currently, this is always based on the packageType. Therefore, the only value allowed for now will be ‘ByEventTypeOriginDestination’
-
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
promotionsobject[]-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
need_promotion_codebooleanboolean to indicate if the promotion requires capturing a code for being applied
-
need_existent_MSISDNbooleanboolean to indicate if the promotion requires an existent MSISDN (i,e for M2M campaign)
-
applicability_modelstringit defines how the promotion is applied in terms of calculation phase and application model. FeeGeneraton (for promotions that should be applied when generating one time or recurring fees), Billing (for promotions that should be applied during billing phase),
-
restrictions_applicability_rulestringrule used for obtaining the discount value (% value or fixed value) or top-up amount to be applied. Not used currently because the discount value (% value or fixed value) is fixed, not dependent on restrictions
-
target_applicability_rulestringrule used for determining the charges on which the discount is applied. PreviousInvoiceTotalAmount (used for Billing discounts that must be applied to the previous invoice total amount), CurrentInvoiceTotalAmount (used for Billing discounts that must be applied to the current invoice total amount), FeeSubtype (discounts that must be applied to fees with specific subtype)
-
fee_subtypesstringused for promotions with targetApplicabilityRule = FeeSubType, for indicating fee subtypes to which the promotion must be applied
-
calculation_modelstringused for obtaining the discount % value/fixed value/top-up amount to be applied. Flat (fixed %/fixed discount value/top-up amount), Bulk (%/fixed discount value/top-up amount depends on the total amount of restrictions. Currently not used)
-
discount_typestringit defines if the discount value is a % or a fixed amount
-
durationnumber (int32)promotion duration indicated in number of months
-
unlimited_durationbooleanUsed to indicate if the promotion is valid for an unlimited period of time
-
keep_on_upgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a higher cost
-
keep_on_downgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a lower cost
-
prioritynumber (int32)promotion applicability priority (lower value = higher priority). Currently always 1
-
is_mandatoryboolean -
xsell_permitboolean -
reduced_fee_amountboolean -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
fromstring (date-time)date when the promotion starts to be included within the commercial profile
-
tostring (date-time)date when the promotion starts to be included within the commercial profile
-
skip_first_periodbooleanit indicates if the first period of billing is skipped
-
reduce_penalty_thresholdbooleanit indicates if the reference value has to be decreased
-
type_groupstringGroup classification of the promotion type. Use this field to identify bundle promotions.
-
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)
-
OTHER: Any other promotion type
-
-
category_namestringname to define the promotion category
-
type_namestringname to define the promotion type
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
binding_type_idstring
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]sale types for which this promotion is available
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
-
base_profilesobject[]-
idstring -
namestring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
network_idstringnetwork that can be used for provisioning the free units package (decision on which network to be used is out of catalogue domain, catalogue configuration will consider all possible networks)
-
network_provisioning_idstringid used for provisioning the free units package within the correspondent network
-
offer_idstringadditional value required for provisioning prepaid free units packages within Yoigo network (networkId=2). Not used for networkId=1
-
charging_idstringadditional value required for provisioning prepaid free units packages within Yoigo network (networkId=2). Not used for networkId=1
-
expire_with_tariffbooleanboolean additional value required for provisioning prepaid free units packages within Yoigo network (networkId=2). Not used for networkId=1
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
fromstring (date-time)date when the free units package starts to be included within the commercial product
-
tostring (date-time)date when the free units package is no longer included within the commercial product
-
is_mandatorybooleanindicates if the free units package is mandatory with the commercial product
-
is_mandatory_optionalbooleanindicates if the free units package is one of those that require at least one package to be selected with the commercial product
-
is_mandatory_for_salebooleanindicates if the free units package is mandatory with the commercial product during sale, but not for migration (commercial product change)
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Free Units Packages
Get free units package
/orgs /{org_id} /commercial_products /{id} /free_units_packages /{fup_id} Authenticated with a bearer token in the Authorization header Authentication
Returns free units package info by id related to a commercial product id.
Path parameters
org_idstringRequiredorganization name
idstringRequiredcommercial product identifier
fup_idstringRequiredfree units package identifier
Query parameters
commercial_profile_namestringcommercial profile name
Responses
Free Units Package
-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
mysim_free_units_package_idstringinternal id used within Mysim, null for 'dummy' unlimited voice free units packages
-
unit_amountnumber (int64)amount of units granted within the package.Currently, the unit type is always the same depending on the event type. VOZ (secs), DATOS (bytes), SMS (SMS)
-
volume_home_sl0number (int64)Data volume in bytes navigable at maximum speed
-
volume_home_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps)
-
volume_rlah_sl0number (int64)Data volume in bytes navigable at maximum speed with roaming like at home
-
volume_rlah_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps) with roaming like at home
-
volume_nr_sl0number (int64)Data volume in bytes navigable at maximum speed with national roaming
-
volume_nr_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps) with national roaming
-
event_typestring -
unlimitedbooleanindicates if the free units is sold as an unlimited package
-
max_grantsnumber (int32)maximum number of grants before the free units package expires (the maxGrants value never includes the first grant period. This means that a free units package with NRTIMES = 11 that is activated on 15/01/2020 will be active until 31/12/2020). Zero for recurring packages with no limit. In this case the package will expire when being explicitly deactivated. Null for one time packages
-
is_recurring_packagebooleanindicates if the free units package is a periodical package. Currently, if it is periodical, monthly schedule will be assigned
-
applicability_prioritynumber (int32)priority of the free units package when consuming
-
used_for_policy_rule_changebooleanindicates if the free units package is used for policy rules changes (for changing the download speed when limits are reached)
-
categorystring -
sharing_compatibleboolean -
free_units_package_templateobject-
idstring -
event_typestring -
applicability_rulestringapplicability rule for the free units package. Defines when the free units of the package can be consumed. Currently, this is always based on the packageType. Therefore, the only value allowed for now will be ‘ByEventTypeOriginDestination’
-
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
promotionsobject[]-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
need_promotion_codebooleanboolean to indicate if the promotion requires capturing a code for being applied
-
need_existent_MSISDNbooleanboolean to indicate if the promotion requires an existent MSISDN (i,e for M2M campaign)
-
applicability_modelstringit defines how the promotion is applied in terms of calculation phase and application model. FeeGeneraton (for promotions that should be applied when generating one time or recurring fees), Billing (for promotions that should be applied during billing phase),
-
restrictions_applicability_rulestringrule used for obtaining the discount value (% value or fixed value) or top-up amount to be applied. Not used currently because the discount value (% value or fixed value) is fixed, not dependent on restrictions
-
target_applicability_rulestringrule used for determining the charges on which the discount is applied. PreviousInvoiceTotalAmount (used for Billing discounts that must be applied to the previous invoice total amount), CurrentInvoiceTotalAmount (used for Billing discounts that must be applied to the current invoice total amount), FeeSubtype (discounts that must be applied to fees with specific subtype)
-
fee_subtypesstringused for promotions with targetApplicabilityRule = FeeSubType, for indicating fee subtypes to which the promotion must be applied
-
calculation_modelstringused for obtaining the discount % value/fixed value/top-up amount to be applied. Flat (fixed %/fixed discount value/top-up amount), Bulk (%/fixed discount value/top-up amount depends on the total amount of restrictions. Currently not used)
-
discount_typestringit defines if the discount value is a % or a fixed amount
-
durationnumber (int32)promotion duration indicated in number of months
-
unlimited_durationbooleanUsed to indicate if the promotion is valid for an unlimited period of time
-
keep_on_upgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a higher cost
-
keep_on_downgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a lower cost
-
prioritynumber (int32)promotion applicability priority (lower value = higher priority). Currently always 1
-
is_mandatoryboolean -
xsell_permitboolean -
reduced_fee_amountboolean -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
fromstring (date-time)date when the promotion starts to be included within the commercial profile
-
tostring (date-time)date when the promotion starts to be included within the commercial profile
-
skip_first_periodbooleanit indicates if the first period of billing is skipped
-
reduce_penalty_thresholdbooleanit indicates if the reference value has to be decreased
-
type_groupstringGroup classification of the promotion type. Use this field to identify bundle promotions.
-
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)
-
OTHER: Any other promotion type
-
-
category_namestringname to define the promotion category
-
type_namestringname to define the promotion type
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
binding_type_idstring
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]sale types for which this promotion is available
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
-
base_profilesobject[]-
idstring -
namestring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
network_idstringnetwork that can be used for provisioning the free units package (decision on which network to be used is out of catalogue domain, catalogue configuration will consider all possible networks)
-
network_provisioning_idstringid used for provisioning the free units package within the correspondent network
-
offer_idstringadditional value required for provisioning prepaid free units packages within Yoigo network (networkId=2). Not used for networkId=1
-
charging_idstringadditional value required for provisioning prepaid free units packages within Yoigo network (networkId=2). Not used for networkId=1
-
expire_with_tariffbooleanboolean additional value required for provisioning prepaid free units packages within Yoigo network (networkId=2). Not used for networkId=1
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
fromstring (date-time)date when the free units package starts to be included within the commercial product
-
tostring (date-time)date when the free units package is no longer included within the commercial product
-
is_mandatorybooleanindicates if the free units package is mandatory with the commercial product
-
is_mandatory_optionalbooleanindicates if the free units package is one of those that require at least one package to be selected with the commercial product
-
is_mandatory_for_salebooleanindicates if the free units package is mandatory with the commercial product during sale, but not for migration (commercial product change)
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Free Units Packages
Get free units package by id
/orgs /{org_id} /free_units_packages /{fup_id} Authenticated with a bearer token in the Authorization header Authentication
Returns free units package info by id related to a service provider id.
Path parameters
org_idstringRequiredorganization name
fup_idstringRequiredfree units package identifier
Responses
Free Units Package
-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
mysim_free_units_package_idstringinternal id used within Mysim, null for 'dummy' unlimited voice free units packages
-
unit_amountnumber (int64)amount of units granted within the package.Currently, the unit type is always the same depending on the event type. VOZ (secs), DATOS (bytes), SMS (SMS)
-
volume_home_sl0number (int64)Data volume in bytes navigable at maximum speed
-
volume_home_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps)
-
volume_rlah_sl0number (int64)Data volume in bytes navigable at maximum speed with roaming like at home
-
volume_rlah_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps) with roaming like at home
-
volume_nr_sl0number (int64)Data volume in bytes navigable at maximum speed with national roaming
-
volume_nr_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps) with national roaming
-
event_typestring -
unlimitedbooleanindicates if the free units is sold as an unlimited package
-
max_grantsnumber (int32)maximum number of grants before the free units package expires (the maxGrants value never includes the first grant period. This means that a free units package with NRTIMES = 11 that is activated on 15/01/2020 will be active until 31/12/2020). Zero for recurring packages with no limit. In this case the package will expire when being explicitly deactivated. Null for one time packages
-
is_recurring_packagebooleanindicates if the free units package is a periodical package. Currently, if it is periodical, monthly schedule will be assigned
-
applicability_prioritynumber (int32)priority of the free units package when consuming
-
used_for_policy_rule_changebooleanindicates if the free units package is used for policy rules changes (for changing the download speed when limits are reached)
-
categorystring -
sharing_compatibleboolean -
free_units_package_templateobject-
idstring -
event_typestring -
applicability_rulestringapplicability rule for the free units package. Defines when the free units of the package can be consumed. Currently, this is always based on the packageType. Therefore, the only value allowed for now will be ‘ByEventTypeOriginDestination’
-
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
promotionsobject[]-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
need_promotion_codebooleanboolean to indicate if the promotion requires capturing a code for being applied
-
need_existent_MSISDNbooleanboolean to indicate if the promotion requires an existent MSISDN (i,e for M2M campaign)
-
applicability_modelstringit defines how the promotion is applied in terms of calculation phase and application model. FeeGeneraton (for promotions that should be applied when generating one time or recurring fees), Billing (for promotions that should be applied during billing phase),
-
restrictions_applicability_rulestringrule used for obtaining the discount value (% value or fixed value) or top-up amount to be applied. Not used currently because the discount value (% value or fixed value) is fixed, not dependent on restrictions
-
target_applicability_rulestringrule used for determining the charges on which the discount is applied. PreviousInvoiceTotalAmount (used for Billing discounts that must be applied to the previous invoice total amount), CurrentInvoiceTotalAmount (used for Billing discounts that must be applied to the current invoice total amount), FeeSubtype (discounts that must be applied to fees with specific subtype)
-
fee_subtypesstringused for promotions with targetApplicabilityRule = FeeSubType, for indicating fee subtypes to which the promotion must be applied
-
calculation_modelstringused for obtaining the discount % value/fixed value/top-up amount to be applied. Flat (fixed %/fixed discount value/top-up amount), Bulk (%/fixed discount value/top-up amount depends on the total amount of restrictions. Currently not used)
-
discount_typestringit defines if the discount value is a % or a fixed amount
-
durationnumber (int32)promotion duration indicated in number of months
-
unlimited_durationbooleanUsed to indicate if the promotion is valid for an unlimited period of time
-
keep_on_upgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a higher cost
-
keep_on_downgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a lower cost
-
prioritynumber (int32)promotion applicability priority (lower value = higher priority). Currently always 1
-
is_mandatoryboolean -
xsell_permitboolean -
reduced_fee_amountboolean -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
fromstring (date-time)date when the promotion starts to be included within the commercial profile
-
tostring (date-time)date when the promotion starts to be included within the commercial profile
-
skip_first_periodbooleanit indicates if the first period of billing is skipped
-
reduce_penalty_thresholdbooleanit indicates if the reference value has to be decreased
-
type_groupstringGroup classification of the promotion type. Use this field to identify bundle promotions.
-
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)
-
OTHER: Any other promotion type
-
-
category_namestringname to define the promotion category
-
type_namestringname to define the promotion type
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
binding_type_idstring
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]sale types for which this promotion is available
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
-
base_profilesobject[]-
idstring -
namestring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
network_idstringnetwork that can be used for provisioning the free units package (decision on which network to be used is out of catalogue domain, catalogue configuration will consider all possible networks)
-
network_provisioning_idstringid used for provisioning the free units package within the correspondent network
-
offer_idstringadditional value required for provisioning prepaid free units packages within Yoigo network (networkId=2). Not used for networkId=1
-
charging_idstringadditional value required for provisioning prepaid free units packages within Yoigo network (networkId=2). Not used for networkId=1
-
expire_with_tariffbooleanboolean additional value required for provisioning prepaid free units packages within Yoigo network (networkId=2). Not used for networkId=1
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Free Units Packages
Get free units package by service provider
/orgs /{org_id} /free_units_packages Authenticated with a bearer token in the Authorization header Authentication
Returns free units package info by service provider
Path parameters
org_idstringRequiredorganization name
Query parameters
commercial_profile_namestringcommercial profile name
Responses
Free Units Package
-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
mysim_free_units_package_idstringinternal id used within Mysim, null for 'dummy' unlimited voice free units packages
-
unit_amountnumber (int64)amount of units granted within the package.Currently, the unit type is always the same depending on the event type. VOZ (secs), DATOS (bytes), SMS (SMS)
-
volume_home_sl0number (int64)Data volume in bytes navigable at maximum speed
-
volume_home_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps)
-
volume_rlah_sl0number (int64)Data volume in bytes navigable at maximum speed with roaming like at home
-
volume_rlah_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps) with roaming like at home
-
volume_nr_sl0number (int64)Data volume in bytes navigable at maximum speed with national roaming
-
volume_nr_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps) with national roaming
-
event_typestring -
unlimitedbooleanindicates if the free units is sold as an unlimited package
-
max_grantsnumber (int32)maximum number of grants before the free units package expires (the maxGrants value never includes the first grant period. This means that a free units package with NRTIMES = 11 that is activated on 15/01/2020 will be active until 31/12/2020). Zero for recurring packages with no limit. In this case the package will expire when being explicitly deactivated. Null for one time packages
-
is_recurring_packagebooleanindicates if the free units package is a periodical package. Currently, if it is periodical, monthly schedule will be assigned
-
applicability_prioritynumber (int32)priority of the free units package when consuming
-
used_for_policy_rule_changebooleanindicates if the free units package is used for policy rules changes (for changing the download speed when limits are reached)
-
categorystring -
sharing_compatibleboolean -
free_units_package_templateobject-
idstring -
event_typestring -
applicability_rulestringapplicability rule for the free units package. Defines when the free units of the package can be consumed. Currently, this is always based on the packageType. Therefore, the only value allowed for now will be ‘ByEventTypeOriginDestination’
-
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
promotionsobject[]-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
need_promotion_codebooleanboolean to indicate if the promotion requires capturing a code for being applied
-
need_existent_MSISDNbooleanboolean to indicate if the promotion requires an existent MSISDN (i,e for M2M campaign)
-
applicability_modelstringit defines how the promotion is applied in terms of calculation phase and application model. FeeGeneraton (for promotions that should be applied when generating one time or recurring fees), Billing (for promotions that should be applied during billing phase),
-
restrictions_applicability_rulestringrule used for obtaining the discount value (% value or fixed value) or top-up amount to be applied. Not used currently because the discount value (% value or fixed value) is fixed, not dependent on restrictions
-
target_applicability_rulestringrule used for determining the charges on which the discount is applied. PreviousInvoiceTotalAmount (used for Billing discounts that must be applied to the previous invoice total amount), CurrentInvoiceTotalAmount (used for Billing discounts that must be applied to the current invoice total amount), FeeSubtype (discounts that must be applied to fees with specific subtype)
-
fee_subtypesstringused for promotions with targetApplicabilityRule = FeeSubType, for indicating fee subtypes to which the promotion must be applied
-
calculation_modelstringused for obtaining the discount % value/fixed value/top-up amount to be applied. Flat (fixed %/fixed discount value/top-up amount), Bulk (%/fixed discount value/top-up amount depends on the total amount of restrictions. Currently not used)
-
discount_typestringit defines if the discount value is a % or a fixed amount
-
durationnumber (int32)promotion duration indicated in number of months
-
unlimited_durationbooleanUsed to indicate if the promotion is valid for an unlimited period of time
-
keep_on_upgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a higher cost
-
keep_on_downgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a lower cost
-
prioritynumber (int32)promotion applicability priority (lower value = higher priority). Currently always 1
-
is_mandatoryboolean -
xsell_permitboolean -
reduced_fee_amountboolean -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
fromstring (date-time)date when the promotion starts to be included within the commercial profile
-
tostring (date-time)date when the promotion starts to be included within the commercial profile
-
skip_first_periodbooleanit indicates if the first period of billing is skipped
-
reduce_penalty_thresholdbooleanit indicates if the reference value has to be decreased
-
type_groupstringGroup classification of the promotion type. Use this field to identify bundle promotions.
-
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)
-
OTHER: Any other promotion type
-
-
category_namestringname to define the promotion category
-
type_namestringname to define the promotion type
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
binding_type_idstring
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]sale types for which this promotion is available
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
-
base_profilesobject[]-
idstring -
namestring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
network_idstringnetwork that can be used for provisioning the free units package (decision on which network to be used is out of catalogue domain, catalogue configuration will consider all possible networks)
-
network_provisioning_idstringid used for provisioning the free units package within the correspondent network
-
offer_idstringadditional value required for provisioning prepaid free units packages within Yoigo network (networkId=2). Not used for networkId=1
-
charging_idstringadditional value required for provisioning prepaid free units packages within Yoigo network (networkId=2). Not used for networkId=1
-
expire_with_tariffbooleanboolean additional value required for provisioning prepaid free units packages within Yoigo network (networkId=2). Not used for networkId=1
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Free Units Packages
Get sellable free units packages
/orgs /{org_id} /commercial_products /{id} /free_units_packages /sellable Authenticated with a bearer token in the Authorization header Authentication
Returns an array of sellable mandatory and optional free units packages for a commercial product id. Includes details for each free units package about associated fees and promotions applicable to the free units package. Note that the free units packages compatible with a product are always related to the commercial product and are available for both bundled product and standalone product sales scenarios.
Path parameters
org_idstringRequiredorganization name
idstringRequiredcommercial product identifier
Query parameters
sale_type_namestringsale type name
commercial_profile_namestringcommercial profile name
debit_account_idstringid to filter free_units_packages with a specific debit_account
Responses
Free units packages
-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
mysim_free_units_package_idstringinternal id used within Mysim, null for 'dummy' unlimited voice free units packages
-
unit_amountnumber (int64)amount of units granted within the package.Currently, the unit type is always the same depending on the event type. VOZ (secs), DATOS (bytes), SMS (SMS)
-
volume_home_sl0number (int64)Data volume in bytes navigable at maximum speed
-
volume_home_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps)
-
volume_rlah_sl0number (int64)Data volume in bytes navigable at maximum speed with roaming like at home
-
volume_rlah_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps) with roaming like at home
-
volume_nr_sl0number (int64)Data volume in bytes navigable at maximum speed with national roaming
-
volume_nr_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps) with national roaming
-
event_typestring -
unlimitedbooleanindicates if the free units is sold as an unlimited package
-
max_grantsnumber (int32)maximum number of grants before the free units package expires (the maxGrants value never includes the first grant period. This means that a free units package with NRTIMES = 11 that is activated on 15/01/2020 will be active until 31/12/2020). Zero for recurring packages with no limit. In this case the package will expire when being explicitly deactivated. Null for one time packages
-
is_recurring_packagebooleanindicates if the free units package is a periodical package. Currently, if it is periodical, monthly schedule will be assigned
-
applicability_prioritynumber (int32)priority of the free units package when consuming
-
used_for_policy_rule_changebooleanindicates if the free units package is used for policy rules changes (for changing the download speed when limits are reached)
-
categorystring -
sharing_compatibleboolean -
free_units_package_templateobject-
idstring -
event_typestring -
applicability_rulestringapplicability rule for the free units package. Defines when the free units of the package can be consumed. Currently, this is always based on the packageType. Therefore, the only value allowed for now will be ‘ByEventTypeOriginDestination’
-
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
promotionsobject[]-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
need_promotion_codebooleanboolean to indicate if the promotion requires capturing a code for being applied
-
need_existent_MSISDNbooleanboolean to indicate if the promotion requires an existent MSISDN (i,e for M2M campaign)
-
applicability_modelstringit defines how the promotion is applied in terms of calculation phase and application model. FeeGeneraton (for promotions that should be applied when generating one time or recurring fees), Billing (for promotions that should be applied during billing phase),
-
restrictions_applicability_rulestringrule used for obtaining the discount value (% value or fixed value) or top-up amount to be applied. Not used currently because the discount value (% value or fixed value) is fixed, not dependent on restrictions
-
target_applicability_rulestringrule used for determining the charges on which the discount is applied. PreviousInvoiceTotalAmount (used for Billing discounts that must be applied to the previous invoice total amount), CurrentInvoiceTotalAmount (used for Billing discounts that must be applied to the current invoice total amount), FeeSubtype (discounts that must be applied to fees with specific subtype)
-
fee_subtypesstringused for promotions with targetApplicabilityRule = FeeSubType, for indicating fee subtypes to which the promotion must be applied
-
calculation_modelstringused for obtaining the discount % value/fixed value/top-up amount to be applied. Flat (fixed %/fixed discount value/top-up amount), Bulk (%/fixed discount value/top-up amount depends on the total amount of restrictions. Currently not used)
-
discount_typestringit defines if the discount value is a % or a fixed amount
-
durationnumber (int32)promotion duration indicated in number of months
-
unlimited_durationbooleanUsed to indicate if the promotion is valid for an unlimited period of time
-
keep_on_upgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a higher cost
-
keep_on_downgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a lower cost
-
prioritynumber (int32)promotion applicability priority (lower value = higher priority). Currently always 1
-
is_mandatoryboolean -
xsell_permitboolean -
reduced_fee_amountboolean -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
fromstring (date-time)date when the promotion starts to be included within the commercial profile
-
tostring (date-time)date when the promotion starts to be included within the commercial profile
-
skip_first_periodbooleanit indicates if the first period of billing is skipped
-
reduce_penalty_thresholdbooleanit indicates if the reference value has to be decreased
-
type_groupstringGroup classification of the promotion type. Use this field to identify bundle promotions.
-
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)
-
OTHER: Any other promotion type
-
-
category_namestringname to define the promotion category
-
type_namestringname to define the promotion type
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
binding_type_idstring
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]sale types for which this promotion is available
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
-
base_profilesobject[]-
idstring -
namestring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
network_idstringnetwork that can be used for provisioning the free units package (decision on which network to be used is out of catalogue domain, catalogue configuration will consider all possible networks)
-
network_provisioning_idstringid used for provisioning the free units package within the correspondent network
-
offer_idstringadditional value required for provisioning prepaid free units packages within Yoigo network (networkId=2). Not used for networkId=1
-
charging_idstringadditional value required for provisioning prepaid free units packages within Yoigo network (networkId=2). Not used for networkId=1
-
expire_with_tariffbooleanboolean additional value required for provisioning prepaid free units packages within Yoigo network (networkId=2). Not used for networkId=1
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
fromstring (date-time)date when the free units package starts to be included within the commercial product
-
tostring (date-time)date when the free units package is no longer included within the commercial product
-
is_mandatorybooleanindicates if the free units package is mandatory with the commercial product
-
is_mandatory_optionalbooleanindicates if the free units package is one of those that require at least one package to be selected with the commercial product
-
is_mandatory_for_salebooleanindicates if the free units package is mandatory with the commercial product during sale, but not for migration (commercial product change)
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Promotions
Get all promotions (paginated)
/orgs /{org_id} /promotions Authenticated with a bearer token in the Authorization header Authentication
Returns a paginated list of promotions with ApplicabilityModel=Billing, filtered by the same criteria as /orgs/{org_id}/promotions/sellable but regardless of their validity dates. Promotions are ordered by id.
Path parameters
org_idstringRequiredorganization name
Query parameters
sale_type_namestringsale type name
customer_type_namestringcustomer type name
numeration_type_namestringnumeration type name
commercial_profile_namestringcommercial profile name
target_applicability_rulestringtarget applicability rule
offsetinteger (int32)The number of elements to skip before starting to collect the result set.
It can be used in combination with the limit parameter to control the
pagination of the result set.
limitinteger (int32)The number of elements to return in the result set. It can be used in combination with the offset parameter to control the pagination of the result set.
Responses
Paginated list of promotions
-
itemsobject[] Required-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
need_promotion_codebooleanboolean to indicate if the promotion requires capturing a code for being applied
-
need_existent_MSISDNbooleanboolean to indicate if the promotion requires an existent MSISDN (i,e for M2M campaign)
-
applicability_modelstringit defines how the promotion is applied in terms of calculation phase and application model. FeeGeneraton (for promotions that should be applied when generating one time or recurring fees), Billing (for promotions that should be applied during billing phase),
-
restrictions_applicability_rulestringrule used for obtaining the discount value (% value or fixed value) or top-up amount to be applied. Not used currently because the discount value (% value or fixed value) is fixed, not dependent on restrictions
-
target_applicability_rulestringrule used for determining the charges on which the discount is applied. PreviousInvoiceTotalAmount (used for Billing discounts that must be applied to the previous invoice total amount), CurrentInvoiceTotalAmount (used for Billing discounts that must be applied to the current invoice total amount), FeeSubtype (discounts that must be applied to fees with specific subtype)
-
fee_subtypesstringused for promotions with targetApplicabilityRule = FeeSubType, for indicating fee subtypes to which the promotion must be applied
-
calculation_modelstringused for obtaining the discount % value/fixed value/top-up amount to be applied. Flat (fixed %/fixed discount value/top-up amount), Bulk (%/fixed discount value/top-up amount depends on the total amount of restrictions. Currently not used)
-
discount_typestringit defines if the discount value is a % or a fixed amount
-
durationnumber (int32)promotion duration indicated in number of months
-
unlimited_durationbooleanUsed to indicate if the promotion is valid for an unlimited period of time
-
keep_on_upgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a higher cost
-
keep_on_downgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a lower cost
-
prioritynumber (int32)promotion applicability priority (lower value = higher priority). Currently always 1
-
is_mandatoryboolean -
xsell_permitboolean -
reduced_fee_amountboolean -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
fromstring (date-time)date when the promotion starts to be included within the commercial profile
-
tostring (date-time)date when the promotion starts to be included within the commercial profile
-
skip_first_periodbooleanit indicates if the first period of billing is skipped
-
reduce_penalty_thresholdbooleanit indicates if the reference value has to be decreased
-
type_groupstringGroup classification of the promotion type. Use this field to identify bundle promotions.
-
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)
-
OTHER: Any other promotion type
-
-
category_namestringname to define the promotion category
-
type_namestringname to define the promotion type
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
binding_type_idstring
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]sale types for which this promotion is available
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
-
paginationobject Required-
totalinteger (int32) Required -
offsetinteger (int32) Required -
limitinteger (int32) Required
-
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Promotions
Get sellable promotions
/orgs /{org_id} /promotions /sellable Authenticated with a bearer token in the Authorization header Authentication
Returns the promotions with ApplicabilityModel=Billing and which are commercially active for the correspondent Service Provider
Path parameters
org_idstringRequiredorganization name
Query parameters
sale_type_namestringsale type name
customer_type_namestringcustomer type name
numeration_type_namestringnumeration type name
commercial_profile_namestringcommercial profile name
target_applicability_rulestringtarget applicability rule
Responses
Promotion
-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
need_promotion_codebooleanboolean to indicate if the promotion requires capturing a code for being applied
-
need_existent_MSISDNbooleanboolean to indicate if the promotion requires an existent MSISDN (i,e for M2M campaign)
-
applicability_modelstringit defines how the promotion is applied in terms of calculation phase and application model. FeeGeneraton (for promotions that should be applied when generating one time or recurring fees), Billing (for promotions that should be applied during billing phase),
-
restrictions_applicability_rulestringrule used for obtaining the discount value (% value or fixed value) or top-up amount to be applied. Not used currently because the discount value (% value or fixed value) is fixed, not dependent on restrictions
-
target_applicability_rulestringrule used for determining the charges on which the discount is applied. PreviousInvoiceTotalAmount (used for Billing discounts that must be applied to the previous invoice total amount), CurrentInvoiceTotalAmount (used for Billing discounts that must be applied to the current invoice total amount), FeeSubtype (discounts that must be applied to fees with specific subtype)
-
fee_subtypesstringused for promotions with targetApplicabilityRule = FeeSubType, for indicating fee subtypes to which the promotion must be applied
-
calculation_modelstringused for obtaining the discount % value/fixed value/top-up amount to be applied. Flat (fixed %/fixed discount value/top-up amount), Bulk (%/fixed discount value/top-up amount depends on the total amount of restrictions. Currently not used)
-
discount_typestringit defines if the discount value is a % or a fixed amount
-
durationnumber (int32)promotion duration indicated in number of months
-
unlimited_durationbooleanUsed to indicate if the promotion is valid for an unlimited period of time
-
keep_on_upgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a higher cost
-
keep_on_downgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a lower cost
-
prioritynumber (int32)promotion applicability priority (lower value = higher priority). Currently always 1
-
is_mandatoryboolean -
xsell_permitboolean -
reduced_fee_amountboolean -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
fromstring (date-time)date when the promotion starts to be included within the commercial profile
-
tostring (date-time)date when the promotion starts to be included within the commercial profile
-
skip_first_periodbooleanit indicates if the first period of billing is skipped
-
reduce_penalty_thresholdbooleanit indicates if the reference value has to be decreased
-
type_groupstringGroup classification of the promotion type. Use this field to identify bundle promotions.
-
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)
-
OTHER: Any other promotion type
-
-
category_namestringname to define the promotion category
-
type_namestringname to define the promotion type
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
binding_type_idstring
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]sale types for which this promotion is available
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Promotions
Get promotions for commercial product
/orgs /{org_id} /commercial_products /{id} /promotions Authenticated with a bearer token in the Authorization header Authentication
Returns an array of both mandatory and optional promotions related to a commercial product id, applicable when the commercial product is sold as a standalone product. Includes main characteristics of each promotion, as well as terms associated to the promotion.
Path parameters
org_idstringRequiredorganization name
idstringRequiredcommercial product identifier
Query parameters
commercial_profile_namestringcommercial profile name
sale_type_namestringsale type name
customer_type_namestringcustomer type name
numeration_type_namestringnumeration type name
Responses
Promotion
-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
need_promotion_codebooleanboolean to indicate if the promotion requires capturing a code for being applied
-
need_existent_MSISDNbooleanboolean to indicate if the promotion requires an existent MSISDN (i,e for M2M campaign)
-
applicability_modelstringit defines how the promotion is applied in terms of calculation phase and application model. FeeGeneraton (for promotions that should be applied when generating one time or recurring fees), Billing (for promotions that should be applied during billing phase),
-
restrictions_applicability_rulestringrule used for obtaining the discount value (% value or fixed value) or top-up amount to be applied. Not used currently because the discount value (% value or fixed value) is fixed, not dependent on restrictions
-
target_applicability_rulestringrule used for determining the charges on which the discount is applied. PreviousInvoiceTotalAmount (used for Billing discounts that must be applied to the previous invoice total amount), CurrentInvoiceTotalAmount (used for Billing discounts that must be applied to the current invoice total amount), FeeSubtype (discounts that must be applied to fees with specific subtype)
-
fee_subtypesstringused for promotions with targetApplicabilityRule = FeeSubType, for indicating fee subtypes to which the promotion must be applied
-
calculation_modelstringused for obtaining the discount % value/fixed value/top-up amount to be applied. Flat (fixed %/fixed discount value/top-up amount), Bulk (%/fixed discount value/top-up amount depends on the total amount of restrictions. Currently not used)
-
discount_typestringit defines if the discount value is a % or a fixed amount
-
durationnumber (int32)promotion duration indicated in number of months
-
unlimited_durationbooleanUsed to indicate if the promotion is valid for an unlimited period of time
-
keep_on_upgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a higher cost
-
keep_on_downgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a lower cost
-
prioritynumber (int32)promotion applicability priority (lower value = higher priority). Currently always 1
-
is_mandatoryboolean -
xsell_permitboolean -
reduced_fee_amountboolean -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
fromstring (date-time)date when the promotion starts to be included within the commercial profile
-
tostring (date-time)date when the promotion starts to be included within the commercial profile
-
skip_first_periodbooleanit indicates if the first period of billing is skipped
-
reduce_penalty_thresholdbooleanit indicates if the reference value has to be decreased
-
type_groupstringGroup classification of the promotion type. Use this field to identify bundle promotions.
-
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)
-
OTHER: Any other promotion type
-
-
category_namestringname to define the promotion category
-
type_namestringname to define the promotion type
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
binding_type_idstring
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]sale types for which this promotion is available
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Promotions
Get sellable promotions for commercial product
/orgs /{org_id} /commercial_products /{id} /promotions /sellable Authenticated with a bearer token in the Authorization header Authentication
Returns an array of sellable mandatory and optional promotions for a commercial product id, when this is sold as a standalone product. Includes main characteristics of each promotion, as well as terms associated to the promotion.
Path parameters
org_idstringRequiredorganization name
idstringRequiredcommercial product identifier
Query parameters
sale_type_namestringsale type name
customer_type_namestringcustomer type name
numeration_type_namestringnumeration type name
commercial_profile_namestringcommercial profile name
Responses
Promotions
-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
need_promotion_codebooleanboolean to indicate if the promotion requires capturing a code for being applied
-
need_existent_MSISDNbooleanboolean to indicate if the promotion requires an existent MSISDN (i,e for M2M campaign)
-
applicability_modelstringit defines how the promotion is applied in terms of calculation phase and application model. FeeGeneraton (for promotions that should be applied when generating one time or recurring fees), Billing (for promotions that should be applied during billing phase),
-
restrictions_applicability_rulestringrule used for obtaining the discount value (% value or fixed value) or top-up amount to be applied. Not used currently because the discount value (% value or fixed value) is fixed, not dependent on restrictions
-
target_applicability_rulestringrule used for determining the charges on which the discount is applied. PreviousInvoiceTotalAmount (used for Billing discounts that must be applied to the previous invoice total amount), CurrentInvoiceTotalAmount (used for Billing discounts that must be applied to the current invoice total amount), FeeSubtype (discounts that must be applied to fees with specific subtype)
-
fee_subtypesstringused for promotions with targetApplicabilityRule = FeeSubType, for indicating fee subtypes to which the promotion must be applied
-
calculation_modelstringused for obtaining the discount % value/fixed value/top-up amount to be applied. Flat (fixed %/fixed discount value/top-up amount), Bulk (%/fixed discount value/top-up amount depends on the total amount of restrictions. Currently not used)
-
discount_typestringit defines if the discount value is a % or a fixed amount
-
durationnumber (int32)promotion duration indicated in number of months
-
unlimited_durationbooleanUsed to indicate if the promotion is valid for an unlimited period of time
-
keep_on_upgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a higher cost
-
keep_on_downgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a lower cost
-
prioritynumber (int32)promotion applicability priority (lower value = higher priority). Currently always 1
-
is_mandatoryboolean -
xsell_permitboolean -
reduced_fee_amountboolean -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
fromstring (date-time)date when the promotion starts to be included within the commercial profile
-
tostring (date-time)date when the promotion starts to be included within the commercial profile
-
skip_first_periodbooleanit indicates if the first period of billing is skipped
-
reduce_penalty_thresholdbooleanit indicates if the reference value has to be decreased
-
type_groupstringGroup classification of the promotion type. Use this field to identify bundle promotions.
-
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)
-
OTHER: Any other promotion type
-
-
category_namestringname to define the promotion category
-
type_namestringname to define the promotion type
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
binding_type_idstring
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]sale types for which this promotion is available
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Promotions
Get promotions for bundled product
/orgs /{org_id} /bundled_products /{id} /promotions Authenticated with a bearer token in the Authorization header Authentication
Returns an array of both mandatory and optional promotions related to a bundled product id. Includes main characteristics of each promotion, as well as terms associated to the promotion.
Path parameters
org_idstringRequiredorganization name
idstringRequiredbundled product identifier
Query parameters
sale_type_namestringsale type name
customer_type_namestringcustomer type name
numeration_type_namestringnumeration type name
commercial_profile_namestringcommercial profile name
Responses
Promotion
-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
need_promotion_codebooleanboolean to indicate if the promotion requires capturing a code for being applied
-
need_existent_MSISDNbooleanboolean to indicate if the promotion requires an existent MSISDN (i,e for M2M campaign)
-
applicability_modelstringit defines how the promotion is applied in terms of calculation phase and application model. FeeGeneraton (for promotions that should be applied when generating one time or recurring fees), Billing (for promotions that should be applied during billing phase),
-
restrictions_applicability_rulestringrule used for obtaining the discount value (% value or fixed value) or top-up amount to be applied. Not used currently because the discount value (% value or fixed value) is fixed, not dependent on restrictions
-
target_applicability_rulestringrule used for determining the charges on which the discount is applied. PreviousInvoiceTotalAmount (used for Billing discounts that must be applied to the previous invoice total amount), CurrentInvoiceTotalAmount (used for Billing discounts that must be applied to the current invoice total amount), FeeSubtype (discounts that must be applied to fees with specific subtype)
-
fee_subtypesstringused for promotions with targetApplicabilityRule = FeeSubType, for indicating fee subtypes to which the promotion must be applied
-
calculation_modelstringused for obtaining the discount % value/fixed value/top-up amount to be applied. Flat (fixed %/fixed discount value/top-up amount), Bulk (%/fixed discount value/top-up amount depends on the total amount of restrictions. Currently not used)
-
discount_typestringit defines if the discount value is a % or a fixed amount
-
durationnumber (int32)promotion duration indicated in number of months
-
unlimited_durationbooleanUsed to indicate if the promotion is valid for an unlimited period of time
-
keep_on_upgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a higher cost
-
keep_on_downgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a lower cost
-
prioritynumber (int32)promotion applicability priority (lower value = higher priority). Currently always 1
-
is_mandatoryboolean -
xsell_permitboolean -
reduced_fee_amountboolean -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
fromstring (date-time)date when the promotion starts to be included within the commercial profile
-
tostring (date-time)date when the promotion starts to be included within the commercial profile
-
skip_first_periodbooleanit indicates if the first period of billing is skipped
-
reduce_penalty_thresholdbooleanit indicates if the reference value has to be decreased
-
type_groupstringGroup classification of the promotion type. Use this field to identify bundle promotions.
-
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)
-
OTHER: Any other promotion type
-
-
category_namestringname to define the promotion category
-
type_namestringname to define the promotion type
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
binding_type_idstring
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]sale types for which this promotion is available
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Promotions
Get sellable promotions for bundled product
/orgs /{org_id} /bundled_products /{id} /promotions /sellable Authenticated with a bearer token in the Authorization header Authentication
Returns an array of sellable mandatory and optional promotions related to a bundled product id. Includes main characteristics of each promotion, as well as terms associated to the promotion.
Path parameters
org_idstringRequiredorganization name
idstringRequiredbundled product identifier
Query parameters
sale_type_namestringsale type name
customer_type_namestringcustomer type name
numeration_type_namestringnumeration type name
commercial_profile_namestringcommercial profile name
Responses
Promotions
-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
need_promotion_codebooleanboolean to indicate if the promotion requires capturing a code for being applied
-
need_existent_MSISDNbooleanboolean to indicate if the promotion requires an existent MSISDN (i,e for M2M campaign)
-
applicability_modelstringit defines how the promotion is applied in terms of calculation phase and application model. FeeGeneraton (for promotions that should be applied when generating one time or recurring fees), Billing (for promotions that should be applied during billing phase),
-
restrictions_applicability_rulestringrule used for obtaining the discount value (% value or fixed value) or top-up amount to be applied. Not used currently because the discount value (% value or fixed value) is fixed, not dependent on restrictions
-
target_applicability_rulestringrule used for determining the charges on which the discount is applied. PreviousInvoiceTotalAmount (used for Billing discounts that must be applied to the previous invoice total amount), CurrentInvoiceTotalAmount (used for Billing discounts that must be applied to the current invoice total amount), FeeSubtype (discounts that must be applied to fees with specific subtype)
-
fee_subtypesstringused for promotions with targetApplicabilityRule = FeeSubType, for indicating fee subtypes to which the promotion must be applied
-
calculation_modelstringused for obtaining the discount % value/fixed value/top-up amount to be applied. Flat (fixed %/fixed discount value/top-up amount), Bulk (%/fixed discount value/top-up amount depends on the total amount of restrictions. Currently not used)
-
discount_typestringit defines if the discount value is a % or a fixed amount
-
durationnumber (int32)promotion duration indicated in number of months
-
unlimited_durationbooleanUsed to indicate if the promotion is valid for an unlimited period of time
-
keep_on_upgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a higher cost
-
keep_on_downgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a lower cost
-
prioritynumber (int32)promotion applicability priority (lower value = higher priority). Currently always 1
-
is_mandatoryboolean -
xsell_permitboolean -
reduced_fee_amountboolean -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
fromstring (date-time)date when the promotion starts to be included within the commercial profile
-
tostring (date-time)date when the promotion starts to be included within the commercial profile
-
skip_first_periodbooleanit indicates if the first period of billing is skipped
-
reduce_penalty_thresholdbooleanit indicates if the reference value has to be decreased
-
type_groupstringGroup classification of the promotion type. Use this field to identify bundle promotions.
-
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)
-
OTHER: Any other promotion type
-
-
category_namestringname to define the promotion category
-
type_namestringname to define the promotion type
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
binding_type_idstring
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]sale types for which this promotion is available
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Promotions
Get promotions for bundled commercial product
/orgs /{org_id} /bundled_commercial_products /{id} /promotions Authenticated with a bearer token in the Authorization header Authentication
Returns an array of both mandatory and optional promotions related to a bundled commercial product id, applicable when the commercial product is sold as a bundled commercial product. Includes main characteristics of each promotion, as well as terms associated to the promotion.
Path parameters
org_idstringRequiredorganization name
idstringRequiredbundled commercial product identifier
Query parameters
commercial_profile_namestringcommercial profile name
sale_type_namestringsale type name
customer_type_namestringcustomer type name
numeration_type_namestringnumeration type name
Responses
Promotion
-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
need_promotion_codebooleanboolean to indicate if the promotion requires capturing a code for being applied
-
need_existent_MSISDNbooleanboolean to indicate if the promotion requires an existent MSISDN (i,e for M2M campaign)
-
applicability_modelstringit defines how the promotion is applied in terms of calculation phase and application model. FeeGeneraton (for promotions that should be applied when generating one time or recurring fees), Billing (for promotions that should be applied during billing phase),
-
restrictions_applicability_rulestringrule used for obtaining the discount value (% value or fixed value) or top-up amount to be applied. Not used currently because the discount value (% value or fixed value) is fixed, not dependent on restrictions
-
target_applicability_rulestringrule used for determining the charges on which the discount is applied. PreviousInvoiceTotalAmount (used for Billing discounts that must be applied to the previous invoice total amount), CurrentInvoiceTotalAmount (used for Billing discounts that must be applied to the current invoice total amount), FeeSubtype (discounts that must be applied to fees with specific subtype)
-
fee_subtypesstringused for promotions with targetApplicabilityRule = FeeSubType, for indicating fee subtypes to which the promotion must be applied
-
calculation_modelstringused for obtaining the discount % value/fixed value/top-up amount to be applied. Flat (fixed %/fixed discount value/top-up amount), Bulk (%/fixed discount value/top-up amount depends on the total amount of restrictions. Currently not used)
-
discount_typestringit defines if the discount value is a % or a fixed amount
-
durationnumber (int32)promotion duration indicated in number of months
-
unlimited_durationbooleanUsed to indicate if the promotion is valid for an unlimited period of time
-
keep_on_upgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a higher cost
-
keep_on_downgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a lower cost
-
prioritynumber (int32)promotion applicability priority (lower value = higher priority). Currently always 1
-
is_mandatoryboolean -
xsell_permitboolean -
reduced_fee_amountboolean -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
fromstring (date-time)date when the promotion starts to be included within the commercial profile
-
tostring (date-time)date when the promotion starts to be included within the commercial profile
-
skip_first_periodbooleanit indicates if the first period of billing is skipped
-
reduce_penalty_thresholdbooleanit indicates if the reference value has to be decreased
-
type_groupstringGroup classification of the promotion type. Use this field to identify bundle promotions.
-
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)
-
OTHER: Any other promotion type
-
-
category_namestringname to define the promotion category
-
type_namestringname to define the promotion type
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
binding_type_idstring
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]sale types for which this promotion is available
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Promotions
Get sellable promotions for bundled commercial product
/orgs /{org_id} /bundled_commercial_products /{id} /promotions /sellable Authenticated with a bearer token in the Authorization header Authentication
Returns an array of sellable mandatory and optional promotions related to a bundled commercial product id, when this is sold as part of a bundled product. Includes main characteristics of each promotion, as well as terms associated to the promotion.
Path parameters
org_idstringRequiredorganization name
idstringRequiredbundled commercial product identifier
Query parameters
sale_type_namestringsale type name
customer_type_namestringcustomer type name
numeration_type_namestringnumeration type name
commercial_profile_namestringcommercial profile name
Responses
Promotions
-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
need_promotion_codebooleanboolean to indicate if the promotion requires capturing a code for being applied
-
need_existent_MSISDNbooleanboolean to indicate if the promotion requires an existent MSISDN (i,e for M2M campaign)
-
applicability_modelstringit defines how the promotion is applied in terms of calculation phase and application model. FeeGeneraton (for promotions that should be applied when generating one time or recurring fees), Billing (for promotions that should be applied during billing phase),
-
restrictions_applicability_rulestringrule used for obtaining the discount value (% value or fixed value) or top-up amount to be applied. Not used currently because the discount value (% value or fixed value) is fixed, not dependent on restrictions
-
target_applicability_rulestringrule used for determining the charges on which the discount is applied. PreviousInvoiceTotalAmount (used for Billing discounts that must be applied to the previous invoice total amount), CurrentInvoiceTotalAmount (used for Billing discounts that must be applied to the current invoice total amount), FeeSubtype (discounts that must be applied to fees with specific subtype)
-
fee_subtypesstringused for promotions with targetApplicabilityRule = FeeSubType, for indicating fee subtypes to which the promotion must be applied
-
calculation_modelstringused for obtaining the discount % value/fixed value/top-up amount to be applied. Flat (fixed %/fixed discount value/top-up amount), Bulk (%/fixed discount value/top-up amount depends on the total amount of restrictions. Currently not used)
-
discount_typestringit defines if the discount value is a % or a fixed amount
-
durationnumber (int32)promotion duration indicated in number of months
-
unlimited_durationbooleanUsed to indicate if the promotion is valid for an unlimited period of time
-
keep_on_upgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a higher cost
-
keep_on_downgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a lower cost
-
prioritynumber (int32)promotion applicability priority (lower value = higher priority). Currently always 1
-
is_mandatoryboolean -
xsell_permitboolean -
reduced_fee_amountboolean -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
fromstring (date-time)date when the promotion starts to be included within the commercial profile
-
tostring (date-time)date when the promotion starts to be included within the commercial profile
-
skip_first_periodbooleanit indicates if the first period of billing is skipped
-
reduce_penalty_thresholdbooleanit indicates if the reference value has to be decreased
-
type_groupstringGroup classification of the promotion type. Use this field to identify bundle promotions.
-
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)
-
OTHER: Any other promotion type
-
-
category_namestringname to define the promotion category
-
type_namestringname to define the promotion type
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
binding_type_idstring
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]sale types for which this promotion is available
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Promotions
Get promotions for value added service
Deprecated /orgs /{org_id} /value_added_services /{id} /promotions Authenticated with a bearer token in the Authorization header Authentication
DEPRECATED. Use GET /orgs/{org_id}/bundled_products/{bp_id}/bundled_commercial_products/{bcp_id}/value_added_services/{vas_id}/promotions instead.
Returns an array of both mandatory and optional promotions compatible with the given value added service. Includes main characteristics of each promotion, as well as terms associated to the promotion.
Path parameters
org_idstringRequiredorganization name
idstringRequiredvalue added service identifier
Query parameters
sale_type_namestringsale type name
customer_type_namestringcustomer type name
numeration_type_namestringnumeration type name
commercial_profile_namestringcommercial profile name
Responses
Promotion
-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
need_promotion_codebooleanboolean to indicate if the promotion requires capturing a code for being applied
-
need_existent_MSISDNbooleanboolean to indicate if the promotion requires an existent MSISDN (i,e for M2M campaign)
-
applicability_modelstringit defines how the promotion is applied in terms of calculation phase and application model. FeeGeneraton (for promotions that should be applied when generating one time or recurring fees), Billing (for promotions that should be applied during billing phase),
-
restrictions_applicability_rulestringrule used for obtaining the discount value (% value or fixed value) or top-up amount to be applied. Not used currently because the discount value (% value or fixed value) is fixed, not dependent on restrictions
-
target_applicability_rulestringrule used for determining the charges on which the discount is applied. PreviousInvoiceTotalAmount (used for Billing discounts that must be applied to the previous invoice total amount), CurrentInvoiceTotalAmount (used for Billing discounts that must be applied to the current invoice total amount), FeeSubtype (discounts that must be applied to fees with specific subtype)
-
fee_subtypesstringused for promotions with targetApplicabilityRule = FeeSubType, for indicating fee subtypes to which the promotion must be applied
-
calculation_modelstringused for obtaining the discount % value/fixed value/top-up amount to be applied. Flat (fixed %/fixed discount value/top-up amount), Bulk (%/fixed discount value/top-up amount depends on the total amount of restrictions. Currently not used)
-
discount_typestringit defines if the discount value is a % or a fixed amount
-
durationnumber (int32)promotion duration indicated in number of months
-
unlimited_durationbooleanUsed to indicate if the promotion is valid for an unlimited period of time
-
keep_on_upgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a higher cost
-
keep_on_downgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a lower cost
-
prioritynumber (int32)promotion applicability priority (lower value = higher priority). Currently always 1
-
is_mandatoryboolean -
xsell_permitboolean -
reduced_fee_amountboolean -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
fromstring (date-time)date when the promotion starts to be included within the commercial profile
-
tostring (date-time)date when the promotion starts to be included within the commercial profile
-
skip_first_periodbooleanit indicates if the first period of billing is skipped
-
reduce_penalty_thresholdbooleanit indicates if the reference value has to be decreased
-
type_groupstringGroup classification of the promotion type. Use this field to identify bundle promotions.
-
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)
-
OTHER: Any other promotion type
-
-
category_namestringname to define the promotion category
-
type_namestringname to define the promotion type
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
binding_type_idstring
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]sale types for which this promotion is available
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Promotions
Get sellable promotions for value added service
Deprecated /orgs /{org_id} /value_added_services /{id} /promotions /sellable Authenticated with a bearer token in the Authorization header Authentication
DEPRECATED. Use GET /orgs/{org_id}/bundled_products/{bp_id}/bundled_commercial_products/{bcp_id}/value_added_services/{vas_id}/promotions with sellable=true instead.
Returns an array of sellable mandatory and optional promotions for a value added service id. Includes main characteristics of each promotion, as well as terms associated to the promotion.
Path parameters
org_idstringRequiredorganization name
idstringRequiredvalue added service identifier
Query parameters
sale_type_namestringsale type name
customer_type_namestringcustomer type name
numeration_type_namestringnumeration type name
commercial_profile_namestringcommercial profile name
Responses
Promotions
-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
need_promotion_codebooleanboolean to indicate if the promotion requires capturing a code for being applied
-
need_existent_MSISDNbooleanboolean to indicate if the promotion requires an existent MSISDN (i,e for M2M campaign)
-
applicability_modelstringit defines how the promotion is applied in terms of calculation phase and application model. FeeGeneraton (for promotions that should be applied when generating one time or recurring fees), Billing (for promotions that should be applied during billing phase),
-
restrictions_applicability_rulestringrule used for obtaining the discount value (% value or fixed value) or top-up amount to be applied. Not used currently because the discount value (% value or fixed value) is fixed, not dependent on restrictions
-
target_applicability_rulestringrule used for determining the charges on which the discount is applied. PreviousInvoiceTotalAmount (used for Billing discounts that must be applied to the previous invoice total amount), CurrentInvoiceTotalAmount (used for Billing discounts that must be applied to the current invoice total amount), FeeSubtype (discounts that must be applied to fees with specific subtype)
-
fee_subtypesstringused for promotions with targetApplicabilityRule = FeeSubType, for indicating fee subtypes to which the promotion must be applied
-
calculation_modelstringused for obtaining the discount % value/fixed value/top-up amount to be applied. Flat (fixed %/fixed discount value/top-up amount), Bulk (%/fixed discount value/top-up amount depends on the total amount of restrictions. Currently not used)
-
discount_typestringit defines if the discount value is a % or a fixed amount
-
durationnumber (int32)promotion duration indicated in number of months
-
unlimited_durationbooleanUsed to indicate if the promotion is valid for an unlimited period of time
-
keep_on_upgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a higher cost
-
keep_on_downgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a lower cost
-
prioritynumber (int32)promotion applicability priority (lower value = higher priority). Currently always 1
-
is_mandatoryboolean -
xsell_permitboolean -
reduced_fee_amountboolean -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
fromstring (date-time)date when the promotion starts to be included within the commercial profile
-
tostring (date-time)date when the promotion starts to be included within the commercial profile
-
skip_first_periodbooleanit indicates if the first period of billing is skipped
-
reduce_penalty_thresholdbooleanit indicates if the reference value has to be decreased
-
type_groupstringGroup classification of the promotion type. Use this field to identify bundle promotions.
-
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)
-
OTHER: Any other promotion type
-
-
category_namestringname to define the promotion category
-
type_namestringname to define the promotion type
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
binding_type_idstring
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]sale types for which this promotion is available
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Promotions
Get promotions for a value added service within a bundled commercial product context
/orgs /{org_id} /bundled_products /{bp_id} /bundled_commercial_products /{bcp_id} /value_added_services /{vas_id} /promotions Authenticated with a bearer token in the Authorization header Authentication
Returns promotions for a value added service identified by its id, within the context of a specific bundled product and bundled commercial product. The sellable flag is a tri-state filter: true returns only currently active promotions (all related date ranges are valid), false returns only deprecated promotions (at least one date range is expired), and omitting it returns all configured promotions without any date filtering. The sale_type_name parameter is required when sellable=true (otherwise 400 is returned). When sellable is false or omitted, sale_type_name is optional: if provided, promotions are filtered by sale type; if omitted, no sale type filtering is applied.
Path parameters
org_idstringRequiredorganization name
bp_idstringRequiredbundled product identifier
bcp_idstringRequiredbundled commercial product identifier
vas_idstringRequiredvalue added service identifier
Query parameters
sale_type_namestringsale type name
sellablebooleantri-state filter: true returns only currently active promotions, false returns only deprecated promotions, and omitting it returns all configured promotions without any date filtering
commercial_profile_namestringcommercial profile name
Responses
Promotions
-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
need_promotion_codebooleanboolean to indicate if the promotion requires capturing a code for being applied
-
need_existent_MSISDNbooleanboolean to indicate if the promotion requires an existent MSISDN (i,e for M2M campaign)
-
applicability_modelstringit defines how the promotion is applied in terms of calculation phase and application model. FeeGeneraton (for promotions that should be applied when generating one time or recurring fees), Billing (for promotions that should be applied during billing phase),
-
restrictions_applicability_rulestringrule used for obtaining the discount value (% value or fixed value) or top-up amount to be applied. Not used currently because the discount value (% value or fixed value) is fixed, not dependent on restrictions
-
target_applicability_rulestringrule used for determining the charges on which the discount is applied. PreviousInvoiceTotalAmount (used for Billing discounts that must be applied to the previous invoice total amount), CurrentInvoiceTotalAmount (used for Billing discounts that must be applied to the current invoice total amount), FeeSubtype (discounts that must be applied to fees with specific subtype)
-
fee_subtypesstringused for promotions with targetApplicabilityRule = FeeSubType, for indicating fee subtypes to which the promotion must be applied
-
calculation_modelstringused for obtaining the discount % value/fixed value/top-up amount to be applied. Flat (fixed %/fixed discount value/top-up amount), Bulk (%/fixed discount value/top-up amount depends on the total amount of restrictions. Currently not used)
-
discount_typestringit defines if the discount value is a % or a fixed amount
-
durationnumber (int32)promotion duration indicated in number of months
-
unlimited_durationbooleanUsed to indicate if the promotion is valid for an unlimited period of time
-
keep_on_upgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a higher cost
-
keep_on_downgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a lower cost
-
prioritynumber (int32)promotion applicability priority (lower value = higher priority). Currently always 1
-
is_mandatoryboolean -
xsell_permitboolean -
reduced_fee_amountboolean -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
fromstring (date-time)date when the promotion starts to be included within the commercial profile
-
tostring (date-time)date when the promotion starts to be included within the commercial profile
-
skip_first_periodbooleanit indicates if the first period of billing is skipped
-
reduce_penalty_thresholdbooleanit indicates if the reference value has to be decreased
-
type_groupstringGroup classification of the promotion type. Use this field to identify bundle promotions.
-
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)
-
OTHER: Any other promotion type
-
-
category_namestringname to define the promotion category
-
type_namestringname to define the promotion type
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
binding_type_idstring
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]sale types for which this promotion is available
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
Bad request
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Promotions
Get promotion detail by id
/orgs /{org_id} /promotions /{id} Authenticated with a bearer token in the Authorization header Authentication
This endpoint returns the promotion information by a given id
Path parameters
org_idstringRequiredorganization name
idstringRequiredpromotion identifier
Responses
Promotion
-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
need_promotion_codebooleanboolean to indicate if the promotion requires capturing a code for being applied
-
need_existent_MSISDNbooleanboolean to indicate if the promotion requires an existent MSISDN (i,e for M2M campaign)
-
applicability_modelstringit defines how the promotion is applied in terms of calculation phase and application model. FeeGeneraton (for promotions that should be applied when generating one time or recurring fees), Billing (for promotions that should be applied during billing phase),
-
restrictions_applicability_rulestringrule used for obtaining the discount value (% value or fixed value) or top-up amount to be applied. Not used currently because the discount value (% value or fixed value) is fixed, not dependent on restrictions
-
target_applicability_rulestringrule used for determining the charges on which the discount is applied. PreviousInvoiceTotalAmount (used for Billing discounts that must be applied to the previous invoice total amount), CurrentInvoiceTotalAmount (used for Billing discounts that must be applied to the current invoice total amount), FeeSubtype (discounts that must be applied to fees with specific subtype)
-
fee_subtypesstringused for promotions with targetApplicabilityRule = FeeSubType, for indicating fee subtypes to which the promotion must be applied
-
calculation_modelstringused for obtaining the discount % value/fixed value/top-up amount to be applied. Flat (fixed %/fixed discount value/top-up amount), Bulk (%/fixed discount value/top-up amount depends on the total amount of restrictions. Currently not used)
-
discount_typestringit defines if the discount value is a % or a fixed amount
-
durationnumber (int32)promotion duration indicated in number of months
-
unlimited_durationbooleanUsed to indicate if the promotion is valid for an unlimited period of time
-
keep_on_upgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a higher cost
-
keep_on_downgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a lower cost
-
prioritynumber (int32)promotion applicability priority (lower value = higher priority). Currently always 1
-
is_mandatoryboolean -
xsell_permitboolean -
reduced_fee_amountboolean -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
fromstring (date-time)date when the promotion starts to be included within the commercial profile
-
tostring (date-time)date when the promotion starts to be included within the commercial profile
-
skip_first_periodbooleanit indicates if the first period of billing is skipped
-
reduce_penalty_thresholdbooleanit indicates if the reference value has to be decreased
-
type_groupstringGroup classification of the promotion type. Use this field to identify bundle promotions.
-
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)
-
OTHER: Any other promotion type
-
-
category_namestringname to define the promotion category
-
type_namestringname to define the promotion type
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
binding_type_idstring
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]sale types for which this promotion is available
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Promotions
Get incompatible promotions in the context of a commercial_product
/orgs /{org_id} /commercial_products /{commercial_product_id} /promotions /{promotion_id} /incompatibilities Authenticated with a bearer token in the Authorization header Authentication
Returns a paginated list of incompatible promotions for the given promotion if any or an empty list if there are no incompatibilities
Path parameters
org_idstringRequiredorganization name
commercial_product_idstringRequiredUnique commercial_product identifier
promotion_idstringRequiredpromotion identifier
Query parameters
applicable_atstring (date-time)Return only incompatibilities applicable at the specified date-time
offsetinteger (int32)The number of elements to skip before starting to collect the result set.
It can be used in combination with the limit parameter to control the
pagination of the result set.
limitinteger (int32)The number of elements to return in the result set. It can be used in combination with the offset parameter to control the pagination of the result set.
Responses
List of incompatible promotions
-
itemsobject[] Required-
promotion_idstring RequiredId of the incompatible promotion
-
promotion_marketing_namestringMarketing name of the incompatible promotion
-
promotion_typestringPromotionType name of the incompatible promotion. Do not use this field to determine if a promotion is a bundle; use promotion_type_group instead.
-
promotion_type_groupstringGroup classification of the promotion type. Use this field to identify bundle promotions.
-
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)
-
OTHER: Any other promotion type
-
-
fromstring (date-time)Date-time that marks the start of the incompatibility between this promotion and the given one
-
tostring (date-time)Date-time that marks the end of the incompatibility between this promotion and the given one
-
-
paginationobject Required-
totalinteger (int32) Required -
offsetinteger (int32) Required -
limitinteger (int32) Required
-
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Promotions
Get incompatible promotions in the context of a bundled_commercial_product
/orgs /{org_id} /bundled_commercial_products /{bcp_id} /promotions /{promotion_id} /incompatibilities Authenticated with a bearer token in the Authorization header Authentication
Returns a paginated list of incompatible promotions for the given promotion if any or an empty list if there are no incompatibilities
Path parameters
org_idstringRequiredorganization name
bcp_idstringRequiredbundled commercial product identifier
promotion_idstringRequiredpromotion identifier
Query parameters
applicable_atstring (date-time)Return only incompatibilities applicable at the specified date-time
offsetinteger (int32)The number of elements to skip before starting to collect the result set.
It can be used in combination with the limit parameter to control the
pagination of the result set.
limitinteger (int32)The number of elements to return in the result set. It can be used in combination with the offset parameter to control the pagination of the result set.
Responses
List of incompatible promotions
-
itemsobject[] Required-
promotion_idstring RequiredId of the incompatible promotion
-
promotion_marketing_namestringMarketing name of the incompatible promotion
-
promotion_typestringPromotionType name of the incompatible promotion. Do not use this field to determine if a promotion is a bundle; use promotion_type_group instead.
-
promotion_type_groupstringGroup classification of the promotion type. Use this field to identify bundle promotions.
-
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)
-
OTHER: Any other promotion type
-
-
fromstring (date-time)Date-time that marks the start of the incompatibility between this promotion and the given one
-
tostring (date-time)Date-time that marks the end of the incompatibility between this promotion and the given one
-
-
paginationobject Required-
totalinteger (int32) Required -
offsetinteger (int32) Required -
limitinteger (int32) Required
-
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Commercial Devices
Get terms assigned to sellable commercial devices.
/orgs /{org_id} /commercial_devices /terms /sellable Authenticated with a bearer token in the Authorization header Authentication
Returns an array with the information about terms (campaignid, penalty, permanency) assigned to sellable commercial devices for the specified service provider.
Path parameters
org_idstringRequiredorganization name
Query parameters
sale_type_namestringsale type name
Responses
ok
-
campaign_idstring -
termobject-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Commercial Devices
Get sellable commercial devices for commercial product
/orgs /{org_id} /commercial_products /{id} /commercial_devices /sellable Authenticated with a bearer token in the Authorization header Authentication
Returns an array of sellable mandatory and optional commercial devices for a commercial product id, when this is sold as a standalone product. Includes main characteristics of each device, as well as fees and installment plans associated to the commercial device and terms associated to them.
Path parameters
org_idstringRequiredorganization name
idstringRequiredcommercial product identifier
Query parameters
sale_type_namestringsale type name
numeration_type_namestringnumeration type name
commercial_profile_namestringcommercial profile name
payment_typestringoptional field that indicates if is financed, single or recurring payment
device_categorystringoptional field to filter by device category
device_brandstringoptional field to filter by device brand
generic_codestringoptional field to filter by generic code device
permanencebooleanflag to filter commercial devices based on whether they have permanence or not
Responses
Commercial devices
-
idstring -
terminal_idstringterminalId within legacy MySim, required to be sent within legacy Mysim socket request
-
campaign_idstringoptional field, mysim campaign for handling permanency associated to the commercial device
-
renewal_categorystringoptional field, only informed for 'Cartera' subscriptions to inform the commercial profile
-
cession_pricenumber (double)optional field, only informed for 'Cartera' subscriptions to inform the cession price
-
retail_pricenumber (double)optional field, only informed in non-mandatory commercial devices. is the price the end user pays for the device.
-
discountnumber (double)optional field, only informed in non-mandatory commercial devices. is the discount made by the service provider for the device.
-
insured_amountnumber (double)field with the amount that can be insured in a particular device, if there is no insurance option a -1.00 value is returned
-
payment_typestringfield that indicates if is financed, single or recurring payment
-
numeration_typesobject[]optional field that indicates the numeration origin.
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
donor_numeration_typesobject[]optional field that indicates the numeration type in case of portability (numeration type is not Nuevo numero)
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]optional field that indicates if it is a new sale or an action over an existing subscription
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
deviceobject-
idstring -
generic_codestring -
brandstring -
modelstring -
namestring -
descriptionstring -
categorystring -
colourstring -
is_availablebooleanbased on this attribute we know if a device is active or not
-
fromstring (date-time) -
tostring (date-time) -
include_preinstalled_simbooleanif the device has a built-in sim card
-
image_urlstring (url) | nullurl to device image
-
model_webstring
-
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge type is used for charges applied on a recurring basis, OneTimeFee type is used for charged that are applied only once
-
subtypestring -
fromstring (date-time)date when the fee starts to be applicable for the commercial device
-
tostring (date-time)date when the fee is no longer applicable for the commercial device
-
recurrence_schemestringBoundToBillCycle scheme is used for recurring charges that are applied bound to the correspondent bill cycle (for postpaid or automatic top-up prepaid). NonBoundToBillCycle scheme is used for recurring charges that are not bound to a bill cycle
-
recurrence_interval_typestringrecurrence interval type for NonBoundToBill fees. Weekly (Every Monday), Daily (Every day), Monthly (Every 1st month), BoundToActivation ()Every N days since activation)
-
recurrence_intervalnumber (int32)Recurrence interval for NonBoundToBill recurring charges. Currently always 30 days for MM brand, 28 days for rest of brands
-
paid_in_advancebooleanindicates if the recurring charge is paid in advance or in arrears. Currently always true for recurring charges with subtype 'ServiceFee' associated to mobile commercial products for classic prepaid and automatic top-up prepaid models
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is own (MM) or external (third-party)
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
-
installment_plansobject[]-
idstring -
namestring -
fromstring (date-time)date when the term starts to be applicable for the commercial device
-
tostring (date-time)date when the term is no longer applicable for the commercial device
-
durationnumber (int32)duration of the installment plan indicated in number of months
-
tinstringonly informed in case of financed offer_id
-
taestringonly informed in case of financed offer_id
-
commissionstringonly informed in case of financed, amunt of the commission applied
-
commission_percentagestringonly informed in case of financed, percentage of the commission applied
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBoundToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
fromstring (date-time) -
tostring (date-time) -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time) -
logistic_requiredbooleanoptional property (only informed in not mandatory CommercialDevices), by default 'false' value, this property indicates if the device needs logistic or not based on the commercial profile definition.
-
store_delivery_allowedbooleanthis property indicates if a device with logistics shipping can be delivered to a store or not
-
-
installation_typeobject-
idstring -
descriptionstring
-
-
fromstring (date-time)date when the commercial device starts to be applicable for a commercial product/bundled commercial product/value added service
-
tostring (date-time)date when the commercial device is no longer applicable for a commercial product/bundled commercial product/value added service
-
is_mandatorybooleanif the commercial device is mandatory when purchasing the correspondent commercial product/bundled commercial product/value added service
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Commercial Devices
Get sellable commercial devices for bundled commercial product
Deprecated /orgs /{org_id} /bundled_commercial_products /{id} /commercial_devices /sellable Authenticated with a bearer token in the Authorization header Authentication
Deprecated. Use GET /orgs/{org_id}/bundled_products/{bundled_product_id}/bundled_commercial_products/{bcp_id}/commercial_devices/sellable instead.
Returns an array of sellable mandatory and optional commercial devices related to a bundled commercial product id, when this is sold as part of a bundled product. Includes main characteristics of each device, as well as fees and installment plans associated to the commercial device and terms associated to them.
Path parameters
org_idstringRequiredorganization name
idstringRequiredbundled commercial product identifier
Query parameters
sale_type_namestringsale type name
numeration_type_namestringnumeration type name
donor_numeration_type_namestringoptional field that indicates the numeration type in case of portability (numeration type is not Nuevo numero)
commercial_profile_namestringcommercial profile name
payment_typestringoptional field that indicates if is financed, single or recurring payment
device_categorystringoptional field to filter by device category
device_brandstringoptional field to filter by device brand
generic_codestringoptional field to filter by generic code device
permanencebooleanflag to filter commercial devices based on whether they have permanence or not
permanence_typestringflag to filter device permanences according to the multi-financing business rules
-
MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time
-
NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time
Note: If this parameter (
permanence_type) is provided in the request, thepermanencequery parameter will betrue.-
mandatorybooleanflag to filter commercial devices that are mandatory to sell in a bundled product. If absent, no filtering is applied (null).
Responses
Commercial devices
-
idstring -
terminal_idstringterminalId within legacy MySim, required to be sent within legacy Mysim socket request
-
campaign_idstringoptional field, mysim campaign for handling permanency associated to the commercial device
-
renewal_categorystringoptional field, only informed for 'Cartera' subscriptions to inform the commercial profile
-
cession_pricenumber (double)optional field, only informed for 'Cartera' subscriptions to inform the cession price
-
retail_pricenumber (double)optional field, only informed in non-mandatory commercial devices. is the price the end user pays for the device.
-
discountnumber (double)optional field, only informed in non-mandatory commercial devices. is the discount made by the service provider for the device.
-
insured_amountnumber (double)field with the amount that can be insured in a particular device, if there is no insurance option a -1.00 value is returned
-
payment_typestringfield that indicates if is financed, single or recurring payment
-
numeration_typesobject[]optional field that indicates the numeration origin.
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
donor_numeration_typesobject[]optional field that indicates the numeration type in case of portability (numeration type is not Nuevo numero)
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]optional field that indicates if it is a new sale or an action over an existing subscription
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
deviceobject-
idstring -
generic_codestring -
brandstring -
modelstring -
namestring -
descriptionstring -
categorystring -
colourstring -
is_availablebooleanbased on this attribute we know if a device is active or not
-
fromstring (date-time) -
tostring (date-time) -
include_preinstalled_simbooleanif the device has a built-in sim card
-
image_urlstring (url) | nullurl to device image
-
model_webstring
-
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge type is used for charges applied on a recurring basis, OneTimeFee type is used for charged that are applied only once
-
subtypestring -
fromstring (date-time)date when the fee starts to be applicable for the commercial device
-
tostring (date-time)date when the fee is no longer applicable for the commercial device
-
recurrence_schemestringBoundToBillCycle scheme is used for recurring charges that are applied bound to the correspondent bill cycle (for postpaid or automatic top-up prepaid). NonBoundToBillCycle scheme is used for recurring charges that are not bound to a bill cycle
-
recurrence_interval_typestringrecurrence interval type for NonBoundToBill fees. Weekly (Every Monday), Daily (Every day), Monthly (Every 1st month), BoundToActivation ()Every N days since activation)
-
recurrence_intervalnumber (int32)Recurrence interval for NonBoundToBill recurring charges. Currently always 30 days for MM brand, 28 days for rest of brands
-
paid_in_advancebooleanindicates if the recurring charge is paid in advance or in arrears. Currently always true for recurring charges with subtype 'ServiceFee' associated to mobile commercial products for classic prepaid and automatic top-up prepaid models
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is own (MM) or external (third-party)
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
-
installment_plansobject[]-
idstring -
namestring -
fromstring (date-time)date when the term starts to be applicable for the commercial device
-
tostring (date-time)date when the term is no longer applicable for the commercial device
-
durationnumber (int32)duration of the installment plan indicated in number of months
-
tinstringonly informed in case of financed offer_id
-
taestringonly informed in case of financed offer_id
-
commissionstringonly informed in case of financed, amunt of the commission applied
-
commission_percentagestringonly informed in case of financed, percentage of the commission applied
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBoundToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
fromstring (date-time) -
tostring (date-time) -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time) -
logistic_requiredbooleanoptional property (only informed in not mandatory CommercialDevices), by default 'false' value, this property indicates if the device needs logistic or not based on the commercial profile definition.
-
store_delivery_allowedbooleanthis property indicates if a device with logistics shipping can be delivered to a store or not
-
-
installation_typeobject-
idstring -
descriptionstring
-
-
fromstring (date-time)date when the commercial device starts to be applicable for a commercial product/bundled commercial product/value added service
-
tostring (date-time)date when the commercial device is no longer applicable for a commercial product/bundled commercial product/value added service
-
is_mandatorybooleanif the commercial device is mandatory when purchasing the correspondent commercial product/bundled commercial product/value added service
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Commercial Devices
Get sellable commercial devices for bundled commercial product in a particular bundled product
/orgs /{org_id} /bundled_products /{bundled_product_id} /bundled_commercial_products /{bcp_id} /commercial_devices /sellable Authenticated with a bearer token in the Authorization header Authentication
Returns an array of sellable mandatory and optional commercial devices related to a bundled commercial product id, when this is sold as part of a bundled product. Includes main characteristics of each device, as well as fees and installment plans associated to the commercial device and terms associated to them.
Path parameters
org_idstringRequiredorganization name
bundled_product_idstringRequiredbundled product identifier
bcp_idstringRequiredbundled commercial product identifier
Query parameters
sale_type_namestringsale type name
numeration_type_namestringnumeration type name
donor_numeration_type_namestringoptional field that indicates the numeration type in case of portability (numeration type is not Nuevo numero)
commercial_profile_namestringcommercial profile name
payment_typestringoptional field that indicates if is financed, single or recurring payment
device_categorystringoptional field to filter by device category
device_brandstringoptional field to filter by device brand
generic_codestringoptional field to filter by generic code device
permanencebooleanflag to filter commercial devices based on whether they have permanence or not
permanence_typestringflag to filter device permanences according to the multi-financing business rules
-
MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time
-
NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time
Note: If this parameter (
permanence_type) is provided in the request, thepermanencequery parameter will betrue.-
mandatorybooleanflag to filter commercial devices that are mandatory to sell in a bundled product. If absent, no filtering is applied (null).
Responses
Commercial devices
-
idstring -
terminal_idstringterminalId within legacy MySim, required to be sent within legacy Mysim socket request
-
campaign_idstringoptional field, mysim campaign for handling permanency associated to the commercial device
-
renewal_categorystringoptional field, only informed for 'Cartera' subscriptions to inform the commercial profile
-
cession_pricenumber (double)optional field, only informed for 'Cartera' subscriptions to inform the cession price
-
retail_pricenumber (double)optional field, only informed in non-mandatory commercial devices. is the price the end user pays for the device.
-
discountnumber (double)optional field, only informed in non-mandatory commercial devices. is the discount made by the service provider for the device.
-
insured_amountnumber (double)field with the amount that can be insured in a particular device, if there is no insurance option a -1.00 value is returned
-
payment_typestringfield that indicates if is financed, single or recurring payment
-
numeration_typesobject[]optional field that indicates the numeration origin.
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
donor_numeration_typesobject[]optional field that indicates the numeration type in case of portability (numeration type is not Nuevo numero)
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]optional field that indicates if it is a new sale or an action over an existing subscription
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
deviceobject-
idstring -
generic_codestring -
brandstring -
modelstring -
namestring -
descriptionstring -
categorystring -
colourstring -
is_availablebooleanbased on this attribute we know if a device is active or not
-
fromstring (date-time) -
tostring (date-time) -
include_preinstalled_simbooleanif the device has a built-in sim card
-
image_urlstring (url) | nullurl to device image
-
model_webstring
-
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge type is used for charges applied on a recurring basis, OneTimeFee type is used for charged that are applied only once
-
subtypestring -
fromstring (date-time)date when the fee starts to be applicable for the commercial device
-
tostring (date-time)date when the fee is no longer applicable for the commercial device
-
recurrence_schemestringBoundToBillCycle scheme is used for recurring charges that are applied bound to the correspondent bill cycle (for postpaid or automatic top-up prepaid). NonBoundToBillCycle scheme is used for recurring charges that are not bound to a bill cycle
-
recurrence_interval_typestringrecurrence interval type for NonBoundToBill fees. Weekly (Every Monday), Daily (Every day), Monthly (Every 1st month), BoundToActivation ()Every N days since activation)
-
recurrence_intervalnumber (int32)Recurrence interval for NonBoundToBill recurring charges. Currently always 30 days for MM brand, 28 days for rest of brands
-
paid_in_advancebooleanindicates if the recurring charge is paid in advance or in arrears. Currently always true for recurring charges with subtype 'ServiceFee' associated to mobile commercial products for classic prepaid and automatic top-up prepaid models
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is own (MM) or external (third-party)
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
-
installment_plansobject[]-
idstring -
namestring -
fromstring (date-time)date when the term starts to be applicable for the commercial device
-
tostring (date-time)date when the term is no longer applicable for the commercial device
-
durationnumber (int32)duration of the installment plan indicated in number of months
-
tinstringonly informed in case of financed offer_id
-
taestringonly informed in case of financed offer_id
-
commissionstringonly informed in case of financed, amunt of the commission applied
-
commission_percentagestringonly informed in case of financed, percentage of the commission applied
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBoundToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
fromstring (date-time) -
tostring (date-time) -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time) -
logistic_requiredbooleanoptional property (only informed in not mandatory CommercialDevices), by default 'false' value, this property indicates if the device needs logistic or not based on the commercial profile definition.
-
store_delivery_allowedbooleanthis property indicates if a device with logistics shipping can be delivered to a store or not
-
-
installation_typeobject-
idstring -
descriptionstring
-
-
fromstring (date-time)date when the commercial device starts to be applicable for a commercial product/bundled commercial product/value added service
-
tostring (date-time)date when the commercial device is no longer applicable for a commercial product/bundled commercial product/value added service
-
is_mandatorybooleanif the commercial device is mandatory when purchasing the correspondent commercial product/bundled commercial product/value added service
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Commercial Devices
Get sellable commercial devices for value added service
/orgs /{org_id} /value_added_services /{id} /commercial_devices /sellable Authenticated with a bearer token in the Authorization header Authentication
Returns an array of sellable mandatory and optional commercial devices for a value added service id. Includes main characteristics of each device, as well as fees and installment plans associated to the commercial device and terms associated to them.
Path parameters
org_idstringRequiredorganization name
idstringRequiredvalue added service identifier
Query parameters
sale_type_namestringsale type name
device_categorystringoptional field to filter by device category
device_brandstringoptional field to filter by device brand
generic_codestringoptional field to filter by generic code device
permanencebooleanflag to filter commercial devices based on whether they have permanence or not
Responses
Commercial devices
-
idstring -
terminal_idstringterminalId within legacy MySim, required to be sent within legacy Mysim socket request
-
campaign_idstringoptional field, mysim campaign for handling permanency associated to the commercial device
-
renewal_categorystringoptional field, only informed for 'Cartera' subscriptions to inform the commercial profile
-
cession_pricenumber (double)optional field, only informed for 'Cartera' subscriptions to inform the cession price
-
retail_pricenumber (double)optional field, only informed in non-mandatory commercial devices. is the price the end user pays for the device.
-
discountnumber (double)optional field, only informed in non-mandatory commercial devices. is the discount made by the service provider for the device.
-
insured_amountnumber (double)field with the amount that can be insured in a particular device, if there is no insurance option a -1.00 value is returned
-
payment_typestringfield that indicates if is financed, single or recurring payment
-
numeration_typesobject[]optional field that indicates the numeration origin.
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
donor_numeration_typesobject[]optional field that indicates the numeration type in case of portability (numeration type is not Nuevo numero)
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]optional field that indicates if it is a new sale or an action over an existing subscription
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
deviceobject-
idstring -
generic_codestring -
brandstring -
modelstring -
namestring -
descriptionstring -
categorystring -
colourstring -
is_availablebooleanbased on this attribute we know if a device is active or not
-
fromstring (date-time) -
tostring (date-time) -
include_preinstalled_simbooleanif the device has a built-in sim card
-
image_urlstring (url) | nullurl to device image
-
model_webstring
-
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge type is used for charges applied on a recurring basis, OneTimeFee type is used for charged that are applied only once
-
subtypestring -
fromstring (date-time)date when the fee starts to be applicable for the commercial device
-
tostring (date-time)date when the fee is no longer applicable for the commercial device
-
recurrence_schemestringBoundToBillCycle scheme is used for recurring charges that are applied bound to the correspondent bill cycle (for postpaid or automatic top-up prepaid). NonBoundToBillCycle scheme is used for recurring charges that are not bound to a bill cycle
-
recurrence_interval_typestringrecurrence interval type for NonBoundToBill fees. Weekly (Every Monday), Daily (Every day), Monthly (Every 1st month), BoundToActivation ()Every N days since activation)
-
recurrence_intervalnumber (int32)Recurrence interval for NonBoundToBill recurring charges. Currently always 30 days for MM brand, 28 days for rest of brands
-
paid_in_advancebooleanindicates if the recurring charge is paid in advance or in arrears. Currently always true for recurring charges with subtype 'ServiceFee' associated to mobile commercial products for classic prepaid and automatic top-up prepaid models
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is own (MM) or external (third-party)
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
-
installment_plansobject[]-
idstring -
namestring -
fromstring (date-time)date when the term starts to be applicable for the commercial device
-
tostring (date-time)date when the term is no longer applicable for the commercial device
-
durationnumber (int32)duration of the installment plan indicated in number of months
-
tinstringonly informed in case of financed offer_id
-
taestringonly informed in case of financed offer_id
-
commissionstringonly informed in case of financed, amunt of the commission applied
-
commission_percentagestringonly informed in case of financed, percentage of the commission applied
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBoundToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
fromstring (date-time) -
tostring (date-time) -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time) -
logistic_requiredbooleanoptional property (only informed in not mandatory CommercialDevices), by default 'false' value, this property indicates if the device needs logistic or not based on the commercial profile definition.
-
store_delivery_allowedbooleanthis property indicates if a device with logistics shipping can be delivered to a store or not
-
-
installation_typeobject-
idstring -
descriptionstring
-
-
fromstring (date-time)date when the commercial device starts to be applicable for a commercial product/bundled commercial product/value added service
-
tostring (date-time)date when the commercial device is no longer applicable for a commercial product/bundled commercial product/value added service
-
is_mandatorybooleanif the commercial device is mandatory when purchasing the correspondent commercial product/bundled commercial product/value added service
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Commercial Devices
Get refinance conditions for the last payment of a previous financed commercial device
/orgs /{org_id} /commercial_devices /refinance Authenticated with a bearer token in the Authorization header Authentication
Returns all the different refinance possibilities for the last payment of a previous financed commercial device
Path parameters
org_idstringRequiredorganization name
Query parameters
commercial_profile_namestringRequiredcommercial profile name
refinance_amountnumber (double)Requiredamount to refinance
Responses
Refinance conditions
-
idstring -
namestring -
fromstring (date-time)date when the term starts to be applicable for the commercial device
-
tostring (date-time)date when the term is no longer applicable for the commercial device
-
durationnumber (int32)duration of the installment plan indicated in number of months
-
tinstringonly informed in case of financed offer_id
-
taestringonly informed in case of financed offer_id
-
commissionstringonly informed in case of financed, amunt of the commission applied
-
commission_percentagestringonly informed in case of financed, percentage of the commission applied
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBoundToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
fromstring (date-time) -
tostring (date-time) -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Commercial Devices
Get paginated commercial devices
/orgs /{org_id} /commercial_devices Authenticated with a bearer token in the Authorization header Authentication
Returns paginated commercial devices for the correspondent Service Provider. Default order ASC
Path parameters
org_idstringRequiredorganization name
Query parameters
sale_type_namestringsale type name
renewal_categorystringrenewal category
numeration_type_namestringnumeration type name
donor_numeration_type_namestringoptional field that indicates the numeration type in case of portability (numeration type is not Nuevo numero)
commercial_profile_namestringcommercial profile name
subs_offer_segment_namestringname of the subscription offer segment
payment_typestringoptional field that indicates if is financed, single or recurring payment
device_categorystringoptional field to filter by device category
device_category[in]stringmultiple optional field to filter by device category. Case sensitive. Concatenate with ','.
device_brandstringoptional field to filter by device brand
device_namestringoptional field to filter by device name. Case sensitive
device_name[contains]stringoptional field to filter by device name. Case sensitive
device_modelstringoptional field to filter by device model. Case sensitive
device_model[contains]stringoptional field to filter by device model with REGEX. Case sensitive
device_colourstringoptional field to filter by device colour
sortstringThe fields by which the results will be sorted. It can be a list of fields separated by commas. A suffix must be added:
- ":asc" to indicate an ascending order.
- ":desc" to indicate a descending order.
generic_codestringoptional field to filter by generic code device
device_id[contains]stringfilter for devices whose ids contain a specific string
permanencebooleanflag to filter commercial devices based on whether they have permanence or not
permanence_typestringflag to filter device permanences according to the multi-financing business rules
-
MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time
-
NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time
Note: If this parameter (
permanence_type) is provided in the request, thepermanencequery parameter will betrue.-
offsetinteger (int32)The number of elements to skip before starting to collect the result set.
It can be used in combination with the limit parameter to control the
pagination of the result set.
limitinteger (int32)The number of elements to return in the result set. It can be used in combination with the offset parameter to control the pagination of the result set.
sellablebooleanflag to filter items that are commercially active or not. If absent default is true
mandatorybooleanflag to filter commercial devices that are mandatory to sell in a bundled product. If absent, no filtering is applied (null).
Responses
OK
-
itemsobject[] Required-
idstring -
terminal_idstringterminalId within legacy MySim, required to be sent within legacy Mysim socket request
-
campaign_idstringoptional field, mysim campaign for handling permanency associated to the commercial device
-
renewal_categorystringoptional field, only informed for 'Cartera' subscriptions to inform the commercial profile
-
cession_pricenumber (double)optional field, only informed for 'Cartera' subscriptions to inform the cession price
-
retail_pricenumber (double)optional field, only informed in non-mandatory commercial devices. is the price the end user pays for the device.
-
discountnumber (double)optional field, only informed in non-mandatory commercial devices. is the discount made by the service provider for the device.
-
insured_amountnumber (double)field with the amount that can be insured in a particular device, if there is no insurance option a -1.00 value is returned
-
payment_typestringfield that indicates if is financed, single or recurring payment
-
numeration_typesobject[]optional field that indicates the numeration origin.
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
donor_numeration_typesobject[]optional field that indicates the numeration type in case of portability (numeration type is not Nuevo numero)
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]optional field that indicates if it is a new sale or an action over an existing subscription
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
deviceobject-
idstring -
generic_codestring -
brandstring -
modelstring -
namestring -
descriptionstring -
categorystring -
colourstring -
is_availablebooleanbased on this attribute we know if a device is active or not
-
fromstring (date-time) -
tostring (date-time) -
include_preinstalled_simbooleanif the device has a built-in sim card
-
image_urlstring (url) | nullurl to device image
-
model_webstring
-
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge type is used for charges applied on a recurring basis, OneTimeFee type is used for charged that are applied only once
-
subtypestring -
fromstring (date-time)date when the fee starts to be applicable for the commercial device
-
tostring (date-time)date when the fee is no longer applicable for the commercial device
-
recurrence_schemestringBoundToBillCycle scheme is used for recurring charges that are applied bound to the correspondent bill cycle (for postpaid or automatic top-up prepaid). NonBoundToBillCycle scheme is used for recurring charges that are not bound to a bill cycle
-
recurrence_interval_typestringrecurrence interval type for NonBoundToBill fees. Weekly (Every Monday), Daily (Every day), Monthly (Every 1st month), BoundToActivation ()Every N days since activation)
-
recurrence_intervalnumber (int32)Recurrence interval for NonBoundToBill recurring charges. Currently always 30 days for MM brand, 28 days for rest of brands
-
paid_in_advancebooleanindicates if the recurring charge is paid in advance or in arrears. Currently always true for recurring charges with subtype 'ServiceFee' associated to mobile commercial products for classic prepaid and automatic top-up prepaid models
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is own (MM) or external (third-party)
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
-
installment_plansobject[]-
idstring -
namestring -
fromstring (date-time)date when the term starts to be applicable for the commercial device
-
tostring (date-time)date when the term is no longer applicable for the commercial device
-
durationnumber (int32)duration of the installment plan indicated in number of months
-
tinstringonly informed in case of financed offer_id
-
taestringonly informed in case of financed offer_id
-
commissionstringonly informed in case of financed, amunt of the commission applied
-
commission_percentagestringonly informed in case of financed, percentage of the commission applied
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBoundToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
fromstring (date-time) -
tostring (date-time) -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time) -
logistic_requiredbooleanoptional property (only informed in not mandatory CommercialDevices), by default 'false' value, this property indicates if the device needs logistic or not based on the commercial profile definition.
-
store_delivery_allowedbooleanthis property indicates if a device with logistics shipping can be delivered to a store or not
-
-
installation_typeobject-
idstring -
descriptionstring
-
-
promotionsobject[]-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
need_promotion_codebooleanboolean to indicate if the promotion requires capturing a code for being applied
-
need_existent_MSISDNbooleanboolean to indicate if the promotion requires an existent MSISDN (i,e for M2M campaign)
-
applicability_modelstringit defines how the promotion is applied in terms of calculation phase and application model. FeeGeneraton (for promotions that should be applied when generating one time or recurring fees), Billing (for promotions that should be applied during billing phase),
-
restrictions_applicability_rulestringrule used for obtaining the discount value (% value or fixed value) or top-up amount to be applied. Not used currently because the discount value (% value or fixed value) is fixed, not dependent on restrictions
-
target_applicability_rulestringrule used for determining the charges on which the discount is applied. PreviousInvoiceTotalAmount (used for Billing discounts that must be applied to the previous invoice total amount), CurrentInvoiceTotalAmount (used for Billing discounts that must be applied to the current invoice total amount), FeeSubtype (discounts that must be applied to fees with specific subtype)
-
fee_subtypesstringused for promotions with targetApplicabilityRule = FeeSubType, for indicating fee subtypes to which the promotion must be applied
-
calculation_modelstringused for obtaining the discount % value/fixed value/top-up amount to be applied. Flat (fixed %/fixed discount value/top-up amount), Bulk (%/fixed discount value/top-up amount depends on the total amount of restrictions. Currently not used)
-
discount_typestringit defines if the discount value is a % or a fixed amount
-
durationnumber (int32)promotion duration indicated in number of months
-
unlimited_durationbooleanUsed to indicate if the promotion is valid for an unlimited period of time
-
keep_on_upgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a higher cost
-
keep_on_downgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a lower cost
-
prioritynumber (int32)promotion applicability priority (lower value = higher priority). Currently always 1
-
is_mandatoryboolean -
xsell_permitboolean -
reduced_fee_amountboolean -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
fromstring (date-time)date when the promotion starts to be included within the commercial profile
-
tostring (date-time)date when the promotion starts to be included within the commercial profile
-
skip_first_periodbooleanit indicates if the first period of billing is skipped
-
reduce_penalty_thresholdbooleanit indicates if the reference value has to be decreased
-
type_groupstringGroup classification of the promotion type. Use this field to identify bundle promotions.
-
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)
-
OTHER: Any other promotion type
-
-
category_namestringname to define the promotion category
-
type_namestringname to define the promotion type
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
binding_type_idstring
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]sale types for which this promotion is available
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
-
-
paginationobject Required-
totalinteger (int32) Required -
offsetinteger (int32) Required -
limitinteger (int32) Required
-
Unauthorized
Commercial Devices
Get sellable commercial devices
/orgs /{org_id} /commercial_devices /sellable Authenticated with a bearer token in the Authorization header Authentication
Returns all commercial devices that are commercially active for the correspondent Service Provider
Path parameters
org_idstringRequiredorganization name
Query parameters
sale_type_namestringsale type name
renewal_categorystringrenewal category
numeration_type_namestringnumeration type name
donor_numeration_type_namestringoptional field that indicates the numeration type in case of portability (numeration type is not Nuevo numero)
commercial_profile_namestringcommercial profile name
subs_offer_segment_namestringname of the subscription offer segment
payment_typestringoptional field that indicates if is financed, single or recurring payment
device_categorystringoptional field to filter by device category
device_brandstringoptional field to filter by device brand
generic_codestringoptional field to filter by generic code device
permanencebooleanflag to filter commercial devices based on whether they have permanence or not
permanence_typestringflag to filter device permanences according to the multi-financing business rules
-
MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time
-
NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time
Note: If this parameter (
permanence_type) is provided in the request, thepermanencequery parameter will betrue.-
Responses
Commercial Devices
-
idstring -
terminal_idstringterminalId within legacy MySim, required to be sent within legacy Mysim socket request
-
campaign_idstringoptional field, mysim campaign for handling permanency associated to the commercial device
-
renewal_categorystringoptional field, only informed for 'Cartera' subscriptions to inform the commercial profile
-
cession_pricenumber (double)optional field, only informed for 'Cartera' subscriptions to inform the cession price
-
retail_pricenumber (double)optional field, only informed in non-mandatory commercial devices. is the price the end user pays for the device.
-
discountnumber (double)optional field, only informed in non-mandatory commercial devices. is the discount made by the service provider for the device.
-
insured_amountnumber (double)field with the amount that can be insured in a particular device, if there is no insurance option a -1.00 value is returned
-
payment_typestringfield that indicates if is financed, single or recurring payment
-
numeration_typesobject[]optional field that indicates the numeration origin.
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
donor_numeration_typesobject[]optional field that indicates the numeration type in case of portability (numeration type is not Nuevo numero)
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]optional field that indicates if it is a new sale or an action over an existing subscription
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
deviceobject-
idstring -
generic_codestring -
brandstring -
modelstring -
namestring -
descriptionstring -
categorystring -
colourstring -
is_availablebooleanbased on this attribute we know if a device is active or not
-
fromstring (date-time) -
tostring (date-time) -
include_preinstalled_simbooleanif the device has a built-in sim card
-
image_urlstring (url) | nullurl to device image
-
model_webstring
-
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge type is used for charges applied on a recurring basis, OneTimeFee type is used for charged that are applied only once
-
subtypestring -
fromstring (date-time)date when the fee starts to be applicable for the commercial device
-
tostring (date-time)date when the fee is no longer applicable for the commercial device
-
recurrence_schemestringBoundToBillCycle scheme is used for recurring charges that are applied bound to the correspondent bill cycle (for postpaid or automatic top-up prepaid). NonBoundToBillCycle scheme is used for recurring charges that are not bound to a bill cycle
-
recurrence_interval_typestringrecurrence interval type for NonBoundToBill fees. Weekly (Every Monday), Daily (Every day), Monthly (Every 1st month), BoundToActivation ()Every N days since activation)
-
recurrence_intervalnumber (int32)Recurrence interval for NonBoundToBill recurring charges. Currently always 30 days for MM brand, 28 days for rest of brands
-
paid_in_advancebooleanindicates if the recurring charge is paid in advance or in arrears. Currently always true for recurring charges with subtype 'ServiceFee' associated to mobile commercial products for classic prepaid and automatic top-up prepaid models
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is own (MM) or external (third-party)
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
-
installment_plansobject[]-
idstring -
namestring -
fromstring (date-time)date when the term starts to be applicable for the commercial device
-
tostring (date-time)date when the term is no longer applicable for the commercial device
-
durationnumber (int32)duration of the installment plan indicated in number of months
-
tinstringonly informed in case of financed offer_id
-
taestringonly informed in case of financed offer_id
-
commissionstringonly informed in case of financed, amunt of the commission applied
-
commission_percentagestringonly informed in case of financed, percentage of the commission applied
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBoundToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
fromstring (date-time) -
tostring (date-time) -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time) -
logistic_requiredbooleanoptional property (only informed in not mandatory CommercialDevices), by default 'false' value, this property indicates if the device needs logistic or not based on the commercial profile definition.
-
store_delivery_allowedbooleanthis property indicates if a device with logistics shipping can be delivered to a store or not
-
-
installation_typeobject-
idstring -
descriptionstring
-
-
promotionsobject[]-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
need_promotion_codebooleanboolean to indicate if the promotion requires capturing a code for being applied
-
need_existent_MSISDNbooleanboolean to indicate if the promotion requires an existent MSISDN (i,e for M2M campaign)
-
applicability_modelstringit defines how the promotion is applied in terms of calculation phase and application model. FeeGeneraton (for promotions that should be applied when generating one time or recurring fees), Billing (for promotions that should be applied during billing phase),
-
restrictions_applicability_rulestringrule used for obtaining the discount value (% value or fixed value) or top-up amount to be applied. Not used currently because the discount value (% value or fixed value) is fixed, not dependent on restrictions
-
target_applicability_rulestringrule used for determining the charges on which the discount is applied. PreviousInvoiceTotalAmount (used for Billing discounts that must be applied to the previous invoice total amount), CurrentInvoiceTotalAmount (used for Billing discounts that must be applied to the current invoice total amount), FeeSubtype (discounts that must be applied to fees with specific subtype)
-
fee_subtypesstringused for promotions with targetApplicabilityRule = FeeSubType, for indicating fee subtypes to which the promotion must be applied
-
calculation_modelstringused for obtaining the discount % value/fixed value/top-up amount to be applied. Flat (fixed %/fixed discount value/top-up amount), Bulk (%/fixed discount value/top-up amount depends on the total amount of restrictions. Currently not used)
-
discount_typestringit defines if the discount value is a % or a fixed amount
-
durationnumber (int32)promotion duration indicated in number of months
-
unlimited_durationbooleanUsed to indicate if the promotion is valid for an unlimited period of time
-
keep_on_upgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a higher cost
-
keep_on_downgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a lower cost
-
prioritynumber (int32)promotion applicability priority (lower value = higher priority). Currently always 1
-
is_mandatoryboolean -
xsell_permitboolean -
reduced_fee_amountboolean -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
fromstring (date-time)date when the promotion starts to be included within the commercial profile
-
tostring (date-time)date when the promotion starts to be included within the commercial profile
-
skip_first_periodbooleanit indicates if the first period of billing is skipped
-
reduce_penalty_thresholdbooleanit indicates if the reference value has to be decreased
-
type_groupstringGroup classification of the promotion type. Use this field to identify bundle promotions.
-
BUNDLE: Promotion is a bundle type (e.g., PAQUETE SUBS, PAQUETE SUBS MENSUAL)
-
OTHER: Any other promotion type
-
-
category_namestringname to define the promotion category
-
type_namestringname to define the promotion type
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
binding_type_idstring
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]sale types for which this promotion is available
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Commercial Devices
Get commercial device
/orgs /{org_id} /commercial_devices /{id} Authenticated with a bearer token in the Authorization header Authentication
Returns basic commercial device info for a commercial device id
Path parameters
org_idstringRequiredorganization name
idstringRequiredcommercial device identifier
Responses
Commercial device
-
idstring -
terminal_idstringterminalId within legacy MySim, required to be sent within legacy Mysim socket request
-
campaign_idstringoptional field, mysim campaign for handling permanency associated to the commercial device
-
renewal_categorystringoptional field, only informed for 'Cartera' subscriptions to inform the commercial profile
-
cession_pricenumber (double)optional field, only informed for 'Cartera' subscriptions to inform the cession price
-
retail_pricenumber (double)optional field, only informed in non-mandatory commercial devices. is the price the end user pays for the device.
-
discountnumber (double)optional field, only informed in non-mandatory commercial devices. is the discount made by the service provider for the device.
-
insured_amountnumber (double)field with the amount that can be insured in a particular device, if there is no insurance option a -1.00 value is returned
-
payment_typestringfield that indicates if is financed, single or recurring payment
-
numeration_typesobject[]optional field that indicates the numeration origin.
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
donor_numeration_typesobject[]optional field that indicates the numeration type in case of portability (numeration type is not Nuevo numero)
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]optional field that indicates if it is a new sale or an action over an existing subscription
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
deviceobject-
idstring -
generic_codestring -
brandstring -
modelstring -
namestring -
descriptionstring -
categorystring -
colourstring -
is_availablebooleanbased on this attribute we know if a device is active or not
-
fromstring (date-time) -
tostring (date-time) -
include_preinstalled_simbooleanif the device has a built-in sim card
-
image_urlstring (url) | nullurl to device image
-
model_webstring
-
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge type is used for charges applied on a recurring basis, OneTimeFee type is used for charged that are applied only once
-
subtypestring -
fromstring (date-time)date when the fee starts to be applicable for the commercial device
-
tostring (date-time)date when the fee is no longer applicable for the commercial device
-
recurrence_schemestringBoundToBillCycle scheme is used for recurring charges that are applied bound to the correspondent bill cycle (for postpaid or automatic top-up prepaid). NonBoundToBillCycle scheme is used for recurring charges that are not bound to a bill cycle
-
recurrence_interval_typestringrecurrence interval type for NonBoundToBill fees. Weekly (Every Monday), Daily (Every day), Monthly (Every 1st month), BoundToActivation ()Every N days since activation)
-
recurrence_intervalnumber (int32)Recurrence interval for NonBoundToBill recurring charges. Currently always 30 days for MM brand, 28 days for rest of brands
-
paid_in_advancebooleanindicates if the recurring charge is paid in advance or in arrears. Currently always true for recurring charges with subtype 'ServiceFee' associated to mobile commercial products for classic prepaid and automatic top-up prepaid models
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is own (MM) or external (third-party)
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
-
installment_plansobject[]-
idstring -
namestring -
fromstring (date-time)date when the term starts to be applicable for the commercial device
-
tostring (date-time)date when the term is no longer applicable for the commercial device
-
durationnumber (int32)duration of the installment plan indicated in number of months
-
tinstringonly informed in case of financed offer_id
-
taestringonly informed in case of financed offer_id
-
commissionstringonly informed in case of financed, amunt of the commission applied
-
commission_percentagestringonly informed in case of financed, percentage of the commission applied
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBoundToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
fromstring (date-time) -
tostring (date-time) -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time) -
logistic_requiredbooleanoptional property (only informed in not mandatory CommercialDevices), by default 'false' value, this property indicates if the device needs logistic or not based on the commercial profile definition.
-
store_delivery_allowedbooleanthis property indicates if a device with logistics shipping can be delivered to a store or not
-
-
installation_typeobject-
idstring -
descriptionstring
-
-
fromstring (date-time)date when the commercial device starts to be applicable for a commercial product/bundled commercial product/value added service
-
tostring (date-time)date when the commercial device is no longer applicable for a commercial product/bundled commercial product/value added service
-
is_mandatorybooleanif the commercial device is mandatory when purchasing the correspondent commercial product/bundled commercial product/value added service
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Commercial Devices
Get the equivalent commercial device in a target context
/orgs /{org_id} /commercial_devices /{id} /can-switch Authenticated with a bearer token in the Authorization header Authentication
CPE commercial devices only. Returns the commercial device of the same device, sale type and payment type in the target commercial product and bundled product, valid at the time of the call (start_date <= now < end_date). For a change of conditions, send the source values as targets. The array has at most one item. It is empty when the device is not offered in the target context right now: call this endpoint when the change is applied, not when it is scheduled.
Path parameters
org_idstringRequiredorganization name
idstringRequiredcommercial device identifier
Query parameters
target_commercial_product_idstringRequiredtarget commercial product external id
target_bundled_product_idstringRequiredtarget bundled product external id
Responses
The equivalent commercial device, or an empty array if there is none
-
idstring -
terminal_idstringterminalId within legacy MySim, required to be sent within legacy Mysim socket request
-
campaign_idstringoptional field, mysim campaign for handling permanency associated to the commercial device
-
renewal_categorystringoptional field, only informed for 'Cartera' subscriptions to inform the commercial profile
-
cession_pricenumber (double)optional field, only informed for 'Cartera' subscriptions to inform the cession price
-
retail_pricenumber (double)optional field, only informed in non-mandatory commercial devices. is the price the end user pays for the device.
-
discountnumber (double)optional field, only informed in non-mandatory commercial devices. is the discount made by the service provider for the device.
-
insured_amountnumber (double)field with the amount that can be insured in a particular device, if there is no insurance option a -1.00 value is returned
-
payment_typestringfield that indicates if is financed, single or recurring payment
-
numeration_typesobject[]optional field that indicates the numeration origin.
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
donor_numeration_typesobject[]optional field that indicates the numeration type in case of portability (numeration type is not Nuevo numero)
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]optional field that indicates if it is a new sale or an action over an existing subscription
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
deviceobject-
idstring -
generic_codestring -
brandstring -
modelstring -
namestring -
descriptionstring -
categorystring -
colourstring -
is_availablebooleanbased on this attribute we know if a device is active or not
-
fromstring (date-time) -
tostring (date-time) -
include_preinstalled_simbooleanif the device has a built-in sim card
-
image_urlstring (url) | nullurl to device image
-
model_webstring
-
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge type is used for charges applied on a recurring basis, OneTimeFee type is used for charged that are applied only once
-
subtypestring -
fromstring (date-time)date when the fee starts to be applicable for the commercial device
-
tostring (date-time)date when the fee is no longer applicable for the commercial device
-
recurrence_schemestringBoundToBillCycle scheme is used for recurring charges that are applied bound to the correspondent bill cycle (for postpaid or automatic top-up prepaid). NonBoundToBillCycle scheme is used for recurring charges that are not bound to a bill cycle
-
recurrence_interval_typestringrecurrence interval type for NonBoundToBill fees. Weekly (Every Monday), Daily (Every day), Monthly (Every 1st month), BoundToActivation ()Every N days since activation)
-
recurrence_intervalnumber (int32)Recurrence interval for NonBoundToBill recurring charges. Currently always 30 days for MM brand, 28 days for rest of brands
-
paid_in_advancebooleanindicates if the recurring charge is paid in advance or in arrears. Currently always true for recurring charges with subtype 'ServiceFee' associated to mobile commercial products for classic prepaid and automatic top-up prepaid models
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is own (MM) or external (third-party)
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
-
installment_plansobject[]-
idstring -
namestring -
fromstring (date-time)date when the term starts to be applicable for the commercial device
-
tostring (date-time)date when the term is no longer applicable for the commercial device
-
durationnumber (int32)duration of the installment plan indicated in number of months
-
tinstringonly informed in case of financed offer_id
-
taestringonly informed in case of financed offer_id
-
commissionstringonly informed in case of financed, amunt of the commission applied
-
commission_percentagestringonly informed in case of financed, percentage of the commission applied
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBoundToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
fromstring (date-time) -
tostring (date-time) -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time) -
logistic_requiredbooleanoptional property (only informed in not mandatory CommercialDevices), by default 'false' value, this property indicates if the device needs logistic or not based on the commercial profile definition.
-
store_delivery_allowedbooleanthis property indicates if a device with logistics shipping can be delivered to a store or not
-
-
installation_typeobject-
idstring -
descriptionstring
-
-
fromstring (date-time)date when the commercial device starts to be applicable for a commercial product/bundled commercial product/value added service
-
tostring (date-time)date when the commercial device is no longer applicable for a commercial product/bundled commercial product/value added service
-
is_mandatorybooleanif the commercial device is mandatory when purchasing the correspondent commercial product/bundled commercial product/value added service
Bad request
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Commercial Devices
Get commercial device by ID within bundled product
/orgs /{org_id} /bundled_commercial_products /{bcp_id} /commercial_devices /{commercial_device_id} Authenticated with a bearer token in the Authorization header Authentication
Returns basic commercial device info for a commercial device id with a related bundled commercial product
Path parameters
org_idstringRequiredorganization name
bcp_idstringRequiredbundled commercial product identifier
commercial_device_idstringRequiredcommercial device identifier
Responses
Commercial device
-
idstring -
terminal_idstringterminalId within legacy MySim, required to be sent within legacy Mysim socket request
-
campaign_idstringoptional field, mysim campaign for handling permanency associated to the commercial device
-
renewal_categorystringoptional field, only informed for 'Cartera' subscriptions to inform the commercial profile
-
cession_pricenumber (double)optional field, only informed for 'Cartera' subscriptions to inform the cession price
-
retail_pricenumber (double)optional field, only informed in non-mandatory commercial devices. is the price the end user pays for the device.
-
discountnumber (double)optional field, only informed in non-mandatory commercial devices. is the discount made by the service provider for the device.
-
insured_amountnumber (double)field with the amount that can be insured in a particular device, if there is no insurance option a -1.00 value is returned
-
payment_typestringfield that indicates if is financed, single or recurring payment
-
numeration_typesobject[]optional field that indicates the numeration origin.
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
donor_numeration_typesobject[]optional field that indicates the numeration type in case of portability (numeration type is not Nuevo numero)
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
sale_typesobject[]optional field that indicates if it is a new sale or an action over an existing subscription
-
idstring -
namestring -
descriptionstring -
fromstring (date-time) -
tostring (date-time)
-
-
deviceobject-
idstring -
generic_codestring -
brandstring -
modelstring -
namestring -
descriptionstring -
categorystring -
colourstring -
is_availablebooleanbased on this attribute we know if a device is active or not
-
fromstring (date-time) -
tostring (date-time) -
include_preinstalled_simbooleanif the device has a built-in sim card
-
image_urlstring (url) | nullurl to device image
-
model_webstring
-
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge type is used for charges applied on a recurring basis, OneTimeFee type is used for charged that are applied only once
-
subtypestring -
fromstring (date-time)date when the fee starts to be applicable for the commercial device
-
tostring (date-time)date when the fee is no longer applicable for the commercial device
-
recurrence_schemestringBoundToBillCycle scheme is used for recurring charges that are applied bound to the correspondent bill cycle (for postpaid or automatic top-up prepaid). NonBoundToBillCycle scheme is used for recurring charges that are not bound to a bill cycle
-
recurrence_interval_typestringrecurrence interval type for NonBoundToBill fees. Weekly (Every Monday), Daily (Every day), Monthly (Every 1st month), BoundToActivation ()Every N days since activation)
-
recurrence_intervalnumber (int32)Recurrence interval for NonBoundToBill recurring charges. Currently always 30 days for MM brand, 28 days for rest of brands
-
paid_in_advancebooleanindicates if the recurring charge is paid in advance or in arrears. Currently always true for recurring charges with subtype 'ServiceFee' associated to mobile commercial products for classic prepaid and automatic top-up prepaid models
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is own (MM) or external (third-party)
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
-
installment_plansobject[]-
idstring -
namestring -
fromstring (date-time)date when the term starts to be applicable for the commercial device
-
tostring (date-time)date when the term is no longer applicable for the commercial device
-
durationnumber (int32)duration of the installment plan indicated in number of months
-
tinstringonly informed in case of financed offer_id
-
taestringonly informed in case of financed offer_id
-
commissionstringonly informed in case of financed, amunt of the commission applied
-
commission_percentagestringonly informed in case of financed, percentage of the commission applied
-
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBoundToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
fromstring (date-time) -
tostring (date-time) -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
-
commercial_profilesobject[]-
idstring -
namestring -
visibility_typestring -
fromstring (date-time) -
tostring (date-time) -
logistic_requiredbooleanoptional property (only informed in not mandatory CommercialDevices), by default 'false' value, this property indicates if the device needs logistic or not based on the commercial profile definition.
-
store_delivery_allowedbooleanthis property indicates if a device with logistics shipping can be delivered to a store or not
-
-
installation_typeobject-
idstring -
descriptionstring
-
-
fromstring (date-time)date when the commercial device starts to be applicable for a commercial product/bundled commercial product/value added service
-
tostring (date-time)date when the commercial device is no longer applicable for a commercial product/bundled commercial product/value added service
-
is_mandatorybooleanif the commercial device is mandatory when purchasing the correspondent commercial product/bundled commercial product/value added service
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Rate Plans
Get rate plans
/orgs /{org_id} /commercial_products /{id} /rate_plans Authenticated with a bearer token in the Authorization header Authentication
Returns the rate plans related to a commercial product id
Path parameters
org_idstringRequiredorganization name
idstringRequiredcommercial product identifier
Responses
RatePlan
-
idstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time)
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Base profiles and services
Get base profiles
/orgs /{org_id} /commercial_products /{id} /base_profiles Authenticated with a bearer token in the Authorization header Authentication
Returns an array of base profiles related to a commercial product id. Includes network provisioning details for each base profile as well as details of the services provisioned in the connection process as part of the profile.
Path parameters
org_idstringRequiredorganization name
idstringRequiredcommercial product identifier
Responses
Base Profile
-
idstring -
namestring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
network_idstringnetwork that can be used for provisioning the services encapsulated within the base profile
-
network_provisioning_idstringid used for provisioning the commercial product within the correspondent network
-
service_classstringadditional value required for provisioning within Yoigo network (networkId=2). Not used for networkId=1
-
offer_idstringadditional value required for provisioning prepaid tariffs within Yoigo network (networkId=2). Not used for networkId=1
-
charging_idstringadditional value required for provisioning prepaid tariffs within Yoigo network (networkId=2). Not used for networkId=1
-
manual_renewalbooleanboolean additional value required for provisioning prepaid tariffs within Yoigo network (networkId=2). Not used for networkId=1
-
download_speedstringdownload speed for broadband base profiles, used for provisioning purpose
-
internet_speedstringcommercial speed to be shown to client, could be different than the down and upload provisioning speed
-
upload_speedstringupload speed for broadband base profiles, used for provisioning purpose
-
servicesobject[]-
idstring -
namestring -
descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
fromstring (date-time) -
tostring (date-time) -
network_codestringparameter used by network to identify the service
-
is_changeablebooleanmeans if the surrent service status can be changed
-
activate_on_network_provisioningbooleanindicates if the service is automatically activated when the technical profile is provisioned
-
languagestringcharacteristic used for serviceId = 2. Not used for other services
-
speedstringcharacteristic used for serviceId = 16. Not used for other services
-
available_networksstringcharacteristic used for serviceId = 30. Not used for other services
-
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Base profiles and services
Get a list of existing base profiles
/orgs /{org_id} /base_profiles Authenticated with a bearer token in the Authorization header Authentication
Get a list of existing base profiles
Path parameters
org_idstringRequiredorganization name
Responses
OK
-
idstring -
namestring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
network_idstringnetwork that can be used for provisioning the services encapsulated within the base profile
-
network_provisioning_idstringid used for provisioning the commercial product within the correspondent network
-
service_classstringadditional value required for provisioning within Yoigo network (networkId=2). Not used for networkId=1
-
offer_idstringadditional value required for provisioning prepaid tariffs within Yoigo network (networkId=2). Not used for networkId=1
-
charging_idstringadditional value required for provisioning prepaid tariffs within Yoigo network (networkId=2). Not used for networkId=1
-
manual_renewalbooleanboolean additional value required for provisioning prepaid tariffs within Yoigo network (networkId=2). Not used for networkId=1
-
download_speedstringdownload speed for broadband base profiles, used for provisioning purpose
-
internet_speedstringcommercial speed to be shown to client, could be different than the down and upload provisioning speed
-
upload_speedstringupload speed for broadband base profiles, used for provisioning purpose
Bad request
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Base profiles and services
Get a particular base profile
/orgs /{org_id} /base_profiles /{id} Authenticated with a bearer token in the Authorization header Authentication
Get a particular base profile
Path parameters
org_idstringRequiredorganization name
idstringRequiredbase profile identifier
Responses
OK
-
idstring -
namestring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
network_idstringnetwork that can be used for provisioning the services encapsulated within the base profile
-
network_provisioning_idstringid used for provisioning the commercial product within the correspondent network
-
service_classstringadditional value required for provisioning within Yoigo network (networkId=2). Not used for networkId=1
-
offer_idstringadditional value required for provisioning prepaid tariffs within Yoigo network (networkId=2). Not used for networkId=1
-
charging_idstringadditional value required for provisioning prepaid tariffs within Yoigo network (networkId=2). Not used for networkId=1
-
manual_renewalbooleanboolean additional value required for provisioning prepaid tariffs within Yoigo network (networkId=2). Not used for networkId=1
-
download_speedstringdownload speed for broadband base profiles, used for provisioning purpose
-
internet_speedstringcommercial speed to be shown to client, could be different than the down and upload provisioning speed
-
upload_speedstringupload speed for broadband base profiles, used for provisioning purpose
Bad request
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Base profiles and services
Get a particular base profile
/orgs /{org_id} /base_profiles /{id} /services Authenticated with a bearer token in the Authorization header Authentication
Get a particular base profile
Path parameters
org_idstringRequiredorganization name
idstringRequiredbase profile identifier
Responses
OK
-
idstring -
namestring -
descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
fromstring (date-time) -
tostring (date-time) -
network_codestringparameter used by network to identify the service
-
is_changeablebooleanmeans if the surrent service status can be changed
-
activate_on_network_provisioningbooleanindicates if the service is automatically activated when the technical profile is provisioned
-
languagestringcharacteristic used for serviceId = 2. Not used for other services
-
speedstringcharacteristic used for serviceId = 16. Not used for other services
-
available_networksstringcharacteristic used for serviceId = 30. Not used for other services
Bad request
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Value Added Services
Get value added services for commercial product
/orgs /{org_id} /commercial_products /{id} /value_added_services Authenticated with a bearer token in the Authorization header Authentication
Returns an array of both mandatory and optional value added services related to a commercial product id, eligible when the commercial product is sold as a standalone product. Includes basic characteristics of each value added service, as well as applicable fees, with the correspondent values and tax details.
Path parameters
org_idstringRequiredorganization name
idstringRequiredcommercial product identifier
Query parameters
sale_type_namestringsale type name
mysim_service_idstringinternal service id used within mySim
Responses
Value Added Service
-
idstring -
mysim_idstring -
marketing_namestring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
digital_channels_namestring -
invoice_namestring -
invoice_descriptionstring -
fromstring (date-time) -
tostring (date-time) -
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
is_mandatoryboolean -
max_cardinalitystringRepresents the same as max_quantity but typed as string. Deprecated in favor of max_quantity.
-
max_quantityintegerMaximum number of instances of this value_added_service that can be hired with a [bundled_]commercial_product.
-
related_bundled_product_idstringId of the bundled_product for which the value_added_service is configured. It is
nullwhen value_added_services are requested for a commercial_product instead of bundled_commercial_product. -
checked_by_defaultbooleanIndicates if the value_added_service is checked by default in the digital channels. It is
nullwhen value_added_services are requested for a commercial_product instead of bundled_commercial_product. -
value_added_servicesobject[]Required value_added_services that need to be hired with the parent value_added_service.
-
idstring -
mysim_idstring -
marketing_namestring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
digital_channels_namestring -
invoice_namestring -
invoice_descriptionstring -
fromstring (date-time) -
tostring (date-time) -
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject -
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Value Added Services
Get sellable value added services for commercial product
/orgs /{org_id} /commercial_products /{id} /value_added_services /sellable Authenticated with a bearer token in the Authorization header Authentication
Returns an array of sellable mandatory and optional value added services for a commercial product id, when this is sold as a standalone product. Includes main characteristics of each value added service, as well as fees associated to the value added service.
Path parameters
org_idstringRequiredorganization name
idstringRequiredcommercial product identifier
Query parameters
sale_type_namestringsale type name
Responses
ValueAddedServices
-
idstring -
mysim_idstring -
marketing_namestring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
digital_channels_namestring -
invoice_namestring -
invoice_descriptionstring -
fromstring (date-time) -
tostring (date-time) -
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
is_mandatoryboolean -
max_cardinalitystringRepresents the same as max_quantity but typed as string. Deprecated in favor of max_quantity.
-
max_quantityintegerMaximum number of instances of this value_added_service that can be hired with a [bundled_]commercial_product.
-
related_bundled_product_idstringId of the bundled_product for which the value_added_service is configured. It is
nullwhen value_added_services are requested for a commercial_product instead of bundled_commercial_product. -
checked_by_defaultbooleanIndicates if the value_added_service is checked by default in the digital channels. It is
nullwhen value_added_services are requested for a commercial_product instead of bundled_commercial_product. -
value_added_servicesobject[]Required value_added_services that need to be hired with the parent value_added_service.
-
idstring -
mysim_idstring -
marketing_namestring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
digital_channels_namestring -
invoice_namestring -
invoice_descriptionstring -
fromstring (date-time) -
tostring (date-time) -
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject -
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Value Added Services
Get value added services for bundled commercial product
/orgs /{org_id} /bundled_commercial_products /{id} /value_added_services Authenticated with a bearer token in the Authorization header Authentication
Returns an array of both mandatory and optional value added services related to a bundled commercial product id, eligible when the commercial product is sold as a bundled commercial product. Includes main characteristics of each value added service, as well as fees associated to them.
Path parameters
org_idstringRequiredorganization name
idstringRequiredbundled commercial product identifier
Query parameters
sale_type_namestringsale type name
mysim_service_idstringinternal service id used within mySim
Responses
Value Added Service
-
idstring -
mysim_idstring -
marketing_namestring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
digital_channels_namestring -
invoice_namestring -
invoice_descriptionstring -
fromstring (date-time) -
tostring (date-time) -
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
is_mandatoryboolean -
max_cardinalitystringRepresents the same as max_quantity but typed as string. Deprecated in favor of max_quantity.
-
max_quantityintegerMaximum number of instances of this value_added_service that can be hired with a [bundled_]commercial_product.
-
related_bundled_product_idstringId of the bundled_product for which the value_added_service is configured. It is
nullwhen value_added_services are requested for a commercial_product instead of bundled_commercial_product. -
checked_by_defaultbooleanIndicates if the value_added_service is checked by default in the digital channels. It is
nullwhen value_added_services are requested for a commercial_product instead of bundled_commercial_product. -
value_added_servicesobject[]Required value_added_services that need to be hired with the parent value_added_service.
-
idstring -
mysim_idstring -
marketing_namestring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
digital_channels_namestring -
invoice_namestring -
invoice_descriptionstring -
fromstring (date-time) -
tostring (date-time) -
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject -
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Value Added Services
Get sellable value added services for bundled commercial product
/orgs /{org_id} /bundled_commercial_products /{id} /value_added_services /sellable Authenticated with a bearer token in the Authorization header Authentication
Returns an array of sellable mandatory and optional value added services relatd to a bundled commercial product id, when this is sold as part of a bundled product. Includes main characteristics of each value added service, as well as fees associated to the value added service.
Path parameters
org_idstringRequiredorganization name
idstringRequiredbundled commercial product identifier
Query parameters
sale_type_namestringsale type name
Responses
ValueAddedServices
-
idstring -
mysim_idstring -
marketing_namestring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
digital_channels_namestring -
invoice_namestring -
invoice_descriptionstring -
fromstring (date-time) -
tostring (date-time) -
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
is_mandatoryboolean -
max_cardinalitystringRepresents the same as max_quantity but typed as string. Deprecated in favor of max_quantity.
-
max_quantityintegerMaximum number of instances of this value_added_service that can be hired with a [bundled_]commercial_product.
-
related_bundled_product_idstringId of the bundled_product for which the value_added_service is configured. It is
nullwhen value_added_services are requested for a commercial_product instead of bundled_commercial_product. -
checked_by_defaultbooleanIndicates if the value_added_service is checked by default in the digital channels. It is
nullwhen value_added_services are requested for a commercial_product instead of bundled_commercial_product. -
value_added_servicesobject[]Required value_added_services that need to be hired with the parent value_added_service.
-
idstring -
mysim_idstring -
marketing_namestring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
digital_channels_namestring -
invoice_namestring -
invoice_descriptionstring -
fromstring (date-time) -
tostring (date-time) -
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject -
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Value Added Services
Get value added services for bundled commercial product in a particular bundled product
/orgs /{org_id} /bundled_products /{bp_id} /bundled_commercial_products /{bcp_id} /value_added_services Authenticated with a bearer token in the Authorization header Authentication
Returns an array of mandatory and optional value added services related to a bundled commercial product id, when this is sold as part of a bundled product. Unlike /sellable, value added services are returned regardless of their validity dates. Includes main characteristics of each value added service, as well as fees associated to the value added service.
Path parameters
org_idstringRequiredorganization name
bp_idstringRequiredbundled product identifier
bcp_idstringRequiredbundled commercial product identifier
Query parameters
sale_type_namestringsale type name
service_idstringservice identifier supplied by the value added service. When informed, only the value added services whose id matches it are returned
Responses
ValueAddedServices
-
idstring -
mysim_idstring -
marketing_namestring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
digital_channels_namestring -
invoice_namestring -
invoice_descriptionstring -
fromstring (date-time) -
tostring (date-time) -
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
is_mandatoryboolean -
max_cardinalitystringRepresents the same as max_quantity but typed as string. Deprecated in favor of max_quantity.
-
max_quantityintegerMaximum number of instances of this value_added_service that can be hired with a [bundled_]commercial_product.
-
related_bundled_product_idstringId of the bundled_product for which the value_added_service is configured. It is
nullwhen value_added_services are requested for a commercial_product instead of bundled_commercial_product. -
checked_by_defaultbooleanIndicates if the value_added_service is checked by default in the digital channels. It is
nullwhen value_added_services are requested for a commercial_product instead of bundled_commercial_product. -
value_added_servicesobject[]Required value_added_services that need to be hired with the parent value_added_service.
-
idstring -
mysim_idstring -
marketing_namestring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
digital_channels_namestring -
invoice_namestring -
invoice_descriptionstring -
fromstring (date-time) -
tostring (date-time) -
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject -
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Value Added Services
Get sellable value added services for bundled commercial product in a particular bundled product
/orgs /{org_id} /bundled_products /{bp_id} /bundled_commercial_products /{bcp_id} /value_added_services /sellable Authenticated with a bearer token in the Authorization header Authentication
Returns an array of sellable mandatory and optional value added services relatd to a bundled commercial product id, when this is sold as part of a bundled product. Includes main characteristics of each value added service, as well as fees associated to the value added service.
Path parameters
org_idstringRequiredorganization name
bp_idstringRequiredbundled product identifier
bcp_idstringRequiredbundled commercial product identifier
Query parameters
sale_type_namestringsale type name
Responses
ValueAddedServices
-
idstring -
mysim_idstring -
marketing_namestring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
digital_channels_namestring -
invoice_namestring -
invoice_descriptionstring -
fromstring (date-time) -
tostring (date-time) -
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
is_mandatoryboolean -
max_cardinalitystringRepresents the same as max_quantity but typed as string. Deprecated in favor of max_quantity.
-
max_quantityintegerMaximum number of instances of this value_added_service that can be hired with a [bundled_]commercial_product.
-
related_bundled_product_idstringId of the bundled_product for which the value_added_service is configured. It is
nullwhen value_added_services are requested for a commercial_product instead of bundled_commercial_product. -
checked_by_defaultbooleanIndicates if the value_added_service is checked by default in the digital channels. It is
nullwhen value_added_services are requested for a commercial_product instead of bundled_commercial_product. -
value_added_servicesobject[]Required value_added_services that need to be hired with the parent value_added_service.
-
idstring -
mysim_idstring -
marketing_namestring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
digital_channels_namestring -
invoice_namestring -
invoice_descriptionstring -
fromstring (date-time) -
tostring (date-time) -
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject -
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Value Added Services
Get sellable value added services for bundled commercial product in a particular bundled product
/orgs /{org_id} /bundled_products /{bp_id} /bundled_product_subs_types /{bpst_id} /bundled_commercial_products /{bcp_id} /value_added_services /sellable Authenticated with a bearer token in the Authorization header Authentication
Returns an array of sellable mandatory and optional value added services relatd to a bundled commercial product id, when this is sold as part of a bundled product. Includes main characteristics of each value added service, as well as fees associated to the value added service.
Path parameters
org_idstringRequiredorganization name
bp_idstringRequiredbundled product identifier
bpst_idstringRequiredbundled product subscription type identifier
bcp_idstringRequiredbundled commercial product identifier
Query parameters
sale_type_namestringsale type name
Responses
ValueAddedServices
-
idstring -
mysim_idstring -
marketing_namestring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
digital_channels_namestring -
invoice_namestring -
invoice_descriptionstring -
fromstring (date-time) -
tostring (date-time) -
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
is_mandatoryboolean -
max_cardinalitystringRepresents the same as max_quantity but typed as string. Deprecated in favor of max_quantity.
-
max_quantityintegerMaximum number of instances of this value_added_service that can be hired with a [bundled_]commercial_product.
-
related_bundled_product_idstringId of the bundled_product for which the value_added_service is configured. It is
nullwhen value_added_services are requested for a commercial_product instead of bundled_commercial_product. -
checked_by_defaultbooleanIndicates if the value_added_service is checked by default in the digital channels. It is
nullwhen value_added_services are requested for a commercial_product instead of bundled_commercial_product. -
value_added_servicesobject[]Required value_added_services that need to be hired with the parent value_added_service.
-
idstring -
mysim_idstring -
marketing_namestring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
digital_channels_namestring -
invoice_namestring -
invoice_descriptionstring -
fromstring (date-time) -
tostring (date-time) -
feesobject[]-
idstring -
descriptionstring -
typestringRecurringCharge value is used for charges that must be applied on a recurring basis. OneTimeFee value is used for charges that only need to be applied once
-
subtypestring -
recurrence_schemestringrecurrence scheme for fees. BoundToBillCycle (used for recurring fees that are applied on a recurring basis, according to the correspondent billing cycle (i.e free units packages used for postpaid subscriptions or automatic top-up prepaid subscriptions), NonBoundToBillCycle (used for recurring fees that are applied on a recurring basis (i.e weekly, monthly, BoundToActivation…) not bounded to any bill cycle ). Null for one time fees.
-
recurrence_interval_typestringinterval type for NonBounToBill recurring fees. ‘Weekly’ (every Monday), ‘Daily' (every day), ‘Monthly’ (every 1st of month), BoundToActivation (every N days since activation)
-
recurrence_intervalnumber (int32)recurrence interval for NonBoundToBill recurring charges. 0 for BoundToBillCycle recurring charges. Null for non-recurring charges
-
paid_in_advancebooleanindicates if a recurring charge is paid in advance or in arrears. Not applicable for non recurring charges
-
prorated_on_activationbooleanindicates if the recurring charge is prorated on activation or not. Not applicable for non recurring charges
-
prorated_on_deactivationbooleanindicates if the recurring charge is prorated on deactivation or not. Not applicable for non recurring charges
-
is_externalbooleanindicates if the fee is MM internal or third party company
-
fromstring (date-time) -
tostring (date-time) -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
is_billablebooleanindicates if the fee is billable (i.e. it will generate a charge in the billing system)
-
termsobject[]-
idstring -
namestring -
typestringPermanenceContract (contract used when a minimum permanency is set), ActivationCommitment (terms type used when service activation is committed. For instance, the installation cost is subsidized only in case the service is finally activated. If the order is cancelled before activating the service but after performing installation, the installation cost could be charged to the customer through an ActivationCommitment terms), ReturnCommitment (terms type used for enabling the commitment of returning a subsidized item after the service deactivation. For instance, when the service provider delivers a device to the customer that it is actually owned buy the service provider, the customer will be typically forced to return the transferred device after service deactivation. This term type is used for enabling this type of commitment)
-
commitment_durationnumber (int32)duration of a PermanenceContract in months
-
unlimited_durationbooleanIndicates if the commitment duration is unlimited or not, true for ReturnCommitment terms, false otherwise
-
penalty_proratedbooleanindicates if the applicable penalty amount is prorated or not based on number of days already passed between activation and the end of the commitment period
-
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
permanence_typestringField to categorize device permanences according to the multi-financing business rules MAIN: Penalties that apply to header lines and non-OXF segments. You can only have 1 at a time NOT_MAIN: Permanences that apply to devices on additional lines, OXF segments. You can have more than 1 at a time NOT_APPLY: The penalty is not a permanence, or if it is, it is not for a device
-
transaction_typeobject -
fromstring (date-time) -
tostring (date-time)
-
-
transaction_typeobject-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
-
-
-
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Services
Get services
/orgs /{org_id} /value_added_services /{id} /services Authenticated with a bearer token in the Authorization header Authentication
Returns an array of the services provided with the given value added service
Path parameters
org_idstringRequiredorganization name
idstringRequiredvalue added service identifier
Responses
Service
-
idstring -
namestring -
digital_channels_namestring -
descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
fromstring (date-time) -
tostring (date-time) -
activation_work_order_type_idstringwork order type id used for provisioning an activation order for the correspondent value added service
-
deactivation_work_order_type_idstringwork order type id used for provisioning a deactivation order for the correspondent value added service
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Commercial Infos
Get commercial infos for commercial product
/orgs /{org_id} /commercial_products /{id} /commercial_infos Authenticated with a bearer token in the Authorization header Authentication
Returns an array of commercial info related to a commercial product id, applicable when the commercial product is sold as a standalone product. Commercial Info are currently used for configuring details to be shown within pre-agreement landing page and details to be shown within agreement document.
Path parameters
org_idstringRequiredorganization name
idstringRequiredcommercial product identifier
Responses
CommercialInfo
-
idstring -
commercial_descriptionstring -
languagestring -
invoice_namestring -
invoice_descriptionstring
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Commercial Infos
Get commercial infos for bundled product
/orgs /{org_id} /bundled_products /{id} /commercial_infos Authenticated with a bearer token in the Authorization header Authentication
Returns an array of commercial info related to a bundled product id. Commercial Info are currently used for configuring details to be shown within pre-agreement landing page and details to be shown within agreement document.
Path parameters
org_idstringRequiredorganization name
idstringRequiredbundled product identifier
Responses
CommercialInfo
-
idstring -
commercial_descriptionstring -
languagestring -
invoice_namestring -
invoice_descriptionstring
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Commercial Infos
Get commercial infos for bundled commercial product
/orgs /{org_id} /bundled_commercial_products /{id} /commercial_infos Authenticated with a bearer token in the Authorization header Authentication
Returns an array of commercial info related to a bundled commercial product id, applicable when the commercial product is sold within a bundled product. Commercial Info are currently used for configuring details to be shown within pre-agreement landing page and details to be shown within agreement document.
Path parameters
org_idstringRequiredorganization name
idstringRequiredbundled commercial product identifier
Responses
CommercialInfo
-
idstring -
commercial_descriptionstring -
languagestring -
invoice_namestring -
invoice_descriptionstring
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Commercial Infos
Get commercial infos for free units package
/orgs /{org_id} /free_units_packages /{id} /commercial_infos Authenticated with a bearer token in the Authorization header Authentication
Returns an array of commercial info related to a free units package. Commercial Info are currently used for configuring details to be shown within pre-agreement landing page and details to be shown within agreement document.
Path parameters
org_idstringRequiredorganization name
idstringRequiredfree units package identifier
Responses
CommercialInfo
-
idstring -
commercial_descriptionstring -
languagestring -
invoice_namestring -
invoice_descriptionstring
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Commercial Infos
Get commercial infos for promotion
/orgs /{org_id} /promotions /{id} /commercial_infos Authenticated with a bearer token in the Authorization header Authentication
Returns an array of commercial info related to a promotion. Commercial Info are currently used for configuring details to be shown within pre-agreement landing page and details to be shown within agreement document.
Path parameters
org_idstringRequiredorganization name
idstringRequiredpromotion identifier
Responses
CommercialInfo
-
idstring -
commercial_descriptionstring -
languagestring -
invoice_namestring -
invoice_descriptionstring
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Commercial Infos
Get commercial infos for value added service
/orgs /{org_id} /value_added_services /{id} /commercial_infos Authenticated with a bearer token in the Authorization header Authentication
Returns an array of commercial info related to a value added service. Commercial Info are currently used for configuring details to be shown within pre-agreement landing page and details to be shown within agreement document.
Path parameters
org_idstringRequiredorganization name
idstringRequiredvalue added service identifier
Responses
CommercialInfo
-
idstring -
commercial_descriptionstring -
languagestring -
invoice_namestring -
invoice_descriptionstring
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Commercial Infos
Get commercial infos for a device
/orgs /{org_id} /devices /{device_id} /commercial_infos Authenticated with a bearer token in the Authorization header Authentication
Returns an array of commercial info related to a device id.
Path parameters
org_idstringRequiredorganization name
device_idstringRequireddevice identifier
Responses
CommercialInfo list
-
idstring -
commercial_descriptionstring -
languagestring -
invoice_namestring -
invoice_descriptionstring
Bad request
Unauthorized
Transaction types
Get transaction types
/orgs /{org_id} /transaction_types Authenticated with a bearer token in the Authorization header Authentication
This service returns an array with all the transaction types defined
Path parameters
org_idstringRequiredorganization name
Responses
List of transaction_types
-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Transaction types
Get transaction type
/orgs /{org_id} /transaction_types /{transaction_type_id} Authenticated with a bearer token in the Authorization header Authentication
This service returns the information for a particular transaction type
Path parameters
org_idstringRequiredorganization name
transaction_type_idstringRequiredtransaction type identifier
Responses
Transaction Type
-
idstring -
namestring -
descriptionstring -
is_activeboolean -
is_externalbooleanindicates if the fee/term/promotion value is own (MM) or external (third-party)
-
tax_ratestringindicates the tax applied to the fee/term/promotion value
-
transaction_typestring -
refund_transaction_type_idstringid of the transaction type used for refund transactions
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Devices
Get a list with all the devices
/orgs /{org_id} /devices Authenticated with a bearer token in the Authorization header Authentication
Get a list with all the devices related to the organization specified
Path parameters
org_idstringRequiredorganization name
Query parameters
device_categorystringoptional field to filter by device category
device_brandstringoptional field to filter by device brand
generic_codestringoptional field to filter by generic code device
category_webstringoptional field to filter by category web
Show 15 valuesHide 15 values
SMARTPHONETABLETSMARTWATCHSMART_TVROBOT_VACUUM_CLEANERLAPTOPSCOOTERMONITORMODEMGAMINGDEVICESCALEHEADPHONESPEAKERAIR_FRYER
category_groupstringoptional field to filter by category group, each category group consists of at least one category web
Header parameters
Accept-LanguagestringFlag to indicate the text language, relies on ISO-639-1
Responses
OK
-
idstring -
generic_codestring -
brandstring -
modelstring -
namestring -
descriptionstring -
categorystring -
colourstring -
is_availablebooleanbased on this attribute we know if a device is active or not
-
include_preinstalled_simbooleanif the device has a built-in sim card
-
image_urlstring (url) | nullurl to device image
-
category_webstring -
model_webstring -
colour_namestring -
hexadecimal_colourstring -
brand_colourboolean -
specificationsstring -
control_appboolean -
batterystring -
bluetooth_versionstring -
frontal_camerastring -
back_camerastring -
storagestring -
wireless_chargingboolean -
fast_chargeboolean -
fast_charge_speedstring -
box_contentstring -
telecare_compatibleboolean -
connectivitystring -
control_voice_assitantboolean -
dimensionsstring -
hard_drivestring -
dual_simboolean -
battery_durationstring -
esimboolean -
flashboolean -
functionsstring -
touch_idboolean -
max_speedstring -
memorystring -
memory_expandable_tostring -
ram_memorystring -
microphoneboolean -
nfcboolean -
user_numberstring -
mapping_allowedboolean -
weightstring -
powerstring -
gaming_capabilitiesstring -
processorstring -
portsstring -
weight_rangestring -
networkstring -
system_requirementsstring -
water_resistantboolean -
resolutionstring -
outputstring -
noise_cancellingboolean -
sensorsstring -
digital_tunerstring -
osstring -
soundstring -
sizestring -
screen_sizestring -
technologystring -
battery_charge_timestring -
hard_drive_typestring -
sim_typestring -
download_speedstring -
wifistring -
commentsstring -
promotional_infoobject-
trade_in_descriptionstringDescription of the trade in
-
trade_in_valuenumber -
additional_infostringAdditional info of the promotional info
-
-
energy_labelstring -
esim_onlyboolean -
ean_codestring -
category_groupstring -
reverse_logistic_methodstringIndicates the method to return a device in case of withdrawal.
POST_OFFICE means the customer must bring the device to a post office,
HOME_PICKUP means a courier will pick up the device at home.
-
charger_includedbooleanIndicates whether a charger is included in the device box.
Required by EU Directive 2022/2380 on common chargers (legal obligation).
-
charger_labelstringDescriptive label of the charger type or standard associated with the device
(e.g. USB-C 25W). Required by EU Directive 2022/2380 on common chargers
(legal obligation).
-
pin_enabledboolean | nullIndicates whether the SIM is shipped with the PIN enabled (true) or disabled (false).
Only applies to devices of category SIM. The field is omitted from the response for
any other device category or when the attribute is not defined.
Bad request
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Response Headers
Content-LanguageunknownDevices
Get a list with all the sellable devices
/orgs /{org_id} /devices /sellable Authenticated with a bearer token in the Authorization header Authentication
Get a list with all the sellable devices related to the organization specified
Path parameters
org_idstringRequiredorganization name
Query parameters
commercial_profile_namestringRequiredcommercial profile name
device_categorystringoptional field to filter by device category
device_brandstringoptional field to filter by device brand
generic_codestringoptional field to filter by generic code device
category_webstringoptional field to filter by category web
Show 15 valuesHide 15 values
SMARTPHONETABLETSMARTWATCHSMART_TVROBOT_VACUUM_CLEANERLAPTOPSCOOTERMONITORMODEMGAMINGDEVICESCALEHEADPHONESPEAKERAIR_FRYER
category_groupstringoptional field to filter by category group, each category group consists of at least one category web
Header parameters
Accept-LanguagestringFlag to indicate the text language, relies on ISO-639-1
Responses
OK
-
idstring -
generic_codestring -
brandstring -
modelstring -
namestring -
descriptionstring -
categorystring -
colourstring -
is_availablebooleanbased on this attribute we know if a device is active or not
-
include_preinstalled_simbooleanif the device has a built-in sim card
-
image_urlstring (url) | nullurl to device image
-
category_webstring -
model_webstring -
colour_namestring -
hexadecimal_colourstring -
brand_colourboolean -
specificationsstring -
control_appboolean -
batterystring -
bluetooth_versionstring -
frontal_camerastring -
back_camerastring -
storagestring -
wireless_chargingboolean -
fast_chargeboolean -
fast_charge_speedstring -
box_contentstring -
telecare_compatibleboolean -
connectivitystring -
control_voice_assitantboolean -
dimensionsstring -
hard_drivestring -
dual_simboolean -
battery_durationstring -
esimboolean -
flashboolean -
functionsstring -
touch_idboolean -
max_speedstring -
memorystring -
memory_expandable_tostring -
ram_memorystring -
microphoneboolean -
nfcboolean -
user_numberstring -
mapping_allowedboolean -
weightstring -
powerstring -
gaming_capabilitiesstring -
processorstring -
portsstring -
weight_rangestring -
networkstring -
system_requirementsstring -
water_resistantboolean -
resolutionstring -
outputstring -
noise_cancellingboolean -
sensorsstring -
digital_tunerstring -
osstring -
soundstring -
sizestring -
screen_sizestring -
technologystring -
battery_charge_timestring -
hard_drive_typestring -
sim_typestring -
download_speedstring -
wifistring -
commentsstring -
promotional_infoobject-
trade_in_descriptionstringDescription of the trade in
-
trade_in_valuenumber -
additional_infostringAdditional info of the promotional info
-
-
energy_labelstring -
esim_onlyboolean -
ean_codestring -
category_groupstring -
reverse_logistic_methodstringIndicates the method to return a device in case of withdrawal.
POST_OFFICE means the customer must bring the device to a post office,
HOME_PICKUP means a courier will pick up the device at home.
-
charger_includedbooleanIndicates whether a charger is included in the device box.
Required by EU Directive 2022/2380 on common chargers (legal obligation).
-
charger_labelstringDescriptive label of the charger type or standard associated with the device
(e.g. USB-C 25W). Required by EU Directive 2022/2380 on common chargers
(legal obligation).
-
pin_enabledboolean | nullIndicates whether the SIM is shipped with the PIN enabled (true) or disabled (false).
Only applies to devices of category SIM. The field is omitted from the response for
any other device category or when the attribute is not defined.
Bad request
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Response Headers
Content-LanguageunknownDevices
Get a list with all the information of devices
/orgs /{org_id} /devices /{device_id} Authenticated with a bearer token in the Authorization header Authentication
Get a list with all the information of devices related with the {org_id} specified
Path parameters
org_idstringRequiredorganization name
device_idstringRequireddevice identifier
Header parameters
Accept-LanguagestringFlag to indicate the text language, relies on ISO-639-1
Responses
OK
-
idstring -
generic_codestring -
brandstring -
modelstring -
namestring -
descriptionstring -
categorystring -
colourstring -
is_availablebooleanbased on this attribute we know if a device is active or not
-
include_preinstalled_simbooleanif the device has a built-in sim card
-
image_urlstring (url) | nullurl to device image
-
category_webstring -
model_webstring -
colour_namestring -
hexadecimal_colourstring -
brand_colourboolean -
specificationsstring -
control_appboolean -
batterystring -
bluetooth_versionstring -
frontal_camerastring -
back_camerastring -
storagestring -
wireless_chargingboolean -
fast_chargeboolean -
fast_charge_speedstring -
box_contentstring -
telecare_compatibleboolean -
connectivitystring -
control_voice_assitantboolean -
dimensionsstring -
hard_drivestring -
dual_simboolean -
battery_durationstring -
esimboolean -
flashboolean -
functionsstring -
touch_idboolean -
max_speedstring -
memorystring -
memory_expandable_tostring -
ram_memorystring -
microphoneboolean -
nfcboolean -
user_numberstring -
mapping_allowedboolean -
weightstring -
powerstring -
gaming_capabilitiesstring -
processorstring -
portsstring -
weight_rangestring -
networkstring -
system_requirementsstring -
water_resistantboolean -
resolutionstring -
outputstring -
noise_cancellingboolean -
sensorsstring -
digital_tunerstring -
osstring -
soundstring -
sizestring -
screen_sizestring -
technologystring -
battery_charge_timestring -
hard_drive_typestring -
sim_typestring -
download_speedstring -
wifistring -
commentsstring -
promotional_infoobject-
trade_in_descriptionstringDescription of the trade in
-
trade_in_valuenumber -
additional_infostringAdditional info of the promotional info
-
-
energy_labelstring -
esim_onlyboolean -
ean_codestring -
category_groupstring -
reverse_logistic_methodstringIndicates the method to return a device in case of withdrawal.
POST_OFFICE means the customer must bring the device to a post office,
HOME_PICKUP means a courier will pick up the device at home.
-
charger_includedbooleanIndicates whether a charger is included in the device box.
Required by EU Directive 2022/2380 on common chargers (legal obligation).
-
charger_labelstringDescriptive label of the charger type or standard associated with the device
(e.g. USB-C 25W). Required by EU Directive 2022/2380 on common chargers
(legal obligation).
-
pin_enabledboolean | nullIndicates whether the SIM is shipped with the PIN enabled (true) or disabled (false).
Only applies to devices of category SIM. The field is omitted from the response for
any other device category or when the attribute is not defined.
Bad request
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Response Headers
Content-LanguageunknownCommercial profiles
Get a list with the commercial profiles defined
/orgs /{org_id} /commercial_profiles Authenticated with a bearer token in the Authorization header Authentication
Get a list with all the commercial profiles related with the {org_id} specified
Path parameters
org_idstringRequiredorganization name
Query parameters
visibility_typestringvisibility type
Responses
OK
-
idstring -
namestring -
visibility_typestring
Bad request
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Commercial profiles
Get a list of commercial products availables for a particular commercial profile and tenant
/orgs /{org_id} /commercial_profiles /{com_profile_id} /commercial_products Authenticated with a bearer token in the Authorization header Authentication
Get a list of commercial products availables for a particular commercial profile and tenant
Path parameters
org_idstringRequiredorganization name
com_profile_idstringRequiredcommercial profile id
Responses
OK
-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
mysim_commercial_product_idstringinternal id used within MySim
-
data_sharing_compatibleboolean -
penalty_referencenumber (double)it is the reference price of the fee to take in account when a penalty is applied to the terminal
-
min_devicesintegerMinimum number of devices that must be purchased for this tariff.
-
max_devicesintegerMaximum number of devices that can be purchased for this tariff.
-
max_concurrent_viewsintegerMaximum number of concurrent views allowed for the TV tariff.
-
insurance_typestringType of insurance product. Possible values:
- GLOBAL
- MULTIMEDIA
- null: When CommercialProduct is not a Zurich insurance tariff
-
fromstring (date-time)date when the commercial product starts to be included within the commercial profile
-
tostring (date-time)date when the commercial product starts to be included within the commercial profile
Bad request
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Commercial profiles
Get a list of free units packages availables for a particular commercial profile and tenant
/orgs /{org_id} /commercial_profiles /{com_profile_id} /free_units_packages Authenticated with a bearer token in the Authorization header Authentication
Get a list of free units packages availables for a particular commercial profile and tenant
Path parameters
org_idstringRequiredorganization name
com_profile_idstringRequiredcommercial profile id
Responses
OK
-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
mysim_free_units_package_idstringinternal id used within Mysim, null for 'dummy' unlimited voice free units packages
-
unit_amountnumber (int64)amount of units granted within the package. Currently, the unit type is always the same depending on the event type. VOZ (secs), DATOS (bytes), SMS (SMS)
-
volume_home_sl0number (int64)Data volume in bytes navigable at maximum speed
-
volume_home_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps)
-
volume_rlah_sl0number (int64)Data volume in bytes navigable at maximum speed with roaming like at home
-
volume_rlah_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps) with roaming like at home
-
volume_nr_sl0number (int64)Data volume in bytes navigable at maximum speed with national roaming
-
volume_nr_sl1number (int64)Data volume in bytes navigable at intermediate speed level (3 Mbps) with national roaming
-
unlimitedbooleanindicates if the free units is sold as an unlimited package
-
max_grantsnumber (int32)maximum number of grants before the free units package expires (the maxGrants value never includes the first grant period. This means that a free units package with NRTIMES = 11 that is activated on 15/01/2020 will be active until 31/12/2020). Zero for recurring packages with no limit. In this case the package will expire when being explicitly deactivated. Null for one time packages
-
is_recurring_packagebooleanindicates if the free units package is a periodical package. Currently, if it is periodical, monthly schedule will be assigned
-
applicability_prioritynumber (int32)priority of the free units package when consuming
-
used_for_policy_rule_changebooleanindicates if the free units package is used for policy rules changes (for changing the download speed when limits are reached)
-
sharing_compatibleboolean -
fromstring (date-time)date when the free units package starts to be included within the commercial profile
-
tostring (date-time)date when the free units package starts to be included within the commercial profile
Bad request
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Commercial profiles
Get a list of promotions availables for a particular commercial profile and tenant
/orgs /{org_id} /commercial_profiles /{com_profile_id} /promotions Authenticated with a bearer token in the Authorization header Authentication
Get a list of promotions availables for a particular commercial profile and tenant
Path parameters
org_idstringRequiredorganization name
com_profile_idstringRequiredcommercial profile id
Responses
OK
-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
need_promotion_codebooleanboolean to indicate if the promotion requires capturing a code for being applied
-
need_existent_MSISDNbooleanboolean to indicate if the promotion requires an existent MSISDN (i,e for M2M campaign)
-
applicability_modelstringit defines how the promotion is applied in terms of calculation phase and application model. FeeGeneraton (for promotions that should be applied when generating one time or recurring fees), Billing (for promotions that should be applied during billing phase),
-
restrictions_applicability_rulestringrule used for obtaining the discount value (% value or fixed value) or top-up amount to be applied. Not used currently because the discount value (% value or fixed value) is fixed, not dependent on restrictions
-
target_applicability_rulestringrule used for determining the charges on which the discount is applied. PreviousInvoiceTotalAmount (used for Billing discounts that must be applied to the previous invoice total amount), CurrentInvoiceTotalAmount (used for Billing discounts that must be applied to the current invoice total amount), FeeSubtype (discounts that must be applied to fees with specific subtype)
-
fee_subtypesstringused for promotions with targetApplicabilityRule = FeeSubType, for indicating fee subtypes to which the promotion must be applied
-
calculation_modelstringused for obtaining the discount % value/fixed value/top-up amount to be applied. Flat (fixed %/fixed discount value/top-up amount), Bulk (%/fixed discount value/top-up amount depends on the total amount of restrictions. Currently not used)
-
discount_typestringit defines if the discount value is a % or a fixed amount
-
durationnumber (int32)promotion duration indicated in number of months
-
unlimited_durationbooleanUsed to indicate if the promotion is valid for an unlimited period of time
-
keep_on_upgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a higher cost
-
keep_on_downgradebooleanused to indicate if the campaign is maintained when it is currently active and there is a product/bundled product migration to a product/bundled product which is also compatible with the promotion and which has a lower cost
-
prioritynumber (int32)promotion applicability priority (lower value = higher priority). Currently always 1
-
is_mandatoryboolean -
xsell_permitboolean -
reduced_fee_amountboolean -
valuenumber (double) -
currencystringnull for values associated to promotion with discountTYpe=percentage. euro for rest
-
fromstring (date-time)date when the promotion starts to be included within the commercial profile
-
tostring (date-time)date when the promotion starts to be included within the commercial profile
-
skip_first_periodbooleanit indicates if the first period of billing is skipped
-
reduce_penalty_thresholdbooleanit indicates if the reference value has to be decreased
Bad request
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Commercial profiles
Get a list of bundled products availables for a particular commercial profile and tenant
/orgs /{org_id} /commercial_profiles /{com_profile_id} /bundled_products Authenticated with a bearer token in the Authorization header Authentication
Get a list of bundled products availables for a particular commercial profile and tenant
Path parameters
org_idstringRequiredorganization name
com_profile_idstringRequiredcommercial profile id
Responses
OK
-
idstring -
namestring -
marketing_namestring -
digital_channels_namestringname used within digital channels
-
bundled_segmentstring -
invoice_namestring -
invoice_descriptionstring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time) -
categorystring -
category_idstring -
download_speedstringused for filtering purpose within API consumers, fo bundled product with category (‘Fixed+Broadband' or ‘Fixed+Broadband+Mobile’ or 'Fixed+Broadband+Mobile+TV') and with technology = 2 (FTTH). Null for bundled products with category ((‘Fixed+Broadband' or ‘Fixed+Broadband+Mobile’ or 'Fixed+Broadband+Mobile+TV') and with technology = 1 (ADSL)) or bundled products with category ‘Fixed+Mobile’
-
upload_speedstringused for filtering purpose within API consumers, fo bundled product with category (‘Fixed+Broadband' or ‘Fixed+Broadband+Mobile’ or 'Fixed+Broadband+Mobile+TV') and with technology = 2 (FTTH). Null for bundled products with category ((‘Fixed+Broadband' or ‘Fixed+Broadband+Mobile’ or 'Fixed+Broadband+Mobile+TV') and with technology = 1 (ADSL)) or bundled products with category ‘Fixed+Mobile’
-
fromstring (date-time)date when the promotion starts to be included within the commercial profile
-
tostring (date-time)date when the promotion starts to be included within the commercial profile
Bad request
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Misc services
Get a list of available subscription types
/orgs /{org_id} /subs_types Authenticated with a bearer token in the Authorization header Authentication
Get a list of available subscription types
Path parameters
org_idstringRequiredorganization name
Responses
OK
-
namestringsubscription type name
-
descriptionstringsubscription type description
-
idstringsubscription type id
Bad request
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Misc services
Get a particular subscription type
/orgs /{org_id} /subs_types /{id} Authenticated with a bearer token in the Authorization header Authentication
Get a particular subscription type
Path parameters
org_idstringRequiredorganization name
idstringRequiredsubscription type identifier
Responses
OK
-
namestringsubscription type name
-
descriptionstringsubscription type description
-
idstringsubscription type id
Bad request
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Misc services
Get a list of available territory owners
/orgs /{org_id} /territory_owners Authenticated with a bearer token in the Authorization header Authentication
Get a list of available territory owners
Path parameters
org_idstringRequiredorganization name
Responses
OK
-
idstring -
namestring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time)
Bad request
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Misc services
Get a particular territory owner
/orgs /{org_id} /territory_owners /{id} Authenticated with a bearer token in the Authorization header Authentication
Get a particular territory owner
Path parameters
org_idstringRequiredorganization name
idstringRequiredterritory owner identifier
Responses
OK
-
idstring -
namestring -
in_catalogue_sincestring (date-time) -
in_catalogue_untilstring (date-time)
Bad request
Unauthorized
Item not found
-
errorstring -
messagestring -
codestring
Health
Get service health
/health Returns information about system status
Responses
The response for success health check
-
statusstring
Ready
Get service readiness
/ready Returns 200 when the service is ready to accept traffic, 503 when the JVM is shutting down. Used by Kubernetes as a readiness probe to control traffic routing during graceful shutdown.
Responses
The service is ready to accept traffic
No body.
The service is shutting down and not ready to accept new traffic
No body.