Select
Schemas
ChangeOrderRequest
|
|
Name | Type | Required | Description |
---|---|---|---|
seller | string | true | none |
workorderid | string | true | none |
reason | string | false | none |
parameters | string | false | none |
changetype | string | true | none |
ChangeOrderResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
errorVO | ErrorVO | false | none |
ErrorVO
|
|
Name | Type | Required | Description |
---|---|---|---|
error_code | string | false | none |
error_description | string | false | none |
operation_date | string | false | none |
ServiceStatus
|
|
Name | Type | Required | Description |
---|---|---|---|
active | boolean | false | active = True - Activate a service active = False - Deactivate a service |
BlockStatus
|
|
Name | Type | Required | Description |
---|---|---|---|
active | boolean | true | active = True - Activate a service active = False - Deactivate a service |
reason | string | false | Describes the reason to block the simcard |
Service
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int64) | false | Id service |
value | string | false | Service Name |
changeable | boolean | false | indicates whether the service can be changed |
date_last_modified | string(date-time) | false | date last modified |
active | boolean | false | indicates whether the service is active |
Block
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int64) | false | Block identification |
value | string | false | Block Name |
date_last_modified | string(date-time) | false | date last modified |
description | string | false | description of the reason block |
AccountBundlePromotion
|
|
Name | Type | Required | Description |
---|---|---|---|
promotion_id | integer(int64) | false | promotion id |
effective_date_ini | string(date-time) | false | promotion initial effective date |
effective_date_end | string(date-time) | false | promotion end effective date |
promotion_name | string | false | promotion name |
account_bundle_id | integer(int64) | false | none |
promotion_benefit_type | PromotionBenefitType | false | none |
promotion_type | PromotionType | false | none |
AccountPromotion
|
|
Name | Type | Required | Description |
---|---|---|---|
promotion_id | integer(int64) | false | promotion id |
begin_date | string(date-time) | false | promotion activation date |
promotion_name | string | false | promotion name |
end_date | string(date-time) | false | promotion end date |
promotion_benefit_type | PromotionBenefitType | false | none |
promotion_type | PromotionType | false | none |
SubscriptionPromotion
|
|
Name | Type | Required | Description |
---|---|---|---|
subscription_id | integer(int64) | false | subscription id |
promotion_id | integer(int64) | false | promotion id |
promotion_code | string | false | promotion code |
promotion_name | string | false | promotion name |
association_date | string(date-time) | false | promotion association date |
end_date | string(date-time) | false | promotion end date |
account_bundle_id | integer(int64) | false | none |
promotion_benefit_type | PromotionBenefitType | false | none |
promotion_type | PromotionType | false | none |
AccountTerms
|
|
Name | Type | Required | Description |
---|---|---|---|
subscription_id | integer(int64) | false | subscription id |
start_date | string(date-time) | false | start date |
end_date | string(date-time) | false | end date |
penalty_amount | number(double) | false | terms penalty amount |
terms_months | integer(int32) | false | terms months |
account_bundle_id | integer(int64) | false | account bundle id |
binding_type | BindingType | false | none |
promotion | AccountTermsPromotion | false | none |
associated_type | string | false | Type of permanence to which it is associated |
associated_terminal | AccountTermsAssociatedTerminal | false | none |
Property | Values |
---|---|
associated_type | one of [terminal, promotion] |
AccountTermsPromotion
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | BasicIdResponse | false | none |
Name | Type | Required | Description |
---|---|---|---|
anonymous | object | false | Promotion to which the permanence is associated to |
» description | string | false | Brief description of the promotion |
AccountTermsAssociatedTerminal
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | BasicIdResponse | false | none |
Name | Type | Required | Description |
---|---|---|---|
anonymous | object | false | Returned in case the associated_type has value “terminal”, with id and name of the terminal |
BasicIdResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int32) | false | Identificator |
value | string | false | Name |
Bonus
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int64) | false | bonus identifier |
value | string | false | Bonus Name |
start_date | string(date-time) | false | bonus start date |
end_date | string(date-time) | false | bonus end date |
SubscriptionDevices
|
|
Name | Type | Required | Description |
---|---|---|---|
devices | [DeviceResponse] | false | none |
RequestDetail
|
|
Name | Type | Required | Description |
---|---|---|---|
created_date | string(date-time) | false | created date |
request_id | integer(int64) | false | request id |
request_type | string | false | request type |
user_profile_role | string | false | user profile role |
DeviceInfo
|
|
Name | Type | Required | Description |
---|---|---|---|
terminal_id | integer(int32) | false | terminal id |
serial_number | string | false | serial number |
device_model | string | false | device model |
financed_by | string | false | financed by. Current operational financial, taking into account the number of pending installments |
is_financed | boolean | false | is financed |
value_due_today | number(double) | false | value due today |
reservation_id | integer(int64) | false | reservation id |
paid | boolean | false | paid |
Fees
|
|
Name | Type | Required | Description |
---|---|---|---|
upfront_fee | number(double) | false | upfront fee (initial payment) |
installment_plan | InstallmentPlan | false | request detail |
final_installment_plan | InstallmentPlan | false | request detail |
InstallmentPlan
|
|
Name | Type | Required | Description |
---|---|---|---|
last_installment_fee | number(double) | false | final payment |
monthly_fee | number(double) | false | monthly fee |
duration | integer(int32) | false | duration (total permanence) |
unpaid_installments | integer(int32) | false | pending fees |
financed_by | string | false | financed by |
Permanence
|
|
Name | Type | Required | Description |
---|---|---|---|
duration_months | integer(int32) | false | duration months configured |
current_duration_days | number(int32) | false | duration months in days, calculated from the current date until the end of the permanence |
penalty_amount | number(double) | false | amount of the penalty configured |
current_penalty_amount | number(double) | false | amount of the penalty calculated from the current date until the end of the permanence |
DeviceResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
subscription_id | integer(int64) | false | identification subscription |
subscription_terminal_id | integer(int64) | false | subscription terminal id |
status | StatusDevices | false | status device |
request_detail | RequestDetail | false | request detail |
device_info | DeviceInfo | false | device info |
fees | Fees | false | device info |
permanences | Permanence | false | permanence info |
InvoiceInfoList
|
|
Name | Type | Required | Description |
---|---|---|---|
account_id | integer(int64) | true | account identifier |
period_date | PeriodDate | true | none |
invoices | [InvoiceInfoDetail] | true | none |
InvoiceInfoDetail
|
|
Name | Type | Required | Description |
---|---|---|---|
value | number(double) | true | invoice value |
delivery_mode | string | true | invoice delivery mode |
date | string(date-time) | true | invoice date |
pay_date | string(date-time) | false | Payment date |
number | string | false | invoice identifier number |
path | string | false | invoice PDF file path |
status | object | false | Invoice status |
» id | integer(int32) | false | none |
» value | string | false | none |
cycle | object | false | none |
» start_date | string(date-time) | false | start date of the period. Format yyyy-MM-dd |
» end_date | string(date-time) | false | end date of the period. Format yyyy-MM-dd |
Property | Values |
---|---|
delivery_mode | one of [yosoymas, paper, email] |
AccountInfo
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int64) | false | id de la cuenta |
customer_id | integer(int64) | false | id del cliente |
account_number | string | false | numero de contrato |
work_order_id | string | false | work order identifier. DEPRECATED, this info is in work_orders list |
work_orders | [WorkOrder] | false | list of ot associated to a package |
activation_date | string(date-time) | false | account activation date |
billing_type | BillingType | false | none |
status | AccountStatus | false | none |
path | string | false | none |
filename | string | false | none |
WorkOrder
|
|
Name | Type | Required | Description |
---|---|---|---|
work_order_id | string | true | identification work order |
work_order_type | WorkOrderType | true | none |
status | WorkOrderStatus | true | none |
created_date | string(date-time) | false | work order create date |
WorkOrderType
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int32) | false | identification work order type |
value | string | false | Subscription status value |
Property | Values |
---|---|
id | one of [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21] |
value | one of [ALTA, BAJA, CAMBIO VELOCIDAD, SUSPENSIÓN, RECONEXIÓN, CANCELACION, ALTA SVA, BAJA SVA, CAMBIO TECNOLOGIA, FTTH->ADSL, CANCELACION PARCIAL, SVA VENTA, SVA BUSINESS, ALTA MIFIJO, BAJA MIFIJO, CANCELACION MIFIJO, CAMBIO DOMICILIO, CANCELACION CAMBIO DOMICILIO, CANCELACION CAMBIO TECNOLOGIA, BAJA CAMBIO DOMICILIO, BAJA CAMBIO TECNOLOGIA] |
WorkOrderStatus
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int32) | true | identification work order status |
value | string | true | Subscription status value |
Property | Values |
---|---|
id | one of [32, 33, 34, 36, 37, 38, 44, 48, 51, 58, 69] |
value | one of [PENDIENTE CREAR OT, ENVIADA, CANCELADA, CERRADA, CONFIRMADA, INFORMACION ERRONEA, PENDIENTE CREAR OT BY SELL, CERRADO EN BUS, OT PENDING SEND BY FRAUD, SUSPENCION TECNICA, EN PROGRESO] |
TaxAccountInfo
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int64) | true | account id |
tax_value | integer(int32) | true | value tax |
tax_terminal_value | integer(int32) | false | value terminal tax |
state_id | integer(int32) | true | ID of the state |
description | string | false | description of the type tax (IVA, IGIC, etc..) |
start_date | string(date-time) | false | Date when the customer moved into the current state |
historical_changes | [TaxAccountInfoHistoricalChange] | false | none |
TaxAccountInfoHistoricalChange
|
|
Name | Type | Required | Description |
---|---|---|---|
tax_value | integer(int32) | true | value tax |
tax_terminal_value | integer(int32) | false | value terminal tax |
state_id | integer(int32) | true | ID of the state |
description | string | false | description of the type tax (IVA, IGIC, etc..) |
start_date | string(date-time) | true | init of the period that the account has this state |
end_date | string(date-time) | true | end of the period that the account has this state |
UsersAccount
|
|
Name | Type | Required | Description |
---|---|---|---|
account_id | integer(int64) | false | id de la cuenta |
status | AccountStatus | false | none |
Subscription
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int64) | false | ID of subscription to return |
subscription_status | Status | false | none |
sell_date | string(date-time) | false | none |
activated_date | string(date-time) | false | none |
end_date | string(date-time) | false | none |
subscription_type | SubscriptionType | false | none |
origin | Origin | false | to get origin use in url object query with include = origin. /subscriptions/{id}?query={“include”:[“origin”]} |
historical_status | [HistoricalStatus] | false | none |
dealer_id | string¦null | false | Dealer id (in some cases this field can be null) |
shop_id | string¦null | false | Shop id (in some cases this field can be null) |
path | string¦null | false | Contract path (in some cases this field can be null) |
filename | string¦null | false | Contract filename (in some cases this field can be null) |
identification_nr | integer(int32) | false | Phone number associated to subscription |
imsi | integer(int64)¦null | false | IMSI associated to mobile subscription (in some cases this field can be null) |
iccid | string¦null | false | Mobile online icc id (in some cases this field can be null) |
HistoricalStatus
|
|
Name | Type | Required | Description |
---|---|---|---|
subscription_status | Status | false | none |
date | string(date-time) | false | none |
modified_by | string | false | none |
PromotionBenefitType
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int32) | false | Promotion Benefit Type Id |
value | number(double) | false | none |
Property | Values |
---|---|
id | one of [1, 2] |
BindingType
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int32) | false | none |
value | string | false | none |
MovementType
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int32) | false | none |
value | string | false | Reason of movement |
description | string | false | Brief description of reason |
RechargeOrigin
|
|
Name | Type | Required | Description |
---|---|---|---|
id | number(int32) | false | none |
value | string | false | none |
PromotionType
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int32) | false | none |
value | string | false | M2M, OCU, EMPRESAS, OTRAS, PAQUETE |
Property | Values |
---|---|
id | one of [1, 2, 3, 4, 5] |
BillingType
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int32) | false | Identification billing type |
value | string | false | description billing type |
Property | Values |
---|---|
id | one of [1, 2, 3] |
value | one of [POSPAGO, PREPAGO CLASICO, RECARGA AUTOMATICA] |
PaymentInfo
|
|
Name | Type | Required | Description |
---|---|---|---|
payment_method | PaymentMethod | false | none |
bank_account | BankAccount | false | none |
credit_card | CreditCard | false | none |
PaymentMethod
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | string | false | none |
Property | Values |
---|---|
anonymous | one of [BANK_ACCOUNT, BANK_TRANSFER, CREDIT_CARD, ECI, RECURRING_CREDIT_CARD] |
BankAccount
|
|
Name | Type | Required | Description |
---|---|---|---|
entity | string | false | Bank entity |
subsidiary | string | false | Subsidiary |
control_digit | string | false | Control digit |
number | string | false | Bank account number |
iban | string | false | Account iban |
CreditCard
|
|
Name | Type | Required | Description |
---|---|---|---|
reference | string | false | none |
type_id | number(int32) | false | none |
number | string | false | none |
validity_date | string | false | none |
LanguageType
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | any | false | none |
Name | Type | Required | Description |
---|---|---|---|
» anonymous | LanguageTypeId | false | none |
Name | Type | Required | Description |
---|---|---|---|
» anonymous | LanguageTypeIso | false | none |
Name | Type | Required | Description |
---|---|---|---|
anonymous | object | false | Value |
» value | string | false | language value |
Property | Values |
---|---|
value | one of [Castellano, Catalan, Galego, Vasco, Ingles, Portugues] |
LanguageTypeId
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int32) | true | language identification |
Property | Values |
---|---|
id | one of [90, 91, 92, 93, 96, 97] |
LanguageTypeIso
|
|
Name | Type | Required | Description |
---|---|---|---|
iso | string | true | language iso code |
Property | Values |
---|---|
iso | one of [es, ca, gl, eu, en, pt] |
SubscriptionType
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int32) | true | identification subscription type |
value | string | true | Subscription type name |
Property | Values |
---|---|
id | one of [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13] |
value | one of [PRE-PAGO, POST-PAGO, FIJO ANALOGICO, FIJO DIGITAL, INTERNET ADSL, INTERNET FTTH, AGILE TV, SECURITY, DATA_SHARING, MULTISIM, DEVICEINSURANCE, NETFLIX, APPLEWATCH] |
SubscriptionBalance
|
|
Name | Type | Required | Description |
---|---|---|---|
msisdn | integer(int32) | false | subscription msisdn |
balance | number(double) | false | value returned by mysim-northbound |
network | number(int32) | false | subscription network |
error | string | false | none |
SubscriptionProduct
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int64) | true | identification subscription |
product | Product | true | none |
bundle | Bundle | false | none |
historical_changes | [HistoricalProduct] | false | Tariff change history, ordered by datetime in descending order. The current tariff is always included at the top of the list. |
ChangeAccountPaymentInfoRequest
|
|
Name | Type | Required | Description |
---|---|---|---|
entity | string | true | bank entity |
subsidiary | string | true | bank subsidiary |
control_digit | string | true | control digit |
number | string | true | account number |
ChangeSubscriptionProductRequest
|
|
Name | Type | Required | Description |
---|---|---|---|
productId | integer(int64) | true | target product identifier |
scheduled_date | string(date) | false | Desired date to execute operation |
SubscriptionBonusesRequest
|
|
Name | Type | Required | Description |
---|---|---|---|
bonusId | integer(int64) | true | bonus ID to add |
scheduled_date | string(date) | false | Desired date to execute operation |
HistoricalProduct
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int32) | false | identification product |
value | string | false | name product |
historic_date | string(date-time) | false | Last date change of rate. |
Product
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | HistoricalProduct | false | none |
Name | Type | Required | Description |
---|---|---|---|
anonymous | object | false | none |
» compatibilities | [Product] | false | Rates compatibles. |
» scheduled | ScheduledProduct | false | Scheduled product change date, return this item only if you have a rate change scheduled |
ScheduledProduct
|
|
Name | Type | Required | Description |
---|---|---|---|
request_date | string(date-time) | false | none |
process_date | string(date-time) | false | none |
scheduled_date | string(date-time) | false | none |
destination_product | Product | false | none |
Bundle
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int32) | false | identification bundle |
value | string | false | name bundle |
AccountStatus
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int32) | false | account status |
value | string | false | name of account status |
Property | Values |
---|---|
id | one of [3, 6, 7, 11, 13] |
value | one of [ACTIVO, TERMINADO, BLOQUEO TEMPORAL, PENDIENTE DE REVISIÓN, PENDIENTE DE ACEPTACION] |
Status
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int32) | true | identification subscription status |
value | string | true | Subscription status value |
Property | Values |
---|---|
id | one of [1, 2, 3, 4, 6, 7, 9, 10, 12, 39, 40, 46, 50, 82, 99] |
value | one of [INSTALADO, PRE-ACTIVADO, ACTIVO, BLOQUEO POR SALDO, TERMINADO, BLOQUEO TEMPORAL, PENDIENTE TERMINACION, BLOQUEO LIMITE CONSUMO, BLOQUEO POR IMPAGO, SUSPENSION PENDIENTE, RECONEXION PENDIENTE, OK, PENDIENTE BLOQUEO TEMPORAL, PENDIENTE A DESACTIVAR, BLOQUEO POR RIESGO] |
StatusDevices
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int32) | true | identification device status |
value | string | true | Device status value |
Origin
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int32) | false | identification origin |
value | string | false | name of origin |
Property | Values |
---|---|
id | one of [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] |
value | one of [NUEVA, PORTABILIDAD, CENTRO DE ATENCION AL CLIENTE, MIGRACION CONTRATO, REEMPLAZO, YOSOYMAS, PORTAL DE DISTRIBUICION, CANAL ONLINE (AFILIADO), MARCA BLANCA (MAYORISTA), PORTABILIDAD MARCAS] |
Promotions
|
|
Name | Type | Required | Description |
---|---|---|---|
subscription_promotions | [SubscriptionPromotion] | false | none |
account_promotions | [AccountPromotion] | false | none |
account_bundle_promotions | [AccountBundlePromotion] | false | none |
SubscriptionBonus
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int64) | false | identification subscription |
items | [Bonus] | false | none |
SubscriptionServices
|
|
Name | Type | Required | Description |
---|---|---|---|
subscription_id | integer(int64) | false | identification subscription |
items | [Service] | false | none |
SubscriptionBlocks
|
|
Name | Type | Required | Description |
---|---|---|---|
subscription_id | integer(int64) | false | identification subscription |
items | [Block] | false | none |
SubscriptionDetailConsumption
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int64) | false | identification subscription |
from | integer(int32) | false | msisdn or fixed number origin of the event |
period_date | PeriodDate | false | none |
events | [DetailConsumptionEvent] | false | none |
DetailConsumptionEvent
|
|
Name | Type | Required | Description |
---|---|---|---|
to | string | false | event destination |
initial_date | string(date-time) | false | none |
end_date | string(date-time) | false | none |
type | string | false | subtype transfer |
sub_type | string | false | type transfer |
destination_description | string | false | Extra information for some events, for example international calls, indicates the destination country of the call |
unit | string | false | unit bonus |
value | integer(int64) | false | value transfers generated |
pricing | pricing | false | none |
Property | Values |
---|---|
type | one of [VOICE, DATA, SMS, MMS] |
sub_type | one of [VOZ NACIONAL, SMS NACIONAL, MMS NACIONAL, DATOS NACIONAL, VIDEO NACIONAL, VOZ INTERNACIONAL, SMS INTERNACIONAL, MMS INTERNACIONAL, DATOS INTERNACIONAL, VIDEO INTERNACIONAL, VOZ ROAMING, SMS ROAMING, MMS ROAMING, DATOS ROAMING, VIDEO ROAMING, VOZ ESPECIAL, VOZ PREMIUM] |
unit | one of [BYTES, SECONDS, NUMBER] |
pricing
|
|
Name | Type | Required | Description |
---|---|---|---|
cost | number(double) | false | event cost |
in_rate | boolean | false | Identifies if the consumption has been priced in or out of the rate (it can be in a bonus). “in_rate - true” - Priced within the subscription rate “in_rate - false” - Priced outside the subscription rate. In this case, it is possible to rate it within a bond (in case it has an associated bond) |
bond | bond | false | none |
bond
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int64) | false | When traffic has been consumed through a bond, the ID is returned here |
value | string | false | name bond |
PeriodDate
|
|
Name | Type | Required | Description |
---|---|---|---|
start_date | string(date) | false | start date of the period. Format yyyy-MM-dd |
end_date | string(date) | false | end date of the period. Format yyyy-MM-dd |
SubscriptionDetailRecharge
|
|
Name | Type | Required | Description |
---|---|---|---|
subscription_id | integer(int64) | false | identification subscription |
identification_nr | integer(int32) | false | number of identification |
period_date | PeriodDate | false | none |
recharges | [DetailRechargeEvent] | false | [recharge detail record] |
DetailRechargeEvent
|
|
Name | Type | Required | Description |
---|---|---|---|
recharge_id | integer(int64) | false | unique identification for recharge |
date | string(date-time) | false | recharge date |
movement_type_id | integer(int32) | false | movement type identifier |
origin_id | integer(int32) | false | recharge origin identifier |
amount | number(double) | false | recharge value for current msisdn and date |
User
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int64) | true | none |
customer_id | integer(int64) | false | none |
language | LanguageType | false | none |
document_type | DocumentType | true | none |
document_value | string | true | none |
sector | UserSector | false | none |
type | UserType | true | none |
nationality | Nationality | false | none |
personal | Personal | false | none |
business | Business | false | none |
address_info | UserAddress | false | none |
special_treatment | SpecialTreatment | false | possible values can be retrieved in /signups/master-data service |
Users-user
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int64) | true | User id |
customer_id | integer(int64) | true | Customer id |
customer_uuid | string(uuid) | false | Customer UUID from customers API V4 |
accounts | [Users-account] | false | Accounts associated to user |
Users-account
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int64) | true | Account id |
owner_id | integer(int64) | true | User id owner of the account |
subscriptions | [Users-subscription] | false | Subscriptions associated to account |
Users-subscription
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int64) | true | Subscription id |
subscription_type | SubscriptionType | true | none |
status | Status | true | none |
user_id | integer(int64) | true | User id owner of the subscription |
identification_nr | integer(int64) | true | Number of identification |
expedition_user_id | integer(int64) | false | none |
bundle_id | integer(int64) | false | Bundle in which subscription is included, if so |
mobile_line_type | string | false | Type of line, only applicable to mobile subscriptions. In case the line does not belong to a bundled account, then its value will be always mobile. Otherwise, main, extra and additional refers to the type of each mobile line in the bundled account. |
Property | Values |
---|---|
mobile_line_type | one of [mobile, main, extra, additional] |
Personal
|
|
Name | Type | Required | Description |
---|---|---|---|
first_name | string¦null | true | Person’s name |
middle_name | string¦null | false | Person’s middle name |
last_name | string¦null | false | Person’s last name |
gender | string¦null | false | Male or female |
birthdate | string(date)¦null | false | Birthdate |
other_phone | string¦null | false | Additional phone of contact |
string¦null | false | Email of contact |
Property | Values |
---|---|
gender | one of [M, F] |
Business
|
|
Name | Type | Required | Description |
---|---|---|---|
company | string¦null | true | Name of the company |
created_date | string(date)¦null | false | Date of creation of the company |
other_phone | string¦null | false | Additional phone of contact |
string¦null | false | Email of contact | |
responsable | UserBusinessResponsable | false | Person assigned as responsable of the company |
UserBusinessResponsable
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int64) | false | Responsable id |
name | string | false | none |
middlename | string | false | none |
lastname | string | false | none |
document_type_id | integer(int32) | false | none |
document_value | string | false | none |
nationality_id | number(int32) | false | none |
nationality_iso | string | false | none |
nationality_value | string | false | none |
Property | Values |
---|---|
document_type_id | one of [1, 3, 4, 5] |
DocumentType
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int64) | true | document type id |
value | string | false | document type value |
Property | Values |
---|---|
id | one of [1, 2, 3, 4, 5] |
value | one of [NUMERO IDENTIFICACION FISCAL, DNI, TARJETA RESIDENCIA, PASAPORTE, CODIGO IDENTIFICACION FISCAL] |
UserSector
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int32) | true | Sector id |
value | string | true | Sector value |
Property | Values |
---|---|
id | one of [1, 2, 3, 4] |
value | one of [RESIDENCIAL, EMPRESA, AUTONOMO, HORECA] |
UserType
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int64) | true | User type id |
value | string | true | User type value |
Property | Values |
---|---|
id | one of [1, 2] |
value | one of [PARTICULAR, EMPRESA] |
Nationality
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | any | false | none |
Name | Type | Required | Description |
---|---|---|---|
» anonymous | NationalityId | false | none |
Name | Type | Required | Description |
---|---|---|---|
» anonymous | NationalityIso | false | none |
Name | Type | Required | Description |
---|---|---|---|
anonymous | object | false | Value |
» value | string | false | nationality name |
NationalityId
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int64) | true | nationality id |
NationalityIso
|
|
Name | Type | Required | Description |
---|---|---|---|
iso | string | true | nationality iso |
SpecialTreatment
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int64) | true | special treatment id (influencer) |
value | string | false | special treatment name |
SpecialTreatments
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int64) | false | none |
value | string | false | none |
UserAddress
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | any | false | none |
Name | Type | Required | Description |
---|---|---|---|
» anonymous | UserAddressStateId | false | none |
Name | Type | Required | Description |
---|---|---|---|
» anonymous | UserAddressStateIso | false | none |
Name | Type | Required | Description |
---|---|---|---|
anonymous | object | false | none |
» address | string¦null | false | Name of the address |
» state | string | false | Name of the state |
» zip_code | string | true | Zip/Postal code |
» locality | string¦null | false | Name of the locality |
UserAddressStateId
|
|
Name | Type | Required | Description |
---|---|---|---|
state_id | integer(int32) | true | ID of the state |
UserAddressStateIso
|
|
Name | Type | Required | Description |
---|---|---|---|
state_iso | string | true | ISO of the state |
ErrorMessage
|
|
Name | Type | Required | Description |
---|---|---|---|
code | integer(int32) | false | Custom error code |
status | string | false | Status |
message | string | false | Status message |
detailMsg | string | false | Detailed description of the error |
Query
|
|
Name | Type | Required | Description |
---|---|---|---|
filter | [string] | false | none |
include | [string] | false | none |
UserTreeSearch
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | UserDocumentSearch | false | document type and value for user search |
Name | Type | Required | Description |
---|---|---|---|
anonymous | UserNumberSearch | false | user number (MSISDN) |
Name | Type | Required | Description |
---|---|---|---|
anonymous | UserEmailSearch | false | user email |
UserDocumentSearch
|
|
Name | Type | Required | Description |
---|---|---|---|
document_type | DocumentTypeSearch | true | document type value |
document | string | true | none |
UserNumberSearch
|
|
Name | Type | Required | Description |
---|---|---|---|
number | string | true | none |
UserEmailSearch
|
|
Name | Type | Required | Description |
---|---|---|---|
string | true | none |
DocumentTypeSearch
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | string | false | document type value |
Property | Values |
---|---|
anonymous | one of [NIF, DNI, TR, PASS, CIF] |
SimReplacement
|
|
Name | Type | Required | Description |
---|---|---|---|
dealer_id | string | true | Dealer ID |
shop_id | string | false | Shop ID |
logistic | boolean | true | Online/offline operation |
new_icc | string | false | New icc |
SimcardInfoResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
simcard_status_id | number(int32) | false | Simcard status id |
origin_id | number(int32) | false | Origin id |
create_date | string(date) | false | Date of creation |
last_status_date | string(date) | false | Last status date |
promotion_code | string | false | Promotion code |
society_id | string | false | Last status date |
initial_balance | number(double) | false | Initial balance |
RegisterSellPayment
|
|
Name | Type | Required | Description |
---|---|---|---|
sell_id | string | true | none |
credit_card_number | string | false | If this value is present, the rest of parameters must be informed |
validity_date | string | false | none |
sell_value | number(double) | false | none |
tax | number(double) | false | none |
transaction_id | string | false | none |
reference_id | string | false | none |
PatchAgileTvSubscriptionRequest
|
|
Name | Type | Required | Description |
---|---|---|---|
old_email | string | true | none |
new_email | string | true | none |
document_number | string | true | none |
ConsumptionLimit
|
|
Name | Type | Required | Description |
---|---|---|---|
initial_date | string(date) | false | none |
end_date | string(date) | false | none |
consume_used | number(double) | false | none |
consume_limit | number(double) | false | none |
change_date | string(date) | false | none |
user_system | string | false | none |
ActivateSim
|
|
Name | Type | Required | Description |
---|---|---|---|
msisdn | string | true | Phone number |
activation_type | number(int32) | false | none |
SignupsRequest
|
|
Name | Type | Required | Description |
---|---|---|---|
sales_type | string | true | none |
sales_info | SalesInfo | true | none |
clients | SignupClients | true | none |
payment | SignupsPayment | true | none |
products | Products | true | none |
Property | Values |
---|---|
sales_type | one of [telecomunications] |
Products
|
|
Name | Type | Required | Description |
---|---|---|---|
mobile_line | MobileLine | false | Object to signups products of mobile |
bundle | SignupsBundle | false | Object to signups for bundle products |
MobileLine
|
|
Name | Type | Required | Description |
---|---|---|---|
existing_number | boolean | false | True if the number already has an active subscription |
type | string | true | mobile type is required |
product_id | number(int32) | true | none |
portability_info | PortabilityInfo | false | none |
msisdn | string | true | Mobile Station International Subscriber Directory Number. In case of portability, it will be the number for portability |
iccid | string | false | Integrated Circuit Card ID of the donor operator to signups. |
fabrication_type_sim_id | integer(int32) | false | none |
initial_balance | number(double) | false | initial solde for prepaid |
bonuses | [Bonuses] | false | none |
promotions | [SignupsPromotions] | false | [If this object is informed, it´s a promotion. If not, it´s a campaign] |
terminals | [Terminal] | false | none |
wants_communications | boolean | true | none |
expedition_info | ClientExpedition | false | Information needed by logistics to send SIM cards |
delivery_info | DeliveryInfo | false | Delivery info for the device |
devices | [Device] | false | none |
Property | Values |
---|---|
type | one of [mobile, main, extra, additional] |
Bonuses
|
|
Name | Type | Required | Description |
---|---|---|---|
id | number(int32) | false | none |
SignupsPromotions
|
|
Name | Type | Required | Description |
---|---|---|---|
id | number(int32) | false | none |
value | string | false | none |
Terminal
|
|
Name | Type | Required | Description |
---|---|---|---|
id | number(int32) | true | none |
financed | boolean | false | none |
imei | string | false | none |
serial_number | string | false | none |
PortabilityInfo
|
|
Name | Type | Required | Description |
---|---|---|---|
scheduled_date | string(date) | false | scheduled date. Format yyyy-MM-dd |
iccid | string | false | Integrated Circuit Card ID of the donor operator, required in case it is not postpaid in that operator |
operator_id | string | true | id donor operator. |
operation_type | integer(int32) | true | 1 -> instant, 2 -> scheduled |
initial_date_operation | string(date) | false | date schedule for start portability. |
donor_line_type | string | true | Line type in actual operator (postpaid or prepaid) |
donor_user | Client | false | User with “client” type is used if donor_user is not present |
internal_portability | boolean¦null | false | none |
installation_required | boolean¦null | false | none |
Property | Values |
---|---|
operation_type | one of [1, 2] |
donor_line_type | one of [C, P] |
ClientPersonalBase
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | any | false | none |
Name | Type | Required | Description |
---|---|---|---|
» anonymous | ClientPersonalBaseId | false | required if sector is not business |
Name | Type | Required | Description |
---|---|---|---|
» anonymous | ClientPersonalBaseIso | false | required if sector is not business |
Name | Type | Required | Description |
---|---|---|---|
anonymous | object | false | Value |
» name | string | true | none |
» middlename | string | true | none |
» lastname | string | false | none |
» document_type_id | integer(int32) | true | none |
» document_value | string | true | none |
string | true | none | |
» birthdate | string(date) | true | none |
» contact_phone | string | true | none |
» gender | string | true | Male or female |
Property | Values |
---|---|
document_type_id | one of [1, 3, 4, 5] |
gender | one of [M, F] |
ClientPersonalBaseId
|
|
Name | Type | Required | Description |
---|---|---|---|
language_id | number(int32) | true | none |
nationality_id | number(int32) | true | none |
ClientPersonalBaseIso
|
|
Name | Type | Required | Description |
---|---|---|---|
nationality_iso | string | true | none |
language_iso | string | true | none |
ClientBusinessBase
|
|
Name | Type | Required | Description |
---|---|---|---|
company_name | string | true | none |
document_type_id | integer(int32) | true | none |
document_value | string | false | none |
Property | Values |
---|---|
document_type_id | one of [1, 3, 4, 5] |
SignupsBundle
|
|
Name | Type | Required | Description |
---|---|---|---|
bundle_id | number(int32) | true | identification bundle |
territory_owner | string | false | Territory owner. Only required in broadband signups |
promotions | [SignupsPromotions] | false | [If this object is informed, it´s a promotion. If not, it´s a campaign] |
installation_info | InstallationInfo | false | Installation info. Only required for broadband signups |
delivery_info | DeliveryInfo | true | none |
landline | Landline | false | none |
ftth | Ftth | false | none |
adsl | Adsl | false | none |
mobile_lines | [MobileLine] | false | [Object to signups products of mobile] |
tv | Tv | false | none |
ott | [Ott] | false | none |
InstallationInfo
|
|
Name | Type | Required | Description |
---|---|---|---|
contact | Contact | true | none |
address | InstallationAddress | true | none |
DeliveryInfo
|
|
Name | Type | Required | Description |
---|---|---|---|
contact | Contact | true | none |
address | DeliveryAddress | true | none |
delivery_shop_id | string¦null | false | Shop identifier where the pickup (if that’s the case) will occur |
delivery_type | string¦null | false | how a device will be delivered to a customer |
Property | Values |
---|---|
delivery_type | one of [LOGISTIC, IN_PERSON, STORE_DELIVERY] |
ExpeditionInfo
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | ClientExpedition | false | Information needed by logistics to send SIM cards |
Name | Type | Required | Description |
---|---|---|---|
anonymous | object | false | none |
» delivery_shop_id | string¦null | false | Shop identifier where the pickup (if that’s the case) will occur |
» delivery_type | string¦null | false | how a device will be delivered to a customer |
Property | Values |
---|---|
delivery_type | one of [LOGISTIC, IN_PERSON, STORE_DELIVERY] |
Contact
|
|
Name | Type | Required | Description |
---|---|---|---|
name | string | true | none |
middlename | string¦null | false | none |
lastname | string¦null | false | none |
phone | string | true | none |
string | true | none | |
document_type_id | number(int32) | true | none |
document_value | string | true | none |
NormalizedAddress
|
|
Name | Type | Required | Description |
---|---|---|---|
street_type_id | number(int32) | true | none |
street_name | string | true | none |
number | string | true | none |
supplement | string | false | none |
state_id | number(int32) | true | none |
locality | string | true | none |
postal_code | string | true | none |
InstallationAddress
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | NormalizedAddress | false | none |
Name | Type | Required | Description |
---|---|---|---|
anonymous | object | false | none |
» gescal | string | true | none |
» pair_vacancy | boolean | true | none |
» address_id | string | true | none |
DeliveryAddress
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | NormalizedAddress | false | none |
Name | Type | Required | Description |
---|---|---|---|
anonymous | object | false | none |
» observation | string | false | none |
Ftth
|
|
Name | Type | Required | Description |
---|---|---|---|
product_id | number(int32) | true | none |
promotions | [SignupsPromotions] | false | [If this object is informed, it´s a promotion. If not, it´s a campaign] |
connection_type | string | false | none |
installer | string | false | none |
iua | string | false | none |
terminals | [Terminal] | false | none |
wants_communications | boolean | true | none |
access_reuse | string¦null | false | Current possible values are ‘Interno’ and ‘Orange’. |
access_reuse_choice | boolean¦null | false | Client consents for ftth origin access. For portabilities is not mandatory. If it is not informed, it will be considered as null. Otherwise is mandatory to inform it. |
Adsl
|
|
Name | Type | Required | Description |
---|---|---|---|
product_id | number(int32) | true | none |
promotions | [SignupsPromotions] | false | [If this object is informed, it´s a promotion. If not, it´s a campaign] |
wants_communications | boolean | true | none |
install_tech_support | boolean | true | none |
tech_support_billiable | boolean | true | none |
Landline
|
|
Name | Type | Required | Description |
---|---|---|---|
product_id | number(int32) | true | none |
portability_info | PortabilityInfo | false | none |
number | string | true | none |
bonuses | [Bonuses] | false | none |
promotions | [SignupsPromotions] | false | [If this object is informed, it´s a promotion. If not, it´s a campaign] |
services | [SignupsServices] | false | none |
wants_communications | boolean | true | none |
SignupsServices
|
|
Name | Type | Required | Description |
---|---|---|---|
id | number(int32) | true | none |
Tv
|
|
Name | Type | Required | Description |
---|---|---|---|
product_id | number(int32) | true | none |
number_associated | string | true | none |
registration_email | string | true | none |
contact_phone | string | true | none |
install_tech_support | boolean | true | none |
promotions | [SignupsPromotions] | false | [If this object is informed, it´s a promotion. If not, it´s a campaign] |
terminals | [Terminal] | false | none |
Ott
|
|
Name | Type | Required | Description |
---|---|---|---|
product_id | number(int32) | true | none |
string | false | none | |
promotions | [SignupsPromotions] | false | [If this object is informed, it´s a promotion. If not, it´s a campaign] |
SignupsPayment
|
|
Name | Type | Required | Description |
---|---|---|---|
billing_type_id | integer(int32) | false | none |
scoring | SignupsScoring | false | none |
info | SignupsPaymentInfo | false | none |
tpv_response | SignupsTpvResponse | false | none |
account_number | string | false | Existing account number. Do not fill when doing signups. Fill this field only when doing addSubscriptionToAccount endpoint. |
Property | Values |
---|---|
billing_type_id | one of [1, 2, 3] |
SignupsPaymentInfo
|
|
Name | Type | Required | Description |
---|---|---|---|
bank_account | string | false | none |
swift_bic | string | false | none |
SignupsTpvResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
amount | string | true | none |
card_number | string | true | none |
expiry_date | string | true | none |
transaction_id | string¦null | false | none |
reference_id | string¦null | false | none |
platform | string | false | none |
payment_link | string¦null | false | none |
tax | number(double)¦null | false | If not sent, 21.0 will apply |
Property | Values |
---|---|
platform | one of [PAYMENTS, ADYEN, REDSYS] |
SignupsScoring
|
|
Name | Type | Required | Description |
---|---|---|---|
scoring_value | number(int64) | true | none |
id_value | number(int64) | true | none |
forced_value | number(int32) | true | none |
up_front | number(double) | true | none |
credit_limit | number(double)¦null | false | none |
credit_limit_available | number(double)¦null | false | This value should be calculated by you. The service does not calculate the value. |
app_id | number(int64)¦null | false | none |
SignupClients
|
|
Name | Type | Required | Description |
---|---|---|---|
sector_id | integer(int32) | true | none |
attributes | [SignupClient] | true | none |
Property | Values |
---|---|
sector_id | one of [1, 2, 3, 4] |
Client
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | ExistingClient | false | none |
Name | Type | Required | Description |
---|---|---|---|
anonymous | ClientPersonal | false | none |
Name | Type | Required | Description |
---|---|---|---|
anonymous | ClientBusiness | false | none |
SignupClient
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | SignupExistingClient | false | none |
Name | Type | Required | Description |
---|---|---|---|
anonymous | SignupClientPersonal | false | none |
Name | Type | Required | Description |
---|---|---|---|
anonymous | SignupClientBusiness | false | none |
ClientBusiness
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | ClientBusinessBase | false | required if sector is business |
Name | Type | Required | Description |
---|---|---|---|
anonymous | object | false | required if sector is business |
» type | string | true | client type is required |
» nationality_id | number(int32) | true | none |
» language_id | number(int32) | true | none |
string | false | none | |
» contact_phone | string | false | none |
» address | ClientAddress | true | none |
» responsable | ClientBusinessResponsable | false | Person assigned as responsable of the company |
Property | Values |
---|---|
type | one of [client, account, send] |
SignupClientBusiness
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | ClientBusiness | false | none |
Name | Type | Required | Description |
---|---|---|---|
anonymous | object | false | none |
» responsable | SignupClientBusinessResponsable | false | none |
SignupClientBusinessResponsable
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | ClientBusinessResponsable | false | Person assigned as responsable of the company |
Name | Type | Required | Description |
---|---|---|---|
anonymous | object | false | none |
» document_expiration_date | string(date) | false | none |
» employment | Employment | false | none |
ClientPersonal
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | ClientPersonalBase | false | none |
Name | Type | Required | Description |
---|---|---|---|
anonymous | object | false | required if sector is not business |
» type | string | true | account -> Payment and contract holder. if it is not indicated, by default it takes client data send -> Shipping holder. if it is not indicated, by default it takes client data |
» address | ClientAddress | true | none |
Property | Values |
---|---|
type | one of [client, account, send] |
SignupClientPersonal
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | ClientPersonal | false | none |
Name | Type | Required | Description |
---|---|---|---|
anonymous | object | false | none |
» document_expiration_date | string(date) | false | none |
» employment | Employment | false | none |
ClientAddress
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | any | false | none |
Name | Type | Required | Description |
---|---|---|---|
» anonymous | ClientAddressId | false | client address |
Name | Type | Required | Description |
---|---|---|---|
» anonymous | ClientAddressIso | false | client address |
Name | Type | Required | Description |
---|---|---|---|
anonymous | object | false | Value |
» value | string | false | language value |
Property | Values |
---|---|
value | one of [Castellano, Catalan, Galego, Vasco, Ingles, Portugues] |
ClientAddressId
|
|
Name | Type | Required | Description |
---|---|---|---|
street_name | string | false | none |
state_id | number(int32) | true | none |
locality | string | false | none |
postal_code | string | false | none |
country | string | false | none |
number | string¦null | false | none |
ClientAddressIso
|
|
Name | Type | Required | Description |
---|---|---|---|
street_name | string | false | none |
state_iso | string | true | none |
locality | string | false | none |
postal_code | string | false | none |
country | string | false | none |
number | string¦null | false | none |
ClientExpedition
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | any | false | none |
Name | Type | Required | Description |
---|---|---|---|
» anonymous | ClientPersonalBase | false | none |
Name | Type | Required | Description |
---|---|---|---|
» anonymous | object | false | none |
Name | Type | Required | Description |
---|---|---|---|
»» anonymous | ClientBusinessBase | false | required if sector is business |
Name | Type | Required | Description |
---|---|---|---|
»» anonymous | object | false | none |
»»» responsable | ClientBusinessResponsable | false | Person assigned as responsable of the company |
Name | Type | Required | Description |
---|---|---|---|
anonymous | object | false | Location |
» address | ClientAddress | false | none |
ClientBusinessResponsable
|
|
Name | Type | Required | Description |
---|---|---|---|
name | string | true | none |
middlename | string | true | none |
lastname | string | true | none |
document_type_id | integer(int32) | true | none |
document_value | string | true | none |
nationality_id | number(int32) | true | none |
Property | Values |
---|---|
document_type_id | one of [1, 3, 4, 5] |
SalesInfo
|
|
Name | Type | Required | Description |
---|---|---|---|
channel | string | false | none |
dealer_id | string | true | none |
shop_id | string | false | none |
agent_id | string | false | none |
logistic | boolean | true | none |
signature_process_id | number(int64) | false | none |
signature_type | string¦null | false | none |
channel_id | number(int64)¦null | false | none |
Property | Values |
---|---|
channel | one of [dealer, call_center] |
signature_type | one of [PAPER, OTP, BIOMETRIC, UNKNOWN] |
SignupsResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
sell_id | number(int64) | false | none |
customer_id | number(int64) | false | none |
work_order_id | string | false | identification work order |
account_info | AccountInfoResponse | false | none |
risk_decision | string | false | none |
AddLineToBundleResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
risk_decision | string | false | none |
BundleMigrationResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
risk_decision | string | false | none |
AccountInfoResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
account_id | number(int64) | false | none |
account_number | string | false | none |
bundle_id | integer(int64) | false | none |
subscriptions | [SubscriptionResponse] | false | none |
SubscriptionResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
type | number(int32) | true | tipos de suscripción:
|
subscription_id | number(int64) | true | none |
user_info_id | number(int64) | true | none |
msisdn | string | false | none |
fixed_number | string | false | none |
associated_number | string | false | none |
subscription_terminal_id | number(int64) | false | none |
SignupsMasterData
|
|
Name | Type | Required | Description |
---|---|---|---|
states | [States] | false | none |
document_types | [SignupsDocumentType] | false | none |
nationalities | [Nationalities] | false | none |
languages | [Languages] | false | none |
balances | [number] | false | none |
mobile_operators | [Operator] | false | none |
cli_operators | [Operator] | false | none |
sectors | [Sector] | false | none |
billing_types | [BillingType] | false | none |
fabrication_types | [FabricationType] | false | none |
deactivation_motives | DeactivationMotives | false | none |
movement_types | [MovementType] | false | none |
recharge_origins | [RechargeOrigin] | false | [recharge origin] |
special_treatments | [SpecialTreatments] | false | [list special treatments] |
occupations | [Occupations] | false | none |
occupation_sectors | [OccupationSectors] | false | none |
Occupations
|
|
Name | Type | Required | Description |
---|---|---|---|
id | number(int32) | false | none |
value | string | false | none |
OccupationSectors
|
|
Name | Type | Required | Description |
---|---|---|---|
id | number(int32) | false | none |
value | string | false | none |
States
|
|
Name | Type | Required | Description |
---|---|---|---|
id | number(int32) | false | none |
value | string | false | none |
iso | string | false | none |
Nationalities
|
|
Name | Type | Required | Description |
---|---|---|---|
id | number(int32) | false | none |
value | string | false | none |
iso | string | false | none |
Languages
|
|
Name | Type | Required | Description |
---|---|---|---|
id | number(int32) | false | none |
value | string | false | none |
iso | string | false | none |
SignupsDocumentType
|
|
Name | Type | Required | Description |
---|---|---|---|
id | number(int32) | false | none |
value | string | false | none |
description | string | false | none |
Operator
|
|
Name | Type | Required | Description |
---|---|---|---|
code | string | false | none |
name | string | false | none |
FabricationType
|
|
Name | Type | Required | Description |
---|---|---|---|
id | number(int32) | false | none |
value | string | false | none |
Sector
|
|
Name | Type | Required | Description |
---|---|---|---|
id | number(int32) | false | none |
value | string | false | none |
AvailableMsisdns
|
|
Name | Type | Required | Description |
---|---|---|---|
host_cfg_id | number(int32) | false | this endpoint only support YOIGO network |
available_msisdns | [string] | false | none |
DeactivationMotives
|
|
Name | Type | Required | Description |
---|---|---|---|
termination_motives | [TerminationMotive] | false | none |
cancellation_motives | [CancellationMotive] | false | none |
TerminationMotive
|
|
Name | Type | Required | Description |
---|---|---|---|
id | number(int32) | false | none |
value | string | false | none |
CancellationMotive
|
|
Name | Type | Required | Description |
---|---|---|---|
id | number(int32) | false | none |
value | string | false | none |
AddLineToBundleRequest
|
|
Name | Type | Required | Description |
---|---|---|---|
client | AddLineToBundleClient | false | none |
sales_info | SalesInfo | false | none |
account | AddLineToBundleAccount | true | none |
tpv_response | SignupsTpvResponse | false | none |
AddLineToBundleClient
|
|
Name | Type | Required | Description |
---|---|---|---|
attributes | AddLineToBundleClientAttributes | false | none |
AddLineToBundleClientAttributes
|
|
Name | Type | Required | Description |
---|---|---|---|
document_expiration_date | string(date) | false | none |
employment | Employment | false | none |
AddLineToBundleAccount
|
|
Name | Type | Required | Description |
---|---|---|---|
account_id | integer(int32) | true | Account ID |
subscriptions | AddLineToBundleSubscriptions | true | none |
AddLineToBundleSubscriptions
|
|
Name | Type | Required | Description |
---|---|---|---|
mobile_lines | [AddLineToBundleMobileLine] | false | Mobile lines subscriptions |
tv | BundleChangesTv | false | none |
BundleMigrationRequest
|
|
Name | Type | Required | Description |
---|---|---|---|
client | BundleMigrationClient | false | none |
sales_info | BundleMigrationSalesInfo | false | none |
account | BundleMigrationAccount | true | none |
BundleMigrationClient
|
|
Name | Type | Required | Description |
---|---|---|---|
attributes | BundleMigrationClientAttributes | false | none |
BundleMigrationClientAttributes
|
|
Name | Type | Required | Description |
---|---|---|---|
document_expiration_date | string(date) | false | none |
employment | Employment | false | none |
BundleMigrationAccount
|
|
Name | Type | Required | Description |
---|---|---|---|
new_bundle_id | integer(int32) | true | New bundle id to migrate to |
account_id | integer(int32) | true | Account ID |
territory_owner | string | false | none |
subscriptions | BundleMigrationSubscriptions | false | none |
promotions | [SignupsPromotions] | false | [If this object is informed, it´s a promotion. If not, it´s a campaign] |
BundleMigrationSubscriptions
|
|
Name | Type | Required | Description |
---|---|---|---|
mobile_lines | [BundleMigrationMobileLine] | false | none |
tv | BundleChangesTv | false | none |
ftth | BundleChangesFtth | false | none |
adsl | BundleChangesAdsl | false | none |
ott | [BundleChangesOtt] | false | none |
BundleChangesOtt
|
|
Name | Type | Required | Description |
---|---|---|---|
product_id | number(int32) | true | none |
string | false | none | |
promotions | [SignupsPromotions] | false | [If this object is informed, it´s a promotion. If not, it´s a campaign] |
AddLineToBundleMobileLine
|
|
Name | Type | Required | Description |
---|---|---|---|
type | string | true | Type of mobile line |
product_id | integer(int32) | true | Destination product ID |
msisdn | string | true | Mobile Station International Subscriber Directory Number |
iccid | string | false | New Integrated Circuit Card ID |
fabrication_type_sim_id | integer(int32) | false | Fabrication type, according to data returned from master-data |
portability_info | BundleChangesPortabilityInfo | false | none |
bonuses | [Bonuses] | false | Bonuses added to subscription |
promotions | [SignupsPromotions] | false | Promotions added to subscription |
terminals | [Terminal] | false | Terminals purchased along with subscription |
devices | [Device] | false | none |
expedition_info | ExpeditionInfo | false | none |
Property | Values |
---|---|
type | one of [extra, additional] |
BundleChangesPortabilityInfo
|
|
Name | Type | Required | Description |
---|---|---|---|
iccid | string | false | Integrated Circuit Card ID of the donor operator |
operator_id | string | true | Donor operator ID |
operation_type | integer(int32) | true | 1 -> instantaneous |
initial_date_operation | string(date) | false | date schedule for start portability. |
donor_line_type | string | true | Line type in current operator (postpaid or prepaid) |
internal_portability | boolean¦null | false | none |
installation_required | boolean¦null | false | none |
donor_user | Client | false | User with “client” type is used if donor_user is not present |
Property | Values |
---|---|
operation_type | one of [1] |
donor_line_type | one of [C, P] |
BundleChangesTv
|
|
Name | Type | Required | Description |
---|---|---|---|
product_id | integer(int32) | true | Product ID |
number_associated | string | true | Number associated to TV subscription |
registration_email | string | false | none |
contact_phone | string | true | Contact phone |
promotions | [SignupsPromotions] | false | Promotions associated to TV subscription |
terminals | [Terminal] | true | Terminals purchased along with TV subscription |
BundleMigrationMobileLine
|
|
Name | Type | Required | Description |
---|---|---|---|
subscription_id | integer(int64) | false | Active mobile line subscription id |
type | string | true | Type of mobile line |
product_id | integer(int32) | true | Destination product ID |
msisdn | string | true | Mobile Station International Subscriber Directory Number |
iccid | string | false | New Integrated Circuit Card ID |
fabrication_type_sim_id | integer(int32) | false | Fabrication type, according to data returned from master-data |
portability_info | BundleChangesPortabilityInfo | false | none |
bonuses | [Bonuses] | false | Bonuses added to subscription |
promotions | [SignupsPromotions] | false | Promotions added to subscription |
terminals | [Terminal] | false | Terminals purchased along with subscription |
devices | [Device] | false | none |
Property | Values |
---|---|
type | one of [main, extra, additional] |
BundleChangesFtth
|
|
Name | Type | Required | Description |
---|---|---|---|
product_id | number(int32) | true | none |
promotions | [SignupsPromotions] | false | [If this object is informed, it´s a promotion. If not, it´s a campaign] |
terminals | [Terminal] | false | none |
BundleChangesAdsl
|
|
Name | Type | Required | Description |
---|---|---|---|
product_id | number(int32) | true | none |
promotions | [SignupsPromotions] | false | [If this object is informed, it´s a promotion. If not, it´s a campaign] |
terminals | [Terminal] | false | none |
BundleMigrationSalesInfo
|
|
Name | Type | Required | Description |
---|---|---|---|
shop_id | string | false | none |
logistic | boolean | true | none |
signature_process_id | number(int64) | false | none |
ExistingClient
|
|
Name | Type | Required | Description |
---|---|---|---|
type | string | true | Field is only available with the following values to avoid confusion with ClientPersonal and ClientBusiness |
document_type_id | integer(int32) | true | none |
document_value | string | true | none |
Property | Values |
---|---|
type | one of [existing] |
document_type_id | one of [1, 3, 4, 5] |
SignupExistingClient
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | ExistingClient | false | none |
Name | Type | Required | Description |
---|---|---|---|
anonymous | object | false | none |
» document_expiration_date | string(date) | false | none |
» employment | Employment | false | none |
ComputedPenalties
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | [ComputedPenalty] | false | none |
ComputedPenalty
|
|
Name | Type | Required | Description |
---|---|---|---|
computed_penalty_id | number | false | none |
mobile_operator_id | number | false | none |
penalties | [Penalty] | false | none |
Penalty
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int64) | false | none |
value | number | false | none |
description | string | false | none |
subscription_id | integer(int64) | false | none |
subscription_uuid | string(uuid) | false | none |
commitment_uuid | string(uuid) | false | none |
subscrition_promotion_id | integer(int64) | false | none |
promotion_id | integer(int64) | false | none |
start_date | string(date) | false | none |
end_date | string(date) | false | none |
mandatory | boolean | false | none |
type | string | false | none |
subscription_terminal_id | integer(int64) | false | none |
AccountPenaltiesReason
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | string | false | none |
Property | Values |
---|---|
anonymous | one of [unsubscribe, cancel] |
SubscriptionPenaltiesReason
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | string | false | none |
Property | Values |
---|---|
anonymous | one of [broadband_subscription, device, mobile] |
AddDeviceToSubscriptionRequest
|
|
Name | Type | Required | Description |
---|---|---|---|
delivery_info | DeviceDeliveryInfo | false | none |
sell | Sell | true | none |
client | DeviceClient | true | none |
device | Device | true | none |
subscription_offer_segment | string | true | none |
DeviceDeliveryInfo
|
|
Name | Type | Required | Description |
---|---|---|---|
shipping_price | number(double) | false | none |
pay_in_return | boolean | false | none |
contact | DeviceContact | true | none |
address | DeviceNormalizedAddress | true | none |
delivery_shop_id | string¦null | false | Shop identifier where the pickup (if that’s the case) will occur |
delivery_type | string¦null | false | how a device will be delivered to a customer |
Property | Values |
---|---|
delivery_type | one of [LOGISTIC, IN_PERSON, STORE_DELIVERY] |
DeviceContact
|
|
Name | Type | Required | Description |
---|---|---|---|
name | string | true | none |
phone | string | true | none |
DeviceNormalizedAddress
|
|
Name | Type | Required | Description |
---|---|---|---|
address_id | string | false | none |
description | string | false | none |
street_type | string | true | Street type, default value is UNKNOWN |
street_name | string | true | none |
number | string | true | none |
block | string | false | none |
bis | string | false | none |
floor | string | false | none |
stair | string | false | none |
door | string | false | none |
letter | string | false | none |
hand1 | string | false | none |
hand2 | string | false | none |
postal_code | string | true | none |
town | string | true | none |
province_id | string | true | Numeric province id from 01 to 52 |
technical_id | string | false | Gescal 37 |
Property | Values |
---|---|
street_type | one of [ACCESS, AVENUE, BOULEVARD, BUILDING, COLONY, COMPLEX, CORE, COURTYARD, CROSSING, DISSEMINATED, DITCH, ENTRY, EXTENSION, FARM_HOUSE, FARMHOUSE, GROUP, GROUPING, HALLWAY, HIGHWAY, HOUSE, ITEM, NEIGHBORHOOD, OUTSKIRT, PARK, PARCEL, PASSAGE, PLACE, POLYGON, RAVINE, RESIDENCE, ROAD, ROUND, ROUNDABOUT, SET, SIDE_STREET, SIDEWALK, SLOPE, SLUM, SMALL_SQUARE, SQUARE, STREET, SUBURB, TOWN, TRAIL, UNKNOWN, URBANIZATION, VIA, WAY, ZONE] |
Sell
|
|
Name | Type | Required | Description |
---|---|---|---|
dealer_id | string | false | Dealer id |
shop_id | string | false | Shop id |
channel_id | integer | false | none |
category | string | true | Role of the sale |
payment | SellPayment | false | none |
Property | Values |
---|---|
category | one of [Generic, Loyalty, Retention] |
SellPayment
|
|
Name | Type | Required | Description |
---|---|---|---|
id | number(int64) | false | none |
credit_card_reference | string | false | none |
transaction_id | string | false | none |
reference_id | string | false | none |
scoring | SignupsScoring | false | none |
platform | string | false | none |
payment_link | string¦null | false | none |
tax | number(double)¦null | false | If not sent, 21.0 will apply |
Property | Values |
---|---|
platform | one of [PAYMENTS, ADYEN, REDSYS] |
DeviceClient
|
|
Name | Type | Required | Description |
---|---|---|---|
customer_id | string | false | none |
account_id | string | false | none |
attributes | object | false | none |
» document_expiration_date | string(date) | false | none |
» employment | Employment | false | none |
Employment
|
|
Name | Type | Required | Description |
---|---|---|---|
activity_country_code | string | false | none |
company | string | false | none |
income | number(double) | false | none |
income_source | object | false | none |
» id | integer | false | none |
» observations | string | false | none |
profession | integer | false | none |
professional_area | integer | false | none |
professional_use | boolean | false | none |
Device
|
|
Name | Type | Required | Description |
---|---|---|---|
device_details | object | true | none |
» id | integer | true | Catalogue instance id |
» model_id | string | true | Catalogue device id |
» cession_price | number(double) | false | none |
» imei | string | false | none |
» pending_imei | boolean | false | none |
» insured_amount | number(double)¦null | false | none |
» category | string¦null | false | none |
» logistic_required | boolean¦null | false | none |
» catalogue_id | string¦null | false | none |
» amount | number(double)¦null | false | none |
fees | object | true | none |
» upfront_fee | number(double) | true | none |
» installment_plan | object | false | none |
»» commission | number(double) | false | none |
»» tae | number(double) | false | none |
»» tin | number(double) | false | none |
»» duration | integer | false | none |
»» monthly_fee | number(double) | false | none |
»» last_installment_fee | number(double) | false | none |
»» discount_final_payment_value | number(double)¦null | false | none |
»» is_promotional_renew | boolean¦null | false | none |
financial_details | object | false | none |
» pre_booking | object | false | none |
»» order_id | string | false | none |
»» authorization_id | string | false | none |
»» financial_entity | string | false | none |
»» status | string | false | none |
»» granted_amount | integer(int64) | false | none |
»» credit_line_amount | integer(int64) | false | none |
»» total_client_financed_value | number(double) | false | none |
» consents | object | false | none |
»» commercial | boolean | false | none |
»» gdpr | boolean | false | none |
campaign_id | integer | false | none |
terms | object | false | none |
» penalty_value | number(double) | false | none |
» commitment_duration | integer | false | none |
reservation_id | integer(int64) | true | none |
signature_process_id | number(int64) | false | none |
signature_type | string¦null | false | none |
old_subscription_terminal_id | integer(int64)¦null | false | none |
Property | Values |
---|---|
status | one of [Accepted, Rejected] |
signature_type | one of [PAPER, OTP, BIOMETRIC, UNKNOWN] |
AddDeviceToSubscriptionResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
risk_decision | string | false | none |
subscription_terminal_id | number(int64) | false | none |
ChangeSubscriptionProductResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
risk_decision | string | false | none |
SimReplacementResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
risk_decision | string | false | none |
GetAccountContractsResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
contracts | [object] | false | none |
» account_bundle_id | integer(int64) | false | none |
» account_id | integer(int64) | false | none |
» pdf_file_name | string | false | none |
» document_id | string | false | none |
» digital_signature_origin_id | string | false | none |
» ineid | string | false | none |
» iccid | string | false | none |
» ccggid | string | false | none |
» subscription_id | integer(int64) | false | none |
» subscription_terminal_id | integer(int64) | false | none |
» process_id | string | false | none |
» status | string | false | none |
» signed_document_id | string | false | none |
» contract_id | string(uuid) | false | none |