Select
AccountBundles
Access to subscriptions in an account bundle
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
org_id | path | string | true | Organization name |
id | path | string | true | Account Bundle Id |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | GetAccountBundle |
404 | Not Found | A bundle with the specified id was not found | ErrorMessage |
500 | Internal Server Error | Unexpected error | ErrorMessage |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
org_id | path | string | true | Organization name |
account_bundle_id | path | string | true | account bundle identifier |
body | body | SellMultiSimRequest | true | ‘none’ |
Request body - instance of SellMultiSimRequest
|
|
Name | Type | Required | Description |
---|---|---|---|
customer_id | string | true | Customer identifier |
account_id | string | true | account identifier |
sale_details | object | true | none |
» date | string(date-time) | true | sale date |
» user_name | string | false | Optional user name |
» delivery_method | string | true | Sale delivery method |
» scoring | object | false | none |
»» id | string | false | Sale scoring identifier |
»» value | string | false | Sale scoring value |
» signature | object | false | none |
»» id | string | false | Sale signature identifier |
»» type | string | false | Sale signature type |
commercial_product_id | string | true | Commercial product identifier |
main_subscription_id | string | true | Subscription identifier from an existent mobile subscription |
numeration_type | NumerationType | true | numeration type name. Mapping between Mysim origin and MasSubscriptions numeration_type
|
imsi | string | true | International Mobile Subscriber Identity associated to the mobile subscription |
iccid | string | true | Circuit Card Identification Number associated to the SIM card |
free_units_packages | [SellMultiSimRequestFreeUnitsPackage] | false | list of free units packages included in the sale |
promotions | [SellMultiSimRequestPromotion] | false | list of promotions included in the sale |
Property | Values |
---|---|
delivery_method | one of [OFFLINE, ONLINE] |
type | one of [PAPER, BIOMETRIC, OTP] |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
201 | Created | Sell process for multi-sim subscription successfully accepted | SellMultiSimResponse |
400 | Bad Request | Invalid body | ErrorMessage |
404 | Not Found | A subscription or an account bundle with the specified ids was not found | ErrorMessage |
500 | Internal Server Error | Unexpected error | ErrorMessage |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
org_id | path | string | true | Organization name |
id | path | string | true | account bundle identifier |
body | body | AccountBundleToMigrate | true | ‘none’ |
Request body - instance of AccountBundleToMigrate
|
|
Name | Type | Required | Description |
---|---|---|---|
new_bundle_id | string | true | New bundle id |
bundled_subscriptions | [BundledSubscriptionToMigrate] | true | array of addresses associated to the subscription |
user_name | string | false | user name performing the operation (to be used for mysim users not authenticated through AuthN) |
account_id | string | true | account id |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
202 | Accepted | Migration process for account bundlesuccessfully accepted | AccountBundleMigrationResponse |
400 | Bad Request | Invalid body | ErrorMessage |
404 | Not Found | An account bundle with the specified ids was not found | ErrorMessage |
409 | Conflict | Account bundle status conflict | ErrorMessage |
500 | Internal Server Error | Unexpected error | ErrorMessage |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
org_id | path | string | true | Organization name |
id | path | string | true | subscription identifier |
body | body | DeactivateMultiSimRequest | true | ‘none’ |
Request body - instance of DeactivateMultiSimRequest
|
|
Name | Type | Required | Description |
---|---|---|---|
deactivation_reason | string | true | Deactivation reason text or id as a string |
deactivation_user | string | false | User that requests the deactivation |
requested_deactivation_date | string(date-time) | false | deactivation date |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
202 | Accepted | Deactivation process for multi-sim subscription successfully accepted | None |
400 | Bad Request | Invalid body | ErrorMessage |
404 | Not Found | A subscription with the specified ids was not found | ErrorMessage |
500 | Internal Server Error | Unexpected error | ErrorMessage |
400 - instance of ErrorMessage
Custom schema example
|
|
Name | Type | Required | Description |
---|---|---|---|
errors | [ErrorMessageItem] | true | none |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
org_id | path | string | true | Organization name |
account_bundle_id | path | string | true | account bundle identifier |
body | body | SellDeviceInsuranceRequest | true | ‘none’ |
Request body - instance of SellDeviceInsuranceRequest
|
|
Name | Type | Required | Description |
---|---|---|---|
customer_id | string | true | Customer identifier |
account_id | string | true | account identifier |
sale_details | object | true | none |
» date | string(date-time) | true | sale date |
» user_name | string | false | Optional user name |
» delivery_method | string | true | Sale delivery method |
» scoring | object | false | none |
»» id | string | false | Sale scoring identifier |
»» value | string | false | Sale scoring value |
» signature | object | false | none |
»» id | string | false | Sale signature identifier |
»» type | string | false | Sale signature type |
commercial_product_id | string | true | Commercial product identifier |
subscription_id | string | true | SubscriptionId associated to the SubscriptionDeviceId |
subscription_device_id | string | true | SubscriptionDeviceId from insured device |
promotions | [SellDeviceInsuranceRequestPromotion] | false | list of promotions included in the sale |
Property | Values |
---|---|
delivery_method | one of [OFFLINE, ONLINE] |
type | one of [PAPER, BIOMETRIC, OTP] |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
201 | Created | Sell process for device-insurance subscription successfully accepted | SellDeviceInsuranceResponse |
400 | Bad Request | Invalid body | ErrorMessage |
404 | Not Found | A subscription or an account bundle with the specified ids was not found | ErrorMessage |
500 | Internal Server Error | Unexpected error | ErrorMessage |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
org_id | path | string | true | Organization name |
subscription_id | path | string | true | device insurance subscription identifier |
body | body | DeactivateDeviceInsuranceRequest | true | ‘none’ |
Request body - instance of DeactivateDeviceInsuranceRequest
|
|
Name | Type | Required | Description |
---|---|---|---|
deactivation_reason | string | true | Deactivation reason text or id as a string |
deactivation_user | string | false | User that requests the deactivation |
requested_deactivation_date | string(date-time) | false | deactivation date |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
202 | Accepted | Deactivation process for device-insurance subscription successfully accepted | None |
400 | Bad Request | Invalid body | ErrorMessage |
404 | Not Found | A subscription with the specified id was not found | ErrorMessage |
500 | Internal Server Error | Unexpected error | ErrorMessage |
400 - instance of ErrorMessage
Custom schema example
|
|
Name | Type | Required | Description |
---|---|---|---|
errors | [ErrorMessageItem] | true | none |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
org_id | path | string | true | Organization name |
subscription_id | path | string | true | device insurance subscription identifier |
body | body | CancelDeviceInsuranceRequest | true | ‘none’ |
Request body - instance of CancelDeviceInsuranceRequest
|
|
Name | Type | Required | Description |
---|---|---|---|
cancellation_reason | string | true | Cancellation reason text or id as a string |
cancellation_user | string | false | User that requests the cancellation |
requested_cancellation_date | string(date-time) | false | cancellation date |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
202 | Accepted | Cancellation process for device-insurance subscription successfully accepted | None |
400 | Bad Request | Invalid body | ErrorMessage |
404 | Not Found | A subscription with the specified id was not found | ErrorMessage |
500 | Internal Server Error | Unexpected error | ErrorMessage |
400 - instance of ErrorMessage
Custom schema example
|
|
Name | Type | Required | Description |
---|---|---|---|
errors | [ErrorMessageItem] | true | none |
Endpoints
AccountBundles
Apple Watch
Credit Limits
Devices
Fraud Requests
FreeUnitsPackages
Promotions
Segments
Subscription Commercial Products
Subscriptions
Contracts