Select
Free Units Packages
Access to free units packages
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
org_id | path | string | true | organization name |
id | path | string | true | commercial product identifier |
sale_type_name | query | SaleTypeName | false | sale type name |
commercial_profile_name | query | string | false | commercial profile name |
debit_account_id | query | string | false | id to filter free_units_packages with a specific debit_account |
Enumerated Values
Property | Values |
---|---|
sale_type_name | one of [Venta, Migración, Añadir Línea, Cross Sell, Cartera] |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Free Units Package | [FreeUnitsPackage_Response] |
401 | Unauthorized | Unauthorized | string |
404 | Not Found | Item not found | KOGenericResponse |
200 - instance of FreeUnitsPackage_Response
Custom schema example
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | FreeUnitsPackageDetailBySP | false | none |
Name | Type | Required | Description |
---|---|---|---|
anonymous | object | false | none |
» from | string(date-time) | false | date when the free units package starts to be included within the commercial product |
» to | string(date-time) | false | date when the free units package is no longer included within the commercial product |
» is_mandatory | boolean | false | indicates if the free units package is mandatory with the commercial product |
» is_mandatory_optional | boolean | false | indicates 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_sale | boolean | false | indicates if the free units package is mandatory with the commercial product during sale, but not for migration (commercial product change) |
401 - JsonObject
Custom schema example
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | FreeUnitsPackageDetailBySP | false | none |
Name | Type | Required | Description |
---|---|---|---|
anonymous | object | false | none |
» from | string(date-time) | false | date when the free units package starts to be included within the commercial product |
» to | string(date-time) | false | date when the free units package is no longer included within the commercial product |
» is_mandatory | boolean | false | indicates if the free units package is mandatory with the commercial product |
» is_mandatory_optional | boolean | false | indicates 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_sale | boolean | false | indicates if the free units package is mandatory with the commercial product during sale, but not for migration (commercial product change) |
404 - instance of KOGenericResponse
Custom schema example
|
|
Name | Type | Required | Description |
---|---|---|---|
error | string | false | none |
message | string | false | none |
code | string | false | none |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
org_id | path | string | true | organization name |
id | path | string | true | commercial product identifier |
fup_id | path | string | true | free units package identifier |
commercial_profile_name | query | string | false | commercial profile name |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Free Units Package | FreeUnitsPackage_Response |
401 | Unauthorized | Unauthorized | string |
404 | Not Found | Item not found | KOGenericResponse |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
org_id | path | string | true | organization name |
fup_id | path | string | true | free units package identifier |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Free Units Package | FreeUnitsPackageDetailBySP |
401 | Unauthorized | Unauthorized | string |
404 | Not Found | Item not found | KOGenericResponse |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
org_id | path | string | true | organization name |
commercial_profile_name | query | string | false | commercial profile name |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Free Units Package | [FreeUnitsPackageDetailBySP] |
401 | Unauthorized | Unauthorized | string |
404 | Not Found | Item not found | KOGenericResponse |
200 - instance of FreeUnitsPackageDetailBySP
Custom schema example
|
|
Name | Type | Required | Description |
---|---|---|---|
id | string | false | none |
name | string | false | none |
marketing_name | string | false | none |
digital_channels_name | string | false | name used within digital channels |
invoice_name | string | false | none |
invoice_description | string | false | none |
in_catalogue_since | string(date-time) | false | none |
in_catalogue_until | string(date-time) | false | none |
mysim_free_units_package_id | string | false | internal id used within Mysim, null for ‘dummy’ unlimited voice free units packages |
unit_amount | number(int64) | false | 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_sl0 | number(int64) | false | Data volume in bytes navigable at maximum speed |
volume_home_sl1 | number(int64) | false | Data volume in bytes navigable at intermediate speed level (3 Mbps) |
volume_rlah_sl0 | number(int64) | false | Data volume in bytes navigable at maximum speed with roaming like at home |
volume_rlah_sl1 | number(int64) | false | Data volume in bytes navigable at intermediate speed level (3 Mbps) with roaming like at home |
volume_nr_sl0 | number(int64) | false | Data volume in bytes navigable at maximum speed with national roaming |
volume_nr_sl1 | number(int64) | false | Data volume in bytes navigable at intermediate speed level (3 Mbps) with national roaming |
event_type | string | false | none |
unlimited | boolean | false | indicates if the free units is sold as an unlimited package |
max_grants | number(int32) | false | 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_package | boolean | false | indicates if the free units package is a periodical package. Currently, if it is periodical, monthly schedule will be assigned |
applicability_priority | number(int32) | false | priority of the free units package when consuming |
used_for_policy_rule_change | boolean | false | indicates if the free units package is used for policy rules changes (for changing the download speed when limits are reached) |
category | string | false | none |
sharing_compatible | boolean | false | none |
free_units_package_template | FreeUnitsPackage_free_units_package_template_Response | false | none |
fees | [Fee_Response] | false | none |
promotions | [PromotionDetail_Response] | false | none |
base_profiles | [FreeUnitsPackageDetail_base_profiles] | false | none |
commercial_profiles | [CommercialProfile_Response] | false | none |
401 - JsonObject
Custom schema example
|
|
Name | Type | Required | Description |
---|---|---|---|
id | string | false | none |
name | string | false | none |
marketing_name | string | false | none |
digital_channels_name | string | false | name used within digital channels |
invoice_name | string | false | none |
invoice_description | string | false | none |
in_catalogue_since | string(date-time) | false | none |
in_catalogue_until | string(date-time) | false | none |
mysim_free_units_package_id | string | false | internal id used within Mysim, null for ‘dummy’ unlimited voice free units packages |
unit_amount | number(int64) | false | 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_sl0 | number(int64) | false | Data volume in bytes navigable at maximum speed |
volume_home_sl1 | number(int64) | false | Data volume in bytes navigable at intermediate speed level (3 Mbps) |
volume_rlah_sl0 | number(int64) | false | Data volume in bytes navigable at maximum speed with roaming like at home |
volume_rlah_sl1 | number(int64) | false | Data volume in bytes navigable at intermediate speed level (3 Mbps) with roaming like at home |
volume_nr_sl0 | number(int64) | false | Data volume in bytes navigable at maximum speed with national roaming |
volume_nr_sl1 | number(int64) | false | Data volume in bytes navigable at intermediate speed level (3 Mbps) with national roaming |
event_type | string | false | none |
unlimited | boolean | false | indicates if the free units is sold as an unlimited package |
max_grants | number(int32) | false | 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_package | boolean | false | indicates if the free units package is a periodical package. Currently, if it is periodical, monthly schedule will be assigned |
applicability_priority | number(int32) | false | priority of the free units package when consuming |
used_for_policy_rule_change | boolean | false | indicates if the free units package is used for policy rules changes (for changing the download speed when limits are reached) |
category | string | false | none |
sharing_compatible | boolean | false | none |
free_units_package_template | FreeUnitsPackage_free_units_package_template_Response | false | none |
fees | [Fee_Response] | false | none |
promotions | [PromotionDetail_Response] | false | none |
base_profiles | [FreeUnitsPackageDetail_base_profiles] | false | none |
commercial_profiles | [CommercialProfile_Response] | false | none |
404 - instance of KOGenericResponse
Custom schema example
|
|
Name | Type | Required | Description |
---|---|---|---|
error | string | false | none |
message | string | false | none |
code | string | false | none |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
org_id | path | string | true | organization name |
id | path | string | true | commercial product identifier |
sale_type_name | query | SaleTypeName | false | sale type name |
commercial_profile_name | query | string | false | commercial profile name |
debit_account_id | query | string | false | id to filter free_units_packages with a specific debit_account |
Enumerated Values
Property | Values |
---|---|
sale_type_name | one of [Venta, Migración, Añadir Línea, Cross Sell, Cartera] |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Free units packages | [FreeUnitsPackage_Response] |
401 | Unauthorized | Unauthorized | string |
404 | Not Found | Item not found | KOGenericResponse |
200 - instance of FreeUnitsPackage_Response
Custom schema example
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | FreeUnitsPackageDetailBySP | false | none |
Name | Type | Required | Description |
---|---|---|---|
anonymous | object | false | none |
» from | string(date-time) | false | date when the free units package starts to be included within the commercial product |
» to | string(date-time) | false | date when the free units package is no longer included within the commercial product |
» is_mandatory | boolean | false | indicates if the free units package is mandatory with the commercial product |
» is_mandatory_optional | boolean | false | indicates 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_sale | boolean | false | indicates if the free units package is mandatory with the commercial product during sale, but not for migration (commercial product change) |
401 - JsonObject
Custom schema example
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | FreeUnitsPackageDetailBySP | false | none |
Name | Type | Required | Description |
---|---|---|---|
anonymous | object | false | none |
» from | string(date-time) | false | date when the free units package starts to be included within the commercial product |
» to | string(date-time) | false | date when the free units package is no longer included within the commercial product |
» is_mandatory | boolean | false | indicates if the free units package is mandatory with the commercial product |
» is_mandatory_optional | boolean | false | indicates 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_sale | boolean | false | indicates if the free units package is mandatory with the commercial product during sale, but not for migration (commercial product change) |
404 - instance of KOGenericResponse
Custom schema example
|
|
Name | Type | Required | Description |
---|---|---|---|
error | string | false | none |
message | string | false | none |
code | string | false | none |
Endpoints
Commercial Products
Bundled Products
Bundled Commercial Products
Free Units Packages
Promotions
Commercial Devices
Rate Plans
Base profiles and services
Value Added Services
Provisioning Profiles
Services
Commercial Infos
Transaction types
Devices
Commercial profiles
Misc services